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

#include "sipAPIQtWidgets.h"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
#include <qapplication.h>
#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 56 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 59 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 80 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 83 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 86 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 89 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 92 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 95 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 98 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 49 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 79 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 299 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 594 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollerproperties.sip"
#include <qscrollerproperties.h>
#line 362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstylefactory.sip"
#include <qstylefactory.h>
#line 371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 37 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

/* Define the strings used by this module. */
const char sipStrings_QtWidgets[] = {
    'S', 'H', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', '_', 'P', 'a', 'i', 'n', 't', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'i', 'n', 'g', 'R', 'o', 'w', 'C', 'o', 'l', 'o', 'r', 's', 'F', 'o', 'r', 'E', 'm', 'p', 't', 'y', 'A', 'r', 'e', 'a', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'r', 'a', 'm', 'e', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', '_', 'M', 'o', 'v', 'e', 'm', 'e', 'n', 't', 'W', 'i', 't', 'h', 'o', 'u', 't', 'U', 'p', 'd', 'a', 't', 'i', 'n', 'g', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', 'V', 'a', 'r', 'i', 'a', 'n', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'r', 'a', 'm', 'e', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'S', 'H', '_', 'T', 'e', 'x', 't', 'C', 'o', 'n', 't', 'r', 'o', 'l', '_', 'F', 'o', 'c', 'u', 's', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'T', 'e', 'x', 't', 'C', 'h', 'a', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'S', 'H', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'W', 'h', 'e', 'n', 'P', 'o', 'i', 'n', 't', 'e', 'r', 'L', 'e', 'a', 'v', 'e', 's', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', ':', ':', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', 'B', 'a', 'r', 'B', 'a', 's', 'e', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', ':', ':', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'F', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', '_', 'A', 'r', 'r', 'o', 'w', 'K', 'e', 'y', 's', 'N', 'a', 'v', 'i', 'g', 'a', 't', 'e', 'I', 'n', 't', 'o', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', 'V', 'a', 'r', 'i', 'a', 'n', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', 'M', 'a', 's', 'k', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'M', 'e', 'n', 'u', 'I', 't', 'e', 'm', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'S', 'H', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', '_', 'M', 'i', 'd', 'd', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'D', 'r', 'o', 'p', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'a', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'S', 'p', 'i', 'n', 'B', 'o', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'C', 'o', 'm', 'p', 'l', 'e', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'o', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', 'B', 'a', 'r', 'B', 'a', 's', 'e', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'S', 'H', '_', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', '_', 'U', 's', 'e', 'B', 'o', 'r', 'd', 'e', 'r', 'F', 'o', 'r', 'B', 'u', 't', 't', 'o', 'n', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'Q', 'C', 'a', 'l', 'e', 'n', 'd', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'Q', 'T', 'r', 'e', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', ':', ':', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'S', 'l', 'i', 'd', 'e', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', ':', ':', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', ':', ':', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', 'u', 't', 't', 'o', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'H', 'e', 'a', 'd', 'e', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'S', 'H', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', '_', 'L', 'e', 'f', 't', 'C', 'l', 'i', 'c', 'k', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', '_', 'T', 'e', 'x', 't', 'L', 'a', 'b', 'e', 'l', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 'E', 'v', 'e', 'n', 't', ':', ':', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'Q', 'T', 'r', 'e', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', ':', ':', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', 'F', 'l', 'a', 'g', 0,
    'Q', 'T', 'r', 'e', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', ':', ':', 'C', 'h', 'i', 'l', 'd', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', 'M', 'a', 's', 'k', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'o', 'x', ':', ':', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', ':', ':', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'F', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'M', 'e', 'n', 'u', 'I', 't', 'e', 'm', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'F', 'r', 'a', 'm', 'e', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', '_', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'I', 't', 'e', 'm', 'O', 'n', 'S', 'i', 'n', 'g', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 0,
    'S', 'H', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'V', 'i', 'e', 'w', '_', 'F', 'r', 'a', 'm', 'e', 'O', 'n', 'l', 'y', 'A', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'A', 'd', 'j', 'u', 's', 't', 'T', 'o', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'L', 'e', 'n', 'g', 't', 'h', 'W', 'i', 't', 'h', 'I', 'c', 'o', 'n', 0,
    'Q', 'C', 'a', 'l', 'e', 'n', 'd', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'c', 'r', 'o', 'l', 'l', 'A', 'r', 'e', 'a', ':', ':', 'S', 'i', 'z', 'e', 'A', 'd', 'j', 'u', 's', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'a', 'r', ':', ':', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'a', 'r', ':', ':', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'a', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'S', 'p', 'i', 'n', 'B', 'o', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'C', 'o', 'm', 'p', 'l', 'e', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'o', 'x', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'H', 'e', 'a', 'd', 'e', 'r', ':', ':', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'D', 'i', 'a', 'l', 'o', 'g', '_', 'T', 'e', 'x', 't', 'L', 'a', 'b', 'e', 'l', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'S', 'H', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'D', 'i', 'a', 'l', 'o', 'g', '_', 'C', 'e', 'n', 't', 'e', 'r', 'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', ':', ':', 'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'I', 't', 'e', 'm', 'D', 'o', 'e', 's', 'n', 't', 'P', 'r', 'o', 'p', 'a', 'g', 'a', 't', 'e', 'O', 'p', 'a', 'c', 'i', 't', 'y', 'T', 'o', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'a', 'r', ':', ':', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'F', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'S', 'l', 'i', 'd', 'e', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', 'u', 't', 't', 'o', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'H', 'e', 'a', 'd', 'e', 'r', ':', ':', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'H', 'e', 'a', 'd', 'e', 'r', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'S', 'P', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', '_', 'C', 'l', 'i', 'c', 'k', 'A', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 'T', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', 0,
    'S', 'H', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 'B', 'o', 'x', '_', 'B', 'u', 't', 't', 'o', 'n', 's', 'H', 'a', 'v', 'e', 'I', 'c', 'o', 'n', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'M', 'e', 'n', 'u', 'I', 't', 'e', 'm', ':', ':', 'M', 'e', 'n', 'u', 'I', 't', 'e', 'm', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', 'u', 't', 't', 'o', 'n', ':', ':', 'B', 'u', 't', 't', 'o', 'n', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'F', 'r', 'a', 'm', 'e', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'R', 'S', 'I', 'P', '_', 'O', 'n', 'M', 'o', 'u', 's', 'e', 'C', 'l', 'i', 'c', 'k', 'A', 'n', 'd', 'A', 'l', 'r', 'e', 'a', 'd', 'y', 'F', 'o', 'c', 'u', 's', 'e', 'd', 0,
    'S', 'H', '_', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', '_', 'T', 'e', 'x', 't', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'S', 'H', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', '_', 'S', 'h', 'o', 'w', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'i', 'o', 'n', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'S', 'H', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', '_', 'C', 'h', 'a', 'n', 'g', 'e', 'H', 'i', 'g', 'h', 'l', 'i', 'g', 'h', 't', 'O', 'n', 'F', 'o', 'c', 'u', 's', 0,
    'S', 'H', '_', 'F', 'o', 'n', 't', 'D', 'i', 'a', 'l', 'o', 'g', '_', 'S', 'e', 'l', 'e', 'c', 't', 'A', 's', 's', 'o', 'c', 'i', 'a', 't', 'e', 'd', 'T', 'e', 'x', 't', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'R', 'e', 's', 'i', 'z', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'I', 't', 'e', 'm', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'O', 'r', 'i', 'g', 'i', 'n', 'P', 'o', 'i', 'n', 't', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', ':', ':', 'E', 'n', 'd', 'E', 'd', 'i', 't', 'H', 'i', 'n', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'T', 'a', 'b', 'l', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', '>', 0,
    'Q', 'S', 'y', 's', 't', 'e', 'm', 'T', 'r', 'a', 'y', 'I', 'c', 'o', 'n', ':', ':', 'A', 'c', 't', 'i', 'v', 'a', 't', 'i', 'o', 'n', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', ':', ':', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', 'u', 't', 't', 'o', 'n', ':', ':', 'B', 'u', 't', 't', 'o', 'n', 'F', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'H', 'e', 'a', 'd', 'e', 'r', ':', ':', 'S', 'o', 'r', 't', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', '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,
    'S', 'P', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', 'E', 'x', 'p', 'a', 'n', 'd', '_', 'S', 'e', 'l', 'e', 'c', 't', 'M', 'o', 'u', 's', 'e', 'T', 'y', 'p', 'e', 0,
    'S', 'H', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', '_', 'K', 'e', 'y', 'P', 'r', 'e', 's', 's', 'A', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 'R', 'a', 't', 'e', 0,
    'P', 'M', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'B', 'u', 't', 't', 'o', 'n', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', ':', ':', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'e', 't', 'r', 'i', 'c', 0,
    'D', 'o', 'n', 't', 'M', 'a', 'x', 'i', 'm', 'i', 'z', 'e', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 'O', 'n', 'A', 'c', 't', 'i', 'v', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'e', 'w', ':', ':', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'U', 'p', 'd', 'a', 't', 'e', 'M', 'o', 'd', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', ':', ':', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'Q', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 'B', 'o', 'x', ':', ':', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'p', 'i', 'n', 'B', 'o', 'x', ':', ':', 'S', 't', 'e', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 'F', 'l', 'a', 'g', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', ':', ':', 'E', 'x', 't', 'r', 'a', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', '>', 0,
    'Q', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', ':', ':', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'P', 'o', 'p', 'u', 'p', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', ':', ':', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'o', 'x', ':', ':', 'T', 'a', 'b', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'F', 'r', 'a', 'm', 'e', ':', ':', 'F', 'r', 'a', 'm', 'e', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'T', 'o', 'o', 'l', 'B', 'o', 'x', '_', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'P', 'a', 'g', 'e', 'T', 'i', 't', 'l', 'e', 'B', 'o', 'l', 'd', 0,
    'S', 'H', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', '_', 'S', 't', 'o', 'p', 'M', 'o', 'u', 's', 'e', 'O', 'v', 'e', 'r', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'S', 'H', '_', 'W', 'o', 'r', 'k', 's', 'p', 'a', 'c', 'e', '_', 'F', 'i', 'l', 'l', 'S', 'p', 'a', 'c', 'e', 'O', 'n', 'M', 'a', 'x', 'i', 'm', 'i', 'z', 'e', 0,
    'S', 'H', '_', 'P', 'r', 'i', 'n', 't', 'D', 'i', 'a', 'l', 'o', 'g', '_', 'R', 'i', 'g', 'h', 't', 'A', 'l', 'i', 'g', 'n', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'Q', 'I', 'n', 'p', 'u', 't', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'I', 'n', 'p', 'u', 't', 'D', 'i', 'a', 'l', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'e', 'w', ':', ':', 'O', 'p', 't', 'i', 'm', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', ':', ':', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 'B', 'o', 'x', ':', ':', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 'C', 'o', 'l', 'o', 'r', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'C', 'o', 'l', 'o', 'r', 'D', 'i', 'a', 'l', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'p', 'i', 'n', 'B', 'o', 'x', ':', ':', 'C', 'o', 'r', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'M', 'e', 'n', 'u', 'I', 't', 'e', 'm', ':', ':', 'C', 'h', 'e', 'c', 'k', 'T', 'y', 'p', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'F', 'r', 'a', 'm', 'e', ':', ':', 'F', 'r', 'a', 'm', 'e', 'F', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'S', 'H', '_', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', '_', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'a', 'b', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', '_', 'R', 'o', 'l', 'l', 'B', 'e', 't', 'w', 'e', 'e', 'n', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'S', 'H', '_', 'S', 'p', 'i', 'n', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', '_', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'O', 'n', 'B', 'o', 'u', 'n', 'd', 's', 0,
    'S', 'H', '_', 'M', 'a', 'i', 'n', 'W', 'i', 'n', 'd', 'o', 'w', '_', 'S', 'p', 'a', 'c', 'e', 'B', 'e', 'l', 'o', 'w', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', ':', ':', 'F', 'r', 'a', 'm', 'e', 'R', 'a', 't', 'e', 's', 0,
    'Q', 'M', 'd', 'i', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', ':', ':', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'I', 'n', 'p', 'u', 't', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'I', 'n', 'p', 'u', 't', 'D', 'i', 'a', 'l', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'e', 'w', ':', ':', 'O', 'p', 't', 'i', 'm', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', ':', ':', 'I', 't', 'e', 'm', 'I', 'n', 'd', 'e', 'x', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'I', 't', 'e', 'm', 'N', 'e', 'g', 'a', 't', 'i', 'v', 'e', 'Z', 'S', 't', 'a', 'c', 'k', 's', 'B', 'e', 'h', 'i', 'n', 'd', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', ':', ':', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 'F', 'l', 'a', 'g', 0,
    'Q', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'D', 'a', 't', 'a', 'W', 'i', 'd', 'g', 'e', 't', 'M', 'a', 'p', 'p', 'e', 'r', ':', ':', 'S', 'u', 'b', 'm', 'i', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'C', 'o', 'l', 'o', 'r', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'C', 'o', 'l', 'o', 'r', 'D', 'i', 'a', 'l', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'p', 'i', 'n', 'B', 'o', 'x', ':', ':', 'B', 'u', 't', 't', 'o', 'n', 'S', 'y', 'm', 'b', 'o', 'l', 's', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'C', 'u', 'r', 's', 'o', 'r', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'b', 'a', 'r', 'V', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'E', 'd', 'i', 't', 'T', 'r', 'i', 'g', 'g', 'e', 'r', 's', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'D', 'r', 'a', 'g', 'D', 'r', 'o', 'p', 'M', 'o', 'd', 'e', 0,
    'D', 'o', 'n', 't', 'S', 'h', 'o', 'w', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'W', 'h', 'e', 'n', 'C', 'h', 'i', 'l', 'd', 'l', 'e', 's', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', ':', ':', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', ':', ':', 'C', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'S', 'H', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', '_', 'B', 'u', 't', 't', 'o', 'n', 's', 'H', 'a', 'v', 'e', 'F', 'r', 'a', 'm', 'e', 0,
    'S', 'H', '_', 'F', 'o', 'r', 'm', 'L', 'a', 'y', 'o', 'u', 't', 'F', 'i', 'e', 'l', 'd', 'G', 'r', 'o', 'w', 't', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'S', 'H', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', '_', 'M', 'o', 'd', 'i', 'f', 'y', 'N', 'o', 't', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', '_', 'C', 'l', 'i', 'c', 'k', 'A', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 'R', 'a', 't', 'e', 0,
    'S', 'H', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 's', '_', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'R', 'i', 'c', 'h', 'T', 'e', 'x', 't', '_', 'F', 'u', 'l', 'l', 'W', 'i', 'd', 't', 'h', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'B', 'l', 'i', 'n', 'k', 'C', 'u', 'r', 's', 'o', 'r', 'W', 'h', 'e', 'n', 'T', 'e', 'x', 't', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'A', 'l', 'l', 'o', 'w', 'A', 'c', 't', 'i', 'v', 'e', 'A', 'n', 'd', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0,
    'P', 'M', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'V', 'i', 'e', 'w', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'O', 'v', 'e', 'r', 'l', 'a', 'p', 0,
    'P', 'M', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'V', 'i', 'e', 'w', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'A', 'c', 'c', 'e', 'l', 'e', 'r', 'a', 't', 'i', 'n', 'g', 'F', 'l', 'i', 'c', 'k', 'S', 'p', 'e', 'e', 'd', 'u', 'p', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'u', 'n', 's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', ':', ':', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'G', 'e', 's', 't', 'u', 'r', 'e', 'T', 'y', 'p', 'e', 0,
    'Q', 'M', 'd', 'i', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', ':', ':', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 'O', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'U', 'n', 'i', 'f', 'i', 'e', 'd', 'T', 'i', 't', 'l', 'e', 'A', 'n', 'd', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'O', 'n', 'M', 'a', 'c', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 'E', 'v', 'e', 'n', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'P', 'i', 'x', 'm', 'a', 'p', 'I', 't', 'e', 'm', ':', ':', 'S', 'h', 'a', 'p', 'e', 'M', 'o', 'd', 'e', 0,
    'I', 't', 'e', 'm', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'O', 'r', 'i', 'g', 'i', 'n', 'P', 'o', 'i', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'B', 'l', 'u', 'r', 'E', 'f', 'f', 'e', 'c', 't', ':', ':', 'B', 'l', 'u', 'r', 'H', 'i', 'n', 't', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'E', 'f', 'f', 'e', 'c', 't', ':', ':', 'P', 'i', 'x', 'm', 'a', 'p', 'P', 'a', 'd', 'M', 'o', 'd', 'e', 0,
    'Q', 'G', 'e', 's', 't', 'u', 'r', 'e', 'R', 'e', 'c', 'o', 'g', 'n', 'i', 'z', 'e', 'r', ':', ':', 'R', 'e', 's', 'u', 'l', 't', 'F', 'l', 'a', 'g', 0,
    'Q', 'F', 'o', 'r', 'm', 'L', 'a', 'y', 'o', 'u', 't', ':', ':', 'F', 'i', 'e', 'l', 'd', 'G', 'r', 'o', 'w', 't', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'F', 'o', 'n', 't', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'F', 'o', 'n', 't', 'D', 'i', 'a', 'l', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'Q', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 'B', 'o', 'x', ':', ':', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'Q', 'C', 'a', 'l', 'e', 'n', 'd', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'E', 'd', 'i', 't', 'T', 'r', 'i', 'g', 'g', 'e', 'r', 0,
    'Q', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', ':', ':', 'A', 'u', 't', 'o', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 'F', 'l', 'a', 'g', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', ':', ':', 'C', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', ':', ':', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'S', 'H', '_', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', '_', 'P', 'a', 's', 's', 'w', 'o', 'r', 'd', 'M', 'a', 's', 'k', 'D', 'e', 'l', 'a', 'y', 0,
    'S', 'H', '_', 'T', 'a', 'b', 'B', 'a', 'r', '_', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', '_', 'D', 'r', 'a', 'w', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 'F', 'r', 'a', 'm', 'e', 0,
    'S', 'H', '_', 'S', 'l', 'i', 'd', 'e', 'r', '_', 'S', 't', 'o', 'p', 'M', 'o', 'u', 's', 'e', 'O', 'v', 'e', 'r', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'S', 'H', '_', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', '_', 'P', 'a', 's', 's', 'w', 'o', 'r', 'd', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 0,
    'S', 'H', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', '_', 'L', 'i', 's', 't', 'M', 'o', 'u', 's', 'e', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'u', 't', 't', 'o', 'n', 'O', 'v', 'e', 'r', 'l', 'a', 'p', 0,
    'P', 'M', '_', 'M', 'd', 'i', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 'M', 'i', 'n', 'i', 'm', 'i', 'z', 'e', 'd', 'W', 'i', 'd', 't', 'h', 0,
    'S', 'E', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'C', 'h', 'e', 'c', 'k', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'C', 'h', 'e', 'c', 'k', 0,
    'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'S', 'c', 'r', 'o', 'l', 'l', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'D', 'r', 'a', 'g', 'R', 'e', 's', 'i', 's', 't', 'a', 'n', 'c', 'e', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'e', 'w', ':', ':', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'A', 'n', 'c', 'h', 'o', 'r', 0,
    'I', 't', 'e', 'm', 'S', 'e', 'n', 'd', 's', 'S', 'c', 'e', 'n', 'e', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'B', 'l', 'u', 'r', 'E', 'f', 'f', 'e', 'c', 't', ':', ':', 'B', 'l', 'u', 'r', 'H', 'i', 'n', 't', 0,
    'Q', 'S', 'w', 'i', 'p', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', ':', ':', 'S', 'w', 'i', 'p', 'e', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'G', 'e', 's', 't', 'u', 'r', 'e', ':', ':', 'G', 'e', 's', 't', 'u', 'r', 'e', 'C', 'a', 'n', 'c', 'e', 'l', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'F', 'o', 'n', 't', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'F', 'o', 'n', 't', 'D', 'i', 'a', 'l', 'o', 'g', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'A', 'd', 'j', 'u', 's', 't', 'T', 'o', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'L', 'e', 'n', 'g', 't', 'h', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'p', 'i', 'n', 'B', 'o', 'x', ':', ':', 'S', 't', 'e', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'l', 'i', 'd', 'e', 'r', ':', ':', 'S', 'l', 'i', 'd', 'e', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'l', 'i', 'd', 'e', 'r', ':', ':', 'S', 'l', 'i', 'd', 'e', 'r', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'b', 'a', 'r', 'V', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'o', 'd', 'e', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'S', 'c', 'r', 'o', 'l', 'l', 'H', 'i', 'n', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'W', 'i', 'z', 'a', 'r', 'd', ':', ':', 'W', 'i', 'z', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', '>', 0,
    'H', 'a', 'v', 'e', 'F', 'i', 'n', 'i', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 'O', 'n', 'E', 'a', 'r', 'l', 'y', 'P', 'a', 'g', 'e', 's', 0,
    'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 'B', 'a', 'c', 'k', 'B', 'u', 't', 't', 'o', 'n', 'O', 'n', 'L', 'a', 's', 't', 'P', 'a', 'g', 'e', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 'O', 'n', 'R', 'e', 'm', 'o', 'v', 'e', 0,
    'Q', 'S', 'y', 's', 't', 'e', 'm', 'T', 'r', 'a', 'y', 'I', 'c', 'o', 'n', ':', ':', 'M', 'e', 's', 's', 'a', 'g', 'e', 'I', 'c', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', ':', ':', 'T', 'a', 'b', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', ':', ':', 'T', 'a', 'b', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'S', 'P', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'C', 'o', 'n', 't', 'e', 'x', 't', 'H', 'e', 'l', 'p', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'T', 'a', 'b', 'B', 'a', 'r', '_', 'C', 'h', 'a', 'n', 'g', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'D', 'e', 'l', 'a', 'y', 0,
    'S', 'H', '_', '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,
    'S', 'H', '_', 'S', 'l', 'i', 'd', 'e', 'r', '_', 'A', 'b', 's', 'o', 'l', 'u', 't', 'e', 'S', 'e', 't', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'S', 'H', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', '_', 'E', 'l', 'l', 'i', 'p', 's', 'i', 's', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'F', 'i', 'l', 'l', 'S', 'c', 'r', 'e', 'e', 'n', 'W', 'i', 't', 'h', 'S', 'c', 'r', 'o', 'l', 'l', 0,
    'P', 'M', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 's', 'B', 'u', 't', 't', 'o', 'n', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'P', 'M', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 'E', 'x', 't', 'e', 'n', 't', 0,
    'S', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'C', 'o', 'n', 't', 'e', 'x', 't', 'H', 'e', 'l', 'p', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'E', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 'B', 'o', 'x', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'D', 'r', 'o', 'p', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'Q', 'S', 't', 'a', 'c', 'k', 'e', 'd', 'L', 'a', 'y', 'o', 'u', 't', ':', ':', 'S', 't', 'a', 'c', 'k', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 0,
    'A', 'c', 'c', 'e', 'l', 'e', 'r', 'a', 't', 'i', 'n', 'g', 'F', 'l', 'i', 'c', 'k', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'T', 'i', 'm', 'e', 0,
    'Q', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', ':', ':', 'L', 'i', 'n', 'e', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    'Q', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', ':', ':', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'U', 's', 'e', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', 'F', 'o', 'r', 'T', 'e', 'x', 't', 'I', 'n', 'p', 'u', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'e', 'w', ':', ':', 'C', 'a', 'c', 'h', 'e', 'M', 'o', 'd', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', ':', ':', 'P', 'a', 'n', 'e', 'l', 'M', 'o', 'd', 'a', 'l', 'i', 't', 'y', 0,
    's', 'e', 't', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'g', 'i', 'o', 'n', 'G', 'r', 'a', 'n', 'u', 'l', 'a', 'r', 'i', 't', 'y', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'E', 'f', 'f', 'e', 'c', 't', ':', ':', 'C', 'h', 'a', 'n', 'g', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 'B', 'o', 'x', ':', ':', 'B', 'u', 't', 't', 'o', 'n', 'R', 'o', 'l', 'e', 0,
    'C', 'a', 's', 'e', 'I', 'n', 's', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', 'l', 'y', 'S', 'o', 'r', 't', 'e', 'd', 'M', 'o', 'd', 'e', 'l', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'P', 'y', 'Q', 't', '5', '.', 'Q', 't', 'C', 'o', 'r', 'e', '.', 'p', 'y', 'q', 't', 'W', 'r', 'a', 'p', 'p', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'Q', 'M', 'a', 'p', '<', 'Q', 'D', 'a', 't', 'e', ',', 'Q', 'T', 'e', 'x', 't', 'C', 'h', 'a', 'r', 'F', 'o', 'r', 'm', 'a', 't', '>', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', ':', ':', 'T', 'a', 'b', 'F', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'S', 'H', '_', 'F', 'o', 'r', 'm', 'L', 'a', 'y', 'o', 'u', 't', 'L', 'a', 'b', 'e', 'l', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'S', 'H', '_', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', '_', 'C', 'e', 'n', 't', 'e', 'r', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'S', 'H', '_', 'S', 'p', 'e', 'l', 'l', 'C', 'h', 'e', 'c', 'k', 'U', 'n', 'd', 'e', 'r', 'l', 'i', 'n', 'e', 'S', 't', 'y', 'l', 'e', 0,
    'S', 'H', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', '_', 'P', 'o', 'p', 'u', 'p', 'F', 'r', 'a', 'm', 'e', 'S', 't', 'y', 'l', 'e', 0,
    'S', 'H', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', '_', 'L', 'a', 'y', 'o', 'u', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', '_', 'A', 'l', 't', 'K', 'e', 'y', 'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'S', 'h', 'i', 'f', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 0,
    'P', 'M', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 's', 'B', 'u', 't', 't', 'o', 'n', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'C', 'o', 'l', 'u', 'm', 'n', 'V', 'i', 'e', 'w', 'A', 'r', 'r', 'o', 'w', 0,
    'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'D', 'r', 'a', 'g', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'M', 'a', 'x', 'i', 'm', 'u', 'm', 'C', 'l', 'i', 'c', 'k', 'T', 'h', 'r', 'o', 'u', 'g', 'h', 'V', 'e', 'l', 'o', 'c', 'i', 't', 'y', 0,
    'D', 'r', 'a', 'g', 'V', 'e', 'l', 'o', 'c', 'i', 't', 'y', 'S', 'm', 'o', 'o', 't', 'h', 'i', 'n', 'g', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 'F', 'r', 'o', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', ':', ':', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'u', 'n', 'i', 'f', 'i', 'e', 'd', 'T', 'i', 't', 'l', 'e', 'A', 'n', 'd', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'O', 'n', 'M', 'a', 'c', 0,
    'U', 's', 'e', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', 'F', 'o', 'r', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'I', 't', 'e', 'm', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'D', 'r', 'a', 'g', 'D', 'r', 'o', 'p', 'E', 'v', 'e', 'n', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', ':', ':', 'S', 'c', 'e', 'n', 'e', 'L', 'a', 'y', 'e', 'r', 's', 0,
    'I', 't', 'e', 'm', 'C', 'o', 'n', 't', 'a', 'i', 'n', 's', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'I', 'n', 'S', 'h', 'a', 'p', 'e', 0,
    'I', 't', 'e', 'm', 'U', 's', 'e', 's', 'E', 'x', 't', 'e', 'n', 'd', 'e', 'd', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'I', 't', 'e', 'm', 'S', 'c', 'e', 'n', 'e', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'E', 'f', 'f', 'e', 'c', 't', ':', ':', 'C', 'h', 'a', 'n', 'g', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 'F', 'i', 'l', 'e', 'I', 'c', 'o', 'n', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', ':', ':', 'I', 'c', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'D', 'o', 'n', 't', 'U', 's', 'e', 'C', 'u', 's', 't', 'o', 'm', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'I', 'c', 'o', 'n', 's', 0,
    'Q', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', ':', ':', 'S', 'i', 'z', 'e', 'A', 'd', 'j', 'u', 's', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'A', 'd', 'j', 'u', 's', 't', 'T', 'o', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'O', 'n', 'F', 'i', 'r', 's', 't', 'S', 'h', 'o', 'w', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', '*', '>', 0,
    'c', 'u', 's', 't', 'o', 'm', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'Q', 'T', 'a', 'b', 'l', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', ':', ':', 'I', 't', 'e', 'm', 'T', 'y', 'p', 'e', 0,
    'Q', 'T', 'a', 'b', 'l', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'a', 'n', 'g', 'e', 0,
    'Q', 'T', 'a', 'b', 'B', 'a', 'r', ':', ':', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 0,
    'l', 'e', 'v', 'e', 'l', 'O', 'f', 'D', 'e', 't', 'a', 'i', 'l', 'F', 'r', 'o', 'm', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'N', 'e', 'x', 't', 'A', 'n', 'd', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'A', 'r', 'e', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'r', 'a', 'm', 'e', 0,
    'S', 'H', '_', 'T', 'o', 'o', 'l', 'T', 'i', 'p', '_', 'F', 'a', 'l', 'l', 'A', 's', 'l', 'e', 'e', 'p', 'D', 'e', 'l', 'a', 'y', 0,
    'S', 'H', '_', 'F', 'o', 'r', 'm', 'L', 'a', 'y', 'o', 'u', 't', 'F', 'o', 'r', 'm', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'F', 'l', 'a', 's', 'h', 'T', 'r', 'i', 'g', 'g', 'e', 'r', 'e', 'd', 'I', 't', 'e', 'm', 0,
    'S', 'H', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', '_', 'T', 'e', 'x', 't', 'L', 'a', 'b', 'e', 'l', 'C', 'o', 'l', 'o', 'r', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'S', 'p', 'a', 'c', 'e', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 's', 'I', 't', 'e', 'm', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'C', 'l', 'o', 's', 'e', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'P', 'M', '_', 'L', 'a', 'y', 'o', 'u', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'P', 'M', '_', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'b', 'e', 'l', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'u', 't', 't', 'o', 'n', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'B', 'u', 't', 't', 'o', 'n', 'D', 'r', 'o', 'p', 'D', 'o', 'w', 'n', 0,
    's', 'e', 't', 'R', 'e', 's', 'i', 'z', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'a', 's', 'c', 'a', 'd', 'i', 'n', 'g', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'e', 's', 'i', 'z', 'e', 's', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'H', 'a', 'n', 'd', 'l', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    's', 'e', 't', 'O', 'f', 'f', 's', 'e', 't', 'T', 'o', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', ':', ':', 'S', 'c', 'e', 'n', 'e', 'L', 'a', 'y', 'e', 'r', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'h', 'a', 'p', 'e', 'I', 't', 'e', 'm', 0,
    'I', 't', 'e', 'm', 'I', 'g', 'n', 'o', 'r', 'e', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 's', 0,
    'P', 'a', 'd', 'T', 'o', 'E', 'f', 'f', 'e', 'c', 't', 'i', 'v', 'e', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'Q', 'G', 'e', 's', 't', 'u', 'r', 'e', 'R', 'e', 'c', 'o', 'g', 'n', 'i', 'z', 'e', 'r', ':', ':', 'R', 'e', 's', 'u', 'l', 't', 0,
    'Q', 'P', 'i', 'n', 'c', 'h', 'G', 'e', 's', 't', 'u', 'r', 'e', ':', ':', 'C', 'h', 'a', 'n', 'g', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'F', 'o', 'r', 'm', 'L', 'a', 'y', 'o', 'u', 't', ':', ':', 'R', 'o', 'w', 'W', 'r', 'a', 'p', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'F', 'o', 'n', 't', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', ':', ':', 'F', 'o', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    'Q', 'F', 'i', 'l', 'e', 'I', 'c', 'o', 'n', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', ':', ':', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 0,
    'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'e', 'l', 'y', 'S', 'o', 'r', 't', 'e', 'd', 'M', 'o', 'd', 'e', 'l', 0,
    'Q', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'r', ':', ':', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'c', 'h', 'e', 'd', 'u', 'l', 'e', 'D', 'e', 'l', 'a', 'y', 'e', 'd', 'I', 't', 'e', 'm', 's', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 'e', 't', 'F', 'i', 'r', 's', 't', 'I', 't', 'e', 'm', 'C', 'o', 'l', 'u', 'm', 'n', 'S', 'p', 'a', 'n', 'n', 'e', 'd', 0,
    'Q', 'T', 'r', 'e', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', ':', ':', 'I', 't', 'e', 'm', 'T', 'y', 'p', 'e', 0,
    'Q', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', ':', ':', 'A', 'u', 't', 'o', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 0,
    'Q', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', ':', ':', 'E', 'x', 't', 'r', 'a', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 'O', 'n', 'R', 'e', 'm', 'o', 'v', 'e', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'V', 'i', 'e', 'w', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'D', 'e', 't', 'a', 'i', 'l', 'e', 'd', 'V', 'i', 'e', 'w', 0,
    'S', 'H', '_', 'F', 'o', 'c', 'u', 's', 'F', 'r', 'a', 'm', 'e', '_', 'A', 'b', 'o', 'v', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'S', 'H', '_', 'W', 'i', 'd', 'g', 'e', 't', '_', 'S', 'h', 'a', 'r', 'e', 'A', 'c', 't', 'i', 'v', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'S', 'u', 'b', 'M', 'e', 'n', 'u', 'P', 'o', 'p', 'u', 'p', 'D', 'e', 'l', 'a', 'y', 0,
    'S', 'H', '_', 'S', 'l', 'i', 'd', 'e', 'r', '_', 'S', 'l', 'o', 'p', 'p', 'y', 'K', 'e', 'y', 'E', 'v', 'e', 'n', 't', 's', 0,
    'S', 'H', '_', 'T', 'a', 'b', 'B', 'a', 'r', '_', 'S', 'e', 'l', 'e', 'c', 't', 'M', 'o', 'u', 's', 'e', 'T', 'y', 'p', 'e', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'C', 'l', 'o', 's', 'e', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 'L', 'a', 'b', 'e', 'l', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'E', 'x', 't', 'e', 'n', 't', 0,
    'P', 'M', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 'E', 'x', 't', 'e', 'n', 't', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'S', 'h', 'i', 'f', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 0,
    'P', 'M', '_', 'M', 'd', 'i', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 's', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'P', 'M', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'H', 'a', 'n', 'd', 'l', 'e', 'E', 'x', 't', 'e', 'n', 't', 0,
    'P', 'M', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'T', 'h', 'i', 'c', 'k', 'n', 'e', 's', 's', 0,
    'P', 'M', '_', 'B', 'u', 't', 't', 'o', 'n', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'S', 'E', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'E', '_', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'E', 'd', 'i', 't', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'T', 'e', 'x', 't', 0,
    'S', 'E', '_', 'T', 'r', 'e', 'e', 'V', 'i', 'e', 'w', 'D', 'i', 's', 'c', 'l', 'o', 's', 'u', 'r', 'e', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'C', 'h', 'e', 'c', 'k', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'C', 'h', 'u', 'n', 'k', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'M', 'e', 'n', 'u', 'C', 'h', 'e', 'c', 'k', 'M', 'a', 'r', 'k', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'C', 'h', 'e', 'c', 'k', 0,
    'S', 't', 'a', 't', 'e', '_', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'F', 'o', 'c', 'u', 's', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'Q', 'S', 'i', 'z', 'e', 'P', 'o', 'l', 'i', 'c', 'y', ':', ':', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'T', 'y', 'p', 'e', 's', 0,
    'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'Q', 'L', 'i', 's', 't', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', ':', ':', 'I', 't', 'e', 'm', 'T', 'y', 'p', 'e', 0,
    'Q', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', ':', ':', 'A', 'c', 't', 'i', 'o', 'n', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'D', 'o', 'n', 't', 'A', 'd', 'j', 'u', 's', 't', 'F', 'o', 'r', 'A', 'n', 't', 'i', 'a', 'l', 'i', 'a', 's', 'i', 'n', 'g', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'R', 'e', 's', 'i', 'z', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'P', 'r', 'o', 'x', 'y', 'F', 'o', 'r', 'C', 'h', 'i', 'l', 'd', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'b', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'g', 'i', 'o', 'n', 'G', 'r', 'a', 'n', 'u', 'l', 'a', 'r', 'i', 't', 'y', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'D', 'r', 'o', 'p', 'S', 'h', 'a', 'd', 'o', 'w', 'E', 'f', 'f', 'e', 'c', 't', 0,
    'S', 'o', 'u', 'r', 'c', 'e', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'P', 'i', 'n', 'c', 'h', 'G', 'e', 's', 't', 'u', 'r', 'e', ':', ':', 'C', 'h', 'a', 'n', 'g', 'e', 'F', 'l', 'a', 'g', 0,
    'Q', 'F', 'o', 'n', 't', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', ':', ':', 'F', 'o', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'Q', 'F', 'i', 'l', 'e', 'I', 'c', 'o', 'n', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', ':', ':', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'U', 'n', 'f', 'i', 'l', 't', 'e', 'r', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'a', 's', 's', 'o', 'c', 'i', 'a', 't', 'e', 'd', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'e', 'x', 'e', 'c', 'u', 't', 'e', 'D', 'e', 'l', 'a', 'y', 'e', 'd', 'I', 't', 'e', 'm', 's', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'b', 'a', 'r', 'A', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'a', 'b', 'e', 'l', 's', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 'L', 'i', 's', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'T', 'a', 'b', 'l', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', '*', '>', 0,
    'N', 'o', 'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 'O', 'n', 'L', 'a', 's', 't', 'P', 'a', 'g', 'e', 0,
    'H', 'a', 'v', 'e', 'N', 'e', 'x', 't', 'B', 'u', 't', 't', 'o', 'n', 'O', 'n', 'L', 'a', 's', 't', 'P', 'a', 'g', 'e', 0,
    'i', 's', 'F', 'i', 'r', 's', 't', 'I', 't', 'e', 'm', 'C', 'o', 'l', 'u', 'm', 'n', 'S', 'p', 'a', 'n', 'n', 'e', 'd', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'r', 'F', 'o', 'r', 'm', 'a', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'L', 'i', 'n', 'e', 'W', 'r', 'a', 'p', 'C', 'o', 'l', 'u', 'm', 'n', 'O', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', ':', ':', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'y', 'p', 'e', 0,
    'S', 'P', '_', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', 'I', 'n', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'U', 'n', 's', 'h', 'a', 'd', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'S', 'p', 'l', 'i', 't', 't', 'e', 'r', '_', 'O', 'p', 'a', 'q', 'u', 'e', 'R', 'e', 's', 'i', 'z', 'e', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'S', 'u', 'p', 'p', 'o', 'r', 't', 's', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    'S', 'H', '_', 'S', 'l', 'i', 'd', 'e', 'r', '_', 'P', 'a', 'g', 'e', 'S', 'e', 't', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'S', 'H', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', '_', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'S', 'H', '_', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', '_', 'P', 'o', 'p', 'u', 'p', 'D', 'e', 'l', 'a', 'y', 0,
    'S', 'H', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', '_', 'A', 'n', 'i', 'm', 'a', 't', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'T', 'a', 'b', 'B', 'a', 'r', '_', 'P', 'r', 'e', 'f', 'e', 'r', 'N', 'o', 'A', 'r', 'r', 'o', 'w', 's', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', '_', 'M', 'o', 'u', 's', 'e', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    'S', 'H', '_', 'H', 'e', 'a', 'd', 'e', 'r', '_', 'A', 'r', 'r', 'o', 'w', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'P', 'M', '_', 'L', 'a', 'y', 'o', 'u', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'P', 'M', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'T', 'i', 't', 'l', 'e', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'D', 'e', 's', 'k', 't', 'o', 'p', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 'C', 'h', 'u', 'n', 'k', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'B', 'u', 't', 't', 'o', 'n', 'S', 'h', 'i', 'f', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 0,
    'S', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'U', 'n', 's', 'h', 'a', 'd', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'E', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'S', 'E', '_', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'l', 'o', 'a', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'E', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'A', 'r', 'e', 'a', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'P', 'r', 'i', 'm', 'i', 't', 'i', 'v', 'e', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'Q', 'S', 'i', 'z', 'e', 'P', 'o', 'l', 'i', 'c', 'y', ':', ':', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'T', 'y', 'p', 'e', 0,
    'M', 'i', 'd', 'd', 'l', 'e', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'Q', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 'e', 't', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 's', 'C', 'o', 'l', 'l', 'a', 'p', 's', 'i', 'b', 'l', 'e', 0,
    'Q', 'M', 'a', 'i', 'n', 'W', 'i', 'n', 'd', 'o', 'w', ':', ':', 'D', 'o', 'c', 'k', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'L', 'C', 'D', 'N', 'u', 'm', 'b', 'e', 'r', ':', ':', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'S', 't', 'y', 'l', 'e', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 's', 'A', 'b', 'o', 'u', 't', 'T', 'o', 'B', 'e', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'e', 'w', ':', ':', 'C', 'a', 'c', 'h', 'e', 'M', 'o', 'd', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'H', 'o', 'v', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'W', 'h', 'e', 'e', 'l', 'E', 'v', 'e', 'n', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'I', 't', 'e', 'm', 'S', 'e', 'n', 'd', 's', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 's', 0,
    'I', 't', 'e', 'm', 'I', 'g', 'n', 'o', 'r', 'e', 's', 'P', 'a', 'r', 'e', 'n', 't', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'I', 't', 'e', 'm', 'C', 'l', 'i', 'p', 's', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'T', 'o', 'S', 'h', 'a', 'p', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', ':', ':', 'C', 'a', 'c', 'h', 'e', 'M', 'o', 'd', 'e', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'D', 'i', 'a', 'l', 'o', 'g', 'L', 'a', 'b', 'e', 'l', 0,
    'Q', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'r', ':', ':', 'M', 'o', 'd', 'e', 'l', 'S', 'o', 'r', 't', 'i', 'n', 'g', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'L', 'e', 'n', 'g', 't', 'h', 0,
    's', 'e', 't', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'I', 'n', 'p', 'u', 't', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 'F', 'o', 'r', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 't', 'D', 'r', 'a', 'g', 'D', 'r', 'o', 'p', 'O', 'v', 'e', 'r', 'w', 'r', 'i', 't', 'e', 'M', 'o', 'd', 'e', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', ':', ':', 'S', 't', 'a', 't', 'e', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'R', 'e', 'g', 'i', 'o', 'n', 'F', 'o', 'r', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    't', 'a', 'k', 'e', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'r', 'a', 'm', 'e', 'b', 'u', 'f', 'f', 'e', 'r', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'T', 'r', 'e', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', '*', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'L', 'i', 's', 't', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', '*', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'B', 'u', 't', 't', 'o', 'n', '*', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'W', 'i', 'd', 'g', 'e', 't', '*', '>', 0,
    'N', 'o', 'B', 'a', 'c', 'k', 'B', 'u', 't', 't', 'o', 'n', 'O', 'n', 'S', 't', 'a', 'r', 't', 'P', 'a', 'g', 'e', 0,
    'E', 'x', 't', 'e', 'n', 'd', 'e', 'd', 'W', 'a', 't', 'e', 'r', 'm', 'a', 'r', 'k', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'Q', 'T', 'r', 'e', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', 'I', 't', 'e', 'r', 'a', 't', 'o', 'r', 0,
    's', 'e', 't', 'C', 'h', 'i', 'l', 'd', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'E', 'x', 'p', 'a', 'n', 'd', 's', 'O', 'n', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 0,
    'Q', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', ':', ':', 'L', 'i', 'n', 'e', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    'Q', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'T', 'a', 'b', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 's', 'T', 'o', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'Q', 'T', 'a', 'b', 'B', 'a', 'r', ':', ':', 'B', 'u', 't', 't', 'o', 'n', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 0,
    's', 'l', 'i', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'F', 'r', 'o', 'm', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'l', 'i', 'd', 'e', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'F', 'r', 'o', 'm', 'V', 'a', 'l', 'u', 'e', 0,
    'S', 'P', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'N', 'o', 'r', 'm', 'a', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'F', 'o', 'r', 'm', 'L', 'a', 'y', 'o', 'u', 't', 'W', 'r', 'a', 'p', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'S', 'H', '_', 'D', 'r', 'a', 'w', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'S', 'H', '_', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 'L', 'a', 'b', 'e', 'l', '_', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'P', 'M', '_', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 'L', 'a', 'b', 'e', 'l', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'P', 'M', '_', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'L', 'a', 'y', 'o', 'u', 't', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'P', 'M', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'S', 'p', 'a', 'c', 'e', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'P', 'M', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'T', 'i', 'c', 'k', 'm', 'a', 'r', 'k', 'O', 'f', 'f', 's', 'e', 't', 0,
    'S', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'N', 'o', 'r', 'm', 'a', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'C', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'L', 'i', 's', 't', 'B', 'o', 'x', 'P', 'o', 'p', 'u', 'p', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'R', 'i', 'g', 'h', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'E', '_', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'P', 'u', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'R', 'i', 'g', 'h', 't', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'T', 'a', 'b', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'S', 'E', '_', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 'C', 'l', 'i', 'c', 'k', 'R', 'e', 'c', 't', 0,
    'S', 'E', '_', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'S', 'E', '_', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'H', 'e', 'a', 'd', 'e', 'r', 'A', 'r', 'r', 'o', 'w', 0,
    's', 'e', 't', 'R', 'e', 't', 'a', 'i', 'n', 'S', 'i', 'z', 'e', 'W', 'h', 'e', 'n', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'Q', 'S', 'i', 'z', 'e', 'P', 'o', 'l', 'i', 'c', 'y', ':', ':', 'P', 'o', 'l', 'i', 'c', 'y', 'F', 'l', 'a', 'g', 0,
    'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'W', 'h', 'e', 'n', 'S', 'c', 'r', 'o', 'l', 'l', 'a', 'b', 'l', 'e', 0,
    'R', 'i', 'g', 'h', 't', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'Q', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', ':', ':', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', ':', ':', 'B', 'u', 't', 't', 'o', 'n', 'R', 'o', 'l', 'e', 0,
    'Q', 'M', 'a', 'i', 'n', 'W', 'i', 'n', 'd', 'o', 'w', ':', ':', 'D', 'o', 'c', 'k', 'O', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'e', 'c', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'Q', 'L', 'a', 'y', 'o', 'u', 't', ':', ':', 'S', 'i', 'z', 'e', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'Q', 'I', 'n', 'p', 'u', 't', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'I', 'n', 'p', 'u', 't', 'M', 'o', 'd', 'e', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'P', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'c', 'a', 's', 'c', 'a', 'd', 'i', 'n', 'g', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'e', 's', 'i', 'z', 'e', 's', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 'F', 'r', 'o', 'm', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'i', 'e', 'w', ':', ':', 'R', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    'u', 'n', 's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'r', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'A', 'n', 'c', 'h', 'o', 'r', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'e', 'w', ':', ':', 'D', 'r', 'a', 'g', 'M', 'o', 'd', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'H', 'e', 'l', 'p', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'i', 'm', 'p', 'l', 'e', 'T', 'e', 'x', 't', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'O', 'r', 'i', 'g', 'i', 'n', 'P', 'o', 'i', 'n', 't', 0,
    'i', 'n', 's', 't', 'a', 'l', 'l', 'S', 'c', 'e', 'n', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'e', 'd', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'I', 't', 'e', 'm', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'W', 'i', 'd', 't', 'h', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'C', 'o', 'l', 'o', 'r', 'i', 'z', 'e', 'E', 'f', 'f', 'e', 'c', 't', 0,
    'Q', 'F', 'i', 'l', 'e', 'S', 'y', 's', 't', 'e', 'm', 'M', 'o', 'd', 'e', 'l', ':', ':', 'R', 'o', 'l', 'e', 's', 0,
    'g', 'e', 't', 'E', 'x', 'i', 's', 't', 'i', 'n', 'g', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'U', 'r', 'l', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'A', 'c', 'c', 'e', 'p', 't', 'M', 'o', 'd', 'e', 0,
    'Q', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'E', 'd', 'i', 't', ':', ':', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    'Q', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', ':', ':', 'I', 'n', 's', 'e', 'r', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'B', 'a', 'r', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'Q', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', ':', ':', 'C', 'o', 'l', 'o', 'r', 'S', 'p', 'e', 'c', 0,
    'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'c', 'R', 'o', 'l', 'e', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'o', 'd', 'e', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'b', 'a', 'r', 'A', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'i', 'n', 'g', 'R', 'o', 'w', 'C', 'o', 'l', 'o', 'r', 's', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'a', 'b', 'e', 'l', 's', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'Q', 'W', 'i', 'z', 'a', 'r', 'd', ':', ':', 'W', 'i', 'z', 'a', 'r', 'd', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'N', 'o', 'B', 'a', 'c', 'k', 'B', 'u', 't', 't', 'o', 'n', 'O', 'n', 'L', 'a', 's', 't', 'P', 'a', 'g', 'e', 0,
    's', 'e', 't', 'A', 'l', 'l', 'C', 'o', 'l', 'u', 'm', 'n', 's', 'S', 'h', 'o', 'w', 'F', 'o', 'c', 'u', 's', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'e', 't', 'C', 'o', 'r', 'n', 'e', 'r', 'B', 'u', 't', 't', 'o', 'n', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 'T', 'o', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'O', 'n', 'D', 'r', 'a', 'g', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 0,
    's', 'h', 'o', 'w', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'i', 'o', 'n', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', 'B', 'a', 'r', 'B', 'a', 's', 'e', 0,
    'S', 'P', '_', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', 'C', 'l', 'e', 'a', 'r', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'D', 'i', 's', 'c', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'N', 'e', 'w', 'F', 'o', 'l', 'd', 'e', 'r', 0,
    'S', 'P', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'S', 'h', 'a', 'd', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'S', 'H', '_', 'T', 'o', 'o', 'l', 'T', 'i', 'p', '_', 'W', 'a', 'k', 'e', 'U', 'p', 'D', 'e', 'l', 'a', 'y', 0,
    'S', 'H', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', '_', 'T', 'r', 'a', 'n', 's', 'i', 'e', 'n', 't', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'S', 'e', 'a', 'r', 'c', 'h', 0,
    'S', 'H', '_', 'D', 'i', 'a', 'l', '_', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'R', 'o', 'l', 'e', 0,
    'S', 'H', '_', 'T', 'a', 'b', 'l', 'e', '_', 'G', 'r', 'i', 'd', 'L', 'i', 'n', 'e', 'C', 'o', 'l', 'o', 'r', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'S', 'l', 'o', 'p', 'p', 'y', 'S', 'u', 'b', 'M', 'e', 'n', 'u', 's', 0,
    'P', 'M', '_', 'T', 'r', 'e', 'e', 'V', 'i', 'e', 'w', 'I', 'n', 'd', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'P', 'M', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 'S', 'l', 'i', 'd', 'e', 'r', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'P', 'M', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'H', 'a', 'n', 'd', 'l', 'e', 'E', 'x', 't', 'e', 'n', 't', 0,
    'P', 'M', '_', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'D', 'r', 'a', 'g', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 0,
    'P', 'M', '_', 'B', 'u', 't', 't', 'o', 'n', 'S', 'h', 'i', 'f', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'B', 'u', 't', 't', 'o', 'n', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'S', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'S', 'h', 'a', 'd', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'C', 'o', 'm', 'p', 'l', 'e', 'x', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'S', 'E', '_', 'S', 'h', 'a', 'p', 'e', 'd', 'F', 'r', 'a', 'm', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'L', 'e', 'f', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'e', 'a', 'r', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'L', 'e', 'f', 't', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'S', 'E', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'S', 'E', '_', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'S', 'E', '_', 'P', 'u', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'C', 'E', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'A', 'r', 'r', 'o', 'w', 'R', 'i', 'g', 'h', 't', 0,
    's', 'e', 't', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'C', 'o', 'l', 'l', 'a', 'p', 's', 'i', 'b', 'l', 'e', 0,
    'L', 'e', 'f', 't', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'm', 'e', 'r', 'g', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'A', 'c', 't', 'i', 'v', 'a', 't', 'i', 'o', 'n', 'H', 'i', 's', 't', 'o', 'r', 'y', 'O', 'r', 'd', 'e', 'r', 0,
    't', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'S', 't', 'y', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 's', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'e', 'c', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'Q', 'I', 't', 'e', 'm', 'E', 'd', 'i', 't', 'o', 'r', 'C', 'r', 'e', 'a', 't', 'o', 'r', 'B', 'a', 's', 'e', 0,
    's', 'e', 't', 'O', 'f', 'f', 's', 'e', 't', 'T', 'o', 'L', 'a', 's', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'S', 'c', 'e', 'n', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'I', 't', 'e', 'm', 'A', 'c', 'c', 'e', 'p', 't', 's', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'I', 't', 'e', 'm', 'S', 't', 'a', 'c', 'k', 's', 'B', 'e', 'h', 'i', 'n', 'd', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'I', 't', 'e', 'm', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'C', 'h', 'i', 'l', 'd', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'S', 't', 'r', 'e', 't', 'c', 'h', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'O', 'p', 'a', 'c', 'i', 't', 'y', 'E', 'f', 'f', 'e', 'c', 't', 0,
    'P', 'a', 'd', 'T', 'o', 'T', 'r', 'a', 'n', 's', 'p', 'a', 'r', 'e', 'n', 't', 'B', 'o', 'r', 'd', 'e', 'r', 0,
    's', 'e', 't', 'G', 'e', 's', 't', 'u', 'r', 'e', 'C', 'a', 'n', 'c', 'e', 'l', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'n', 'd', 'e', 'x', 0,
    'Q', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'E', 'd', 'i', 't', ':', ':', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'D', 'a', 't', 'e', 'E', 'd', 'i', 't', 'A', 'c', 'c', 'e', 'p', 't', 'D', 'e', 'l', 'a', 'y', 0,
    'i', 's', 'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'B', 'a', 'r', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    's', 'e', 't', 'G', 'r', 'o', 'u', 'p', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 'S', 'h', 'o', 'w', 'n', 0,
    'C', 'o', 'r', 'r', 'e', 'c', 't', 'T', 'o', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'V', 'a', 'l', 'u', 'e', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'E', 'd', 'i', 't', 'o', 'r', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'i', 'e', 's', 0,
    't', 'a', 'k', 'e', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'M', 'd', 'i', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', '*', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'e', 'w', '*', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', '*', '>', 0,
    'Q', 'W', 'i', 'z', 'a', 'r', 'd', ':', ':', 'W', 'i', 'z', 'a', 'r', 'd', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'Q', 'W', 'i', 'z', 'a', 'r', 'd', ':', ':', 'W', 'i', 'z', 'a', 'r', 'd', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'Q', 'W', 'i', 'z', 'a', 'r', 'd', ':', ':', 'W', 'i', 'z', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'I', 'c', 'o', 'n', 'T', 'e', 'x', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 'C', 'o', 'n', 't', 'a', 'i', 'n', 'e', 'r', 0,
    's', 'e', 't', 'F', 'i', 'r', 's', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'S', 'p', 'a', 'n', 'n', 'e', 'd', 0,
    'l', 'i', 'n', 'e', 'W', 'r', 'a', 'p', 'C', 'o', 'l', 'u', 'm', 'n', 'O', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'i', 's', 'C', 'o', 'r', 'n', 'e', 'r', 'B', 'u', 't', 't', 'o', 'n', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'i', 's', 'S', 'y', 's', 't', 'e', 'm', 'T', 'r', 'a', 'y', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'm', 'e', 'n', 'u', 'H', 'a', 's', 'C', 'h', 'e', 'c', 'k', 'a', 'b', 'l', 'e', 'I', 't', 'e', 'm', 's', 0,
    'r', 'i', 'g', 'h', 't', 'C', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 'S', 'i', 'z', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'c', 'o', 'm', 'b', 'i', 'n', 'e', 'd', 'L', 'a', 'y', 'o', 'u', 't', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'I', 'n', 'f', 'o', 'V', 'i', 'e', 'w', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'T', 'o', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'S', 'P', '_', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', 'Q', 'u', 'e', 's', 't', 'i', 'o', 'n', 0,
    'S', 'P', '_', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', 'C', 'r', 'i', 't', 'i', 'c', 'a', 'l', 0,
    'S', 'P', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'M', 'e', 'n', 'u', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'F', 'a', 'd', 'e', 'O', 'u', 't', 'O', 'n', 'H', 'i', 'd', 'e', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'W', 'r', 'a', 'p', 0,
    'S', 'H', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'S', 'H', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', '_', 'A', 'u', 't', 'o', 'R', 'a', 'i', 's', 'e', 0,
    'S', 'H', '_', 'B', 'u', 't', 't', 'o', 'n', '_', 'F', 'o', 'c', 'u', 's', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'M', 'o', 'u', 's', 'e', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    'S', 'H', '_', 'S', 'l', 'i', 'd', 'e', 'r', '_', 'S', 'n', 'a', 'p', 'T', 'o', 'V', 'a', 'l', 'u', 'e', 0,
    'S', 'H', '_', 'D', 'i', 't', 'h', 'e', 'r', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 'T', 'e', 'x', 't', 0,
    'P', 'M', '_', 'L', 'a', 'y', 'o', 'u', 't', 'B', 'o', 't', 't', 'o', 'm', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'C', 'h', 'i', 'l', 'd', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'I', 't', 'e', 'm', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 'I', 't', 'e', 'm', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'P', 'M', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'S', 'l', 'i', 'd', 'e', 'r', 'M', 'i', 'n', 0,
    'P', 'M', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'S', 'E', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 'T', 'a', 'b', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'S', 'E', '_', 'P', 'u', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'S', 't', 'a', 't', 'u', 's', 'B', 'a', 'r', 'I', 't', 'e', 'm', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'S', 'p', 'i', 'n', 'M', 'i', 'n', 'u', 's', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'A', 'r', 'r', 'o', 'w', 'L', 'e', 'f', 't', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'A', 'r', 'r', 'o', 'w', 'D', 'o', 'w', 'n', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'i', 'n', 's', 'e', 'r', 't', 'P', 'e', 'r', 'm', 'a', 'n', 'e', 'n', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'I', 'n', 't', 'e', 'g', 'e', 'r', 'B', 'a', 's', 'e', 0,
    'Q', 'S', 'l', 'i', 'd', 'e', 'r', ':', ':', 'T', 'i', 'c', 'k', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 0,
    'b', 'l', 'o', 'c', 'k', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'c', 'a', 'n', 'I', 'n', 's', 'e', 'r', 't', 'F', 'r', 'o', 'm', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 0,
    'Q', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 's', 'C', 'o', 'l', 'l', 'a', 'p', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'S', 'i', 'n', 'g', 'l', 'e', 'S', 't', 'e', 'p', 0,
    'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 'N', 'e', 'x', 't', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'Q', 'M', 'd', 'i', 'A', 'r', 'e', 'a', ':', ':', 'W', 'i', 'n', 'd', 'o', 'w', 'O', 'r', 'd', 'e', 'r', 0,
    'Q', 'M', 'd', 'i', 'A', 'r', 'e', 'a', ':', ':', 'A', 'r', 'e', 'a', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    's', 'e', 't', 'D', 'o', 'c', 'k', 'N', 'e', 's', 't', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', ':', ':', 'L', 'a', 'y', 'o', 'u', 't', 'M', 'o', 'd', 'e', 0,
    'Q', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', ':', ':', 'R', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'C', 'l', 'e', 'a', 'r', 'B', 'u', 't', 't', 'o', 'n', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'l', 'o', 's', 'e', 's', 't', 'A', 'c', 'c', 'e', 'p', 't', 'a', 'b', 'l', 'e', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'S', 't', 'r', 'e', 't', 'c', 'h', 'L', 'a', 's', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'o', 'r', 't', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'S', 'h', 'o', 'w', 'n', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'i', 'n', 'g', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'F', 'i', 'l', 'l', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    's', 'e', 't', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 'A', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 0,
    'g', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    's', 'e', 't', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'U', 'p', 'd', 'a', 't', 'e', 'M', 'o', 'd', 'e', 0,
    'M', 'i', 'n', 'i', 'm', 'a', 'l', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'L', 'i', 'n', 'e', 'a', 'r', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 'e', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 's', 'C', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 's', 0,
    'i', 's', 'B', 'l', 'o', 'c', 'k', 'e', 'd', 'B', 'y', 'M', 'o', 'd', 'a', 'l', 'P', 'a', 'n', 'e', 'l', 0,
    'p', 'r', 'e', 'p', 'a', 'r', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'O', 'p', 'a', 'c', 'i', 't', 'y', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'D', 'e', 'v', 'i', 'c', 'e', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 'C', 'a', 'c', 'h', 'e', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'R', 'o', 'w', 'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'A', 'n', 'c', 'h', 'o', 'r', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 'e', 't', 'T', 'o', 't', 'a', 'l', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'A', 'n', 'g', 'l', 'e', 0,
    'Q', 'F', 'o', 'r', 'm', 'L', 'a', 'y', 'o', 'u', 't', ':', ':', 'I', 't', 'e', 'm', 'R', 'o', 'l', 'e', 0,
    'A', 'l', 'l', 'N', 'o', 'n', 'F', 'i', 'x', 'e', 'd', 'F', 'i', 'e', 'l', 'd', 's', 'G', 'r', 'o', 'w', 0,
    's', 'e', 't', 'N', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 'D', 'i', 's', 'a', 'b', 'l', 'e', 's', 0,
    'H', 'i', 'd', 'e', 'N', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 'D', 'e', 't', 'a', 'i', 'l', 's', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'F', 'i', 'l', 'e', 'M', 'o', 'd', 'e', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'V', 'i', 'e', 'w', 'M', 'o', 'd', 'e', 0,
    'A', 'l', 'l', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'h', 'i', 't', 'T', 'e', 's', 't', 'C', 'o', 'm', 'p', 'l', 'e', 'x', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'L', 'e', 'n', 'g', 't', 'h', 0,
    's', 'e', 't', 'R', 'e', 's', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'H', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'Q', 'B', 'o', 'x', 'L', 'a', 'y', 'o', 'u', 't', ':', ':', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'G', 'r', 'o', 'u', 'p', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 'S', 'h', 'o', 'w', 'n', 0,
    'C', 'o', 'r', 'r', 'e', 'c', 't', 'T', 'o', 'N', 'e', 'a', 'r', 'e', 's', 't', 'V', 'a', 'l', 'u', 'e', 0,
    's', 'e', 't', 'I', 'n', 'v', 'e', 'r', 't', 'e', 'd', 'A', 'p', 'p', 'e', 'a', 'r', 'a', 'n', 'c', 'e', 0,
    'i', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 'F', 'o', 'r', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 'F', 'o', 'r', 'R', 'o', 'w', 0,
    'd', 'r', 'a', 'g', 'D', 'r', 'o', 'p', 'O', 'v', 'e', 'r', 'w', 'r', 'i', 't', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'o', 'd', 'e', 0,
    'd', 'r', 'o', 'p', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'c', 'l', 'o', 's', 'e', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'E', 'd', 'i', 't', 'o', 'r', 0,
    's', 'e', 't', 'D', 'r', 'o', 'p', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'S', 'h', 'o', 'w', 'n', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'm', 'o', 'u', 's', 'e', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'k', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'I', 'n', 'p', 'u', 't', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'a', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 0,
    'Q', 'W', 'i', 'z', 'a', 'r', 'd', ':', ':', 'W', 'i', 'z', 'a', 'r', 'd', 'S', 't', 'y', 'l', 'e', 0,
    'p', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'I', 'n', 'F', 'o', 'c', 'u', 's', 'C', 'h', 'a', 'i', 'n', 0,
    'Q', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'F', 'l', 'a', 'g', 's', 0,
    'D', 'r', 'a', 'w', 'W', 'i', 'n', 'd', 'o', 'w', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'c', 'h', 'i', 'l', 'd', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 's', 'O', 'n', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 0,
    'i', 's', 'F', 'i', 'r', 's', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'S', 'p', 'a', 'n', 'n', 'e', 'd', 0,
    's', 'e', 't', 'U', 'n', 'i', 'f', 'o', 'r', 'm', 'R', 'o', 'w', 'H', 'e', 'i', 'g', 'h', 't', 's', 0,
    'b', 'a', 'c', 'k', 'w', 'a', 'r', 'd', 'H', 'i', 's', 't', 'o', 'r', 'y', 'C', 'o', 'u', 'n', 't', 0,
    'Q', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'T', 'a', 'b', 'S', 'h', 'a', 'p', 'e', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'R', 'o', 'w', 's', 'T', 'o', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'U', 's', 'e', 's', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', 'M', 'a', 's', 'k', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'M', 'e', 'n', 'u', 'I', 't', 'e', 'm', 0,
    'l', 'e', 'f', 't', 'C', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 'S', 'i', 'z', 'e', 0,
    'S', 'O', '_', 'C', 'o', 'm', 'p', 'l', 'e', 'x', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'S', 'P', '_', 'M', 'e', 'd', 'i', 'a', 'S', 'e', 'e', 'k', 'B', 'a', 'c', 'k', 'w', 'a', 'r', 'd', 0,
    'S', 'P', '_', 'M', 'e', 'd', 'i', 'a', 'S', 'k', 'i', 'p', 'B', 'a', 'c', 'k', 'w', 'a', 'r', 'd', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'R', 'e', 's', 'e', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'A', 'p', 'p', 'l', 'y', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', 'W', 'a', 'r', 'n', 'i', 'n', 'g', 0,
    'S', 'P', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'M', 'a', 'x', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'M', 'i', 'n', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'U', 'n', 'd', 'e', 'r', 'l', 'i', 'n', 'e', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'S', 'H', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', '_', 'N', 'o', 'B', 'o', 'r', 'd', 'e', 'r', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'T', 'y', 'p', 'e', 0,
    'P', 'M', '_', 'L', 'a', 'y', 'o', 'u', 't', 'R', 'i', 'g', 'h', 't', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'F', 'o', 'c', 'u', 's', 'F', 'r', 'a', 'm', 'e', 'H', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'F', 'o', 'c', 'u', 's', 'F', 'r', 'a', 'm', 'e', 'V', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'I', 't', 'e', 'm', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'M', 'D', 'I', 'M', 'i', 'n', 'i', 'm', 'i', 'z', 'e', 'd', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 'P', 'a', 'n', 'e', 'l', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'T', 'e', 'a', 'r', 'o', 'f', 'f', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'B', 'a', 's', 'e', 'O', 'v', 'e', 'r', 'l', 'a', 'p', 0,
    'P', 'M', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'S', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'M', 'a', 'x', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'M', 'i', 'n', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'C', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'E', 'd', 'i', 't', 'F', 'i', 'e', 'l', 'd', 0,
    'S', 'E', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 'G', 'r', 'o', 'o', 'v', 'e', 0,
    'S', 'E', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'S', 'E', '_', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 'C', 'l', 'i', 'c', 'k', 'R', 'e', 'c', 't', 0,
    'S', 'E', '_', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'S', 'E', '_', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'C', 'E', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 'G', 'r', 'o', 'o', 'v', 'e', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'T', 'a', 'b', 'C', 'l', 'o', 's', 'e', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'S', 'p', 'i', 'n', 'P', 'l', 'u', 's', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'S', 'p', 'i', 'n', 'D', 'o', 'w', 'n', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 0,
    'c', 'l', 'o', 's', 'e', 's', 't', 'L', 'e', 'g', 'a', 'l', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'r', 'e', 't', 'a', 'i', 'n', 'S', 'i', 'z', 'e', 'W', 'h', 'e', 'n', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 'A', 'm', 'b', 'i', 'g', 'u', 'o', 'u', 's', 'l', 'y', 0,
    'M', 'o', 'u', 's', 'e', 'P', 'r', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 'D', 'e', 'l', 'a', 'y', 0,
    's', 'e', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'i', 's', 'T', 'e', 'a', 'r', 'O', 'f', 'f', 'M', 'e', 'n', 'u', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'c', 'l', 'o', 's', 'e', 'A', 'c', 't', 'i', 'v', 'e', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'Q', 'M', 'd', 'i', 'A', 'r', 'e', 'a', ':', ':', 'A', 'r', 'e', 'a', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'i', 's', 'D', 'o', 'c', 'k', 'N', 'e', 's', 't', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'i', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 's', 'C', 'l', 'e', 'a', 'r', 'B', 'u', 't', 't', 'o', 'n', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'S', 'm', 'a', 'l', 'l', 'D', 'e', 'c', 'i', 'm', 'a', 'l', 'P', 'o', 'i', 'n', 't', 0,
    'S', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'E', 'd', 'i', 't', 'o', 'r', 'F', 'a', 'c', 't', 'o', 'r', 'y', 0,
    's', 'e', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 'C', 'l', 'i', 'c', 'k', 'a', 'b', 'l', 'e', 0,
    's', 'o', 'r', 't', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    's', 'o', 'r', 't', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'S', 'o', 'r', 't', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'S', 'h', 'o', 'w', 'n', 0,
    's', 'e', 't', 'H', 'i', 'g', 'h', 'l', 'i', 'g', 'h', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'A', 't', 0,
    'u', 'n', 's', 'e', 't', 'L', 'a', 'y', 'o', 'u', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'O', 'p', 't', 'i', 'm', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'D', 'o', 'n', 't', 'S', 'a', 'v', 'e', 'P', 'a', 'i', 'n', 't', 'e', 'r', 'S', 't', 'a', 't', 'e', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'A', 'n', 'c', 'h', 'o', 'r', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'R', 'e', 'n', 'd', 'e', 'r', 'S', 'i', 'z', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'P', 'r', 'o', 'x', 'y', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'O', 'p', 'e', 'n', 'E', 'x', 't', 'e', 'r', 'n', 'a', 'l', 'L', 'i', 'n', 'k', 's', 0,
    't', 'e', 'x', 't', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'P', 'o', 'l', 'y', 'g', 'o', 'n', 'I', 't', 'e', 'm', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'E', 'l', 'l', 'i', 'p', 's', 'e', 'I', 't', 'e', 'm', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'O', 'r', 'i', 'g', 'i', 'n', 'P', 'o', 'i', 'n', 't', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'T', 'o', 'u', 'c', 'h', 'E', 'v', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'H', 'o', 'v', 'e', 'r', 'E', 'v', 'e', 'n', 't', 's', 0,
    'c', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'e', 'd', 'M', 'o', 'u', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'I', 't', 'e', 'm', 'Z', 'V', 'a', 'l', 'u', 'e', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'F', 'l', 'a', 'g', 's', 'H', 'a', 'v', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'C', 'u', 'r', 's', 'o', 'r', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'P', 'a', 'r', 'e', 'n', 't', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'C', 'h', 'i', 'l', 'd', 'A', 'd', 'd', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'W', 'i', 'd', 't', 'h', 0,
    'u', 'n', 'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'R', 'e', 'c', 'o', 'g', 'n', 'i', 'z', 'e', 'r', 0,
    's', 'e', 't', 'L', 'a', 's', 't', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'A', 'n', 'g', 'l', 'e', 0,
    'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'A', 'n', 'g', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    's', 'e', 't', 'F', 'i', 'e', 'l', 'd', 'G', 'r', 'o', 'w', 't', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'F', 'i', 'e', 'l', 'd', 's', 'S', 't', 'a', 'y', 'A', 't', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    's', 'e', 'l', 'e', 'c', 't', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'g', 'e', 't', 'E', 'x', 'i', 's', 't', 'i', 'n', 'g', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'D', 'o', 'n', 't', 'C', 'o', 'n', 'f', 'i', 'r', 'm', 'O', 'v', 'e', 'r', 'w', 'r', 'i', 't', 'e', 0,
    'N', 'o', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'M', 'o', 'd', 'e', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'I', 'n', 's', 'e', 'r', 't', 'A', 'l', 'p', 'h', 'a', 'b', 'e', 't', 'i', 'c', 'a', 'l', 'l', 'y', 0,
    's', 'e', 't', 'D', 'u', 'p', 'l', 'i', 'c', 'a', 't', 'e', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'W', 'e', 'e', 'k', 'd', 'a', 'y', 'T', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'S', 'i', 'n', 'g', 'l', 'e', 'L', 'e', 't', 't', 'e', 'r', 'D', 'a', 'y', 'N', 'a', 'm', 'e', 's', 0,
    's', 'e', 't', 'S', 't', 'a', 'r', 't', 'D', 'r', 'a', 'g', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 0,
    's', 'e', 't', 'I', 'c', 'o', 'n', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'I', 'n', 'M', 'e', 'n', 'u', 0,
    'Q', 'A', 'c', 't', 'i', 'o', 'n', ':', ':', 'A', 'c', 't', 'i', 'o', 'n', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'D', 'r', 'o', 'p', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'o', 'd', 'e', 0,
    'o', 'p', 'e', 'n', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'E', 'd', 'i', 't', 'o', 'r', 0,
    'a', 'l', 't', 'e', 'r', 'n', 'a', 't', 'i', 'n', 'g', 'R', 'o', 'w', 'C', 'o', 'l', 'o', 'r', 's', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'E', 'd', 'i', 't', 'o', 'r', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'B', 'l', 'o', 'c', 'k', 'C', 'o', 'u', 'n', 't', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'P', 'r', 'o', 'p', 'o', 's', 'e', 'd', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 'I', 'n', 'l', 'i', 'n', 'e', 'O', 'b', 'j', 'e', 'c', 't', 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', 'L', 'i', 's', 't', '<', 'Q', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', '*', '>', 0,
    'c', 'u', 's', 't', 'o', 'm', 'B', 'u', 't', 't', 'o', 'n', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'P', 'a', 'g', 'e', 0,
    'g', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'P', 'r', 'o', 'x', 'y', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'Q', 'W', 'i', 'd', 'g', 'e', 't', ':', ':', 'R', 'e', 'n', 'd', 'e', 'r', 'F', 'l', 'a', 'g', 0,
    'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'l', 'a', 'g', 's', 0,
    'o', 'v', 'e', 'r', 'r', 'i', 'd', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 't', 'a', 't', 'e', 0,
    'i', 'n', 's', 'e', 'r', 't', 'T', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'I', 't', 'e', 'm', 's', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'T', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'I', 't', 'e', 'm', 0,
    'a', 'l', 'l', 'C', 'o', 'l', 'u', 'm', 'n', 's', 'S', 'h', 'o', 'w', 'F', 'o', 'c', 'u', 's', 0,
    't', 'e', 'x', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    'f', 'o', 'r', 'w', 'a', 'r', 'd', 'H', 'i', 's', 't', 'o', 'r', 'y', 'C', 'o', 'u', 'n', 't', 0,
    'i', 's', 'B', 'a', 'c', 'k', 'w', 'a', 'r', 'd', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'R', 'o', 'w', 'T', 'o', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'r', 'o', 'w', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'O', 'n', 'D', 'r', 'a', 'g', 0,
    't', 'a', 'b', 'B', 'a', 'r', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'C', 'o', 'm', 'p', 'l', 'e', 'x', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 0,
    'd', 'e', 'c', 'o', 'r', 'a', 't', 'i', 'o', 'n', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'd', 'I', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 0,
    'S', 'P', '_', 'M', 'e', 'd', 'i', 'a', 'V', 'o', 'l', 'u', 'm', 'e', 'M', 'u', 't', 'e', 'd', 0,
    'S', 'P', '_', 'M', 'e', 'd', 'i', 'a', 'S', 'e', 'e', 'k', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'S', 'P', '_', 'M', 'e', 'd', 'i', 'a', 'S', 'k', 'i', 'p', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'S', 'a', 'v', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'O', 'p', 'e', 'n', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'H', 'e', 'l', 'p', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'H', '_', 'T', 'a', 'b', 'B', 'a', 'r', '_', 'E', 'l', 'i', 'd', 'e', 'M', 'o', 'd', 'e', 0,
    'S', 'H', '_', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', '_', 'M', 'a', 's', 'k', 0,
    'S', 'H', '_', 'T', 'a', 'b', 'B', 'a', 'r', '_', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'S', 'H', '_', 'E', 't', 'c', 'h', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 'T', 'e', 'x', 't', 0,
    'P', 'M', '_', 'L', 'a', 'y', 'o', 'u', 't', 'L', 'e', 'f', 't', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'I', 'c', 'o', 'n', 'V', 'i', 'e', 'w', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'G', 'r', 'i', 'p', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'B', 'a', 's', 'e', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'O', 'v', 'e', 'r', 'l', 'a', 'p', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'P', 'i', 'x', 'e', 'l', 'M', 'e', 't', 'r', 'i', 'c', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'S', 'u', 'b', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'S', 'C', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'S', 'C', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 0,
    'S', 'C', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 'E', 'd', 'i', 't', 'F', 'i', 'e', 'l', 'd', 0,
    'S', 'C', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'S', 'u', 'b', 'P', 'a', 'g', 'e', 0,
    'S', 'C', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'A', 'd', 'd', 'P', 'a', 'g', 'e', 0,
    'S', 'C', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'S', 'u', 'b', 'L', 'i', 'n', 'e', 0,
    'S', 'C', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'A', 'd', 'd', 'L', 'i', 'n', 'e', 0,
    'S', 'E', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'T', 'e', 'x', 't', 0,
    'S', 'E', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'T', 'a', 'b', 'P', 'a', 'n', 'e', 0,
    'S', 'E', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 'L', 'a', 'b', 'e', 'l', 0,
    'S', 'E', '_', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'C', 'E', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'S', 'u', 'b', 'P', 'a', 'g', 'e', 0,
    'C', 'E', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'A', 'd', 'd', 'P', 'a', 'g', 'e', 0,
    'C', 'E', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'S', 'u', 'b', 'L', 'i', 'n', 'e', 0,
    'C', 'E', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'A', 'd', 'd', 'L', 'i', 'n', 'e', 0,
    'C', 'E', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 'E', 'm', 'p', 't', 'y', 'A', 'r', 'e', 'a', 0,
    'C', 'E', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 'L', 'a', 'b', 'e', 'l', 0,
    'C', 'E', '_', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'b', 'e', 'l', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'R', 'o', 'w', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'T', 'a', 'b', 'T', 'e', 'a', 'r', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'A', 'r', 'r', 'o', 'w', 'U', 'p', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 'B', 'e', 'v', 'e', 'l', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'B', 'u', 't', 't', 'o', 'n', 'B', 'e', 'v', 'e', 'l', 0,
    'S', 't', 'a', 't', 'e', '_', 'F', 'o', 'c', 'u', 's', 'A', 't', 'B', 'o', 'r', 'd', 'e', 'r', 0,
    'c', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'C', 'o', 'l', 'l', 'a', 'p', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'S', 'i', 'z', 'e', 'P', 'o', 'l', 'i', 'c', 'y', ':', ':', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'S', 'c', 'r', 'o', 'l', 'l', 'T', 'i', 'm', 'e', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 0,
    'e', 'n', 's', 'u', 'r', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'e', 'n', 's', 'u', 'r', 'e', 'C', 'u', 'r', 's', 'o', 'r', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'P', 'a', 'g', 'e', 'S', 't', 'e', 'p', 0,
    't', 'a', 'b', 'i', 'f', 'i', 'e', 'd', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    's', 'e', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'F', 'o', 'r', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 't', 'U', 'n', 'i', 'f', 'o', 'r', 'm', 'I', 't', 'e', 'm', 'S', 'i', 'z', 'e', 's', 0,
    'Q', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', ':', ':', 'V', 'i', 'e', 'w', 'M', 'o', 'd', 'e', 0,
    'Q', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', ':', ':', 'M', 'o', 'v', 'e', 'm', 'e', 'n', 't', 0,
    'Q', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', ':', ':', 'E', 'c', 'h', 'o', 'M', 'o', 'd', 'e', 0,
    't', 'o', 't', 'a', 'l', 'H', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'Q', 'K', 'e', 'y', 'E', 'v', 'e', 'n', 't', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 0,
    'd', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', 'u', 'e', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 't', 'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'E', 'd', 'i', 't', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'o', 'u', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 't', 'r', 'e', 't', 'c', 'h', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'o', 'u', 'n', 't', 0,
    'u', 'n', 'g', 'r', 'a', 'b', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    's', 'e', 't', 'O', 'p', 't', 'i', 'm', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 0,
    'S', 'm', 'a', 'r', 't', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'b', 'u', 't', 't', 'o', 'n', 'D', 'o', 'w', 'n', 'S', 'c', 'r', 'e', 'e', 'n', 'P', 'o', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'P', 'a', 'r', 'e', 'n', 't', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'e', 'x', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'P', 'i', 'x', 'm', 'a', 'p', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'I', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'H', 'i', 'n', 't', 's', 0,
    'I', 't', 'e', 'm', 'S', 'c', 'a', 'l', 'e', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'S', 'c', 'e', 'n', 'e', 'H', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'C', 'o', 'o', 'r', 'd', 'i', 'n', 'a', 't', 'e', 'C', 'a', 'c', 'h', 'e', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'F', 'i', 'x', 'e', 'd', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'R', 'o', 'w', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'H', 'e', 'i', 'g', 'h', 't', 0,
    's', 'e', 't', 'R', 'o', 'w', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'S', 't', 'r', 'e', 't', 'c', 'h', 'F', 'a', 'c', 't', 'o', 'r', 0,
    's', 'e', 't', 'R', 'o', 'w', 'S', 't', 'r', 'e', 't', 'c', 'h', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'G', 'r', 'i', 'd', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'B', 'l', 'u', 'r', 'E', 'f', 'f', 'e', 'c', 't', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'T', 'o', 't', 'a', 'l', 'S', 'c', 'a', 'l', 'e', 'F', 'a', 'c', 't', 'o', 'r', 0,
    's', 'e', 't', 'S', 't', 'a', 'r', 't', 'C', 'e', 'n', 't', 'e', 'r', 'P', 'o', 'i', 'n', 't', 0,
    's', 'e', 't', 'T', 'o', 't', 'a', 'l', 'C', 'h', 'a', 'n', 'g', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'g', 'e', 's', 't', 'u', 'r', 'e', 'C', 'a', 'n', 'c', 'e', 'l', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'E', 'x', 'p', 'a', 'n', 'd', 'i', 'n', 'g', 'F', 'i', 'e', 'l', 'd', 's', 'G', 'r', 'o', 'w', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'U', 'r', 'l', 'E', 'n', 't', 'e', 'r', 'e', 'd', 0,
    'D', 'o', 'n', 't', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'S', 'y', 'm', 'l', 'i', 'n', 'k', 's', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'd', 'o', 'c', 'k', 'L', 'o', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'a', 'l', 'l', 'o', 'w', 'e', 'd', 'A', 'r', 'e', 'a', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'l', 'o', 'a', 't', 'a', 'b', 'l', 'e', 0,
    'Q', 'D', 'i', 'a', 'l', 'o', 'g', ':', ':', 'D', 'i', 'a', 'l', 'o', 'g', 'C', 'o', 'd', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 't', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    's', 'e', 't', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'g', 'e', 'n', 'e', 'r', 'a', 't', 'e', 'd', 'I', 'c', 'o', 'n', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 'n', 's', 'e', 'r', 't', 'B', 'e', 'f', 'o', 'r', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'P', 'r', 'e', 'v', 'i', 'e', 'w', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'o', 'l', 'o', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'D', 'o', 'n', 't', 'U', 's', 'e', 'N', 'a', 't', 'i', 'v', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    'd', 'a', 't', 'e', 'E', 'd', 'i', 't', 'A', 'c', 'c', 'e', 'p', 't', 'D', 'e', 'l', 'a', 'y', 0,
    's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'T', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 'i', 'n', 'g', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    's', 'e', 't', 'W', 'h', 'e', 'e', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'L', 'i', 'n', 'e', 's', 0,
    'd', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    'i', 's', 'I', 'c', 'o', 'n', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'I', 'n', 'M', 'e', 'n', 'u', 0,
    's', 'e', 't', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    's', 'e', 't', 'S', 'p', 'e', 'c', 'i', 'a', 'l', 'V', 'a', 'l', 'u', 'e', 'T', 'e', 'x', 't', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'S', 'i', 'n', 'g', 'l', 'e', 'S', 't', 'e', 'p', 'S', 'u', 'b', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'S', 'i', 'n', 'g', 'l', 'e', 'S', 't', 'e', 'p', 'A', 'd', 'd', 0,
    's', 'e', 't', 'I', 'n', 'v', 'e', 'r', 't', 'e', 'd', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 'A', 'd', 'j', 'u', 's', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'S', 'i', 'z', 'e', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    's', 'e', 't', 'T', 'a', 'b', 'K', 'e', 'y', 'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 0,
    'C', 'o', 'n', 't', 'i', 'g', 'u', 'o', 'u', 's', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'c', 'r', 'o', 'l', 'l', 'A', 'r', 'e', 'a', 0,
    'm', 'o', 'd', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'p', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 'L', 'i', 's', 't', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'U', 'n', 'd', 'o', 'S', 't', 'a', 'c', 'k', '*', '>', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 'O', 'n', 'L', 'e', 'f', 't', 0,
    's', 'e', 't', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'P', 'a', 'r', 'e', 'n', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'f', 'o', 'c', 'u', 's', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'C', 'h', 'i', 'l', 'd', 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,
    'a', 'c', 't', 'i', 'v', 'e', 'S', 't', 'a', 'c', 'k', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 'n', 's', 'e', 'r', 't', 'T', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'E', 'x', 'p', 'a', 'n', 'd', 'D', 'e', 'l', 'a', 'y', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 's', 'E', 'x', 'p', 'a', 'n', 'd', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'R', 'o', 'o', 't', 'I', 's', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'e', 'd', 0,
    'i', 's', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'e', 'l', 'l', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'C', 'o', 'u', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'T', 'a', 'b', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 'W', 'i', 't', 'h', 'i', 'n', 'L', 'i', 'n', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'd', 'e', 'c', 'o', 'r', 'a', 't', 'i', 'o', 'n', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'B', 'u', 't', 't', 'o', 'n', 0,
    'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'I', 's', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    'S', 'P', '_', 'D', 'i', 'r', 'L', 'i', 'n', 'k', 'O', 'p', 'e', 'n', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'Y', 'e', 's', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'S', 't', 'a', 'r', 't', 0,
    'S', 'H', '_', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'S', 'H', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', '_', 'M', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    'S', 'H', '_', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', '_', 'M', 'a', 's', 'k', 0,
    'S', 'H', '_', 'F', 'o', 'c', 'u', 's', 'F', 'r', 'a', 'm', 'e', '_', 'M', 'a', 's', 'k', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'a', 'b', 'l', 'e', 0,
    'P', 'M', '_', 'T', 'e', 'x', 't', 'C', 'u', 'r', 's', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'L', 'a', 'y', 'o', 'u', 't', 'T', 'o', 'p', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'V', 'S', 'p', 'a', 'c', 'e', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'H', 'S', 'p', 'a', 'c', 'e', 0,
    'P', 'M', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'T', 'h', 'i', 'c', 'k', 'n', 'e', 's', 's', 0,
    'P', 'M', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'E', 'x', 't', 'e', 'n', 't', 0,
    'S', 'C', '_', 'M', 'd', 'i', 'N', 'o', 'r', 'm', 'a', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'S', 'y', 's', 'M', 'e', 'n', 'u', 0,
    'S', 'C', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'T', 'i', 'c', 'k', 'm', 'a', 'r', 'k', 's', 0,
    'S', 'C', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'G', 'r', 'o', 'o', 'v', 'e', 0,
    'S', 'C', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'S', 'u', 'b', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'S', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'L', 'a', 'b', 'e', 'l', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'T', 'a', 'b', 'B', 'a', 'r', 0,
    'S', 'E', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'S', 'u', 'b', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'C', 'E', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'E', 'm', 'p', 't', 'y', 'A', 'r', 'e', 'a', 0,
    'C', 'E', '_', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 'T', 'a', 'b', 'L', 'a', 'b', 'e', 'l', 0,
    'C', 'E', '_', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 'T', 'a', 'b', 'S', 'h', 'a', 'p', 'e', 0,
    'C', 'E', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'C', 'E', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'T', 'i', 't', 'l', 'e', 0,
    'C', 'E', '_', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'b', 'e', 'l', 0,
    'C', 'E', '_', 'P', 'u', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'b', 'e', 'l', 0,
    'C', 'E', '_', 'P', 'u', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 'B', 'e', 'v', 'e', 'l', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'S', 'p', 'i', 'n', 'U', 'p', 0,
    'P', 'E', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'B', 'r', 'a', 'n', 'c', 'h', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 'T', 'o', 'o', 'l', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'T', 'a', 'b', 'B', 'a', 'r', 'B', 'a', 's', 'e', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'B', 'u', 't', 't', 'o', 'n', 'T', 'o', 'o', 'l', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'd', 'd', 'P', 'e', 'r', 'm', 'a', 'n', 'e', 'n', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'd', 'i', 's', 'p', 'l', 'a', 'y', 'I', 'n', 't', 'e', 'g', 'e', 'r', 'B', 'a', 's', 'e', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    'D', 'e', 'c', 'e', 'l', 'e', 'r', 'a', 't', 'i', 'o', 'n', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'A', 'l', 'w', 'a', 'y', 's', 'O', 'f', 'f', 0,
    'r', 'e', 's', 'e', 'n', 'd', 'P', 'r', 'e', 'p', 'a', 'r', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'i', 'e', 's', 0,
    's', 'e', 't', 'W', 'i', 'd', 'g', 'e', 't', 'R', 'e', 's', 'i', 'z', 'a', 'b', 'l', 'e', 0,
    'Q', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', ':', ':', 'S', 'h', 'a', 'p', 'e', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'i', 'n', 's', 'e', 'r', 't', 'F', 'r', 'o', 'm', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 0,
    's', 'e', 't', 'E', 'x', 't', 'r', 'a', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    's', 'e', 't', 'I', 'n', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'v', 'e', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'k', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'S', 'i', 'n', 'g', 'l', 'e', 'S', 't', 'e', 'p', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'v', 'a', 't', 'i', 'o', 'n', 'O', 'r', 'd', 'e', 'r', 0,
    'c', 'l', 'o', 's', 'e', 'A', 'l', 'l', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'v', 'e', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    's', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    'Q', 'M', 'd', 'i', 'A', 'r', 'e', 'a', ':', ':', 'V', 'i', 'e', 'w', 'M', 'o', 'd', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'B', 'r', 'e', 'a', 'k', 0,
    'i', 'n', 's', 'e', 'r', 't', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'B', 'r', 'e', 'a', 'k', 0,
    's', 'e', 't', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'l', 'e', 'a', 'r', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'F', 'l', 'a', 'g', 's', 0,
    's', 'e', 't', 'P', 'l', 'a', 'c', 'e', 'h', 'o', 'l', 'd', 'e', 'r', 'T', 'e', 'x', 't', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'W', 'o', 'r', 'd', 'B', 'a', 'c', 'k', 'w', 'a', 'r', 'd', 0,
    'P', 'a', 's', 's', 'w', 'o', 'r', 'd', 'E', 'c', 'h', 'o', 'O', 'n', 'E', 'd', 'i', 't', 0,
    'k', 'e', 'y', 'S', 'e', 'q', 'u', 'e', 'n', 'c', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'I', 't', 'e', 'm', 'E', 'd', 'i', 't', 'o', 'r', 'F', 'a', 'c', 't', 'o', 'r', 'y', 0,
    'd', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 's', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'E', 'd', 'i', 't', 'a', 'b', 'l', 'e', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 'M', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'h', 'i', 'd', 'd', 'e', 'n', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'o', 'u', 'n', 't', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    's', 't', 'r', 'e', 't', 'c', 'h', 'L', 'a', 's', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'o', 'r', 't', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'O', 'r', 'd', 'e', 'r', 0,
    'a', 'u', 't', 'o', 'F', 'i', 'l', 'l', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    's', 'e', 't', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'U', 'p', 'd', 'a', 't', 'e', 'M', 'o', 'd', 'e', 0,
    'F', 'u', 'l', 'l', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'r', 'e', 's', 'e', 't', 'C', 'a', 'c', 'h', 'e', 'd', 'C', 'o', 'n', 't', 'e', 'n', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'b', 'u', 't', 't', 'o', 'n', 'D', 'o', 'w', 'n', 'S', 'c', 'e', 'n', 'e', 'P', 'o', 's', 0,
    's', 'e', 't', 'F', 'o', 'r', 'e', 'g', 'r', 'o', 'u', 'n', 'd', 'B', 'r', 'u', 's', 'h', 0,
    's', 'e', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'B', 'r', 'u', 's', 'h', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'I', 'n', 'd', 'e', 'x', 'M', 'e', 't', 'h', 'o', 'd', 0,
    's', 'e', 't', 'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'a', 'd', 'd', 'C', 'h', 'i', 'l', 'd', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    'g', 'e', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    's', 'e', 't', 'T', 'a', 'b', 'C', 'h', 'a', 'n', 'g', 'e', 's', 'F', 'o', 'c', 'u', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 'G', 'r', 'o', 'u', 'p', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'H', 'e', 'u', 'r', 'i', 's', 't', 'i', 'c', 'M', 'a', 's', 'k', 'S', 'h', 'a', 'p', 'e', 0,
    's', 'e', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 's', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 'C', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 's', 0,
    'c', 'o', 'm', 'm', 'o', 'n', 'A', 'n', 'c', 'e', 's', 't', 'o', 'r', 'I', 't', 'e', 'm', 0,
    'I', 't', 'e', 'm', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'W', 'i', 'd', 't', 'h', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'W', 'i', 'd', 't', 'h', 0,
    'r', 'o', 'w', 'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'o', 'p', 'a', 'c', 'i', 't', 'y', 'M', 'a', 's', 'k', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'Q', 'G', 'e', 's', 't', 'u', 'r', 'e', 'R', 'e', 'c', 'o', 'g', 'n', 'i', 'z', 'e', 'r', 0,
    'm', 'a', 'p', 'T', 'o', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 0,
    'Q', 'T', 'a', 'p', 'A', 'n', 'd', 'H', 'o', 'l', 'd', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    't', 'o', 't', 'a', 'l', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'A', 'n', 'g', 'l', 'e', 0,
    's', 'e', 't', 'L', 'a', 's', 't', 'S', 'c', 'a', 'l', 'e', 'F', 'a', 'c', 't', 'o', 'r', 0,
    's', 'e', 't', 'L', 'a', 's', 't', 'C', 'e', 'n', 't', 'e', 'r', 'P', 'o', 'i', 'n', 't', 0,
    'C', 'e', 'n', 't', 'e', 'r', 'P', 'o', 'i', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'S', 'c', 'a', 'l', 'e', 'F', 'a', 'c', 't', 'o', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'C', 'a', 'n', 'c', 'e', 'l', 'A', 'l', 'l', 'I', 'n', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'F', 'o', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'n', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 'D', 'i', 's', 'a', 'b', 'l', 'e', 's', 0,
    's', 'e', 't', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'N', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'C', 'l', 'o', 's', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'S', 'y', 'm', 'l', 'i', 'n', 'k', 's', 0,
    's', 'e', 't', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'c', 'r', 'e', 'e', 'n', 'C', 'o', 'u', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'm', 'a', 'p', 'p', 'e', 'd', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'N', 'a', 'm', 'e', 0,
    'd', 'r', 'a', 'w', 'C', 'o', 'm', 'p', 'l', 'e', 'x', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'Q', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 'n', 'k', 'B', 'u', 't', 't', 'o', 'n', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'e', 'x', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 'n', 's', 'e', 'r', 't', 'A', 'f', 't', 'e', 'r', 'C', 'u', 'r', 'r', 'e', 'n', 't', 0,
    's', 'e', 't', 'M', 'a', 'x', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'I', 't', 'e', 'm', 's', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'D', 'a', 't', 'e', 'E', 'd', 'i', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'P', 'a', 'g', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'N', 'o', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    's', 'e', 't', 'C', 'u', 'r', 's', 'o', 'r', 'F', 'l', 'a', 's', 'h', 'T', 'i', 'm', 'e', 0,
    's', 'e', 't', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'h', 'a', 's', 'A', 'c', 'c', 'e', 'p', 't', 'a', 'b', 'l', 'e', 'I', 'n', 'p', 'u', 't', 0,
    'i', 'n', 'v', 'e', 'r', 't', 'e', 'd', 'A', 'p', 'p', 'e', 'a', 'r', 'a', 'n', 'c', 'e', 0,
    'a', 'd', 'd', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'f', 'o', 'c', 'u', 's', 'N', 'e', 'x', 't', 'P', 'r', 'e', 'v', 'C', 'h', 'i', 'l', 'd', 0,
    'i', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 'F', 'o', 'r', 'R', 'o', 'w', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'o', 'd', 'e', 0,
    'D', 'r', 'a', 'g', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'n', 'g', 'S', 't', 'a', 't', 'e', 0,
    'a', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 'D', 'e', 'l', 'a', 'y', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'T', 'i', 't', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'S', 't', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'C', 'u', 'r', 's', 'o', 'r', 'M', 'o', 'v', 'e', 'S', 't', 'y', 'l', 'e', 0,
    's', 'e', 't', 'U', 'n', 'd', 'o', 'R', 'e', 'd', 'o', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'o', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'I', 'n', 'l', 'i', 'n', 'e', 'O', 'b', 'j', 'e', 'c', 't', 0,
    's', 'e', 't', 'C', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 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', 'L', 'i', 's', 't', '<', 'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', '*', '>', 0,
    's', 'e', 't', 'S', 'u', 'b', 'T', 'i', 't', 'l', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'H', 'a', 'v', 'e', 'C', 'u', 's', 't', 'o', 'm', 'B', 'u', 't', 't', 'o', 'n', '3', 0,
    'H', 'a', 'v', 'e', 'C', 'u', 's', 't', 'o', 'm', 'B', 'u', 't', 't', 'o', 'n', '2', 0,
    'H', 'a', 'v', 'e', 'C', 'u', 's', 't', 'o', 'm', 'B', 'u', 't', 't', 'o', 'n', '1', 0,
    'H', 'e', 'l', 'p', 'B', 'u', 't', 't', 'o', 'n', 'O', 'n', 'R', 'i', 'g', 'h', 't', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'I', 'c', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    's', 'e', 't', 'U', 'p', 'd', 'a', 't', 'e', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'I', 'c', 'o', 'n', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'F', 'o', 'r', 'e', 'g', 'r', 'o', 'u', 'n', 'd', 'R', 'o', 'l', 'e', 0,
    's', 'e', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'R', 'o', 'l', 'e', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'd', 0,
    't', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'I', 't', 'e', 'm', 'C', 'o', 'u', 'n', 't', 0,
    'D', 'o', 'n', 't', 'S', 'h', 'o', 'w', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'u', 'n', 'i', 'f', 'o', 'r', 'm', 'R', 'o', 'w', 'H', 'e', 'i', 'g', 'h', 't', 's', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'R', 'i', 'c', 'h', 'T', 'e', 'x', 't', 0,
    'b', 'a', 'c', 'k', 'w', 'a', 'r', 'd', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'T', 'a', 'b', 'B', 'a', 'r', 'A', 'u', 't', 'o', 'H', 'i', 'd', 'e', 0,
    'c', 'e', 'l', 'l', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    't', 'a', 'b', 'C', 'l', 'o', 's', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'S', 'e', 'l', 'e', 'c', 't', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'T', 'a', 'b', 0,
    'u', 's', 'e', 's', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'S', 'u', 'b', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'H', 'a', 's', 'C', 'h', 'e', 'c', 'k', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'R', 'i', 'g', 'h', 't', 'C', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'A', 'u', 't', 'o', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'F', 'r', 'a', 'm', 'e', 0,
    'S', 'O', '_', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'F', 'r', 'a', 'm', 'e', 0,
    'R', 'S', 'I', 'P', '_', 'O', 'n', 'M', 'o', 'u', 's', 'e', 'C', 'l', 'i', 'c', 'k', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'N', 'o', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'O', 'k', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'a', 'c', 'k', 0,
    'S', 'H', '_', 'W', 'i', 'd', 'g', 'e', 't', '_', 'A', 'n', 'i', 'm', 'a', 't', 'e', 0,
    'S', 'H', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', '_', 'P', 'o', 'p', 'u', 'p', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 0,
    'P', 'M', '_', 'S', 'u', 'b', 'M', 'e', 'n', 'u', 'O', 'v', 'e', 'r', 'l', 'a', 'p', 0,
    'P', 'M', '_', 'B', 'u', 't', 't', 'o', 'n', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 'r', 'k', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 'H', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 'V', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'P', 'a', 'n', 'e', 'l', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'S', 'C', '_', 'M', 'd', 'i', 'C', 'l', 'o', 's', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'C', '_', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'M', 'e', 'n', 'u', 0,
    'S', 'C', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'F', 'i', 'r', 's', 't', 0,
    'S', 'E', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'I', 'c', 'o', 'n', 0,
    'C', 'E', '_', 'C', 'o', 'l', 'u', 'm', 'n', 'V', 'i', 'e', 'w', 'G', 'r', 'i', 'p', 0,
    'C', 'E', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'F', 'i', 'r', 's', 't', 0,
    'C', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'L', 'a', 'b', 'e', 'l', 0,
    'C', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'S', 'h', 'a', 'p', 'e', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'S', 't', 'a', 't', 'u', 's', 'B', 'a', 'r', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'S', 't', 'a', 't', 'u', 's', 'B', 'a', 'r', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'S', 't', 'a', 't', 'e', 'F', 'l', 'a', 'g', 0,
    'h', 'a', 's', 'W', 'i', 'd', 't', 'h', 'F', 'o', 'r', 'H', 'e', 'i', 'g', 'h', 't', 0,
    's', 'e', 't', 'W', 'i', 'd', 't', 'h', 'F', 'o', 'r', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    's', 'e', 't', 'H', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'M', 'e', 't', 'r', 'i', 'c', 'C', 'o', 'u', 'n', 't', 0,
    'S', 'n', 'a', 'p', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'R', 'a', 't', 'i', 'o', 0,
    'A', 'x', 'i', 's', 'L', 'o', 'c', 'k', 'T', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', 0,
    'D', 'r', 'a', 'g', 'S', 't', 'a', 'r', 't', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 0,
    'O', 'v', 'e', 'r', 's', 'h', 'o', 'o', 't', 'A', 'l', 'w', 'a', 'y', 's', 'O', 'n', 0,
    's', 'e', 't', 'S', 'n', 'a', 'p', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 's', 'Y', 0,
    's', 'e', 't', 'S', 'n', 'a', 'p', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 's', 'X', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'G', 'e', 's', 't', 'u', 'r', 'e', 'T', 'y', 'p', 'e', 0,
    'e', 'n', 's', 'u', 'r', 'e', 'B', 'l', 'o', 'c', 'k', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'f', 'i', 'r', 's', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'B', 'l', 'o', 'c', 'k', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'F', 'o', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'e', 'n', 't', 'e', 'r', 'O', 'n', 'S', 'c', 'r', 'o', 'l', 'l', 0,
    'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'r', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'M', 'o', 'd', 'a', 'l', 'i', 't', 'y', 0,
    'Q', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', ':', ':', 'I', 'c', 'o', 'n', 0,
    's', 'e', 't', 'T', 'e', 'a', 'r', 'O', 'f', 'f', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'a', 's', 'c', 'a', 'd', 'e', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    't', 'a', 'k', 'e', 'C', 'e', 'n', 't', 'r', 'a', 'l', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'e', 's', 't', 'o', 'r', 'e', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'S', 'o', 'r', 't', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'i', 't', 'e', 'm', 'D', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'W', 'o', 'r', 'd', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    's', 'e', 't', 'C', 'u', 'r', 's', 'o', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'm', 'a', 'l', 'l', 'D', 'e', 'c', 'i', 'm', 'a', 'l', 'P', 'o', 'i', 'n', 't', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    's', 'e', 't', 'S', 'c', 'a', 'l', 'e', 'd', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'h', 'a', 's', 'S', 'c', 'a', 'l', 'e', 'd', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'a', 'c', 't', 'o', 'r', 'y', 0,
    'v', 'a', 'l', 'u', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 'N', 'a', 'm', 'e', 0,
    'i', 't', 'e', 'm', 'E', 'd', 'i', 't', 'o', 'r', 'F', 'a', 'c', 't', 'o', 'r', 'y', 0,
    't', 'e', 'x', 't', 'V', 'a', 'l', 'u', 'e', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 't', 'D', 'o', 'u', 'b', 'l', 'e', 'D', 'e', 'c', 'i', 'm', 'a', 'l', 's', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 's', 'C', 'l', 'i', 'c', 'k', 'a', 'b', 'l', 'e', 0,
    'g', 'e', 'o', 'm', 'e', 't', 'r', 'i', 'e', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'h', 'i', 'g', 'h', 'l', 'i', 'g', 'h', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    'r', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'o', 'p', 't', 'i', 'm', 'i', 'z', 'a', 't', 'i', 'o', 'n', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'R', 'e', 'n', 'd', 'e', 'r', 'S', 'i', 'z', 'e', 0,
    'i', 't', 'e', 'm', 's', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'e', 'f', 'f', 'e', 'c', 't', 'i', 'v', 'e', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    's', 'e', 't', 'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'W', 'i', 'd', 't', 'h', 0,
    'o', 'p', 'e', 'n', 'E', 'x', 't', 'e', 'r', 'n', 'a', 'l', 'L', 'i', 'n', 'k', 's', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'T', 'e', 'x', 't', 'I', 't', 'e', 'm', 0,
    'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 'S', 'h', 'a', 'p', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'L', 'i', 'n', 'e', 'I', 't', 'e', 'm', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'R', 'e', 'c', 't', 'I', 't', 'e', 'm', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'P', 'a', 't', 'h', 'I', 't', 'e', 'm', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'T', 'o', 'u', 'c', 'h', 'E', 'v', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'E', 'f', 'f', 'e', 'c', 't', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'F', 'r', 'o', 'm', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'H', 'o', 'v', 'e', 'r', 'E', 'v', 'e', 'n', 't', 's', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    's', 'c', 'e', 'n', 'e', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'I', 't', 'e', 'm', 'H', 'a', 's', 'N', 'o', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'I', 't', 'e', 'm', 'O', 'p', 'a', 'c', 'i', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'R', 'o', 'w', 'F', 'i', 'x', 'e', 'd', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'b', 'l', 'u', 'r', 'R', 'a', 'd', 'i', 'u', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'S', 'o', 'u', 'r', 'c', 'e', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'd', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'l', 'a', 's', 't', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'A', 'n', 'g', 'l', 'e', 0,
    'Q', 'F', 'r', 'a', 'm', 'e', ':', ':', 'S', 't', 'y', 'l', 'e', 'M', 'a', 's', 'k', 0,
    'g', 'e', 't', 'L', 'a', 'y', 'o', 'u', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'g', 'e', 't', 'W', 'i', 'd', 'g', 'e', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    's', 'e', 't', 'L', 'a', 'b', 'e', 'l', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'f', 'i', 'e', 'l', 'd', 'G', 'r', 'o', 'w', 't', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'P', 'r', 'o', 'p', 'o', 'r', 't', 'i', 'o', 'n', 'a', 'l', 'F', 'o', 'n', 't', 's', 0,
    'Q', 'F', 'i', 'l', 'e', 'I', 'c', 'o', 'n', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'U', 'r', 'l', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'q', 'D', 'r', 'a', 'w', 'B', 'o', 'r', 'd', 'e', 'r', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    's', 'e', 't', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'M', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'L', 'a', 'z', 'y', 'C', 'h', 'i', 'l', 'd', 'C', 'o', 'u', 'n', 't', 0,
    'i', 's', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'N', 'o', 't', 'c', 'h', 'e', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'C', 'a', 'l', 'e', 'n', 'd', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'd', 'i', 's', 'p', 'l', 'a', 'y', 'e', 'd', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    'D', 'a', 't', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', '_', 'M', 'a', 's', 'k', 0,
    'T', 'i', 'm', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', '_', 'M', 'a', 's', 'k', 0,
    'Q', 'D', 'a', 't', 'a', 'W', 'i', 'd', 'g', 'e', 't', 'M', 'a', 'p', 'p', 'e', 'r', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'R', 'o', 'l', 'e', 0,
    's', 'e', 't', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'R', 'o', 'o', 't', 'M', 'o', 'd', 'e', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'd', 'u', 'p', 'l', 'i', 'c', 'a', 't', 'e', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'i', 's', 'D', 'a', 't', 'e', 'E', 'd', 'i', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'h', 'o', 'w', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'M', 'o', 'n', 't', 'h', 0,
    's', 'e', 't', 'D', 'a', 't', 'e', 'T', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'w', 'e', 'e', 'k', 'd', 'a', 'y', 'T', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'F', 'i', 'r', 's', 't', 'D', 'a', 'y', 'O', 'f', 'W', 'e', 'e', 'k', 0,
    'h', 'a', 's', 'H', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'S', 'i', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'M', 'o', 'd', 'a', 'l', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'P', 'o', 'p', 'u', 'p', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'Q', 'A', 'c', 't', 'i', 'o', 'n', ':', ':', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'a', 's', 's', 'o', 'c', 'i', 'a', 't', 'e', 'd', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'T', 'e', 'x', 't', 'H', 'e', 'u', 'r', 'i', 's', 't', 'i', 'c', 'R', 'o', 'l', 'e', 0,
    'Q', 'A', 'c', 't', 'i', 'o', 'n', ':', ':', 'M', 'e', 'n', 'u', 'R', 'o', 'l', 'e', 0,
    's', 'e', 't', 'C', 'o', 'r', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'S', 't', 'e', 'p', 's', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'R', 'a', 'n', 'g', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'P', 'a', 'g', 'e', 'S', 't', 'e', 'p', 'S', 'u', 'b', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'P', 'a', 'g', 'e', 'S', 't', 'e', 'p', 'A', 'd', 'd', 0,
    's', 'e', 't', 'S', 'l', 'i', 'd', 'e', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 0,
    'd', 'i', 'r', 't', 'y', 'R', 'e', 'g', 'i', 'o', 'n', 'O', 'f', 'f', 's', 'e', 't', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'D', 'i', 'r', 't', 'y', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    's', 'i', 'z', 'e', 'H', 'i', 'n', 't', 'F', 'o', 'r', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'h', 'o', 'w', 'D', 'r', 'o', 'p', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'B', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'l', 0,
    'E', 'x', 't', 'e', 'n', 'd', 'e', 'd', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 0,
    'v', 'i', 's', 'i', 'b', 'i', 'l', 'i', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 'o', 'u', 's', 'e', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'B', 'l', 'o', 'c', 'k', 'C', 'o', 'u', 'n', 't', 0,
    'b', 'l', 'o', 'c', 'k', 'C', 'o', 'u', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 's', 'U', 'n', 'd', 'o', 'R', 'e', 'd', 'o', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 't', 'a', 'r', 't', 'D', 'r', 'a', 'g', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 0,
    'i', 'n', 'v', 'i', 's', 'i', 'b', 'l', 'e', 'R', 'o', 'o', 't', 'I', 't', 'e', 'm', 0,
    'a', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'D', 'r', 'o', 'p', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'b', 'l', 'o', 'c', 'k', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'f', 'r', 'a', 'm', 'e', 'B', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 0,
    'i', 's', 'S', 'i', 'g', 'n', 'a', 'l', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 'n', 'd', 'e', 'r', 'S', 'i', 'g', 'n', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'R', 'o', 'w', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 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,
    's', 'i', 'p', '.', 's', 'i', 'm', 'p', 'l', 'e', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'G', 'e', 's', 't', 'u', 'r', 'e', '*', '>', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'I', 'n', 'd', 'e', 'p', 'e', 'n', 'd', 'e', 'n', 't', 'P', 'a', 'g', 'e', 's', 0,
    'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'h', 'a', 's', 'M', 'o', 'u', 's', 'e', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    's', 'e', 't', 'M', 'o', 'u', 's', 'e', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'O', 'l', 'd', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'n', 'e', 'x', 't', 'I', 'n', 'F', 'o', 'c', 'u', 's', 'C', 'h', 'a', 'i', 'n', 0,
    'i', 's', 'W', 'i', 'n', 'd', 'o', 'w', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'd', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'U', 'n', 'd', 'o', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'R', 'e', 'd', 'o', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'a', 'd', 'd', 'T', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'I', 't', 'e', 'm', 's', 0,
    't', 'a', 'k', 'e', 'T', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'I', 't', 'e', 'm', 0,
    'r', 'e', 's', 'e', 't', 'I', 'n', 'd', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'i', 'n', 'd', 'e', 'x', 'R', 'o', 'w', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'F', 'i', 'x', 'e', 'd', 'C', 'o', 'l', 'u', 'm', 'n', 'W', 'i', 'd', 't', 'h', 0,
    'f', 'o', 'r', 'w', 'a', 'r', 'd', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'R', 'a', 'n', 'g', 'e', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'C', 'e', 'l', 'l', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'Q', 'T', 'a', 'b', 'l', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    's', 'u', 'p', 'p', 'o', 'r', 't', 's', 'M', 'e', 's', 's', 'a', 'g', 'e', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 'R', 'e', 't', 'u', 'r', 'n', 0,
    'v', 'i', 'e', 'w', 'I', 't', 'e', 'm', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'd', 'i', 's', 'p', 'l', 'a', 'y', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 0,
    'L', 'e', 'f', 't', 'C', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'S', 'P', '_', 'B', 'r', 'o', 'w', 's', 'e', 'r', 'R', 'e', 'l', 'o', 'a', 'd', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 'E', 'n', 'd', 0,
    'S', 'P', '_', 'D', 'i', 'r', 'C', 'l', 'o', 's', 'e', 'd', 'I', 'c', 'o', 'n', 0,
    'C', 'T', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'C', 'T', '_', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'P', 'M', '_', 'L', 'a', 'r', 'g', 'e', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'S', 'm', 'a', 'l', 'l', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'M', 'D', 'I', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'P', 'M', '_', 'S', 'p', 'l', 'i', 't', 't', 'e', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'S', 'C', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 'F', 'r', 'a', 'm', 'e', 0,
    'S', 'C', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 'L', 'a', 'b', 'e', 'l', 0,
    'S', 'C', '_', 'D', 'i', 'a', 'l', 'T', 'i', 'c', 'k', 'm', 'a', 'r', 'k', 's', 0,
    'S', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'L', 'a', 'b', 'e', 'l', 0,
    'S', 'C', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'A', 'r', 'r', 'o', 'w', 0,
    'S', 'C', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'F', 'r', 'a', 'm', 'e', 0,
    'S', 'C', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'L', 'a', 's', 't', 0,
    'S', 'E', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'S', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 'T', 'e', 'x', 't', 0,
    'S', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'C', 'E', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'L', 'a', 'b', 'e', 'l', 0,
    'C', 'E', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'L', 'a', 's', 't', 0,
    'C', 'E', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'C', 'E', '_', 'M', 'e', 'n', 'u', 'E', 'm', 'p', 't', 'y', 'A', 'r', 'e', 'a', 0,
    'C', 'E', '_', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 'L', 'a', 'b', 'e', 'l', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'T', 'i', 'p', 'L', 'a', 'b', 'e', 'l', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 0,
    'S', 't', 'a', 't', 'e', '_', 'H', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'M', 'i', 'n', 'i', 'm', 'u', 'm', 'E', 'x', 'p', 'a', 'n', 'd', 'i', 'n', 'g', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', ':', ':', 'I', 'n', 'p', 'u', 't', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', ':', ':', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'O', 'v', 'e', 'r', 'w', 'r', 'i', 't', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'T', 'i', 't', 'l', 'e', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    's', 'e', 't', 'N', 'a', 't', 'i', 'v', 'e', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'T', 'e', 'a', 'r', 'O', 'f', 'f', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'k', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'P', 'a', 'g', 'e', 'S', 't', 'e', 'p', 0,
    'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 'R', 'e', 's', 'i', 'z', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'F', 'o', 'r', 'c', 'e', 'T', 'a', 'b', 'b', 'e', 'd', 'D', 'o', 'c', 'k', 's', 0,
    'A', 'l', 'l', 'o', 'w', 'T', 'a', 'b', 'b', 'e', 'd', 'D', 'o', 'c', 'k', 's', 0,
    'A', 'l', 'l', 'o', 'w', 'N', 'e', 's', 't', 'e', 'd', 'D', 'o', 'c', 'k', 's', 0,
    't', 'a', 'b', 'i', 'f', 'y', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'C', 'e', 'n', 't', 'r', 'a', 'l', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'I', 't', 'e', 'm', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'i', 's', 'S', 'o', 'r', 't', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'u', 'n', 'i', 'f', 'o', 'r', 'm', 'I', 't', 'e', 'm', 'S', 'i', 'z', 'e', 's', 0,
    'T', 'r', 'a', 'i', 'l', 'i', 'n', 'g', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'A', 't', 0,
    'Q', 'L', 'C', 'D', 'N', 'u', 'm', 'b', 'e', 'r', ':', ':', 'M', 'o', 'd', 'e', 0,
    't', 'o', 't', 'a', 'l', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 0,
    't', 'o', 't', 'a', 'l', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 0,
    'S', 'e', 't', 'M', 'i', 'n', 'A', 'n', 'd', 'M', 'a', 'x', 'S', 'i', 'z', 'e', 0,
    'Q', 'K', 'e', 'y', 'S', 'e', 'q', 'u', 'e', 'n', 'c', 'e', 'E', 'd', 'i', 't', 0,
    'i', 'n', 't', 'V', 'a', 'l', 'u', 'e', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    't', 'e', 'x', 't', 'V', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'D', 'o', 'u', 'b', 'l', 'e', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 0,
    's', 'e', 't', 'D', 'o', 'u', 'b', 'l', 'e', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 0,
    's', 'e', 't', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'I', 't', 'e', 'm', 's', 0,
    'g', 'e', 't', 'M', 'u', 'l', 't', 'i', 'L', 'i', 'n', 'e', 'T', 'e', 'x', 't', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 's', 'I', 'n', 's', 'e', 'r', 't', 'e', 'd', 0,
    's', 'e', 't', 'S', 'o', 'r', 't', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    's', 'e', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'R', 'e', 's', 'i', 'z', 'e', 'T', 'o', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'a', 'i', 'n', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 0,
    'N', 'o', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'U', 'n', 'd', 'e', 'r', 'M', 'o', 'u', 's', 'e', 0,
    'A', 'n', 'c', 'h', 'o', 'r', 'V', 'i', 'e', 'w', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'f', 'o', 'c', 'u', 's', 'I', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'c', 'e', 'n', 'e', 'R', 'e', 'c', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 'o', 'u', 's', 'e', 'G', 'r', 'a', 'b', 'b', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'I', 't', 'e', 'm', 'G', 'r', 'o', 'u', 'p', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'A', 'r', 'e', 'a', 0,
    'u', 'n', 'g', 'r', 'a', 'b', 'M', 'o', 'u', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'O', 'w', 'n', 'e', 'd', 'B', 'y', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'p', 'a', 'r', 'e', 'n', 't', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'S', 'i', 'z', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'e', 'x', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'M', 'i', 'c', 'r', 'o', 'F', 'o', 'c', 'u', 's', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'H', 'i', 'n', 't', 's', 0,
    's', 'e', 't', 'P', 'a', 'n', 'e', 'l', 'M', 'o', 'd', 'a', 'l', 'i', 't', 'y', 0,
    't', 'o', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'F', 'r', 'o', 'm', 'S', 'c', 'e', 'n', 'e', 0,
    'e', 'f', 'f', 'e', 'c', 't', 'i', 'v', 'e', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'l', 'o', 'g', 'i', 'c', 'a', 'l', 'C', 'a', 'c', 'h', 'e', 'S', 'i', 'z', 'e', 0,
    's', 'c', 'e', 'n', 'e', 'E', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'c', 'o', 'l', 'l', 'i', 'd', 'e', 's', 'W', 'i', 't', 'h', 'P', 'a', 't', 'h', 0,
    'c', 'o', 'l', 'l', 'i', 'd', 'e', 's', 'W', 'i', 't', 'h', 'I', 't', 'e', 'm', 0,
    'I', 't', 'e', 'm', 'C', 'l', 'i', 'p', 's', 'T', 'o', 'S', 'h', 'a', 'p', 'e', 0,
    'I', 't', 'e', 'm', 'Z', 'V', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'C', 'u', 'r', 's', 'o', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'P', 'a', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'M', 'a', 't', 'r', 'i', 'x', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'r', 'o', 'w', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'r', 'o', 'w', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'r', 'o', 'w', 'S', 't', 'r', 'e', 't', 'c', 'h', 'F', 'a', 'c', 't', 'o', 'r', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'b', 'l', 'u', 'r', 'H', 'i', 'n', 't', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'a', 'd', 'd', 'C', 'o', 'r', 'n', 'e', 'r', 'A', 'n', 'c', 'h', 'o', 'r', 's', 0,
    'C', 'o', 'n', 's', 'u', 'm', 'e', 'E', 'v', 'e', 'n', 't', 'H', 'i', 'n', 't', 0,
    'c', 'a', 'n', 'c', 'e', 'l', 'e', 'd', 'G', 'e', 's', 't', 'u', 'r', 'e', 's', 0,
    's', 'e', 't', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 'A', 'n', 'g', 'l', 'e', 0,
    't', 'o', 't', 'a', 'l', 'S', 'c', 'a', 'l', 'e', 'F', 'a', 'c', 't', 'o', 'r', 0,
    's', 't', 'a', 'r', 't', 'C', 'e', 'n', 't', 'e', 'r', 'P', 'o', 'i', 'n', 't', 0,
    't', 'o', 't', 'a', 'l', 'C', 'h', 'a', 'n', 'g', 'e', 'F', 'l', 'a', 'g', 's', 0,
    's', 'e', 't', 'F', 'o', 'r', 'm', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'R', 'o', 'w', 'W', 'r', 'a', 'p', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'W', 'r', 'i', 't', 'i', 'n', 'g', 'S', 'y', 's', 't', 'e', 'm', 0,
    'N', 'o', 'n', 'S', 'c', 'a', 'l', 'a', 'b', 'l', 'e', 'F', 'o', 'n', 't', 's', 0,
    'Q', 'F', 'i', 'l', 'e', 'S', 'y', 's', 't', 'e', 'm', 'M', 'o', 'd', 'e', 'l', 0,
    's', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 'S', 'c', 'h', 'e', 'm', 'e', 's', 0,
    's', 'e', 'l', 'e', 'c', 't', 'N', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'g', 'e', 't', 'O', 'p', 'e', 'n', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 's', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'E', 'n', 't', 'e', 'r', 'e', 'd', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'u', 'f', 'f', 'i', 'x', 0,
    't', 'o', 'g', 'g', 'l', 'e', 'V', 'i', 'e', 'w', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'D', 'i', 'r', 'M', 'o', 'd', 'e', 'l', ':', ':', 'R', 'o', 'l', 'e', 's', 0,
    's', 'e', 't', 'C', 'e', 'n', 't', 'e', 'r', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'Q', 'D', 'i', 'a', 'l', 'o', 'g', 'B', 'u', 't', 't', 'o', 'n', 'B', 'o', 'x', 0,
    'i', 's', 'V', 'i', 'r', 't', 'u', 'a', 'l', 'D', 'e', 's', 'k', 't', 'o', 'p', 0,
    's', 'e', 't', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'R', 'a', 'n', 'g', 'e', 0,
    't', 'e', 'x', 't', 'F', 'r', 'o', 'm', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    'd', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'F', 'r', 'o', 'm', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'C', 'a', 'l', 'e', 'n', 'd', 'a', 'r', 'P', 'o', 'p', 'u', 'p', 0,
    's', 'e', 't', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'T', 'i', 'm', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'T', 'i', 'm', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'I', 'n', 'l', 'i', 'n', 'e', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 0,
    's', 'i', 'z', 'e', 'F', 'r', 'o', 'm', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 't', 'P', 'r', 'e', 'v', 'i', 'e', 'w', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    'S', 'h', 'o', 'w', 'A', 'l', 'p', 'h', 'a', 'C', 'h', 'a', 'n', 'n', 'e', 'l', 0,
    's', 'h', 'o', 'w', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'D', 'a', 't', 'e', 0,
    's', 'h', 'o', 'w', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'Y', 'e', 'a', 'r', 0,
    'h', 'e', 'a', 'd', 'e', 'r', 'T', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'N', 'o', 'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    'i', 'n', 's', 'e', 'r', 't', 'S', 'p', 'a', 'c', 'e', 'r', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'S', 't', 'r', 'e', 't', 'c', 'h', 'F', 'a', 'c', 't', 'o', 'r', 0,
    's', 'e', 't', 'E', 'f', 'f', 'e', 'c', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'S', 't', 'a', 'r', 't', 'D', 'r', 'a', 'g', 'T', 'i', 'm', 'e', 0,
    'w', 'h', 'e', 'e', 'l', 'S', 'c', 'r', 'o', 'l', 'l', 'L', 'i', 'n', 'e', 's', 0,
    'k', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    's', 'p', 'e', 'c', 'i', 'a', 'l', 'V', 'a', 'l', 'u', 'e', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'B', 'u', 't', 't', 'o', 'n', 'S', 'y', 'm', 'b', 'o', 'l', 's', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 0,
    'i', 'n', 'v', 'e', 'r', 't', 'e', 'd', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    's', 'i', 'z', 'e', 'A', 'd', 'j', 'u', 's', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'A', 'd', 'j', 'u', 's', 't', 'T', 'o', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'B', 'y', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 'E', 'v', 'e', 'n', 't', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'a', 'u', 't', 'o', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'e', 't', 'h', 'o', 'd', 'Q', 'u', 'e', 'r', 'y', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 0,
    'h', 'o', 'r', 'i', 'z', 'o', 'n', 't', 'a', 'l', 'O', 'f', 'f', 's', 'e', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'i', 'e', 's', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'E', 'd', 'i', 't', 'o', 'r', 'D', 'a', 't', 'a', 0,
    's', 'i', 'z', 'e', 'H', 'i', 'n', 't', 'F', 'o', 'r', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'E', 'l', 'i', 'd', 'e', 'M', 'o', 'd', 'e', 0,
    't', 'a', 'b', 'K', 'e', 'y', 'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'A', 't', 'C', 'e', 'n', 't', 'e', 'r', 0,
    'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'A', 't', 'B', 'o', 't', 't', 'o', 'm', 0,
    'R', 'e', 'v', 'e', 'r', 't', 'M', 'o', 'd', 'e', 'l', 'C', 'a', 'c', 'h', 'e', 0,
    'S', 'u', 'b', 'm', 'i', 't', 'M', 'o', 'd', 'e', 'l', 'C', 'a', 'c', 'h', 'e', 0,
    'E', 'd', 'i', 't', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'H', 'e', 'i', 'g', 'h', 't', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'H', 'e', 'i', 'g', 'h', 't', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 'I', 'n', 'c', 'r', 'e', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'F', 'o', 'n', 't', 'U', 'n', 'd', 'e', 'r', 'l', 'i', 'n', 'e', 0,
    's', 'e', 't', 'F', 'o', 'n', 't', 'P', 'o', 'i', 'n', 't', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'P', 'r', 'o', 't', 'o', 't', 'y', 'p', 'e', 0,
    'd', 'r', 'a', 'w', 'I', 'n', 'l', 'i', 'n', 'e', 'O', 'b', 'j', 'e', 'c', 't', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'N', 'o', 't', 'i', 'f', 'y', 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,
    'I', 't', 'e', 'm', 'I', 's', 'S', 'e', 'l', 'e', 'c', 't', 'a', 'b', 'l', 'e', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'A', 'c', 't', 'i', 'o', 'n', '*', '>', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'W', 'i', 'd', 'g', 'e', 't', '*', '>', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'B', 'u', 't', 't', 'o', 'n', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'N', 'o', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 'S', 'u', 'b', 'T', 'i', 't', 'l', 'e', 's', 0,
    't', 'o', 'o', 'l', 'T', 'i', 'p', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'r', 'e', 's', 't', 'o', 'r', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'k', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'G', 'r', 'a', 'b', 'b', 'e', 'r', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 0,
    'Q', 'W', 'I', 'D', 'G', 'E', 'T', 'S', 'I', 'Z', 'E', '_', 'M', 'A', 'X', 0,
    'i', 'n', 'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 'M', 'o', 'd', 'e', 0,
    'u', 'n', 'd', 'o', 'T', 'e', 'x', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'r', 'e', 'd', 'o', 'T', 'e', 'x', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'a', 'b', 'e', 'l', 's', 0,
    'a', 'd', 'd', 'T', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'I', 't', 'e', 'm', 0,
    'Q', 'T', 'r', 'e', 'e', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'T', 'r', 'e', 'e', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'a', 'u', 't', 'o', 'E', 'x', 'p', 'a', 'n', 'd', 'D', 'e', 'l', 'a', 'y', 0,
    'i', 't', 'e', 'm', 's', 'E', 'x', 'p', 'a', 'n', 'd', 'a', 'b', 'l', 'e', 0,
    'r', 'o', 'o', 't', 'I', 's', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'e', 'd', 0,
    'w', 'i', 'd', 'g', 'e', 't', 'F', 'o', 'r', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'F', 'i', 'x', 'e', 'd', 'P', 'i', 'x', 'e', 'l', 'W', 'i', 'd', 't', 'h', 0,
    'r', 'o', 'w', 'C', 'o', 'u', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    't', 'a', 'b', 'L', 'a', 'y', 'o', 'u', 't', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'T', 'a', 'b', 'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 0,
    's', 'e', 't', 'T', 'a', 'b', 'T', 'e', 'x', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'T', 'r', 'i', 'a', 'n', 'g', 'u', 'l', 'a', 'r', 'S', 'o', 'u', 't', 'h', 0,
    'T', 'r', 'i', 'a', 'n', 'g', 'u', 'l', 'a', 'r', 'N', 'o', 'r', 't', 'h', 0,
    'Q', 'S', 'y', 's', 't', 'e', 'm', 'T', 'r', 'a', 'y', 'I', 'c', 'o', 'n', 0,
    'M', 'e', 'n', 'u', 'B', 'u', 't', 't', 'o', 'n', 'P', 'o', 'p', 'u', 'p', 0,
    'r', 'i', 'g', 'h', 't', 'B', 'u', 't', 't', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'N', 'o', 'C', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 'T', 'a', 'b', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'T', 'a', 'b', 'R', 'e', 'c', 't', 0,
    'S', 'O', '_', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'S', 'P', '_', 'A', 'r', 'r', 'o', 'w', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'L', 'i', 'n', 'k', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'r', 'i', 'v', 'e', 'N', 'e', 't', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'r', 'i', 'v', 'e', 'D', 'V', 'D', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'C', 'o', 'm', 'p', 'u', 't', 'e', 'r', 'I', 'c', 'o', 'n', 0,
    'S', 'H', '_', 'T', 'o', 'o', 'l', 'T', 'i', 'p', '_', 'M', 'a', 's', 'k', 0,
    'C', 'T', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 0,
    'P', 'M', '_', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 'S', 'i', 'z', 'e', 0,
    'P', 'M', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'L', 'e', 'n', 'g', 't', 'h', 0,
    'P', 'M', '_', 'B', 'u', 't', 't', 'o', 'n', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'S', 'C', '_', 'M', 'd', 'i', 'M', 'i', 'n', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'C', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'S', 'C', '_', 'S', 'l', 'i', 'd', 'e', 'r', 'G', 'r', 'o', 'o', 'v', 'e', 0,
    'S', 'C', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 'F', 'r', 'a', 'm', 'e', 0,
    'C', 'E', '_', 'I', 't', 'e', 'm', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 0,
    'C', 'E', '_', 'M', 'e', 'n', 'u', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 0,
    'S', 't', 'a', 't', 'e', '_', 'M', 'o', 'u', 's', 'e', 'O', 'v', 'e', 'r', 0,
    'S', 't', 'a', 't', 'e', '_', 'A', 'u', 't', 'o', 'R', 'a', 'i', 's', 'e', 0,
    'S', 't', 'a', 't', 'e', '_', 'D', 'o', 'w', 'n', 'A', 'r', 'r', 'o', 'w', 0,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'P', 'a', 'l', 'e', 't', 't', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 'c', 'k', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 0,
    'Q', 'S', 'p', 'l', 'i', 't', 't', 'e', 'r', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    's', 'e', 't', 'O', 'p', 'a', 'q', 'u', 'e', 'R', 'e', 's', 'i', 'z', 'e', 0,
    's', 'e', 't', 'T', 'i', 'c', 'k', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    's', 'e', 't', 'T', 'i', 'c', 'k', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    'a', 'm', 'b', 'i', 'g', 'u', 'o', 'u', 's', 'M', 'e', 'm', 'b', 'e', 'r', 0,
    's', 'e', 't', 'S', 'c', 'r', 'o', 'l', 'l', 'M', 'e', 't', 'r', 'i', 'c', 0,
    'M', 'a', 'x', 'i', 'm', 'u', 'm', 'V', 'e', 'l', 'o', 'c', 'i', 't', 'y', 0,
    'M', 'i', 'n', 'i', 'm', 'u', 'm', 'V', 'e', 'l', 'o', 'c', 'i', 't', 'y', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 's', 0,
    'w', 'i', 'd', 'g', 'e', 't', 'R', 'e', 's', 'i', 'z', 'a', 'b', 'l', 'e', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'D', 'u', 'r', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    'g', 'e', 't', 'P', 'a', 'i', 'n', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 0,
    'i', 'n', 's', 'e', 'r', 't', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 0,
    'e', 'x', 't', 'r', 'a', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    's', 'e', 't', 'T', 'a', 'b', 'S', 't', 'o', 'p', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'W', 'o', 'r', 'd', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'L', 'i', 'n', 'e', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'D', 'e', 't', 'a', 'i', 'l', 'e', 'd', 'T', 'e', 'x', 't', 0,
    'i', 'n', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'v', 'e', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'E', 's', 'c', 'a', 'p', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'i', 's', 'N', 'a', 't', 'i', 'v', 'e', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 0,
    't', 'o', 'o', 'l', 'T', 'i', 'p', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'v', 'e', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'h', 'i', 'd', 'e', 'T', 'e', 'a', 'r', 'O', 'f', 'f', 'M', 'e', 'n', 'u', 0,
    'a', 'b', 'o', 'u', 't', 'T', 'o', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 0,
    's', 'e', 't', 'T', 'a', 'b', 's', 'C', 'l', 'o', 's', 'a', 'b', 'l', 'e', 0,
    'a', 'c', 't', 'i', 'v', 'a', 't', 'i', 'o', 'n', 'O', 'r', 'd', 'e', 'r', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    's', 'e', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'M', 'o', 'd', 'e', 0,
    'i', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'P', 'o', 'p', 'u', 'p', 'M', 'e', 'n', 'u', 0,
    's', 'p', 'l', 'i', 't', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'd', 'd', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 'B', 'r', 'e', 'a', 'k', 0,
    't', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'Q', 'L', 'i', 's', 't', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', 0,
    'Q', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', ':', ':', 'F', 'l', 'o', 'w', 0,
    'L', 'e', 'a', 'd', 'i', 'n', 'g', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'p', 'l', 'a', 'c', 'e', 'h', 'o', 'l', 'd', 'e', 'r', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'S', 'e', 'g', 'm', 'e', 'n', 't', 'S', 't', 'y', 'l', 'e', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 's', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'S', 'e', 't', 'N', 'o', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'h', 'a', 's', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 'M', 'a', 's', 'k', 0,
    'i', 'n', 't', 'V', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'O', 'k', 'B', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'E', 'c', 'h', 'o', 'M', 'o', 'd', 'e', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 's', 'M', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    'i', 's', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    's', 'e', 't', 'O', 'r', 'i', 'g', 'i', 'n', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'F', 'r', 'a', 'm', 'e', 'R', 'e', 'c', 't', 0,
    'D', 'o', 'n', 't', 'C', 'l', 'i', 'p', 'P', 'a', 'i', 'n', 't', 'e', 'r', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'S', 'c', 'e', 'n', 'e', 'R', 'e', 'c', 't', 0,
    'i', 'n', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'S', 'c', 'e', 'n', 'e', 0,
    's', 'e', 't', 'R', 'e', 's', 'i', 'z', 'e', 'A', 'n', 'c', 'h', 'o', 'r', 0,
    'C', 'a', 'c', 'h', 'e', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    's', 'e', 't', 'B', 's', 'p', 'T', 'r', 'e', 'e', 'D', 'e', 'p', 't', 'h', 0,
    'F', 'o', 'r', 'e', 'g', 'r', 'o', 'u', 'n', 'd', 'L', 'a', 'y', 'e', 'r', 0,
    'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'L', 'a', 'y', 'e', 'r', 0,
    'f', 'o', 'r', 'e', 'g', 'r', 'o', 'u', 'n', 'd', 'B', 'r', 'u', 's', 'h', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'I', 't', 'e', 'm', 'G', 'r', 'o', 'u', 'p', 0,
    'i', 't', 'e', 'm', 'I', 'n', 'd', 'e', 'x', 'M', 'e', 't', 'h', 'o', 'd', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 0,
    'p', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'H', 'e', 'i', 'g', 'h', 't', 0,
    't', 'a', 'b', 'C', 'h', 'a', 'n', 'g', 'e', 's', 'F', 'o', 'c', 'u', 's', 0,
    'r', 'o', 't', 'a', 't', 'i', 'o', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'F', 'r', 'o', 'm', 'G', 'r', 'o', 'u', 'p', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 's', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'F', 'r', 'o', 'm', 'I', 't', 'e', 'm', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'T', 'o', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'h', 'o', 'v', 'e', 'r', 'L', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'o', 'v', 'e', 'r', 'E', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'I', 't', 'e', 'm', 'I', 's', 'F', 'o', 'c', 'u', 's', 'a', 'b', 'l', 'e', 0,
    'I', 't', 'e', 'm', 'S', 'c', 'a', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'F', 'l', 'a', 'g', 's', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'I', 't', 'e', 'm', 'S', 'c', 'e', 'n', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'R', 'o', 'w', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 't', 'r', 'e', 'n', 'g', 't', 'h', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'b', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 'F', 'o', 'r', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'E', 'f', 'f', 'e', 'c', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'A', 'n', 'c', 'h', 'o', 'r', 0,
    'l', 'a', 's', 't', 'S', 'c', 'a', 'l', 'e', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'l', 'a', 's', 't', 'C', 'e', 'n', 't', 'e', 'r', 'P', 'o', 'i', 'n', 't', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'l', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'M', 'i', 'd', 'L', 'i', 'n', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'g', 'e', 't', 'I', 't', 'e', 'm', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'M', 'o', 'n', 'o', 's', 'p', 'a', 'c', 'e', 'd', 'F', 'o', 'n', 't', 's', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'L', 'o', 'a', 'd', 'e', 'd', 0,
    'r', 'o', 'o', 't', 'P', 'a', 't', 'h', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'F', 'i', 'l', 'e', 'P', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', 0,
    'g', 'e', 't', 'O', 'p', 'e', 'n', 'F', 'i', 'l', 'e', 'U', 'r', 'l', 's', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    's', 'e', 't', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'U', 'r', 'l', 0,
    'g', 'e', 't', 'S', 'a', 'v', 'e', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'g', 'e', 't', 'O', 'p', 'e', 'n', 'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'q', 'D', 'r', 'a', 'w', 'S', 'h', 'a', 'd', 'e', 'P', 'a', 'n', 'e', 'l', 0,
    't', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'f', 'e', 'a', 't', 'u', 'r', 'e', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'A', 'l', 'l', 'o', 'w', 'e', 'd', 'A', 'r', 'e', 'a', 's', 0,
    'r', 'e', 's', 'o', 'l', 'v', 'e', 'S', 'y', 'm', 'l', 'i', 'n', 'k', 's', 0,
    's', 'e', 't', 'I', 'c', 'o', 'n', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 0,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'R', 'e', 's', 't', 'o', 'r', 'e', 'D', 'e', 'f', 'a', 'u', 'l', 't', 's', 0,
    'D', 'e', 's', 't', 'r', 'u', 'c', 't', 'i', 'v', 'e', 'R', 'o', 'l', 'e', 0,
    'w', 'o', 'r', 'k', 'A', 'r', 'e', 'a', 'R', 'e', 's', 'i', 'z', 'e', 'd', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    'd', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'S', 'u', 'b', 'm', 'i', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'l', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'M', 'o', 'd', 'e', 'l', 'S', 'o', 'r', 't', 'i', 'n', 'g', 0,
    'e', 'd', 'i', 't', 'T', 'e', 'x', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 'n', 's', 'e', 'r', 't', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    's', 'e', 't', 'I', 'n', 's', 'e', 'r', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'I', 'n', 's', 'e', 'r', 't', 'A', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 0,
    'm', 'a', 'x', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'I', 't', 'e', 'm', 's', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'W', 'i', 'd', 't', 'h', 's', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'D', 'a', 't', 'e', 0,
    'Q', 'C', 'a', 'l', 'e', 'n', 'd', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'l', 'o', 's', 'e', 'A', 'l', 'l', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    'i', 's', 'E', 'f', 'f', 'e', 'c', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'v', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    't', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'P', 'r', 'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 's', 'R', 'o', 'l', 'e', 0,
    's', 'h', 'o', 'r', 't', 'c', 'u', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'i', 'n', 'i', 't', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'e', 'd', 'i', 't', 'i', 'n', 'g', 'F', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'S', 't', 'e', 'p', 'D', 'o', 'w', 'n', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'R', 'e', 'p', 'e', 'a', 't', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'a', 'c', 't', 'i', 'o', 'n', 'T', 'r', 'i', 'g', 'g', 'e', 'r', 'e', 'd', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'T', 'o', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'T', 'o', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    's', 'e', 't', 'C', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    's', 'e', 't', 'D', 'r', 'a', 'g', 'D', 'r', 'o', 'p', 'M', 'o', 'd', 'e', 0,
    'C', 'o', 'l', 'l', 'a', 'p', 's', 'i', 'n', 'g', 'S', 't', 'a', 't', 'e', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'E', 'n', 't', 'e', 'r', 'e', 'd', 0,
    'e', 'd', 'i', 't', 'o', 'r', 'D', 'e', 's', 't', 'r', 'o', 'y', 'e', 'd', 0,
    's', 'e', 't', 'E', 'd', 'i', 't', 'T', 'r', 'i', 'g', 'g', 'e', 'r', 's', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 0,
    'S', 'i', 'n', 'g', 'l', 'e', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'A', 'l', 'l', 'E', 'd', 'i', 't', 'T', 'r', 'i', 'g', 'g', 'e', 'r', 's', 0,
    'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    's', 'i', 'z', 'e', 'H', 'i', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'a', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 'D', 'e', 'l', 'a', 'y', 0,
    'Q', 'A', 'b', 's', 't', 'r', 'a', 'c', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'm', 'o', 'u', 's', 'e', 'P', 'r', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 0,
    'k', 'e', 'y', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'W', 'i', 'd', 't', 'h', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'M', 'o', 'v', 'e', 'S', 't', 'y', 'l', 'e', 0,
    'i', 's', 'R', 'e', 'd', 'o', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'i', 's', 'U', 'n', 'd', 'o', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'F', 'l', 'a', 's', 'h', 'T', 'i', 'm', 'e', 0,
    'P', 'e', 'r', 'f', 'o', 'r', 'm', 'a', 'n', 'c', 'e', 'H', 'i', 'n', 't', 0,
    'e', 'm', 'i', 't', 'D', 'a', 't', 'a', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'g', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'B', 'r', 'u', 's', 'h', 0,
    'd', 'e', 'v', 'i', 'c', 'e', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'g', 'r', 'a', 'b', 'F', 'r', 'a', 'm', 'e', 'b', 'u', 'f', 'f', 'e', 'r', 0,
    'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    'a', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'l', 'a', 'y', 'o', 'u', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'p', 'o', 's', 's', 'i', 'b', 'l', 'e', 'A', 'c', 't', 'i', 'o', 'n', 's', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'I', 'n', 'd', 'e', 'x', 'e', 's', 0,
    'c', 'a', 's', 'e', 'S', 'e', 'n', 's', 'i', 't', 'i', 'v', 'i', 't', 'y', 0,
    'c', 'a', 'n', 'D', 'r', 'o', 'p', 'M', 'i', 'm', 'e', 'D', 'a', 't', 'a', 0,
    'b', 'e', 'g', 'i', 'n', 'R', 'e', 's', 'e', 't', 'M', 'o', 'd', 'e', 'l', 0,
    'b', 'e', 'g', 'i', 'n', 'R', 'e', 'm', 'o', 'v', 'e', 'R', 'o', 'w', 's', 0,
    'b', 'e', 'g', 'i', 'n', 'I', 'n', 's', 'e', 'r', 't', 'R', 'o', 'w', 's', 0,
    'P', 'y', 'Q', 't', '5', '.', 'Q', 't', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'P', 'a', 'g', 'e', 0,
    's', 'u', 'b', 'T', 'i', 't', 'l', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'T', 'i', 't', 'l', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'W', 'i', 'z', 'a', 'r', 'd', 'S', 't', 'y', 'l', 'e', 0,
    'h', 'a', 's', 'V', 'i', 's', 'i', 't', 'e', 'd', 'P', 'a', 'g', 'e', 0,
    'H', 'a', 'v', 'e', 'H', 'e', 'l', 'p', 'B', 'u', 't', 't', 'o', 'n', 0,
    'N', 'o', 'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'd', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    'e', 'f', 'f', 'e', 'c', 't', 'i', 'v', 'e', 'W', 'i', 'n', 'I', 'd', 0,
    'u', 'p', 'd', 'a', 't', 'e', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'f', 'o', 'c', 'u', 's', 'N', 'e', 'x', 't', 'C', 'h', 'i', 'l', 'd', 0,
    'e', 'n', 's', 'u', 'r', 'e', 'P', 'o', 'l', 'i', 's', 'h', 'e', 'd', 0,
    'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'a', 'c', 'c', 'e', 's', 's', 'i', 'b', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'I', 'c', 'o', 'n', 'T', 'e', 'x', 't', 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,
    's', 'e', 't', 'F', 'i', 'x', 'e', 'd', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'c', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    'n', 'o', 'r', 'm', 'a', 'l', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'c', 'a', 'n', 'U', 'n', 'd', 'o', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'a', 'n', 'R', 'e', 'd', 'o', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'v', 'e', 'S', 't', 'a', 'c', 'k', 0,
    's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'a', 'b', 'e', 'l', 0,
    'i', 'n', 's', 'e', 'r', 't', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'i', 's', 'H', 'e', 'a', 'd', 'e', 'r', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'm', 'o', 'v', 'a', 'b', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'T', 'o', 'A', 'n', 'c', 'h', 'o', 'r', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'R', 'i', 'c', 'h', 'T', 'e', 'x', 't', 0,
    'A', 'u', 't', 'o', 'B', 'u', 'l', 'l', 'e', 't', 'L', 'i', 's', 't', 0,
    'h', 'i', 's', 't', 'o', 'r', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    't', 'a', 'b', 'B', 'a', 'r', 'A', 'u', 't', 'o', 'H', 'i', 'd', 'e', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'R', 'a', 'n', 'g', 'e', 's', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'e', 'l', 'l', 0,
    'i', 's', 'C', 'o', 'l', 'u', 'm', 'n', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'W', 'i', 'd', 't', 'h', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    'S', 'e', 'l', 'e', 'c', 't', 'R', 'i', 'g', 'h', 't', 'T', 'a', 'b', 0,
    'T', 'r', 'i', 'a', 'n', 'g', 'u', 'l', 'a', 'r', 'E', 'a', 's', 't', 0,
    'T', 'r', 'i', 'a', 'n', 'g', 'u', 'l', 'a', 'r', 'W', 'e', 's', 't', 0,
    'Q', 'T', 'a', 'b', 'B', 'a', 'r', ':', ':', 'S', 'h', 'a', 'p', 'e', 0,
    'm', 'e', 's', 's', 'a', 'g', 'e', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 'O', 'f', 'L', 'i', 'n', 'e', 0,
    'd', 'e', 'c', 'o', 'r', 'a', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'l', 'e', 'f', 't', 'B', 'u', 't', 't', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'N', 'e', 'x', 't', 'I', 's', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'O', 'n', 'l', 'y', 'O', 'n', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'S', 'O', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 0,
    'S', 'P', '_', 'M', 'e', 'd', 'i', 'a', 'V', 'o', 'l', 'u', 'm', 'e', 0,
    'S', 'P', '_', 'B', 'r', 'o', 'w', 's', 'e', 'r', 'S', 't', 'o', 'p', 0,
    'S', 'P', '_', 'V', 'i', 's', 't', 'a', 'S', 'h', 'i', 'e', 'l', 'd', 0,
    'S', 'P', '_', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 'L', 'i', 'n', 'k', 0,
    'S', 'P', '_', 'D', 'i', 'r', 'H', 'o', 'm', 'e', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'i', 'r', 'L', 'i', 'n', 'k', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'i', 'r', 'O', 'p', 'e', 'n', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'r', 'i', 'v', 'e', 'C', 'D', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'r', 'i', 'v', 'e', 'H', 'D', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'r', 'i', 'v', 'e', 'F', 'D', 'I', 'c', 'o', 'n', 0,
    'S', 'P', '_', 'D', 'e', 's', 'k', 't', 'o', 'p', 'I', 'c', 'o', 'n', 0,
    'S', 'H', '_', 'W', 'i', 'z', 'a', 'r', 'd', 'S', 't', 'y', 'l', 'e', 0,
    'C', 'T', '_', 'M', 'd', 'i', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'C', 'T', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 'I', 't', 'e', 'm', 0,
    'C', 'T', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 0,
    'C', 'T', '_', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'V', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'P', 'M', '_', 'M', 'e', 'n', 'u', 'H', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'S', 'C', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 'D', 'o', 'w', 'n', 0,
    'C', 'C', '_', 'M', 'd', 'i', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'S', 'E', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'A', 'r', 'r', 'o', 'w', 0,
    'S', 'E', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'a', 'b', 'e', 'l', 0,
    'C', 'E', '_', 'S', 'h', 'a', 'p', 'e', 'd', 'F', 'r', 'a', 'm', 'e', 0,
    'C', 'E', '_', 'H', 'e', 'a', 'd', 'e', 'r', 'L', 'a', 'b', 'e', 'l', 0,
    'C', 'E', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 'I', 't', 'e', 'm', 0,
    'C', 'E', '_', 'M', 'e', 'n', 'u', 'T', 'e', 'a', 'r', 'o', 'f', 'f', 0,
    'C', 'E', '_', 'M', 'e', 'n', 'u', 'H', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'C', 'E', '_', 'M', 'e', 'n', 'u', 'V', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'C', 'E', '_', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 0,
    'C', 'E', '_', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'S', 't', 'a', 't', 'e', '_', 'R', 'e', 'a', 'd', 'O', 'n', 'l', 'y', 0,
    'S', 't', 'a', 't', 'e', '_', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'S', 't', 'a', 't', 'e', '_', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'S', 't', 'a', 't', 'e', '_', 'H', 'a', 's', 'F', 'o', 'c', 'u', 's', 0,
    'S', 't', 'a', 't', 'e', '_', 'N', 'o', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'd', 'r', 'a', 'w', 'I', 't', 'e', 'm', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'i', 't', 'e', 'm', 'P', 'i', 'x', 'm', 'a', 'p', 'R', 'e', 'c', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'Q', 'S', 't', 'a', 'c', 'k', 'e', 'd', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'Q', 'S', 't', 'a', 'c', 'k', 'e', 'd', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 'e', 't', 'H', 'a', 'n', 'd', 'l', 'e', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'C', 'o', 'l', 'l', 'a', 'p', 's', 'i', 'b', 'l', 'e', 0,
    'm', 'e', 's', 's', 'a', 'g', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'Q', 'D', 'o', 'u', 'b', 'l', 'e', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 0,
    'T', 'i', 'c', 'k', 's', 'B', 'o', 't', 'h', 'S', 'i', 'd', 'e', 's', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'T', 'y', 'p', 'e', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'i', 'n', 'g', 'C', 'u', 'r', 'v', 'e', 0,
    'g', 'r', 'a', 'b', 'b', 'e', 'd', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'C', 'u', 'r', 's', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'c', 'e', 'n', 't', 'e', 'r', 'O', 'n', 'S', 'c', 'r', 'o', 'l', 'l', 0,
    'Q', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', 0,
    'a', 'b', 'o', 'u', 't', 'T', 'o', 'C', 'o', 'm', 'p', 'o', 's', 'e', 0,
    's', 'e', 't', 'H', 'i', 't', 'T', 'e', 's', 't', 'P', 'a', 't', 'h', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'M', 'o', 'd', 'a', 'l', 'i', 't', 'y', 0,
    's', 'e', 't', 'N', 'o', 'R', 'e', 'p', 'l', 'a', 'y', 'F', 'o', 'r', 0,
    'a', 'c', 't', 'i', 'o', 'n', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    's', 'h', 'o', 'w', 'S', 'y', 's', 't', 'e', 'm', 'M', 'e', 'n', 'u', 0,
    'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 'M', 'o', 'v', 'e', 0,
    's', 'e', 't', 'T', 'a', 'b', 's', 'M', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    't', 'i', 'l', 'e', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    's', 'e', 't', 'T', 'a', 'b', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'D', 'o', 'c', 'k', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    'd', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'r', 'e', 'a', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'I', 't', 'e', 'm', 'R', 'e', 'c', 't', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'I', 't', 'e', 'm', 0,
    'g', 'e', 't', 'T', 'e', 'x', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'B', 'a', 'c', 'k', 'w', 'a', 'r', 'd', 0,
    'a', 'd', 'd', 'C', 'h', 'i', 'l', 'd', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'd', 'd', 'C', 'h', 'i', 'l', 'd', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 'i', 'z', 'e', 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'S', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 0,
    'S', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'K', 'e', 'y', 'S', 'e', 'q', 'u', 'e', 'n', 'c', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'a', 'c', 't', 'o', 'r', 'y', 0,
    'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'E', 'd', 'i', 't', 'o', 'r', 0,
    'd', 'r', 'a', 'w', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'd', 'o', 'u', 'b', 'l', 'e', 'D', 'e', 'c', 'i', 'm', 'a', 'l', 's', 0,
    's', 'e', 't', 'D', 'o', 'u', 'b', 'l', 'e', 'R', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'D', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', 'u', 'e', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'E', 'n', 't', 'e', 'r', 'e', 'd', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 's', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'R', 'e', 's', 'i', 'z', 'e', 'd', 0,
    'l', 'o', 'g', 'i', 'c', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 'A', 't', 0,
    'i', 't', 'e', 'm', 'A', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'F', 'o', 'c', 'u', 's', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'T', 'i', 't', 'l', 'e', 0,
    'i', 's', 'A', 'c', 't', 'i', 'v', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'F', 'l', 'a', 'g', 's', 0,
    'r', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 'R', 'e', 'c', 't', 0,
    's', 'e', 't', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'v', 'e', 0,
    'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 'D', 'r', 'a', 'g', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'H', 'a', 'n', 'd', 'D', 'r', 'a', 'g', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'a', 'l', 'e', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'v', 'e', 'P', 'a', 'n', 'e', 'l', 0,
    's', 'e', 't', 'S', 't', 'i', 'c', 'k', 'y', 'F', 'o', 'c', 'u', 's', 0,
    'd', 'r', 'a', 'w', 'F', 'o', 'r', 'e', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'd', 'r', 'a', 'w', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'S', 'c', 'e', 'n', 'e', 0,
    'n', 'e', 'w', 'P', 'r', 'o', 'x', 'y', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'p', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'W', 'i', 'd', 't', 'h', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'g', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'E', 'f', 'f', 'e', 'c', 't', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'T', 'o', 'S', 'c', 'e', 'n', 'e', 0,
    'b', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    'u', 'n', 'g', 'r', 'a', 'b', 'K', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 0,
    't', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'c', 'e', 'n', 'e', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'h', 'o', 'v', 'e', 'r', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'o', 'l', 'l', 'i', 'd', 'i', 'n', 'g', 'I', 't', 'e', 'm', 's', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'D', 'r', 'o', 'p', 's', 0,
    's', 'e', 't', 'O', 'p', 'a', 'c', 'i', 't', 'y', 'M', 'a', 's', 'k', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'I', 's', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'S', 'o', 'u', 'r', 'c', 'e', 'D', 'e', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'S', 'o', 'u', 'r', 'c', 'e', 'A', 't', 't', 'a', 'c', 'h', 'e', 'd', 0,
    'T', 'r', 'i', 'g', 'g', 'e', 'r', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 's', 0,
    's', 'e', 't', 'S', 'c', 'a', 'l', 'e', 'F', 'a', 'c', 't', 'o', 'r', 0,
    's', 'e', 't', 'C', 'e', 'n', 't', 'e', 'r', 'P', 'o', 'i', 'n', 't', 0,
    's', 'e', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'F', 'l', 'a', 'g', 's', 0,
    's', 'e', 't', 'F', 'r', 'a', 'm', 'e', 'S', 'h', 'a', 'd', 'o', 'w', 0,
    'Q', 'F', 'r', 'a', 'm', 'e', ':', ':', 'S', 'h', 'a', 'd', 'o', 'w', 0,
    'l', 'a', 'b', 'e', 'l', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'F', 'o', 'n', 't', 0,
    's', 'e', 't', 'F', 'o', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    'g', 'e', 't', 'S', 'a', 'v', 'e', 'F', 'i', 'l', 'e', 'U', 'r', 'l', 0,
    'g', 'e', 't', 'O', 'p', 'e', 'n', 'F', 'i', 'l', 'e', 'U', 'r', 'l', 0,
    's', 'e', 't', 'S', 'i', 'd', 'e', 'b', 'a', 'r', 'U', 'r', 'l', 's', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'q', 'D', 'r', 'a', 'w', 'P', 'l', 'a', 'i', 'n', 'R', 'e', 'c', 't', 0,
    'q', 'D', 'r', 'a', 'w', 'W', 'i', 'n', 'B', 'u', 't', 't', 'o', 'n', 0,
    'q', 'D', 'r', 'a', 'w', 'S', 'h', 'a', 'd', 'e', 'R', 'e', 'c', 't', 0,
    'q', 'D', 'r', 'a', 'w', 'S', 'h', 'a', 'd', 'e', 'L', 'i', 'n', 'e', 0,
    't', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'l', 'a', 'z', 'y', 'C', 'h', 'i', 'l', 'd', 'C', 'o', 'u', 'n', 't', 0,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'n', 'o', 't', 'c', 'h', 'e', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'N', 'o', 't', 'c', 'h', 'T', 'a', 'r', 'g', 'e', 't', 0,
    's', 'c', 'r', 'e', 'e', 'n', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'Q', 'D', 'e', 's', 'k', 't', 'o', 'p', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'a', 'l', 'e', 'n', 'd', 'a', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'T', 'i', 'm', 'e', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'T', 'i', 'm', 'e', 0,
    'm', 'a', 'p', 'p', 'e', 'd', 'W', 'i', 'd', 'g', 'e', 't', 'A', 't', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'R', 'o', 'l', 'e', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    's', 'u', 'b', 'C', 'o', 'n', 't', 'r', 'o', 'l', 'R', 'e', 'c', 't', 0,
    's', 'u', 'b', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'R', 'e', 'c', 't', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'M', 'o', 'd', 'e', 'l', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'r', 'o', 'o', 't', 'M', 'o', 'd', 'e', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'I', 'n', 's', 'e', 'r', 't', 'A', 't', 'B', 'o', 't', 't', 'o', 'm', 0,
    's', 'e', 't', 'C', 'u', 's', 't', 'o', 'm', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'P', 'a', 'g', 'e', 0,
    'd', 'a', 't', 'e', 'T', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'G', 'r', 'i', 'd', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 0,
    'I', 'S', 'O', 'W', 'e', 'e', 'k', 'N', 'u', 'm', 'b', 'e', 'r', 's', 0,
    'b', 'u', 't', 't', 'o', 'n', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'd', 0,
    'h', 'e', 'i', 'g', 'h', 't', 'F', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'a', 'u', 't', 'o', 'S', 'i', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'G', 'l', 'o', 'b', 'a', 'l', 'S', 't', 'r', 'u', 't', 0,
    's', 'h', 'o', 'w', 'S', 't', 'a', 't', 'u', 's', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'l', 'e', 'r', 'a', 't', 'e', 'd', 0,
    'c', 'o', 'r', 'r', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    's', 'l', 'i', 'd', 'e', 'r', 'R', 'e', 'l', 'e', 'a', 's', 'e', 'd', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'N', 'o', 'A', 'c', 't', 'i', 'o', 'n', 0,
    's', 'l', 'i', 'd', 'e', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'd', 'r', 'a', 'g', 'L', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'r', 'a', 'g', 'E', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'D', 'i', 'r', 't', 'y', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    'A', 'n', 'i', 'm', 'a', 't', 'i', 'n', 'g', 'S', 't', 'a', 't', 'e', 0,
    'E', 'x', 'p', 'a', 'n', 'd', 'i', 'n', 'g', 'S', 't', 'a', 't', 'e', 0,
    'v', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'O', 'f', 'f', 's', 'e', 't', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'T', 'o', 'B', 'o', 't', 't', 'o', 'm', 0,
    's', 'e', 't', 'I', 'n', 'd', 'e', 'x', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'i', 'z', 'e', 'H', 'i', 'n', 't', 'F', 'o', 'r', 'R', 'o', 'w', 0,
    'k', 'e', 'y', 'b', 'o', 'a', 'r', 'd', 'S', 'e', 'a', 'r', 'c', 'h', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 'l', 0,
    'M', 'u', 'l', 't', 'i', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'P', 'e', 'r', 'P', 'i', 'x', 'e', 'l', 0,
    'E', 'd', 'i', 't', 'K', 'e', 'y', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    'C', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'N', 'o', 'E', 'd', 'i', 't', 'T', 'r', 'i', 'g', 'g', 'e', 'r', 's', 0,
    'n', 'e', 'x', 't', 'C', 'h', 'e', 'c', 'k', 'S', 't', 'a', 't', 'e', 0,
    'o', 'p', 'a', 'c', 'i', 't', 'y', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'm', 'o', 'u', 's', 'e', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'h', 'o', 'w', 'F', 'u', 'l', 'l', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'S', 't', 'a', 'r', 't', 0,
    's', 'e', 't', 'D', 'r', 'a', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'C', 'o', 'l', 'u', 'm', 'n', 'C', 'o', 'u', 'n', 't', 0,
    'r', 'e', 's', 'e', 't', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    's', 'e', 't', 'R', 'e', 'n', 'd', 'e', 'r', 'H', 'i', 'n', 't', 's', 0,
    's', 'e', 't', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'v', 'i', 's', 'i', 'b', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'p', 'r', 'o', 'p', 'o', 's', 'e', 'd', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'a', 'u', 't', 'o', 'F', 'o', 'r', 'm', 'a', 't', 't', 'i', 'n', 'g', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'f', 'i', 'r', 's', 't', 'D', 'a', 'y', 'O', 'f', 'W', 'e', 'e', 'k', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'l', 'e', 'a', 'r', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'e', 'a', 'r', 'c', 'h', 'P', 'a', 't', 'h', 's', 0,
    's', 'e', 't', 'N', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    's', 'e', 't', 'D', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    'e', 'n', 'd', 'M', 'o', 'v', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'R', 'e', 'c', 't', 'F', '>', 0,
    'r', 'e', 'g', 'i', 's', 't', 'e', 'r', 'F', 'i', 'e', 'l', 'd', 0,
    's', 'e', 't', 'C', 'o', 'm', 'm', 'i', 't', 'P', 'a', 'g', 'e', 0,
    's', 'e', 't', 'S', 'i', 'd', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'd', 'S', 'i', 'g', 'n', 'a', 'l', 0,
    's', 'e', 't', 'B', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'e', 'q', 'u', 'e', 's', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'Q', 'W', 'i', 'd', 'g', 'e', 't', 'A', 'c', 't', 'i', 'o', 'n', 0,
    's', 'h', 'a', 'r', 'e', 'd', 'P', 'a', 'i', 'n', 't', 'e', 'r', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'v', 'i', 's', 'i', 'b', 'l', 'e', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'R', 'o', 'l', 'e', 0,
    's', 'e', 't', 'F', 'i', 'x', 'e', 'd', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'E', 'm', 'p', 't', 'y', 'L', 'a', 'b', 'e', 'l', 0,
    'N', 'o', 't', 'S', 'e', 'l', 'e', 'c', 't', 'a', 'b', 'l', 'e', 0,
    'i', 't', 'e', 'm', 'C', 'o', 'l', 'l', 'a', 'p', 's', 'e', 'd', 0,
    's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 'T', 'o', 'D', 'e', 'p', 't', 'h', 0,
    'i', 's', 'I', 't', 'e', 'm', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'a', 'n', 'c', 'h', 'o', 'r', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'c', 'e', 'l', 'l', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    'c', 'l', 'e', 'a', 'r', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    's', 'e', 't', 'C', 'e', 'l', 'l', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'R', 'e', 's', 'i', 'z', 'e', 'd', 0,
    't', 'a', 'b', 'B', 'a', 'r', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'S', 'e', 'l', 'e', 'c', 't', 'L', 'e', 'f', 't', 'T', 'a', 'b', 0,
    's', 'e', 't', 'T', 'a', 'b', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 0,
    's', 'e', 't', 'T', 'a', 'b', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'P', 'a', 'i', 'n', 't', 'e', 'r', 0,
    't', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'F', 'l', 'a', 'g', 's', 0,
    't', 'i', 't', 'l', 'e', 'B', 'a', 'r', 'S', 't', 'a', 't', 'e', 0,
    'H', 'a', 's', 'D', 'e', 'c', 'o', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'c', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    's', 'o', 'r', 't', 'I', 'n', 'd', 'i', 'c', 'a', 't', 'o', 'r', 0,
    'i', 'c', 'o', 'n', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'S', 'O', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'S', 'O', '_', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'O', '_', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 0,
    'S', 'O', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'B', 'a', 's', 'e', 0,
    'S', 'O', '_', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'F', 'a', 'c', 't', 'o', 'r', 'y', 0,
    'S', 'P', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'S', 'P', '_', 'M', 'e', 'd', 'i', 'a', 'P', 'a', 'u', 's', 'e', 0,
    'S', 'P', '_', 'A', 'r', 'r', 'o', 'w', 'R', 'i', 'g', 'h', 't', 0,
    'S', 'H', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'C', 'T', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'C', 'T', '_', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'C', 'T', '_', 'P', 'u', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 0,
    'P', 'M', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'S', 'C', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'S', 'C', '_', 'D', 'i', 'a', 'l', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'S', 'C', '_', 'D', 'i', 'a', 'l', 'G', 'r', 'o', 'o', 'v', 'e', 0,
    'S', 'C', '_', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'C', 'C', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'C', 'C', '_', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'S', 'E', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'C', 'E', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'C', 'E', '_', 'F', 'o', 'c', 'u', 's', 'F', 'r', 'a', 'm', 'e', 0,
    'C', 'E', '_', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 0,
    'C', 'E', '_', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 'T', 'a', 'b', 0,
    'C', 'E', '_', 'P', 'u', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 0,
    'P', 'E', '_', 'C', 'u', 's', 't', 'o', 'm', 'B', 'a', 's', 'e', 0,
    'Q', 'S', 't', 'y', 'l', 'e', ':', ':', 'S', 't', 'a', 't', 'e', 0,
    'S', 't', 'a', 't', 'e', '_', 'E', 'd', 'i', 't', 'i', 'n', 'g', 0,
    'S', 't', 'a', 't', 'e', '_', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 0,
    'S', 't', 'a', 't', 'e', '_', 'U', 'p', 'A', 'r', 'r', 'o', 'w', 0,
    'S', 't', 'a', 't', 'e', '_', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'w', 'i', 'd', 'g', 'e', 't', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 0,
    's', 'p', 'l', 'i', 't', 't', 'e', 'r', 'M', 'o', 'v', 'e', 'd', 0,
    'i', 's', 'C', 'o', 'l', 'l', 'a', 'p', 's', 'i', 'b', 'l', 'e', 0,
    'Q', 'S', 'p', 'l', 'a', 's', 'h', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    't', 'e', 'x', 't', 'F', 'r', 'o', 'm', 'V', 'a', 'l', 'u', 'e', 0,
    'v', 'a', 'l', 'u', 'e', 'F', 'r', 'o', 'm', 'T', 'e', 'x', 't', 0,
    'p', 'i', 'x', 'e', 'l', 'P', 'e', 'r', 'M', 'e', 't', 'e', 'r', 0,
    'f', 'i', 'n', 'a', 'l', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'i', 's', 'T', 'e', 'x', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'r', 'e', 'q', 'u', 'e', 's', 't', 'U', 'p', 'd', 'a', 't', 'e', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 'O', 'f', 'f', 's', 'e', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'R', 'e', 'q', 'u', 'e', 's', 't', 0,
    'c', 'o', 'p', 'y', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'o', 'v', 'e', 'r', 'w', 'r', 'i', 't', 'e', 'M', 'o', 'd', 'e', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'T', 'i', 't', 'l', 'e', 0,
    'a', 'b', 'o', 'u', 't', 'T', 'o', 'R', 'e', 's', 'i', 'z', 'e', 0,
    'Q', 'O', 'p', 'e', 'n', 'G', 'L', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'l', 'i', 'c', 'k', 'e', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    's', 'e', 't', 'I', 'c', 'o', 'n', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'i', 'n', 's', 'e', 'r', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'y', 's', 't', 'e', 'm', 'M', 'e', 'n', 'u', 0,
    'Q', 'M', 'd', 'i', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    's', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 'L', 'i', 's', 't', 0,
    'S', 't', 'a', 'c', 'k', 'i', 'n', 'g', 'O', 'r', 'd', 'e', 'r', 0,
    'C', 'r', 'e', 'a', 't', 'i', 'o', 'n', 'O', 'r', 'd', 'e', 'r', 0,
    'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 'V', 'i', 'e', 'w', 0,
    'A', 'n', 'i', 'm', 'a', 't', 'e', 'd', 'D', 'o', 'c', 'k', 's', 0,
    's', 'e', 't', 'M', 'e', 'n', 'u', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'd', 'd', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 0,
    'i', 'n', 's', 'e', 'r', 't', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 0,
    'c', 'e', 'n', 't', 'r', 'a', 'l', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'i', 't', 'e', 'm', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'L', 'a', 'y', 'o', 'u', 't', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'R', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    'r', 'e', 't', 'u', 'r', 'n', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'c', 'h', 'e', 'c', 'k', 'O', 'v', 'e', 'r', 'f', 'l', 'o', 'w', 0,
    's', 'e', 't', 'D', 'i', 'g', 'i', 't', 'C', 'o', 'u', 'n', 't', 0,
    'r', 'e', 'p', 'l', 'a', 'c', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 'R', 'e', 'c', 't', 0,
    't', 'o', 't', 'a', 'l', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'Q', 'I', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 0,
    'd', 'o', 'u', 'b', 'l', 'e', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 0,
    'd', 'o', 'u', 'b', 'l', 'e', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 0,
    's', 'e', 't', 'I', 'n', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 0,
    's', 'e', 't', 'I', 'n', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 0,
    'c', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 'I', 't', 'e', 'm', 's', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 's', 'M', 'o', 'v', 'e', 'd', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 'A', 't', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    's', 'e', 't', 'R', 'o', 'w', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    'i', 'n', 's', 'e', 'r', 't', 'A', 'c', 't', 'i', 'o', 'n', 's', 0,
    'i', 's', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'e', 'd', 0,
    'i', 's', 'I', 'n', 't', 'e', 'r', 'a', 'c', 't', 'i', 'v', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'V', 'i', 'e', 'w', 0,
    'z', 'S', 'c', 'a', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'y', 'S', 'c', 'a', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'x', 'S', 'c', 'a', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'o', 'r', 'i', 'g', 'i', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'b', 'u', 't', 't', 'o', 'n', 'D', 'o', 'w', 'n', 'P', 'o', 's', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'A', 'r', 'e', 'a', 0,
    'a', 'd', 'd', 'S', 'i', 'm', 'p', 'l', 'e', 'T', 'e', 'x', 't', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'I', 't', 'e', 'm', 's', 0,
    's', 'u', 'b', 'W', 'i', 'd', 'g', 'e', 't', 'R', 'e', 'c', 't', 0,
    's', 't', 'r', 'e', 't', 'c', 'h', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'o', 'w', 'n', 'e', 'd', 'B', 'y', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'p', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 'S', 'i', 'z', 'e', 0,
    'l', 'i', 'n', 'k', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'p', 'a', 'r', 'e', 'n', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'u', 'n', 'g', 'r', 'a', 'b', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 'r', 't', 'A', 'n', 'g', 'l', 'e', 0,
    's', 'e', 't', 'F', 'o', 'c', 'u', 's', 'P', 'r', 'o', 'x', 'y', 0,
    'b', 'l', 'o', 'c', 'k', 'i', 'n', 'g', 'P', 'a', 'n', 'e', 'l', 0,
    'p', 'a', 'n', 'e', 'l', 'M', 'o', 'd', 'a', 'l', 'i', 't', 'y', 0,
    'm', 'a', 'p', 'R', 'e', 'c', 't', 'T', 'o', 'I', 't', 'e', 'm', 0,
    'i', 't', 'e', 'm', 'T', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'e', 'n', 's', 'u', 'r', 'e', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'P', 'a', 'r', 'e', 'n', 't', 'I', 't', 'e', 'm', 0,
    'I', 't', 'e', 'm', 'I', 's', 'M', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    'Q', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    's', 'e', 't', 'R', 'o', 'w', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'o', 'f', 'f', 's', 'e', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'B', 'l', 'u', 'r', 'R', 'a', 'd', 'i', 'u', 's', 0,
    'A', 'n', 'i', 'm', 'a', 't', 'i', 'o', 'n', 'H', 'i', 'n', 't', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'C', 'a', 'n', 'c', 'e', 'l', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'F', 'i', 'n', 'i', 's', 'h', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'Q', 'G', 'e', 's', 't', 'u', 'r', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'S', 'w', 'i', 'p', 'e', 'A', 'n', 'g', 'l', 'e', 0,
    'Q', 'S', 'w', 'i', 'p', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'r', 'o', 't', 'a', 't', 'i', 'o', 'n', 'A', 'n', 'g', 'l', 'e', 0,
    'Q', 'P', 'i', 'n', 'c', 'h', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    's', 'e', 't', 'L', 'a', 's', 't', 'O', 'f', 'f', 's', 'e', 't', 0,
    's', 'e', 't', 'F', 'r', 'a', 'm', 'e', 'S', 'h', 'a', 'p', 'e', 0,
    's', 'e', 't', 'F', 'r', 'a', 'm', 'e', 'S', 't', 'y', 'l', 'e', 0,
    'Q', 'F', 'r', 'a', 'm', 'e', ':', ':', 'S', 'h', 'a', 'p', 'e', 0,
    'l', 'a', 'b', 'e', 'l', 'F', 'o', 'r', 'F', 'i', 'e', 'l', 'd', 0,
    'f', 'o', 'r', 'm', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'r', 'o', 'w', 'W', 'r', 'a', 'p', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'F', 'o', 'n', 't', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 0,
    'r', 'o', 'o', 't', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    's', 'e', 't', 'N', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 0,
    's', 'e', 't', 'P', 'r', 'o', 'x', 'y', 'M', 'o', 'd', 'e', 'l', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'f', 'i', 'l', 'e', 's', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'u', 'f', 'f', 'i', 'x', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'M', 'o', 'd', 'e', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'F', 'i', 'l', 'e', 's', 0,
    'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'O', 'n', 'l', 'y', 0,
    'E', 'x', 'i', 's', 't', 'i', 'n', 'g', 'F', 'i', 'l', 'e', 's', 0,
    'Q', 'E', 'r', 'r', 'o', 'r', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    'q', 'D', 'r', 'a', 'w', 'W', 'i', 'n', 'P', 'a', 'n', 'e', 'l', 0,
    'i', 's', 'A', 'r', 'e', 'a', 'A', 'l', 'l', 'o', 'w', 'e', 'd', 0,
    'h', 'e', 'l', 'p', 'R', 'e', 'q', 'u', 'e', 's', 't', 'e', 'd', 0,
    'c', 'e', 'n', 't', 'e', 'r', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'c', 'a', 'l', 'e', 'n', 'd', 'a', 'r', 'P', 'o', 'p', 'u', 'p', 0,
    'd', 'i', 's', 'p', 'l', 'a', 'y', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'M', 'i', 'n', 'u', 't', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'S', 'e', 'c', 'o', 'n', 'd', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 'E', 'd', 'i', 't', 0,
    'm', 'a', 'p', 'p', 'e', 'd', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'W', 'r', 'a', 'p', 'A', 'r', 'o', 'u', 'n', 'd', 0,
    'p', 'a', 't', 'h', 'F', 'r', 'o', 'm', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 't', 'C', 'u', 'r', 'r', 'e', 'n', 't', 'R', 'o', 'w', 0,
    'U', 'n', 's', 'o', 'r', 't', 'e', 'd', 'M', 'o', 'd', 'e', 'l', 0,
    'l', 'a', 'y', 'o', 'u', 't', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'd', 'r', 'a', 'w', 'P', 'r', 'i', 'm', 'i', 't', 'i', 'v', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'E', 'd', 'i', 't', 'T', 'e', 'x', 't', 0,
    'p', 'r', 'e', 'v', 'i', 'e', 'w', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    'c', 'o', 'l', 'o', 'r', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'h', 'o', 'w', 'N', 'e', 'x', 't', 'M', 'o', 'n', 't', 'h', 0,
    'i', 's', 'G', 'r', 'i', 'd', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'S', 'h', 'o', 'r', 't', 'D', 'a', 'y', 'N', 'a', 'm', 'e', 's', 0,
    'b', 'u', 't', 't', 'o', 'n', 'T', 'o', 'g', 'g', 'l', 'e', 'd', 0,
    'b', 'u', 't', 't', 'o', 'n', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    'b', 'u', 't', 't', 'o', 'n', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'c', 'h', 'e', 'c', 'k', 'e', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'a', 'd', 'd', 'S', 'p', 'a', 'c', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'i', 'n', 's', 'e', 'r', 't', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    'i', 'n', 's', 'e', 'r', 't', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    's', 'e', 't', 'S', 't', 'y', 'l', 'e', 'S', 'h', 'e', 'e', 't', 0,
    'c', 'h', 'e', 'c', 'k', 'e', 'd', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'A', 'c', 'c', 'e', 'l', 'e', 'r', 'a', 't', 'e', 'd', 0,
    'i', 'n', 't', 'e', 'r', 'p', 'r', 'e', 't', 'T', 'e', 'x', 't', 0,
    'b', 'u', 't', 't', 'o', 'n', 'S', 'y', 'm', 'b', 'o', 'l', 's', 0,
    'S', 't', 'e', 'p', 'U', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    't', 'h', 'r', 'e', 's', 'h', 'o', 'l', 'd', 'T', 'i', 'm', 'e', 0,
    's', 'l', 'i', 'd', 'e', 'r', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    't', 'r', 'i', 'g', 'g', 'e', 'r', 'A', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'l', 'i', 'd', 'e', 'r', 'D', 'o', 'w', 'n', 0,
    's', 'e', 't', 'S', 'i', 'n', 'g', 'l', 'e', 'S', 't', 'e', 'p', 0,
    'A', 'd', 'j', 'u', 's', 't', 'I', 'g', 'n', 'o', 'r', 'e', 'd', 0,
    's', 'e', 't', 'u', 'p', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 0,
    'd', 'r', 'a', 'g', 'M', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 'E', 'v', 'e', 'n', 't', 0,
    'D', 'r', 'a', 'g', 'g', 'i', 'n', 'g', 'S', 't', 'a', 't', 'e', 0,
    'i', 's', 'I', 'n', 'd', 'e', 'x', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'd', 'o', 'u', 'b', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    't', 'e', 'x', 't', 'E', 'l', 'i', 'd', 'e', 'M', 'o', 'd', 'e', 0,
    'h', 'a', 's', 'A', 'u', 't', 'o', 'S', 'c', 'r', 'o', 'l', 'l', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'S', 'c', 'r', 'o', 'l', 'l', 0,
    's', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'S', 'e', 'l', 'e', 'c', 't', 'C', 'o', 'l', 'u', 'm', 'n', 's', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'P', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 'A', 't', 'T', 'o', 'p', 0,
    'E', 'n', 's', 'u', 'r', 'e', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'A', 'n', 'y', 'K', 'e', 'y', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 'E', 'd', 'i', 't', 'o', 'r', 0,
    's', 'e', 't', 'E', 'd', 'i', 't', 'o', 'r', 'D', 'a', 't', 'a', 0,
    'c', 'h', 'e', 'c', 'k', 'S', 't', 'a', 't', 'e', 'S', 'e', 't', 0,
    'a', 'u', 't', 'o', 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 0,
    'k', 'e', 'y', 'P', 'r', 'e', 's', 's', 'E', 'v', 'e', 'n', 't', 0,
    'f', 'o', 'c', 'u', 's', 'O', 'u', 't', 'E', 'v', 'e', 'n', 't', 0,
    's', 'h', 'o', 'w', 'M', 'a', 'x', 'i', 'm', 'i', 'z', 'e', 'd', 0,
    's', 'h', 'o', 'w', 'M', 'i', 'n', 'i', 'm', 'i', 'z', 'e', 'd', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 'G', 'l', 'o', 'b', 'a', 'l', 0,
    'f', 'r', 'a', 'm', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    's', 'i', 'z', 'e', 'I', 'n', 'c', 'r', 'e', 'm', 'e', 'n', 't', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'f', 'o', 'n', 't', 'U', 'n', 'd', 'e', 'r', 'l', 'i', 'n', 'e', 0,
    's', 'e', 't', 'F', 'o', 'n', 't', 'I', 't', 'a', 'l', 'i', 'c', 0,
    's', 'e', 't', 'F', 'o', 'n', 't', 'W', 'e', 'i', 'g', 'h', 't', 0,
    'f', 'o', 'n', 't', 'P', 'o', 'i', 'n', 't', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'F', 'o', 'n', 't', 'F', 'a', 'm', 'i', 'l', 'y', 0,
    'u', 'n', 'd', 'o', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    'r', 'e', 'd', 'o', 'A', 'v', 'a', 'i', 'l', 'a', 'b', 'l', 'e', 0,
    's', 't', 'a', 'r', 't', 'D', 'r', 'a', 'g', 'T', 'i', 'm', 'e', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'C', 'h', 'e', 'c', 'k', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'F', 'o', 'r', 'e', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    't', 'e', 'x', 't', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'i', 't', 'e', 'm', 'P', 'r', 'o', 't', 'o', 't', 'y', 'p', 'e', 0,
    'i', 'n', 'd', 'e', 'x', 'F', 'r', 'o', 'm', 'I', 't', 'e', 'm', 0,
    'i', 't', 'e', 'm', 'F', 'r', 'o', 'm', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 't', 'R', 'e', 'n', 'd', 'e', 'r', 'H', 'i', 'n', 't', 0,
    's', 'e', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'W', 'i', 'n', 'd', 'o', 'w', 'I', 'c', 'o', 'n', 0,
    'i', 's', 'L', 'e', 'f', 't', 'T', 'o', 'R', 'i', 'g', 'h', 't', 0,
    'p', 'r', 'i', 'm', 'a', 'r', 'y', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'i', 's', 'R', 'i', 'g', 'h', 't', 'T', 'o', 'L', 'e', 'f', 't', 0,
    'w', 'r', 'i', 't', 'i', 'n', 'g', 'S', 'y', 's', 't', 'e', 'm', 0,
    'l', 'a', 's', 't', 'S', 'c', 'r', 'e', 'e', 'n', 'P', 'o', 's', 0,
    's', 'e', 't', 'D', 'r', 'o', 'p', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'A', 'c', 't', 'i', 'o', 'n', 0,
    't', 'e', 's', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'e', 'n', 'd', 'R', 'e', 's', 'e', 't', 'M', 'o', 'd', 'e', 'l', 0,
    'b', 'e', 'g', 'i', 'n', 'M', 'o', 'v', 'e', 'R', 'o', 'w', 's', 0,
    'e', 'n', 'd', 'R', 'e', 'm', 'o', 'v', 'e', 'R', 'o', 'w', 's', 0,
    'e', 'n', 'd', 'I', 'n', 's', 'e', 'r', 't', 'R', 'o', 'w', 's', 0,
    '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,
    'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 'P', 'a', 'g', 'e', 0,
    'i', 's', 'C', 'o', 'm', 'm', 'i', 't', 'P', 'a', 'g', 'e', 0,
    's', 'e', 't', 'F', 'i', 'n', 'a', 'l', 'P', 'a', 'g', 'e', 0,
    'v', 'i', 's', 'i', 't', 'e', 'd', 'P', 'a', 'g', 'e', 's', 0,
    'C', 'l', 'a', 's', 's', 'i', 'c', 'S', 't', 'y', 'l', 'e', 0,
    'B', 'a', 'n', 'n', 'e', 'r', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'F', 'i', 'n', 'i', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 0,
    'C', 'o', 'm', 'm', 'i', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'd', 'e', 'l', 'e', 't', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'R', 'e', 'g', 'i', 'o', 'n', 0,
    't', 'a', 'r', 'g', 'e', 't', 'O', 'f', 'f', 's', 'e', 't', 0,
    'D', 'r', 'a', 'w', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    's', 'a', 'v', 'e', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'i', 's', 'F', 'u', 'l', 'l', 'S', 'c', 'r', 'e', 'e', 'n', 0,
    'm', 'o', 'u', 's', 'e', 'G', 'r', 'a', 'b', 'b', 'e', 'r', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 'M', 'o', 'u', 's', 'e', 0,
    's', 'e', 't', 'F', 'i', 'x', 'e', 'd', 'S', 'i', 'z', 'e', 0,
    'c', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 'R', 'e', 'c', 't', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'A', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'C', 'l', 'e', 'a', 'n', 'I', 'c', 'o', 'n', 0,
    's', 'e', 't', 'U', 'n', 'd', 'o', 'L', 'i', 'm', 'i', 't', 0,
    'Q', 'U', 'n', 'd', 'o', 'C', 'o', 'm', 'm', 'a', 'n', 'd', 0,
    'i', 'n', 'd', 'e', 'x', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'l', 'e', 'a', 'n', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'D', 'r', 'o', 'p', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0,
    'D', 'r', 'a', 'g', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0,
    'i', 't', 'e', 'm', 'E', 'x', 'p', 'a', 'n', 'd', 'e', 'd', 0,
    'c', 'o', 'l', 'l', 'a', 'p', 's', 'e', 'I', 't', 'e', 'm', 0,
    't', 'a', 'k', 'e', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 'C', 'h', 'i', 'l', 'd', 0,
    't', 'r', 'e', 'e', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'd', 'r', 'a', 'w', 'B', 'r', 'a', 'n', 'c', 'h', 'e', 's', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'R', 'a', 'i', 's', 'e', 0,
    's', 'e', 't', 'P', 'o', 'p', 'u', 'p', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'A', 'r', 'r', 'o', 'w', 'T', 'y', 'p', 'e', 0,
    'I', 'n', 's', 't', 'a', 'n', 't', 'P', 'o', 'p', 'u', 'p', 0,
    'D', 'e', 'l', 'a', 'y', 'e', 'd', 'P', 'o', 'p', 'u', 'p', 0,
    'i', 't', 'e', 'm', 'I', 'n', 's', 'e', 'r', 't', 'e', 'd', 0,
    's', 'e', 't', 'F', 'l', 'o', 'a', 't', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'h', 'i', 's', 't', 'o', 'r', 'y', 'T', 'i', 't', 'l', 'e', 0,
    's', 'e', 't', 'O', 'p', 'e', 'n', 'L', 'i', 'n', 'k', 's', 0,
    'c', 'l', 'e', 'a', 'r', 'H', 'i', 's', 't', 'o', 'r', 'y', 0,
    'Q', 'T', 'e', 'x', 't', 'B', 'r', 'o', 'w', 's', 'e', 'r', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'Q', 'T', 'a', 'b', 'l', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'o', 'r', 't', 'B', 'y', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 'l', 'e', 'c', 't', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 't', 'G', 'r', 'i', 'd', 'S', 't', 'y', 'l', 'e', 0,
    's', 'e', 't', 'R', 'o', 'w', 'H', 'e', 'i', 'g', 'h', 't', 0,
    's', 'e', 't', 'E', 'x', 'p', 'a', 'n', 'd', 'i', 'n', 'g', 0,
    's', 'e', 't', 'T', 'a', 'b', 'B', 'u', 't', 't', 'o', 'n', 0,
    's', 'e', 't', 'E', 'l', 'i', 'd', 'e', 'M', 'o', 'd', 'e', 0,
    't', 'a', 'b', 'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 0,
    't', 'a', 'b', 'T', 'e', 'x', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'i', 's', 'T', 'a', 'b', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'R', 'o', 'u', 'n', 'd', 'e', 'd', 'S', 'o', 'u', 't', 'h', 0,
    'R', 'o', 'u', 'n', 'd', 'e', 'd', 'N', 'o', 'r', 't', 'h', 0,
    'd', 'i', 'a', 'l', 'W', 'r', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    'm', 'a', 'x', 'I', 'c', 'o', 'n', 'W', 'i', 'd', 't', 'h', 0,
    'm', 'e', 'n', 'u', 'I', 't', 'e', 'm', 'T', 'y', 'p', 'e', 0,
    'N', 'o', 'n', 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 0,
    'N', 'o', 't', 'C', 'h', 'e', 'c', 'k', 'a', 'b', 'l', 'e', 0,
    'S', 'O', '_', 'F', 'o', 'c', 'u', 's', 'R', 'e', 'c', 't', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 'O', 'p', 't', 'i', 'o', 'n', 0,
    'S', 'P', '_', 'M', 'e', 'd', 'i', 'a', 'S', 't', 'o', 'p', 0,
    'S', 'P', '_', 'M', 'e', 'd', 'i', 'a', 'P', 'l', 'a', 'y', 0,
    'S', 'P', '_', 'A', 'r', 'r', 'o', 'w', 'B', 'a', 'c', 'k', 0,
    'S', 'P', '_', 'A', 'r', 'r', 'o', 'w', 'L', 'e', 'f', 't', 0,
    'S', 'P', '_', 'A', 'r', 'r', 'o', 'w', 'D', 'o', 'w', 'n', 0,
    'S', 'P', '_', 'T', 'r', 'a', 's', 'h', 'I', 'c', 'o', 'n', 0,
    'S', 'H', '_', 'M', 'e', 'n', 'u', '_', 'M', 'a', 's', 'k', 0,
    'C', 'T', '_', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'C', 'T', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 0,
    'C', 'T', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 0,
    'S', 'C', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 'U', 'p', 0,
    'C', 'C', '_', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 0,
    'C', 'E', '_', 'T', 'a', 'b', 'B', 'a', 'r', 'T', 'a', 'b', 0,
    'P', 'E', '_', 'P', 'a', 'n', 'e', 'l', 'M', 'e', 'n', 'u', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 'M', 'e', 'n', 'u', 0,
    'S', 't', 'a', 't', 'e', '_', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'S', 't', 'a', 't', 'e', '_', 'A', 'c', 't', 'i', 'v', 'e', 0,
    'S', 't', 'a', 't', 'e', '_', 'B', 'o', 't', 't', 'o', 'm', 0,
    'S', 't', 'a', 't', 'e', '_', 'S', 'u', 'n', 'k', 'e', 'n', 0,
    'S', 't', 'a', 't', 'e', '_', 'R', 'a', 'i', 's', 'e', 'd', 0,
    'd', 'r', 'a', 'w', 'I', 't', 'e', 'm', 'T', 'e', 'x', 't', 0,
    'i', 't', 'e', 'm', 'T', 'e', 'x', 't', 'R', 'e', 'c', 't', 0,
    's', 't', 'a', 'c', 'k', 'i', 'n', 'g', 'M', 'o', 'd', 'e', 0,
    'm', 'o', 'v', 'e', 'S', 'p', 'l', 'i', 't', 't', 'e', 'r', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'H', 'a', 'n', 'd', 'l', 'e', 0,
    'o', 'p', 'a', 'q', 'u', 'e', 'R', 'e', 's', 'i', 'z', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    't', 'i', 'c', 'k', 'I', 'n', 't', 'e', 'r', 'v', 'a', 'l', 0,
    't', 'i', 'c', 'k', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'M', 'e', 't', 'r', 'i', 'c', 0,
    'I', 'n', 'p', 'u', 't', 'R', 'e', 'l', 'e', 'a', 's', 'e', 0,
    'T', 'o', 'u', 'c', 'h', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'Q', 'R', 'a', 'd', 'i', 'o', 'B', 'u', 't', 't', 'o', 'n', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'C', 'l', 'o', 's', 'e', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'R', 'e', 's', 'e', 't', 0,
    'Q', 'P', 'r', 'o', 'g', 'r', 'e', 's', 's', 'B', 'a', 'r', 0,
    'c', 'e', 'n', 't', 'e', 'r', 'C', 'u', 'r', 's', 'o', 'r', 0,
    't', 'a', 'b', 'S', 't', 'o', 'p', 'W', 'i', 'd', 't', 'h', 0,
    'w', 'o', 'r', 'd', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    'l', 'i', 'n', 'e', 'W', 'r', 'a', 'p', 'M', 'o', 'd', 'e', 0,
    'd', 'e', 't', 'a', 'i', 'l', 'e', 'd', 'T', 'e', 'x', 't', 0,
    'e', 's', 'c', 'a', 'p', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'U', 'p', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'a', 'd', 'd', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    't', 'a', 'b', 's', 'C', 'l', 'o', 's', 'a', 'b', 'l', 'e', 0,
    'a', 'd', 'd', 'S', 'u', 'b', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'M', 'o', 'd', 'e', 0,
    't', 'o', 'o', 'l', 'B', 'a', 'r', 'B', 'r', 'e', 'a', 'k', 0,
    'V', 'e', 'r', 't', 'i', 'c', 'a', 'l', 'T', 'a', 'b', 's', 0,
    's', 'e', 't', 'S', 't', 'a', 't', 'u', 's', 'B', 'a', 'r', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'T', 'o', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'B', 'a', 't', 'c', 'h', 'S', 'i', 'z', 'e', 0,
    'r', 'e', 'c', 't', 'F', 'o', 'r', 'I', 'n', 'd', 'e', 'x', 0,
    'i', 'n', 'd', 'e', 'x', 'e', 's', 'M', 'o', 'v', 'e', 'd', 0,
    's', 'e', 't', 'R', 'o', 'w', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    's', 'e', 't', 'I', 'n', 'p', 'u', 't', 'M', 'a', 's', 'k', 0,
    's', 'e', 't', 'M', 'a', 'x', 'L', 'e', 'n', 'g', 't', 'h', 0,
    's', 'e', 'g', 'm', 'e', 'n', 't', 'S', 't', 'y', 'l', 'e', 0,
    's', 'e', 't', 'N', 'u', 'm', 'D', 'i', 'g', 'i', 't', 's', 0,
    'c', 'o', 'n', 't', 'r', 'o', 'l', 'T', 'y', 'p', 'e', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'S', 'e', 't', 'F', 'i', 'x', 'e', 'd', 'S', 'i', 'z', 'e', 0,
    'm', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 'M', 'a', 's', 'k', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'o', 'k', 'B', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 0,
    't', 'e', 'x', 't', 'E', 'c', 'h', 'o', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'V', 'a', 'l', 'u', 'e', 0,
    's', 'e', 't', 'I', 'n', 'p', 'u', 't', 'M', 'o', 'd', 'e', 0,
    'Q', 'I', 'n', 'p', 'u', 't', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    's', 'w', 'a', 'p', 'S', 'e', 'c', 't', 'i', 'o', 'n', 's', 0,
    'p', 'a', 'i', 'n', 't', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'M', 'o', 'v', 'e', 'd', 0,
    'l', 'o', 'g', 'i', 'c', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'o', 'r', 'i', 'g', 'i', 'n', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    'i', 'n', 's', 'e', 'r', 't', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'g', 'r', 'a', 'b', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'A', 'n', 'c', 'h', 'o', 'r', 0,
    'a', 'n', 'g', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'b', 's', 'p', 'T', 'r', 'e', 'e', 'D', 'e', 'p', 't', 'h', 0,
    's', 'e', 't', 'F', 'o', 'c', 'u', 's', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'S', 'c', 'e', 'n', 'e', 'R', 'e', 'c', 't', 0,
    'B', 's', 'p', 'T', 'r', 'e', 'e', 'I', 'n', 'd', 'e', 'x', 0,
    'g', 'r', 'a', 'p', 'h', 'i', 'c', 's', 'I', 't', 'e', 'm', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 's', 'R', 'e', 'c', 't', 0,
    's', 'c', 'a', 'l', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'S', 'h', 'a', 'p', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'S', 'p', 'a', 'n', 'A', 'n', 'g', 'l', 'e', 0,
    'p', 'a', 'r', 'e', 'n', 't', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'i', 's', 'U', 'n', 'd', 'e', 'r', 'M', 'o', 'u', 's', 'e', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 'S', 'c', 'e', 'n', 'e', 0,
    'i', 's', 'O', 'b', 's', 'c', 'u', 'r', 'e', 'd', 'B', 'y', 0,
    't', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'B', 'l', 'u', 'r', 'H', 'i', 'n', 't', 's', 0,
    'c', 'o', 'l', 'o', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'o', 'u', 'r', 'c', 'e', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'o', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 's', 0,
    'u', 'n', 's', 'e', 't', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'M', 'a', 'y', 'B', 'e', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'a', 'c', 'c', 'e', 'l', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'u', 'n', 's', 'e', 't', 'H', 'o', 't', 'S', 'p', 'o', 't', 0,
    's', 'e', 't', 'F', 'r', 'a', 'm', 'e', 'R', 'e', 'c', 't', 0,
    'S', 'p', 'a', 'n', 'n', 'i', 'n', 'g', 'R', 'o', 'l', 'e', 0,
    'W', 'r', 'a', 'p', 'L', 'o', 'n', 'g', 'R', 'o', 'w', 's', 0,
    'D', 'o', 'n', 't', 'W', 'r', 'a', 'p', 'R', 'o', 'w', 's', 0,
    'f', 'o', 'n', 't', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'F', 'o', 'n', 't', 0,
    'u', 'r', 'l', 's', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'U', 'r', 'l', 's', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 'U', 'r', 'l', 0,
    'r', 'e', 's', 't', 'o', 'r', 'e', 'S', 't', 'a', 't', 'e', 0,
    'f', 'i', 'l', 'e', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 't', 'L', 'a', 'b', 'e', 'l', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'D', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'D', 'o', 'n', 't', 'U', 's', 'e', 'S', 'h', 'e', 'e', 't', 0,
    'S', 'h', 'o', 'w', 'D', 'i', 'r', 's', 'O', 'n', 'l', 'y', 0,
    'E', 'x', 'i', 's', 't', 'i', 'n', 'g', 'F', 'i', 'l', 'e', 0,
    'm', 'i', 'd', 'L', 'i', 'n', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'a', 'l', 'l', 'o', 'w', 'e', 'd', 'A', 'r', 'e', 'a', 's', 0,
    'i', 'c', 'o', 'n', 'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', 0,
    'F', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 'R', 'o', 'l', 'e', 0,
    'F', 'i', 'l', 'e', 'P', 'a', 't', 'h', 'R', 'o', 'l', 'e', 0,
    'F', 'i', 'l', 'e', 'I', 'c', 'o', 'n', 'R', 'o', 'l', 'e', 0,
    's', 'c', 'r', 'e', 'e', 'n', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', 'R', 'a', 'n', 'g', 'e', 0,
    'M', 'o', 'n', 't', 'h', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    's', 'u', 'b', 'm', 'i', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'M', 'a', 'n', 'u', 'a', 'l', 'S', 'u', 'b', 'm', 'i', 't', 0,
    'm', 'o', 'd', 'e', 'l', 'S', 'o', 'r', 't', 'i', 'n', 'g', 0,
    's', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'I', 'c', 'o', 'n', 0,
    'Q', 'C', 'o', 'm', 'm', 'o', 'n', 'S', 't', 'y', 'l', 'e', 0,
    's', 'e', 't', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'r', 0,
    's', 'e', 't', 'V', 'a', 'l', 'i', 'd', 'a', 't', 'o', 'r', 0,
    'i', 'n', 's', 'e', 'r', 't', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'W', 'i', 'd', 't', 'h', 's', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'Q', 'C', 'o', 'l', 'o', 'r', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    's', 'h', 'o', 'w', 'N', 'e', 'x', 't', 'Y', 'e', 'a', 'r', 0,
    's', 'e', 't', 'D', 'a', 't', 'e', 'R', 'a', 'n', 'g', 'e', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'D', 'a', 't', 'e', 0,
    'L', 'o', 'n', 'g', 'D', 'a', 'y', 'N', 'a', 'm', 'e', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 'B', 'u', 't', 't', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 0,
    'i', 'n', 's', 'e', 'r', 't', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'i', 'n', 's', 'e', 'r', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'f', 'o', 'c', 'u', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    's', 'e', 't', 'C', 'o', 'l', 'o', 'r', 'S', 'p', 'e', 'c', 0,
    'Q', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'A', 'c', 't', 'i', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 0,
    's', 'e', 't', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 's', 0,
    'p', 'a', 'r', 'e', 'n', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    'U', 'p', 'D', 'o', 'w', 'n', 'A', 'r', 'r', 'o', 'w', 's', 0,
    's', 'l', 'i', 'd', 'e', 'r', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'r', 'e', 'p', 'e', 'a', 't', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'r', 'a', 'n', 'g', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'i', 's', 'S', 'l', 'i', 'd', 'e', 'r', 'D', 'o', 'w', 'n', 0,
    'c', 'o', 'r', 'n', 'e', 'r', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'd', 'r', 'a', 'g', 'D', 'r', 'o', 'p', 'M', 'o', 'd', 'e', 0,
    'E', 'd', 'i', 't', 'i', 'n', 'g', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'M', 'o', 'v', 'e', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 0,
    'M', 'o', 'v', 'e', 'P', 'a', 'g', 'e', 'D', 'o', 'w', 'n', 0,
    's', 'e', 't', 'R', 'o', 'o', 't', 'I', 'n', 'd', 'e', 'x', 0,
    'e', 'd', 'i', 't', 'T', 'r', 'i', 'g', 'g', 'e', 'r', 's', 0,
    'i', 't', 'e', 'm', 'D', 'e', 'l', 'e', 'g', 'a', 't', 'e', 0,
    'I', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'M', 'o', 'v', 'e', 0,
    's', 'e', 't', 'M', 'o', 'd', 'e', 'l', 'D', 'a', 't', 'a', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'E', 'd', 'i', 't', 'o', 'r', 0,
    'E', 'd', 'i', 't', 'N', 'e', 'x', 't', 'I', 't', 'e', 'm', 0,
    'a', 'n', 'i', 'm', 'a', 't', 'e', 'C', 'l', 'i', 'c', 'k', 0,
    'f', 'o', 'c', 'u', 's', 'I', 'n', 'E', 'v', 'e', 'n', 't', 0,
    'i', 's', 'A', 'n', 'c', 'e', 's', 't', 'o', 'r', 'O', 'f', 0,
    's', 'e', 't', 'L', 'i', 'n', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'W', 'i', 'd', 't', 'h', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'W', 'i', 'd', 't', 'h', 0,
    'd', 'r', 'a', 'w', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 0,
    'l', 'o', 'a', 'd', 'R', 'e', 's', 'o', 'u', 'r', 'c', 'e', 0,
    's', 'e', 't', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 0,
    's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 0,
    's', 'e', 't', 'S', 't', 'a', 't', 'u', 's', 'T', 'i', 'p', 0,
    's', 'o', 'r', 't', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    's', 'e', 't', 'C', 'h', 'e', 'c', 'k', 'a', 'b', 'l', 'e', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 'G', 'L', 0,
    'f', 'r', 'a', 'm', 'e', 'S', 'w', 'a', 'p', 'p', 'e', 'd', 0,
    's', 'e', 't', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'C', 'a', 'c', 'h', 'e', 'M', 'o', 'd', 'e', 0,
    'b', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'l', 'a', 's', 't', 'S', 'c', 'e', 'n', 'e', 'P', 'o', 's', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'S', 'i', 'z', 'e', 0,
    'v', 'a', 'l', 'u', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'H', 'i', 'g', 'h', 'P', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'n', 'd', 'e', 'x', 0,
    'l', 'a', 's', 't', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'd', 0,
    's', 'e', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'o', 'n', 'T', 'r', 'a', 'n', 's', 'i', 't', 'i', 'o', 'n', 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,
    's', 't', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'F', 'i', 'n', 'a', 'l', 'P', 'a', 'g', 'e', 0,
    's', 'e', 't', 'S', 'u', 'b', 'T', 'i', 't', 'l', 'e', 0,
    'Q', 'W', 'i', 'z', 'a', 'r', 'd', 'P', 'a', 'g', 'e', 0,
    'p', 'a', 'g', 'e', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'c', 'l', 'e', 'a', 'n', 'u', 'p', 'P', 'a', 'g', 'e', 0,
    't', 'i', 't', 'l', 'e', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'w', 'i', 'z', 'a', 'r', 'd', 'S', 't', 'y', 'l', 'e', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'P', 'a', 'g', 'e', 0,
    'M', 'o', 'd', 'e', 'r', 'n', 'S', 't', 'y', 'l', 'e', 0,
    'i', 'n', 'i', 't', 'P', 'a', 'i', 'n', 't', 'e', 'r', 0,
    'n', 'a', 't', 'i', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'u', 'n', 's', 'e', 't', 'L', 'o', 'c', 'a', 'l', 'e', 0,
    'i', 's', 'M', 'a', 'x', 'i', 'm', 'i', 'z', 'e', 'd', 0,
    'i', 's', 'M', 'i', 'n', 'i', 'm', 'i', 'z', 'e', 'd', 0,
    'i', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 'T', 'o', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'S', 't', 'a', 'c', 'k', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'S', 't', 'a', 'c', 'k', 0,
    'N', 'o', 't', 'E', 'd', 'i', 't', 'a', 'b', 'l', 'e', 0,
    'H', 'a', 's', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'D', 'r', 'o', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'T', 'r', 'e', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'C', 'h', 'i', 'l', 'd', 0,
    'a', 'd', 'd', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'i', 'n', 's', 'e', 'r', 't', 'C', 'h', 'i', 'l', 'd', 0,
    'c', 'o', 'l', 'l', 'a', 'p', 's', 'e', 'A', 'l', 'l', 0,
    's', 'e', 't', 'E', 'x', 'p', 'a', 'n', 'd', 'e', 'd', 0,
    'i', 'n', 'd', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'Q', 'T', 'o', 'o', 'l', 'B', 'u', 't', 't', 'o', 'n', 0,
    'i', 't', 'e', 'm', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    'i', 't', 'e', 'm', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 0,
    'i', 's', 'F', 'l', 'o', 'a', 't', 'a', 'b', 'l', 'e', 0,
    'c', 'e', 'l', 'l', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'c', 'e', 'l', 'l', 'E', 'n', 't', 'e', 'r', 'e', 'd', 0,
    'c', 'e', 'l', 'l', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'c', 'e', 'l', 'l', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    't', 'a', 'b', 'l', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'i', 'g', 'h', 't', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'M', 'o', 'v', 'e', 'd', 0,
    's', 'e', 't', 'S', 'h', 'o', 'w', 'G', 'r', 'i', 'd', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'W', 'i', 'd', 't', 'h', 0,
    's', 'e', 't', 'A', 'u', 't', 'o', 'H', 'i', 'd', 'e', 0,
    't', 'a', 'b', 'I', 'n', 's', 'e', 'r', 't', 'e', 'd', 0,
    't', 'a', 'b', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    's', 'e', 't', 'D', 'r', 'a', 'w', 'B', 'a', 's', 'e', 0,
    'R', 'o', 'u', 'n', 'd', 'e', 'd', 'E', 'a', 's', 't', 0,
    'R', 'o', 'u', 'n', 'd', 'e', 'd', 'W', 'e', 's', 't', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 'M', 'e', 'n', 'u', 0,
    'M', 'i', 'd', 'd', 'l', 'e', 'C', 'l', 'i', 'c', 'k', 0,
    'e', 'x', 'p', 'o', 's', 'e', 'd', 'R', 'e', 'c', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'c', 'o', 'n', 0,
    's', 'l', 'i', 'd', 'e', 'r', 'V', 'a', 'l', 'u', 'e', 0,
    's', 'u', 'b', 'C', 'o', 'n', 't', 'r', 'o', 'l', 's', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'I', 't', 'e', 'm', 0,
    'b', 'o', 't', 't', 'o', 'm', 'T', 'o', 'T', 'o', 'p', 0,
    't', 'e', 'x', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'N', 'o', 't', 'A', 'd', 'j', 'a', 'c', 'e', 'n', 't', 0,
    's', 't', 'y', 'l', 'e', 'O', 'b', 'j', 'e', 'c', 't', 0,
    'S', 'O', '_', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 0,
    'S', 'O', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 0,
    'S', 'O', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 0,
    'S', 'O', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 0,
    'S', 'O', '_', 'V', 'i', 'e', 'w', 'I', 't', 'e', 'm', 0,
    'S', 'O', '_', 'M', 'e', 'n', 'u', 'I', 't', 'e', 'm', 0,
    'a', 'l', 'i', 'g', 'n', 'e', 'd', 'R', 'e', 'c', 't', 0,
    'S', 'P', '_', 'F', 'i', 'l', 'e', 'I', 'c', 'o', 'n', 0,
    'C', 'T', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 0,
    'C', 'T', '_', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 0,
    'C', 'T', '_', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', 0,
    'C', 'T', '_', 'M', 'e', 'n', 'u', 'I', 't', 'e', 'm', 0,
    'C', 'T', '_', 'S', 'p', 'l', 'i', 't', 't', 'e', 'r', 0,
    'C', 'T', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 0,
    'C', 'T', '_', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 0,
    'C', 'C', '_', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 0,
    'C', 'C', '_', 'T', 'i', 't', 'l', 'e', 'B', 'a', 'r', 0,
    'C', 'C', '_', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 0,
    'C', 'E', '_', 'S', 'p', 'l', 'i', 't', 't', 'e', 'r', 0,
    'C', 'E', '_', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 0,
    'C', 'E', '_', 'M', 'e', 'n', 'u', 'I', 't', 'e', 'm', 0,
    'C', 'E', '_', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 0,
    'S', 't', 'a', 't', 'e', '_', 'S', 'm', 'a', 'l', 'l', 0,
    'h', 'a', 'n', 'd', 'l', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'y', 'p', 'e', 0,
    'h', 'a', 'n', 'd', 'l', 'e', 'I', 'n', 'p', 'u', 't', 0,
    'h', 'a', 's', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'A', 'r', 'e', 'a', 0,
    'Q', 'R', 'u', 'b', 'b', 'e', 'r', 'B', 'a', 'n', 'd', 0,
    'a', 'u', 't', 'o', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'w', 'a', 's', 'C', 'a', 'n', 'c', 'e', 'l', 'e', 'd', 0,
    'r', 'e', 's', 'e', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'W', 'i', 'd', 't', 'h', 0,
    'W', 'i', 'd', 'g', 'e', 't', 'W', 'i', 'd', 't', 'h', 0,
    'h', 'i', 't', 'T', 'e', 's', 't', 'P', 'a', 't', 'h', 0,
    's', 'e', 't', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 0,
    'i', 'n', 'f', 'o', 'r', 'm', 'a', 't', 'i', 'o', 'n', 0,
    'F', 'i', 'r', 's', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'Q', 'M', 'e', 's', 's', 'a', 'g', 'e', 'B', 'o', 'x', 0,
    'i', 's', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'U', 'p', 0,
    'a', 'c', 't', 'i', 'o', 'n', 'E', 'v', 'e', 'n', 't', 0,
    'a', 'b', 'o', 'u', 't', 'T', 'o', 'S', 'h', 'o', 'w', 0,
    'a', 'b', 'o', 'u', 't', 'T', 'o', 'H', 'i', 'd', 'e', 0,
    't', 'a', 'b', 's', 'M', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    't', 'a', 'b', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'T', 'a', 'b', 'S', 'h', 'a', 'p', 'e', 0,
    'd', 'o', 'c', 'k', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    't', 'o', 'o', 'l', 'B', 'a', 'r', 'A', 'r', 'e', 'a', 0,
    'Q', 'M', 'a', 'i', 'n', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'i', 't', 'e', 'm', 'E', 'n', 't', 'e', 'r', 'e', 'd', 0,
    'i', 't', 'e', 'm', 'C', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'i', 't', 'e', 'm', 'P', 'r', 'e', 's', 's', 'e', 'd', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 't', 'e', 'm', 0,
    'Q', 'L', 'i', 's', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'i', 's', 'R', 'o', 'w', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    's', 'e', 't', 'G', 'r', 'i', 'd', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'M', 'o', 'v', 'e', 'm', 'e', 'n', 't', 0,
    't', 'e', 'x', 't', 'M', 'a', 'r', 'g', 'i', 'n', 's', 0,
    't', 'e', 'x', 't', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'E', 'c', 'h', 'o', 'M', 'o', 'd', 'e', 0,
    'd', 'i', 's', 'p', 'l', 'a', 'y', 'T', 'e', 'x', 't', 0,
    'Q', 'W', 'i', 'd', 'g', 'e', 't', 'I', 't', 'e', 'm', 0,
    'Q', 'S', 'p', 'a', 'c', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'Q', 'L', 'a', 'y', 'o', 'u', 't', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'W', 'o', 'r', 'd', 'W', 'r', 'a', 'p', 0,
    'k', 'e', 'y', 'S', 'e', 'q', 'u', 'e', 'n', 'c', 'e', 0,
    'd', 'r', 'a', 'w', 'D', 'i', 's', 'p', 'l', 'a', 'y', 0,
    'd', 'o', 'u', 'b', 'l', 'e', 'V', 'a', 'l', 'u', 'e', 0,
    's', 'e', 't', 'I', 'n', 't', 'R', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'I', 'n', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'D', 'o', 'u', 'b', 'l', 'e', 'I', 'n', 'p', 'u', 't', 0,
    's', 'h', 'o', 'w', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'h', 'i', 'd', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    'm', 'o', 'v', 'e', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'Q', 'H', 'e', 'a', 'd', 'e', 'r', 'V', 'i', 'e', 'w', 0,
    'Q', 'G', 'r', 'i', 'd', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'p', 'o', 'l', 'i', 's', 'h', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'T', 'a', 'b', 'O', 'r', 'd', 'e', 'r', 0,
    'f', 'o', 'c', 'u', 's', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'T', 'i', 't', 'l', 'e', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'F', 'l', 'a', 'g', 's', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'S', 'c', 'e', 'n', 'e', 0,
    's', 'e', 't', 'D', 'r', 'a', 'g', 'M', 'o', 'd', 'e', 0,
    'a', 'x', 'i', 's', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'a', 'c', 't', 'i', 'v', 'e', 'P', 'a', 'n', 'e', 'l', 0,
    's', 't', 'i', 'c', 'k', 'y', 'F', 'o', 'c', 'u', 's', 0,
    'i', 't', 'e', 'm', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'c', 'o', 'n', 't', 'r', 'o', 'l', 'T', 'y', 'p', 'e', 0,
    'w', 'i', 'd', 'g', 'e', 't', 'E', 'v', 'e', 'n', 't', 0,
    'i', 's', 'A', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    'l', 'i', 'n', 'k', 'H', 'o', 'v', 'e', 'r', 'e', 'd', 0,
    's', 't', 'a', 'c', 'k', 'B', 'e', 'f', 'o', 'r', 'e', 0,
    's', 'e', 't', 'R', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'u', 'n', 'g', 'r', 'a', 'b', 'M', 'o', 'u', 's', 'e', 0,
    'i', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 'T', 'o', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 'I', 't', 'e', 'm', 0,
    'm', 'a', 'p', 'T', 'o', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'f', 'o', 'c', 'u', 's', 'R', 'e', 'a', 's', 'o', 'n', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'D', 'r', 'o', 'p', 's', 0,
    's', 'e', 't', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'I', 't', 'e', 'm', 'I', 's', 'P', 'a', 'n', 'e', 'l', 0,
    'o', 'p', 'a', 'c', 'i', 't', 'y', 'M', 'a', 's', 'k', 0,
    'Q', 'u', 'a', 'l', 'i', 't', 'y', 'H', 'i', 'n', 't', 0,
    's', 'e', 't', 'S', 't', 'r', 'e', 'n', 'g', 't', 'h', 0,
    'Q', 'T', 'a', 'p', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'N', 'o', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'e', 'n', 't', 'e', 'r', 'P', 'o', 'i', 'n', 't', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'F', 'l', 'a', 'g', 's', 0,
    'Q', 'P', 'a', 'n', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'f', 'r', 'a', 'm', 'e', 'S', 'h', 'a', 'd', 'o', 'w', 0,
    'S', 'h', 'a', 'd', 'o', 'w', '_', 'M', 'a', 's', 'k', 0,
    'S', 't', 'y', 'l', 'e', 'd', 'P', 'a', 'n', 'e', 'l', 0,
    'W', 'r', 'a', 'p', 'A', 'l', 'l', 'R', 'o', 'w', 's', 0,
    'Q', 'F', 'o', 'r', 'm', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'Q', 'F', 'o', 'n', 't', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'F', 'o', 'n', 't', 0,
    'f', 'o', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    'Q', 'F', 'o', 'c', 'u', 's', 'F', 'r', 'a', 'm', 'e', 0,
    'f', 'i', 'l', 'e', 'R', 'e', 'n', 'a', 'm', 'e', 'd', 0,
    's', 'e', 't', 'R', 'o', 'o', 't', 'P', 'a', 't', 'h', 0,
    'u', 'r', 'l', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    's', 'i', 'd', 'e', 'b', 'a', 'r', 'U', 'r', 'l', 's', 0,
    's', 'e', 't', 'F', 'i', 'l', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'V', 'i', 'e', 'w', 'M', 'o', 'd', 'e', 0,
    'Q', 'F', 'i', 'l', 'e', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    's', 'h', 'o', 'w', 'M', 'e', 's', 's', 'a', 'g', 'e', 0,
    's', 'e', 't', 'F', 'l', 'o', 'a', 't', 'i', 'n', 'g', 0,
    's', 'e', 't', 'F', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'D', 'o', 'c', 'k', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 'R', 'o', 'l', 'e', 0,
    'G', 'n', 'o', 'm', 'e', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'n', 'o', 't', 'c', 'h', 'T', 'a', 'r', 'g', 'e', 't', 0,
    's', 'c', 'r', 'e', 'e', 'n', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'D', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    'd', 'a', 't', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    't', 'i', 'm', 'e', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'T', 'e', 'x', 't', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'T', 'i', 'm', 'e', 0,
    'Y', 'e', 'a', 'r', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'H', 'o', 'u', 'r', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'M', 'S', 'e', 'c', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'A', 'm', 'P', 'm', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'p', 'i', 'x', 'e', 'l', 'M', 'e', 't', 'r', 'i', 'c', 0,
    'd', 'r', 'a', 'w', 'C', 'o', 'n', 't', 'r', 'o', 'l', 0,
    'Q', 'P', 'u', 's', 'h', 'B', 'u', 't', 't', 'o', 'n', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'D', 'a', 't', 'a', 0,
    'h', 'i', 'g', 'h', 'l', 'i', 'g', 'h', 't', 'e', 'd', 0,
    's', 'e', 't', 'E', 'd', 'i', 't', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'I', 'c', 'o', 'n', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 'T', 'e', 'x', 't', 0,
    'i', 'n', 's', 'e', 'r', 't', 'I', 't', 'e', 'm', 's', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'T', 'e', 'x', 't', 0,
    'm', 'o', 'd', 'e', 'l', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'I', 'n', 's', 'e', 'r', 't', 'A', 't', 'T', 'o', 'p', 0,
    's', 'e', 't', 'M', 'a', 'x', 'C', 'o', 'u', 'n', 't', 0,
    'Q', 'C', 'o', 'l', 'u', 'm', 'n', 'V', 'i', 'e', 'w', 0,
    'c', 'u', 's', 't', 'o', 'm', 'C', 'o', 'l', 'o', 'r', 0,
    'c', 'u', 's', 't', 'o', 'm', 'C', 'o', 'u', 'n', 't', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'C', 'e', 'l', 'l', 's', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 'D', 'a', 't', 'e', 0,
    'Q', 'V', 'B', 'o', 'x', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'Q', 'H', 'B', 'o', 'x', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'B', 'o', 't', 't', 'o', 'm', 'T', 'o', 'T', 'o', 'p', 0,
    'T', 'o', 'p', 'T', 'o', 'B', 'o', 't', 't', 'o', 'm', 0,
    'g', 'l', 'o', 'b', 'a', 'l', 'S', 't', 'r', 'u', 't', 0,
    'f', 'o', 'c', 'u', 's', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'N', 'o', 'r', 'm', 'a', 'l', 'C', 'o', 'l', 'o', 'r', 0,
    'i', 's', 'E', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 0,
    's', 'e', 't', 'M', 'e', 'n', 'u', 'R', 'o', 'l', 'e', 0,
    'A', 'b', 'o', 'u', 't', 'Q', 't', 'R', 'o', 'l', 'e', 0,
    's', 'e', 't', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0,
    'i', 's', 'S', 'e', 'p', 'a', 'r', 'a', 't', 'o', 'r', 0,
    's', 'e', 't', 'I', 'c', 'o', 'n', 'T', 'e', 'x', 't', 0,
    'a', 'c', 't', 'i', 'o', 'n', 'G', 'r', 'o', 'u', 'p', 0,
    's', 't', 'e', 'p', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', 0,
    's', 'e', 't', 'R', 'e', 'a', 'd', 'O', 'n', 'l', 'y', 0,
    's', 'e', 't', 'W', 'r', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    's', 'l', 'i', 'd', 'e', 'r', 'M', 'o', 'v', 'e', 'd', 0,
    'h', 'a', 's', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    's', 'e', 't', 'T', 'r', 'a', 'c', 'k', 'i', 'n', 'g', 0,
    's', 'e', 't', 'P', 'a', 'g', 'e', 'S', 't', 'e', 'p', 0,
    'v', 'i', 'e', 'w', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'T', 'o', 'T', 'o', 'p', 0,
    'i', 'n', 'd', 'e', 'x', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'N', 'o', 'S', 'e', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'S', 'e', 'l', 'e', 'c', 't', 'I', 't', 'e', 'm', 's', 0,
    'c', 'l', 'o', 's', 'e', 'E', 'd', 'i', 't', 'o', 'r', 0,
    'e', 'd', 'i', 't', 'o', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'I', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    't', 'a', 'b', 'l', 'e', 't', 'E', 'v', 'e', 'n', 't', 0,
    'u', 'n', 's', 'e', 't', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'm', 'a', 'p', 'T', 'o', 'G', 'l', 'o', 'b', 'a', 'l', 0,
    's', 'e', 't', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    's', 'e', 't', 'B', 'a', 's', 'e', 'S', 'i', 'z', '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,
    'w', 'i', 'n', 'd', 'o', 'w', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'D', 'e', 'c', 'i', 'm', 'a', 'l', 's', 0,
    's', 'e', 't', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'd', 0,
    't', 'o', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    'd', 'r', 'a', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'T', 'r', 'i', 's', 't', 'a', 't', 'e', 0,
    'i', 's', 'C', 'h', 'e', 'c', 'k', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'E', 'd', 'i', 't', 'a', 'b', 'l', 'e', 0,
    'i', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'R', 'o', 'w', 'C', 'o', 'u', 'n', 't', 0,
    's', 'e', 't', 'F', 'i', 'l', 'l', 'R', 'u', 'l', 'e', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 'H', 'i', 'n', 't', 's', 0,
    's', 'e', 't', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 0,
    'h', 'a', 's', 'C', 'l', 'i', 'p', 'p', 'i', 'n', 'g', 0,
    's', 'e', 't', 'C', 'l', 'i', 'p', 'p', 'i', 'n', 'g', 0,
    'f', 'o', 'n', 't', 'M', 'e', 't', 'r', 'i', 'c', 's', 0,
    'm', 'a', 't', 'c', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'd', 'o', 'n', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 0,
    'm', 'a', 'k', 'e', 'C', 'u', 'r', 'r', 'e', 'n', 't', 0,
    's', 'c', 'a', 'l', 'e', 'F', 'a', 'c', 't', 'o', 'r', 0,
    'p', 'a', 'i', 'n', 't', 'E', 'n', 'g', 'i', 'n', 'e', 0,
    'g', 'e', 's', 't', 'u', 'r', 'e', 'T', 'y', 'p', 'e', 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,
    's', 'e', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'A', 'n', 'i', 'm', 'a', 't', 'e', 'd', 0,
    'c', 'u', 's', 't', 'o', 'm', 'E', 'v', 'e', 'n', 't', 0,
    'e', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'Q', 'S', 'i', 'z', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'p', 'e', 'r', 'm', 'i', 's', 's', 'i', 'o', 'n', 's', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'T', 'i', 'm', 'e', 0,
    's', 'e', 'a', 'r', 'c', 'h', 'P', 'a', 't', 'h', 's', 0,
    'n', 'a', 'm', 'e', 'F', 'i', 'l', 't', 'e', 'r', 's', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', 'S', 'p', 'e', 'c', 0,
    's', 'e', 't', 'A', 'c', 'c', 'e', 'p', 't', 'e', 'd', 0,
    'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    's', 'o', 'u', 'r', 'c', 'e', '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,
    's', 'e', 't', 'I', 't', 'e', 'm', 'D', 'a', 't', 'a', 0,
    'o', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 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,
    'i', 's', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 0,
    's', 'i', 'd', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'P', 'a', 'g', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 'r', 't', 'I', 'd', 0,
    'L', 'o', 'g', 'o', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'N', 'e', 'x', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 'M', 'a', 's', 'k', 0,
    'u', 'n', 'd', 'e', 'r', 'M', 'o', 'u', 's', 'e', 0,
    's', 't', 'a', 'c', 'k', 'U', 'n', 'd', 'e', 'r', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'R', 'o', 'l', 'e', 0,
    'Q', 'W', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 0,
    'e', 'm', 'p', 't', 'y', 'L', 'a', 'b', 'e', 'l', 0,
    'b', 'e', 'g', 'i', 'n', 'M', 'a', 'c', 'r', 'o', 0,
    'c', 'l', 'e', 'a', 'n', 'I', 'n', 'd', 'e', 'x', 0,
    'Q', 'U', 'n', 'd', 'o', 'S', 't', 'a', 'c', 'k', 0,
    'a', 'c', 't', 'i', 'o', 'n', 'T', 'e', 'x', 't', 0,
    'Q', 'U', 'n', 'd', 'o', 'G', 'r', 'o', 'u', 'p', 0,
    'N', 'o', 't', 'C', 'h', 'e', 'c', 'k', 'e', 'd', 0,
    'N', 'o', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'U', 'n', 's', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 'I', 't', 'e', 'm', 0,
    'h', 'e', 'a', 'd', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'i', 's', 'D', 'i', 's', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'h', 'i', 'l', 'd', 'C', 'o', 'u', 'n', 't', 0,
    't', 'r', 'e', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'i', 'n', 'd', 'e', 'x', 'B', 'e', 'l', 'o', 'w', 0,
    'i', 'n', 'd', 'e', 'x', 'A', 'b', 'o', 'v', 'e', 0,
    'i', 's', 'E', 'x', 'p', 'a', 'n', 'd', 'e', 'd', 0,
    'h', 'i', 's', 't', 'o', 'r', 'y', 'U', 'r', 'l', 0,
    'T', 'r', 'i', 'a', 'n', 'g', 'u', 'l', 'a', 'r', 0,
    'Q', 'T', 'a', 'b', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'e', 'l', 'l', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'l', 'e', 'f', 't', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'c', 'l', 'e', 'a', 'r', 'S', 'p', 'a', 'n', 's', 0,
    'r', 'o', 'w', 'R', 'e', 's', 'i', 'z', 'e', 'd', 0,
    's', 'h', 'o', 'w', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'h', 'i', 'd', 'e', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'Q', 'T', 'a', 'b', 'l', 'e', 'V', 'i', 'e', 'w', 0,
    's', 'e', 't', 'M', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    't', 'a', 'b', 'R', 'e', 'm', 'o', 'v', 'e', 'd', 0,
    's', 'e', 't', 'T', 'a', 'b', 'D', 'a', 't', 'a', 0,
    't', 'a', 'b', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 0,
    's', 'e', 't', 'T', 'a', 'b', 'I', 'c', 'o', 'n', 0,
    's', 'e', 't', 'T', 'a', 'b', 'T', 'e', 'x', 't', 0,
    'S', 'H', '_', 'V', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'S', 'H', '_', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'H', 'a', 's', 'D', 'i', 's', 'p', 'l', 'a', 'y', 0,
    'O', 'n', 'l', 'y', 'O', 'n', 'e', 'T', 'a', 'b', 0,
    't', 'a', 'b', 'B', 'a', 'r', 'R', 'e', 'c', 't', 0,
    't', 'a', 'b', 'B', 'a', 'r', 'S', 'i', 'z', 'e', 0,
    'S', 'O', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 0,
    'S', 'O', '_', 'C', 'o', 'm', 'p', 'l', 'e', 'x', 0,
    'S', 'O', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 0,
    'S', 'O', '_', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 0,
    'S', 'O', '_', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'u', 'p', 's', 'i', 'd', 'e', 'D', 'o', 'w', 'n', 0,
    'S', 'P', '_', 'A', 'r', 'r', 'o', 'w', 'U', 'p', 0,
    'S', 'P', '_', 'D', 'i', 'r', 'I', 'c', 'o', 'n', 0,
    'C', 'T', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 0,
    'C', 'T', '_', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 0,
    'C', 'C', '_', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 0,
    'C', 'E', '_', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 0,
    'S', 't', 'a', 't', 'e', '_', 'M', 'i', 'n', 'i', 0,
    'S', 't', 'a', 't', 'e', '_', 'I', 't', 'e', 'm', 0,
    'S', 't', 'a', 't', 'e', '_', 'O', 'p', 'e', 'n', 0,
    'S', 't', 'a', 't', 'e', '_', 'N', 'o', 'n', 'e', 0,
    'h', 'i', 'd', 'e', 'O', 'r', 'S', 'h', 'o', 'w', 0,
    'Q', 'S', 't', 'a', 't', 'u', 's', 'B', 'a', 'r', 0,
    'T', 'i', 'c', 'k', 's', 'R', 'i', 'g', 'h', 't', 0,
    'T', 'i', 'c', 'k', 's', 'B', 'e', 'l', 'o', 'w', 0,
    'T', 'i', 'c', 'k', 's', 'A', 'b', 'o', 'v', 'e', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 'F', 'l', 'a', 'g', 0,
    'S', 'h', 'r', 'i', 'n', 'k', 'F', 'l', 'a', 'g', 0,
    'E', 'x', 'p', 'a', 'n', 'd', 'F', 'l', 'a', 'g', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'I', 'n', 'p', 'u', 't', 'P', 'r', 'e', 's', 's', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'B', 'a', 'r', 0,
    't', 'a', 'k', 'e', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 'H', 't', 'm', 'l', 0,
    'i', 'c', 'o', 'n', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'B', 'u', 't', 't', 'o', 'n', 'M', 'a', 's', 'k', 0,
    'L', 'a', 's', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'a', 'd', 'd', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'e', 'n', 't', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'e', 'n', 'u', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'i', 'n', 's', 'e', 'r', 't', 'M', 'e', 'n', 'u', 0,
    'l', 'e', 'a', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'h', 'o', 'w', 'S', 'h', 'a', 'd', 'e', 'd', 0,
    's', 'y', 's', 't', 'e', 'm', 'M', 'e', 'n', 'u', 0,
    'T', 'a', 'b', 'b', 'e', 'd', 'V', 'i', 'e', 'w', 0,
    'm', 'e', 'n', 'u', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'a', 'd', 'd', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 0,
    'i', 't', 'e', 'm', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'l', 'i', 's', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'l', 'a', 'y', 'o', 'u', 't', 'M', 'o', 'd', 'e', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'M', 'o', 'd', 'e', 0,
    'i', 's', 'W', 'r', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    'S', 'i', 'n', 'g', 'l', 'e', 'P', 'a', 's', 's', 0,
    'c', 'u', 'r', 's', 'o', 'r', 'R', 'e', 'c', 't', 0,
    't', 'e', 'x', 't', 'E', 'd', 'i', 't', 'e', 'd', 0,
    's', 'e', 't', 'B', 'i', 'n', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'O', 'c', 't', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'D', 'e', 'c', 'M', 'o', 'd', 'e', 0,
    's', 'e', 't', 'H', 'e', 'x', 'M', 'o', 'd', 'e', 0,
    'd', 'i', 'g', 'i', 't', 'C', 'o', 'u', 'n', 't', 0,
    'Q', 'L', 'C', 'D', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'S', 'i', 'z', 'e', 0,
    's', 'e', 't', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 0,
    's', 'e', 't', 'I', 'n', 't', 'S', 't', 'e', 'p', 0,
    'i', 'n', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 0,
    'i', 'n', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 0,
    'r', 'o', 'w', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    'a', 'd', 'd', 'A', 'c', 't', 'i', 'o', 'n', 's', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'T', 'y', 'p', 'e', 0,
    't', 'e', 'x', 't', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'a', 'd', 'd', 'T', 'o', 'G', 'r', 'o', 'u', 'p', 0,
    's', 'e', 't', 'P', 'o', 'l', 'y', 'g', 'o', 'n', 0,
    'f', 'o', 'c', 'u', 's', 'P', 'r', 'o', 'x', 'y', 0,
    'S', 'c', 'e', 'n', 'e', 'M', 'o', 'd', 'a', 'l', 0,
    'P', 'a', 'n', 'e', 'l', 'M', 'o', 'd', 'a', 'l', 0,
    'c', 'h', 'i', 'l', 'd', 'I', 't', 'e', 'm', 's', 0,
    'i', 's', 'O', 'b', 's', 'c', 'u', 'r', 'e', 'd', 0,
    's', 'c', 'e', 'n', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'i', 't', 'e', 'm', 'C', 'h', 'a', 'n', 'g', 'e', 0,
    'm', 'a', 'p', 'T', 'o', 'S', 'c', 'e', 'n', 'e', 0,
    'o', 'p', 'a', 'q', 'u', 'e', 'A', 'r', 'e', 'a', 0,
    'c', 'l', 'e', 'a', 'r', 'F', 'o', 'c', 'u', 's', 0,
    'p', 'a', 'r', 'e', 'n', 't', 'I', 't', 'e', 'm', 0,
    'r', 'o', 'w', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    's', 'e', 't', 'Y', 'O', 'f', 'f', 's', 'e', 't', 0,
    's', 'e', 't', 'X', 'O', 'f', 'f', 's', 'e', 't', 0,
    'b', 'l', 'u', 'r', 'R', 'a', 'd', 'i', 'u', 's', 0,
    'd', 'r', 'a', 'w', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'c', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 't', 0,
    'a', 'd', 'd', 'A', 'n', 'c', 'h', 'o', 'r', 's', 0,
    's', 'i', 'z', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', 'o', 'u', 't', 0,
    's', 'w', 'i', 'p', 'e', 'A', 'n', 'g', 'l', 'e', 0,
    'l', 'a', 's', 't', 'O', 'f', 'f', 's', 'e', 't', 0,
    'C', 'a', 'n', 'c', 'e', 'l', 'N', 'o', 'n', 'e', 0,
    'h', 'a', 's', 'H', 'o', 't', 'S', 'p', 'o', 't', 0,
    'f', 'r', 'a', 'm', 'e', 'S', 'h', 'a', 'p', 'e', 0,
    'f', 'r', 'a', 'm', 'e', 'W', 'i', 'd', 't', 'h', 0,
    'f', 'r', 'a', 'm', 'e', 'S', 't', 'y', 'l', 'e', 0,
    'S', 'h', 'a', 'p', 'e', '_', 'M', 'a', 's', 'k', 0,
    'm', 'y', 'C', 'o', 'm', 'p', 'u', 't', 'e', 'r', 0,
    'p', 'r', 'o', 'x', 'y', 'M', 'o', 'd', 'e', 'l', 0,
    's', 'e', 't', 'H', 'i', 's', 't', 'o', 'r', 'y', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'M', 'o', 'd', 'e', 0,
    's', 'e', 'l', 'e', 'c', 't', 'F', 'i', 'l', 'e', 0,
    'A', 'c', 'c', 'e', 'p', 't', 'S', 'a', 'v', 'e', 0,
    'A', 'c', 'c', 'e', 'p', 't', 'O', 'p', 'e', 'n', 0,
    'i', 's', 'F', 'l', 'o', 'a', 't', 'i', 'n', 'g', 0,
    'b', 'u', 't', 't', 'o', 'n', 'R', 'o', 'l', 'e', 0,
    'A', 'c', 't', 'i', 'o', 'n', 'R', 'o', 'l', 'e', 0,
    'R', 'e', 'j', 'e', 'c', 't', 'R', 'o', 'l', 'e', 0,
    'A', 'c', 'c', 'e', 'p', 't', 'R', 'o', 'l', 'e', 0,
    'D', 'a', 'y', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    't', 'o', 'P', 'r', 'e', 'v', 'i', 'o', 'u', 's', 0,
    'a', 'd', 'd', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    'A', 'u', 't', 'o', 'S', 'u', 'b', 'm', 'i', 't', 0,
    'f', 'i', 'l', 't', 'e', 'r', 'M', 'o', 'd', 'e', 0,
    'w', 'r', 'a', 'p', 'A', 'r', 'o', 'u', 'n', 'd', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'R', 'o', 'w', 0,
    'Q', 'C', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'r', 0,
    'r', 'e', 't', 'u', 'r', 'n', 'D', 'a', 't', 'a', 0,
    'u', 'p', 'd', 'a', 't', 'e', 'C', 'e', 'l', 'l', 0,
    'm', 'o', 'n', 't', 'h', 'S', 'h', 'o', 'w', 'n', 0,
    'i', 'n', 's', 'e', 'r', 't', 'I', 't', 'e', 'm', 0,
    's', 'p', 'a', 'c', 'e', 'r', 'I', 't', 'e', 'm', 0,
    'a', 'd', 'd', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    'a', 'd', 'd', 'S', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    'Q', 'B', 'o', 'x', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 't', 'y', 'l', 'e', 'S', 'h', 'e', 'e', 't', 0,
    'a', 'l', 'l', 'W', 'i', 'd', 'g', 'e', 't', 's', 0,
    'c', 'l', 'o', 's', 'e', 'E', 'v', 'e', 'n', 't', 0,
    'r', 'e', 'p', 'e', 'a', 't', 'T', 'i', 'm', 'e', 0,
    'S', 'l', 'i', 'd', 'e', 'r', 'M', 'o', 'v', 'e', 0,
    's', 'i', 'n', 'g', 'l', 'e', 'S', 't', 'e', 'p', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 0,
    's', 'e', 't', 'M', 'i', 'n', 'i', 'm', 'u', 'm', 0,
    'O', 'n', 'V', 'i', 'e', 'w', 'p', 'o', 'r', 't', 0,
    'm', 'o', 'v', 'e', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'M', 'o', 'v', 'e', 'P', 'a', 'g', 'e', 'U', 'p', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'R', 'e', 'c', 't', 0,
    'S', 'e', 'l', 'e', 'c', 't', 'R', 'o', 'w', 's', 0,
    'N', 'o', 'D', 'r', 'a', 'g', 'D', 'r', 'o', 'p', 0,
    'c', 'o', 'm', 'm', 'i', 't', 'D', 'a', 't', 'a', 0,
    's', 'e', 't', 'C', 'h', 'e', 'c', 'k', 'e', 'd', 0,
    'a', 'u', 't', 'o', 'R', 'e', 'p', 'e', 'a', 't', 0,
    'w', 'h', 'e', 'e', 'l', 'E', 'v', 'e', 'n', 't', 0,
    's', 'h', 'o', 'w', 'N', 'o', 'r', 'm', 'a', 'l', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'S', 'p', 'a', 'n', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'I', 't', 'e', 'm', 0,
    'f', 'o', 'n', 't', 'I', 't', 'a', 'l', 'i', 'c', 0,
    'f', 'o', 'n', 't', 'W', 'e', 'i', 'g', 'h', 't', 0,
    'f', 'o', 'n', 't', 'F', 'a', 'm', 'i', 'l', 'y', 0,
    'b', 'l', 'o', 'c', 'k', 'C', 'o', 'u', 'n', 't', 0,
    'a', 'd', 'j', 'u', 's', 't', 'S', 'i', 'z', 'e', 0,
    'i', 's', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'd', 0,
    'i', 'n', 's', 'e', 'r', 't', 'H', 't', 'm', 'l', 0,
    's', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 's', 0,
    't', 'e', 's', 't', 'O', 'p', 't', 'i', 'o', 'n', 0,
    't', 'e', 'x', 't', 'F', 'o', 'r', 'm', 'a', 't', 0,
    's', 'e', 't', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 0,
    'i', 's', 'T', 'r', 'i', 's', 't', 'a', 't', 'e', 0,
    'i', 's', 'E', 'd', 'i', 't', 'a', 'b', 'l', 'e', 0,
    'c', 'h', 'e', 'c', 'k', 'S', 't', 'a', 't', 'e', 0,
    's', 'e', 't', 'P', 'i', 'c', 't', 'u', 'r', 'e', 0,
    'b', 'u', 't', 't', 'o', 'n', 'T', 'e', 'x', 't', 0,
    'f', 'o', 'r', 'e', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'a', 'd', 'd', 'P', 'o', 'l', 'y', 'g', 'o', 'n', 0,
    'a', 'd', 'd', 'E', 'l', 'l', 'i', 'p', 's', 'e', 0,
    's', 'e', 't', 'O', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'b', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 0,
    'p', 'a', 'i', 'n', 't', 'E', 'v', 'e', 'n', 't', 0,
    'g', 'e', 'n', 'M', 'i', 'p', 'M', 'a', 'p', 's', 0,
    's', 'e', 't', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 'I', 'c', 'o', 'n', 0,
    's', 'e', 't', 'P', 'a', 'l', 'e', 't', 't', 'e', 0,
    't', 'o', 'p', 'L', 'e', 'v', 'e', 'l', 'A', 't', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 'i', 'z', 'e', 0,
    's', 'e', 't', 'S', 't', 'r', 'e', 't', 'c', 'h', 0,
    'd', 'r', 'o', 'p', 'A', 'c', 't', 'i', 'o', 'n', 0,
    's', 't', 'a', 'r', 't', 'A', 'n', 'g', 'l', 'e', 0,
    'i', 's', 'R', 'e', 'a', 'd', 'O', 'n', 'l', 'y', 0,
    'i', 's', 'A', 'n', 'i', 'm', 'a', 't', 'e', 'd', 0,
    's', 'o', 'r', 't', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    's', 'e', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'i', 's', 'S', 'e', 'l', 'e', 'c', 't', 'e', 'd', 0,
    'i', 'n', 'v', 'a', 'l', 'i', 'd', 'a', 't', 'e', 0,
    's', 'e', 't', 'S', 'o', 'r', 't', 'i', 'n', 'g', 0,
    'i', 's', 'A', 'c', 'c', 'e', 'p', 't', 'e', 'd', 0,
    '_', '_', 'r', 's', 'h', 'i', 'f', 't', '_', '_', 0,
    '_', '_', 'l', 's', 'h', 'i', 'f', 't', '_', '_', 0,
    'd', 'e', 'c', 'o', 'd', 'e', 'D', 'a', 't', 'a', 0,
    'e', 'n', 'c', 'o', 'd', 'e', 'D', 'a', 't', 'a', 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,
    'B', 'a', 'c', 'k', 'B', 'u', 't', 't', 'o', 'n', 0,
    '_', '_', 'i', 'n', 'v', 'e', 'r', 't', '_', '_', 0,
    'p', 'a', 'g', 'e', 'A', 'd', 'd', 'e', 'd', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 'd', 0,
    'A', 'e', 'r', 'o', 'S', 't', 'y', 'l', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'a', 's', 'k', 0,
    'f', 'r', 'a', 'm', 'e', 'S', 'i', 'z', 'e', 0,
    'c', 'l', 'e', 'a', 'n', 'I', 'c', 'o', 'n', 0,
    'Q', 'U', 'n', 'd', 'o', 'V', 'i', 'e', 'w', 0,
    'u', 'n', 'd', 'o', 'L', 'i', 'm', 'i', 't', 0,
    'm', 'e', 'r', 'g', 'e', 'W', 'i', 't', 'h', 0,
    'N', 'o', 't', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'i', 't', 'e', 'm', 'B', 'e', 'l', 'o', 'w', 0,
    'i', 't', 'e', 'm', 'A', 'b', 'o', 'v', 'e', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 'A', 'l', 'l', 0,
    'c', 'o', 'l', 'l', 'a', 'p', 's', 'e', 'd', 0,
    's', 'e', 't', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    'Q', 'T', 'r', 'e', 'e', 'V', 'i', 'e', 'w', 0,
    'a', 'u', 't', 'o', 'R', 'a', 'i', 's', 'e', 0,
    'p', 'o', 'p', 'u', 'p', 'M', 'o', 'd', 'e', 0,
    'o', 'p', 'e', 'n', 'L', 'i', 'n', 'k', 's', 0,
    's', 'e', 't', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'Q', 'T', 'e', 'x', 't', 'E', 'd', 'i', 't', 0,
    's', 'e', 't', 'T', 'a', 'b', 'B', 'a', 'r', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'R', 'o', 'w', 0,
    'b', 'o', 't', 't', 'o', 'm', 'R', 'o', 'w', 0,
    's', 'e', 'l', 'e', 'c', 't', 'R', 'o', 'w', 0,
    'g', 'r', 'i', 'd', 'S', 't', 'y', 'l', 'e', 0,
    'r', 'o', 'w', 'H', 'e', 'i', 'g', 'h', 't', 0,
    'i', 's', 'M', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 'i', 'n', 'g', 0,
    't', 'a', 'b', 'B', 'u', 't', 't', 'o', 'n', 0,
    'R', 'i', 'g', 'h', 't', 'S', 'i', 'd', 'e', 0,
    'e', 'l', 'i', 'd', 'e', 'M', 'o', 'd', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'T', 'a', 'b', 0,
    'i', 'n', 's', 'e', 'r', 't', 'T', 'a', 'b', 0,
    't', 'e', 'x', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'p', 'o', 'p', 'u', 'p', 'R', 'e', 'c', 't', 0,
    'a', 'r', 'r', 'o', 'w', 'T', 'y', 'p', 'e', 0,
    'A', 'l', 't', 'e', 'r', 'n', 'a', 't', 'e', 0,
    'f', 'l', 'o', 'a', 't', 'a', 'b', 'l', 'e', 0,
    'c', 'h', 'e', 'c', 'k', 'T', 'y', 'p', 'e', 0,
    'B', 'e', 'g', 'i', 'n', 'n', 'i', 'n', 'g', 0,
    'S', 'O', '_', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'S', 'O', '_', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    'S', 'O', '_', 'B', 'u', 't', 't', 'o', 'n', 0,
    'v', 'i', 's', 'u', 'a', 'l', 'P', 'o', 's', 0,
    'C', 'T', '_', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'C', 'C', '_', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'C', 'E', '_', 'H', 'e', 'a', 'd', 'e', 'r', 0,
    'P', 'E', '_', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'S', 't', 'a', 't', 'e', '_', 'T', 'o', 'p', 0,
    'S', 't', 'a', 't', 'e', '_', 'O', 'f', 'f', 0,
    'Q', 'S', 'p', 'l', 'i', 't', 't', 'e', 'r', 0,
    'c', 'l', 'e', 'a', 'n', 'T', 'e', 'x', 't', 0,
    's', 'e', 't', 'S', 'u', 'f', 'f', 'i', 'x', 0,
    's', 'e', 't', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    'T', 'i', 'c', 'k', 's', 'L', 'e', 'f', 't', 0,
    'P', 'r', 'e', 'f', 'e', 'r', 'r', 'e', 'd', 0,
    'Q', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 0,
    'Q', 'S', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'F', 'r', 'a', 'm', 'e', 'R', 'a', 't', 'e', 0,
    'I', 'n', 'p', 'u', 't', 'M', 'o', 'v', 'e', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'i', 'n', 'g', 0,
    'Q', 'S', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 0,
    'f', 'o', 'r', 'c', 'e', 'S', 'h', 'o', 'w', 0,
    'a', 'u', 't', 'o', 'C', 'l', 'o', 's', 'e', 0,
    'a', 'u', 't', 'o', 'R', 'e', 's', 'e', 't', 0,
    's', 'e', 't', 'C', 'o', 'r', 'n', 'e', 'r', 0,
    's', 't', 'a', 't', 'u', 's', 'B', 'a', 'r', 0,
    's', 'o', 'r', 't', 'I', 't', 'e', 'm', 's', 0,
    's', 'e', 't', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'b', 'a', 't', 'c', 'h', 'S', 'i', 'z', 'e', 0,
    'Q', 'L', 'i', 's', 't', 'V', 'i', 'e', 'w', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'a', 's', 'k', 0,
    'b', 'a', 'c', 'k', 's', 'p', 'a', 'c', 'e', 0,
    'Q', 'L', 'i', 'n', 'e', 'E', 'd', 'i', 't', 0,
    'd', 'r', 'a', 'w', 'F', 'o', 'c', 'u', 's', 0,
    'd', 'r', 'a', 'w', 'C', 'h', 'e', 'c', 'k', 0,
    't', 'e', 'x', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'i', 'n', 'p', 'u', 't', 'M', 'o', 'd', 'e', 0,
    'g', 'e', 't', 'D', 'o', 'u', 'b', 'l', 'e', 0,
    'Q', 'G', 'r', 'o', 'u', 'p', 'B', 'o', 'x', 0,
    'f', 'i', 't', 'I', 'n', 'V', 'i', 'e', 'w', 0,
    's', 'e', 't', 'Z', 'S', 'c', 'a', 'l', 'e', 0,
    's', 'e', 't', 'Y', 'S', 'c', 'a', 'l', 'e', 0,
    's', 'e', 't', 'X', 'S', 'c', 'a', 'l', 'e', 0,
    's', 'e', 't', 'O', 'r', 'i', 'g', 'i', 'n', 0,
    'A', 'l', 'l', 'L', 'a', 'y', 'e', 'r', 's', 0,
    'I', 't', 'e', 'm', 'L', 'a', 'y', 'e', 'r', 0,
    's', 'h', 'a', 'p', 'e', 'M', 'o', 'd', 'e', 0,
    's', 'p', 'a', 'n', 'A', 'n', 'g', 'l', 'e', 0,
    'f', 'o', 'c', 'u', 's', 'I', 't', 'e', 'm', 0,
    'i', 's', 'C', 'l', 'i', 'p', 'p', 'e', 'd', 0,
    'm', 'a', 'p', 'T', 'o', 'I', 't', 'e', 'm', 0,
    's', 'e', 't', 'Z', 'V', 'a', 'l', 'u', 'e', 0,
    'h', 'a', 's', 'C', 'u', 'r', 's', 'o', 'r', 0,
    'b', 'l', 'u', 'r', 'H', 'i', 'n', 't', 's', 0,
    'a', 'd', 'd', 'A', 'n', 'c', 'h', 'o', 'r', 0,
    'r', 'e', 'c', 'o', 'g', 'n', 'i', 'z', 'e', 0,
    'd', 'r', 'a', 'w', 'F', 'r', 'a', 'm', 'e', 0,
    's', 'e', 't', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'F', 'i', 'e', 'l', 'd', 'R', 'o', 'l', 'e', 0,
    'L', 'a', 'b', 'e', 'l', 'R', 'o', 'l', 'e', 0,
    's', 'e', 'l', 'e', 'c', 't', 'U', 'r', 'l', 0,
    's', 'a', 'v', 'e', 'S', 't', 'a', 't', 'e', 0,
    'l', 'a', 'b', 'e', 'l', 'T', 'e', 'x', 't', 0,
    'q', 't', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'Q', 'D', 'i', 'r', 'M', 'o', 'd', 'e', 'l', 0,
    'A', 'p', 'p', 'l', 'y', 'R', 'o', 'l', 'e', 0,
    'R', 'e', 's', 'e', 't', 'R', 'o', 'l', 'e', 0,
    'K', 'd', 'e', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'M', 'a', 'c', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'W', 'i', 'n', 'L', 'a', 'y', 'o', 'u', 't', 0,
    's', 'e', 't', 'R', 'e', 's', 'u', 'l', 't', 0,
    'n', 'o', 't', 'c', 'h', 'S', 'i', 'z', 'e', 0,
    'Q', 'D', 'a', 't', 'e', 'E', 'd', 'i', 't', 0,
    'Q', 'T', 'i', 'm', 'e', 'E', 'd', 'i', 't', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 'A', 't', 0,
    's', 'p', 'l', 'i', 't', 'P', 'a', 't', 'h', 0,
    's', 'e', 't', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'e', 'r', 0,
    'h', 'i', 'd', 'e', 'P', 'o', 'p', 'u', 'p', 0,
    's', 'h', 'o', 'w', 'P', 'o', 'p', 'u', 'p', 0,
    'v', 'a', 'l', 'i', 'd', 'a', 't', 'o', 'r', 0,
    'Q', 'C', 'o', 'm', 'b', 'o', 'B', 'o', 'x', 0,
    'Q', 'C', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 0,
    's', 'h', 'o', 'w', 'T', 'o', 'd', 'a', 'y', 0,
    'p', 'a', 'i', 'n', 't', 'C', 'e', 'l', 'l', 0,
    'y', 'e', 'a', 'r', 'S', 'h', 'o', 'w', 'n', 0,
    'c', 'h', 'e', 'c', 'k', 'e', 'd', 'I', 'd', 0,
    'a', 'd', 'd', 'B', 'u', 't', 't', 'o', 'n', 0,
    'e', 'x', 'c', 'l', 'u', 's', 'i', 'v', 'e', 0,
    'a', 'd', 'd', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'a', 'd', 'd', 'W', 'i', 'd', 'g', 'e', 't', 0,
    'M', 'a', 'n', 'y', 'C', 'o', 'l', 'o', 'r', 0,
    'a', 'd', 'd', 'A', 'c', 't', 'i', 'o', 'n', 0,
    's', 'h', 'o', 'r', 't', 'c', 'u', 't', 's', 0,
    'A', 'b', 'o', 'u', 't', 'R', 'o', 'l', 'e', 0,
    'N', 'o', 'B', 'u', 't', 't', 'o', 'n', 's', 0,
    'P', 'l', 'u', 's', 'M', 'i', 'n', 'u', 's', 0,
    'B', 'e', 'l', 'o', 'w', 'I', 't', 'e', 'm', 0,
    'A', 'b', 'o', 'v', 'e', 'I', 't', 'e', 'm', 0,
    'd', 'r', 'o', 'p', 'E', 'v', 'e', 'n', 't', 0,
    's', 't', 'a', 'r', 't', 'D', 'r', 'a', 'g', 0,
    'M', 'o', 'v', 'e', 'R', 'i', 'g', 'h', 't', 0,
    's', 'e', 'l', 'e', 'c', 't', 'A', 'l', 'l', 0,
    'r', 'o', 'o', 't', 'I', 'n', 'd', 'e', 'x', 0,
    'h', 'e', 'l', 'p', 'E', 'v', 'e', 'n', 't', 0,
    'h', 'i', 't', 'B', 'u', 't', 't', 'o', 'n', 0,
    'i', 's', 'C', 'h', 'e', 'c', 'k', 'e', 'd', 0,
    'h', 'i', 'd', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'h', 'o', 'w', 'E', 'v', 'e', 'n', 't', 0,
    'm', 'o', 'v', 'e', 'E', 'v', 'e', 'n', 't', 0,
    's', 'e', 't', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    's', 'e', 't', 'I', 'n', 'd', 'e', 'n', 't', 0,
    't', 'e', 'x', 't', 'W', 'i', 'd', 't', 'h', 0,
    't', 'a', 'k', 'e', 'C', 'h', 'i', 'l', 'd', 0,
    'w', 'h', 'a', 't', 's', 'T', 'h', 'i', 's', 0,
    's', 't', 'a', 't', 'u', 's', 'T', 'i', 'p', 0,
    'f', 'i', 'n', 'd', 'I', 't', 'e', 'm', 's', 0,
    'R', 'e', 'c', 't', 'a', 'n', 'g', 'l', 'e', 0,
    's', 'e', 't', 'A', 'c', 't', 'i', 'v', 'e', 0,
    'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'c', 'a', 'c', 'h', 'e', 'M', 'o', 'd', 'e', 0,
    'f', 'r', 'a', 'm', 'e', 'R', 'e', 'c', 't', 0,
    'C', 'a', 'c', 'h', 'e', 'N', 'o', 'n', 'e', 0,
    'i', 's', 'V', 'i', 's', 'i', 'b', 'l', 'e', 0,
    's', 'e', 't', 'O', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'O', 'f', 'f', 's', 'e', 't', 0,
    'a', 'd', 'd', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    'l', 'i', 'n', 'e', 'W', 'i', 'd', 't', 'h', 0,
    's', 't', 'y', 'l', 'e', 'H', 'i', 'n', 't', 0,
    's', 'c', 'e', 'n', 'e', 'R', 'e', 'c', 't', 0,
    's', 'c', 'r', 'e', 'e', 'n', 'P', 'o', 's', 0,
    't', 'i', 'm', 'e', 's', 't', 'a', 'm', 'p', 0,
    'm', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 's', 0,
    's', 'e', 't', 'P', 'i', 'x', 'm', 'a', 'p', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 0,
    'c', 'o', 'l', 'o', 'r', 'S', 'p', 'e', 'c', 0,
    'p', 'a', 'g', 'e', 'C', 'o', 'u', 'n', 't', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'a', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'm', 'a', 'x', 'L', 'e', 'n', 'g', 't', 'h', 0,
    'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 'd', 0,
    'i', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    't', 'r', 'a', 'n', 's', 'p', 'o', 's', 'e', 0,
    'c', 'l', 'a', 's', 's', 'N', 'a', 'm', 'e', 0,
    'r', 'e', 'c', 'e', 'i', 'v', 'e', 'r', 's', 0,
    's', 'e', 't', 'P', 'a', 'r', 'e', 'n', 't', 0,
    'i', 's', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0,
    'r', 'e', 'c', 't', 'a', 'n', 'g', 'l', 'e', 0,
    's', 'e', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    't', 'r', 'a', 'n', 's', 'l', 'a', 't', 'e', 0,
    's', 'e', 'n', 'd', 'E', 'v', 'e', 'n', 't', 0,
    'p', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'e', 'v', 'e', 'n', 't', 'T', 'e', 's', 't', 0,
    't', 'r', 'i', 'g', 'g', 'e', 'r', '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,
    'd', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'N', 'o', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'u', 'b', 'T', 'i', 't', 'l', 'e', 0,
    's', 'e', 't', 'F', 'i', 'e', 'l', 'd', 0,
    'M', 'a', 'c', 'S', 't', 'y', 'l', 'e', 0,
    's', 'e', 't', 'S', 't', 'a', 'c', 'k', 0,
    's', 'e', 't', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 't', 'C', 'l', 'e', 'a', 'n', 0,
    'e', 'n', 'd', 'M', 'a', 'c', 'r', 'o', 0,
    'r', 'e', 'd', 'o', 'T', 'e', 'x', 't', 0,
    'u', 'n', 'd', 'o', 'T', 'e', 'x', 't', 0,
    'a', 'd', 'd', 'S', 't', 'a', 'c', 'k', 0,
    'U', 's', 'e', 'r', 'F', 'l', 'a', 'g', 0,
    'a', 'd', 'd', 'C', 'h', 'i', 'l', 'd', 0,
    'd', 'r', 'a', 'w', 'T', 'r', 'e', 'e', 0,
    'r', 'e', 'e', 'x', 'p', 'a', 'n', 'd', 0,
    'e', 'x', 'p', 'a', 'n', 'd', 'e', 'd', 0,
    'h', 'i', 'd', 'e', 'T', 'e', 'x', 't', 0,
    's', 'h', 'o', 'w', 'T', 'e', 'x', 't', 0,
    'Q', 'T', 'o', 'o', 'l', 'T', 'i', 'p', 0,
    'Q', 'T', 'o', 'o', 'l', 'B', 'o', 'x', 0,
    'Q', 'T', 'o', 'o', 'l', 'B', 'a', 'r', 0,
    'A', 'u', 't', 'o', 'N', 'o', 'n', 'e', 0,
    'b', 'a', 'c', 'k', 'w', 'a', 'r', 'd', 0,
    'r', 'o', 'w', 'M', 'o', 'v', 'e', 'd', 0,
    's', 'h', 'o', 'w', 'G', 'r', 'i', 'd', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'A', 't', 0,
    'a', 'u', 't', 'o', 'H', 'i', 'd', 'e', 0,
    't', 'a', 'b', 'M', 'o', 'v', 'e', 'd', 0,
    'L', 'e', 'f', 't', 'S', 'i', 'd', 'e', 0,
    'd', 'r', 'a', 'w', 'B', 'a', 's', 'e', 0,
    'W', 'r', 'a', 'p', 'T', 'e', 'x', 't', 0,
    't', 'a', 'b', 'W', 'i', 'd', 't', 'h', 0,
    'm', 'e', 'n', 'u', 'R', 'e', 'c', 't', 0,
    'H', 'a', 's', 'F', 'r', 'a', 'm', 'e', 0,
    'S', 'o', 'r', 't', 'D', 'o', 'w', 'n', 0,
    'i', 'n', 'i', 't', 'F', 'r', 'o', 'm', 0,
    'S', 'O', '_', 'F', 'r', 'a', 'm', 'e', 0,
    'P', 'E', '_', 'F', 'r', 'a', 'm', 'e', 0,
    'S', 't', 'a', 't', 'e', '_', 'O', 'n', 0,
    't', 'e', 'x', 't', 'R', 'o', 'l', 'e', 0,
    'r', 'e', 'f', 'o', 'r', 'm', 'a', 't', 0,
    'S', 't', 'a', 'c', 'k', 'A', 'l', 'l', 0,
    'S', 't', 'a', 'c', 'k', 'O', 'n', 'e', 0,
    's', 'p', 'l', 'i', 't', 't', 'e', 'r', 0,
    'g', 'e', 't', 'R', 'a', 'n', 'g', 'e', 0,
    's', 'e', 't', 'S', 'i', 'z', 'e', 's', 0,
    'Q', 'S', 'p', 'i', 'n', 'B', 'o', 'x', 0,
    'G', 'r', 'o', 'w', 'F', 'l', 'a', 'g', 0,
    'S', 'n', 'a', 'p', 'T', 'i', 'm', 'e', 0,
    'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'e', 'r', 0,
    'D', 'r', 'a', 'g', 'g', 'i', 'n', 'g', 0,
    's', 'h', 'o', 'w', 'M', 'e', 'n', 'u', 0,
    'c', 'a', 'n', 'c', 'e', 'l', 'e', 'd', 0,
    's', 'e', 't', 'L', 'a', 'b', 'e', 'l', 0,
    'c', 'a', 'n', 'P', 'a', 's', 't', 'e', 0,
    'c', 'h', 'e', 'c', 'k', 'B', 'o', 'x', 0,
    'q', 'u', 'e', 's', 't', 'i', 'o', 'n', 0,
    'F', 'l', 'a', 'g', 'M', 'a', 's', 'k', 0,
    'Q', 'M', 'e', 'n', 'u', 'B', 'a', 'r', 0,
    'c', 'o', 'l', 'l', 'a', 'p', 's', 'e', 0,
    'a', 'c', 't', 'i', 'o', 'n', 'A', 't', 0,
    'i', 's', 'S', 'h', 'a', 'd', 'e', 'd', 0,
    'c', 'l', 'o', 's', 'a', 'b', 'l', 'e', 0,
    'Q', 'M', 'd', 'i', 'A', 'r', 'e', 'a', 0,
    't', 'a', 'b', 'S', 'h', 'a', 'p', 'e', 0,
    'e', 'd', 'i', 't', 'I', 't', 'e', 'm', 0,
    'g', 'r', 'i', 'd', 'S', 'i', 'z', 'e', 0,
    'm', 'o', 'v', 'e', 'm', 'e', 'n', 't', 0,
    'I', 'c', 'o', 'n', 'M', 'o', 'd', 'e', 0,
    'L', 'i', 's', 't', 'M', 'o', 'd', 'e', 0,
    'd', 'e', 's', 'e', 'l', 'e', 'c', 't', 0,
    'e', 'c', 'h', 'o', 'M', 'o', 'd', 'e', 0,
    'P', 'a', 's', 's', 'w', 'o', 'r', 'd', 0,
    'o', 'v', 'e', 'r', 'f', 'l', 'o', 'w', 0,
    's', 'e', 't', 'M', 'o', 'v', 'i', 'e', 0,
    's', 'e', 't', 'B', 'u', 'd', 'd', 'y', 0,
    'w', 'o', 'r', 'd', 'W', 'r', 'a', 'p', 0,
    'i', 'n', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'I', 'n', 't', 'I', 'n', 'p', 'u', 't', 0,
    'c', 'e', 'l', 'l', 'R', 'e', 'c', 't', 0,
    'c', 'e', 'n', 't', 'e', 'r', 'O', 'n', 0,
    's', 'e', 't', 'S', 'c', 'e', 'n', 'e', 0,
    'd', 'r', 'a', 'g', 'M', 'o', 'd', 'e', 0,
    'N', 'o', 'A', 'n', 'c', 'h', 'o', 'r', 0,
    'i', 's', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'z', 'C', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    's', 'e', 't', 'S', 'c', 'a', 'l', 'e', 0,
    'i', 's', 'W', 'i', 'n', 'd', 'o', 'w', 0,
    'i', 's', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'F', 'o', 'c', 'u', 's', 0,
    'h', 'a', 's', 'F', 'o', 'c', 'u', 's', 0,
    's', 'e', 't', 'G', 'r', 'o', 'u', 'p', 0,
    's', 't', 'r', 'e', 'n', 'g', 't', 'h', 0,
    'g', 'e', 's', 't', 'u', 'r', 'e', 's', 0,
    'Q', 'G', 'e', 's', 't', 'u', 'r', 'e', 0,
    'A', 'l', 'l', 'F', 'o', 'n', 't', 's', 0,
    'T', 'r', 'a', 's', 'h', 'c', 'a', 'n', 0,
    'f', 'i', 'l', 'e', 'M', 'o', 'd', 'e', 0,
    'v', 'i', 'e', 'w', 'M', 'o', 'd', 'e', 0,
    'F', 'i', 'l', 'e', 'T', 'y', 'p', 'e', 0,
    'f', 'i', 'l', 'e', 'I', 'c', 'o', 'n', 0,
    'Y', 'e', 's', 'T', 'o', 'A', 'l', 'l', 0,
    'H', 'e', 'l', 'p', 'R', 'o', 'l', 'e', 0,
    'r', 'e', 'j', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 't', 'M', 'o', 'd', 'a', 'l', 0,
    'R', 'e', 'j', 'e', 'c', 't', 'e', 'd', 0,
    'c', 'o', 'm', 'p', 'l', 'e', 't', 'e', 0,
    's', 'e', 't', 'P', 'o', 'p', 'u', 'p', 0,
    'u', 'n', 'p', 'o', 'l', 'i', 's', 'h', 0,
    'a', 'd', 'd', 'I', 't', 'e', 'm', 's', 0,
    'i', 't', 'e', 'm', 'I', 'c', 'o', 'n', 0,
    'N', 'o', 'I', 'n', 's', 'e', 'r', 't', 0,
    'f', 'i', 'n', 'd', 'D', 'a', 't', 'a', 0,
    'f', 'i', 'n', 'd', 'T', 'e', 'x', 't', 0,
    'm', 'a', 'x', 'C', 'o', 'u', 'n', 't', 0,
    'g', 'e', 't', 'C', 'o', 'l', 'o', 'r', 0,
    'a', 'd', 'd', 'S', 't', 'r', 'u', 't', 0,
    'w', 'i', 'd', 'g', 'e', 't', 'A', 't', 0,
    'm', 'e', 'n', 'u', 'R', 'o', 'l', 'e', 0,
    'Q', 'u', 'i', 't', 'R', 'o', 'l', 'e', 0,
    'a', 'c', 't', 'i', 'v', 'a', 't', 'e', 0,
    'i', 'c', 'o', 'n', 'T', 'e', 'x', 't', 0,
    'l', 'i', 'n', 'e', 'E', 'd', 'i', 't', 0,
    's', 't', 'e', 'p', 'D', 'o', 'w', 'n', 0,
    'h', 'a', 's', 'F', 'r', 'a', 'm', 'e', 0,
    's', 'e', 't', 'F', 'r', 'a', 'm', 'e', 0,
    'w', 'r', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    'S', 't', 'e', 'p', 'N', 'o', 'n', 'e', 0,
    'p', 'a', 'g', 'e', 'S', 't', 'e', 'p', 0,
    's', 'e', 't', 'S', 't', 'a', 't', 'e', 0,
    'M', 'o', 'v', 'e', 'N', 'e', 'x', 't', 0,
    'M', 'o', 'v', 'e', 'H', 'o', 'm', 'e', 0,
    'M', 'o', 'v', 'e', 'L', 'e', 'f', 't', 0,
    'M', 'o', 'v', 'e', 'D', 'o', 'w', 'n', 0,
    's', 'c', 'r', 'o', 'l', 'l', 'T', 'o', 0,
    'D', 'r', 'o', 'p', 'O', 'n', 'l', 'y', 0,
    'D', 'r', 'a', 'g', 'O', 'n', 'l', 'y', 0,
    'r', 'e', 'l', 'e', 'a', 's', 'e', 'd', 0,
    's', 'h', 'o', 'r', 't', 'c', 'u', 't', 0,
    'i', 'c', 'o', 'n', 'S', 'i', 'z', 'e', 0,
    'b', 'a', 's', 'e', 'S', 'i', 'z', 'e', 0,
    'd', 'e', 'c', 'i', 'm', 'a', 'l', 's', 0,
    's', 'e', 't', 'R', 'a', 'n', 'g', 'e', 0,
    'u', 's', 'e', 'r', 'D', 'a', 't', 'a', 0,
    'i', 't', 'e', 'm', 'T', 'e', 'x', 't', 0,
    'e', 'd', 'i', 't', 'a', 'b', 'l', 'e', 0,
    's', 'i', 'z', 'e', 'H', 'i', 'n', 't', 0,
    't', 'a', 'k', 'e', 'I', 't', 'e', 'm', 0,
    'g', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    's', 'e', 't', 'T', 'i', 't', 'l', 'e', 0,
    'I', 'n', 'a', 'c', 't', 'i', 'v', 'e', 0,
    'f', 'e', 'a', 't', 'u', 'r', 'e', 's', 0,
    'f', 'i', 'l', 'l', 'R', 'u', 'l', 'e', 0,
    'c', 'l', 'i', 'p', 'P', 'a', 't', 'h', 0,
    's', 'e', 't', 'B', 'r', 'u', 's', 'h', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'G', 'L', 0,
    'v', 'i', 'e', 'w', 'p', 'o', 'r', 't', 0,
    's', 'e', 't', 'F', 'l', 'a', 'g', 's', 0,
    't', 'a', 'b', 'A', 'r', 'r', 'a', 'y', 0,
    't', 'a', 'b', 'S', 't', 'o', 'p', 's', 0,
    'f', 'o', 'n', 't', 'I', 'n', 'f', 'o', 0,
    'v', 'e', 'l', 'o', 'c', 'i', 't', 'y', 0,
    's', 'c', 'e', 'n', 'e', 'P', 'o', 's', 0,
    'r', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'S', 'h', 'a', 'p', 'e', 0,
    's', 'e', 't', 'C', 'o', 'l', 'o', 'r', 0,
    's', 'e', 't', 'S', 't', 'y', 'l', 'e', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'a', 'n', 'c', 'h', 'o', 'r', 'A', 't', 0,
    'U', 's', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'n', 'a', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    '_', '_', 'i', 's', 'u', 'b', '_', '_', 0,
    'c', 'r', 'i', 't', 'i', 'c', 'a', 'l', 0,
    'd', 'a', 't', 'e', 'T', 'i', 'm', 'e', 0,
    's', 'e', 't', 'A', 'n', 'g', 'l', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 't', 0,
    'i', 's', 'H', 'i', 'd', 'd', 'e', 'n', 0,
    'p', 'r', 'o', 'g', 'r', 'e', 's', 's', 0,
    'f', 'i', 'l', 'e', 'I', 'n', 'f', 'o', 0,
    'r', 'o', 'o', 't', 'P', 'a', 't', 'h', 0,
    'f', 'i', 'l', 'e', 'P', 'a', 't', 'h', 0,
    'f', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    't', 'i', 'm', 'e', 'S', 'p', 'e', 'c', 0,
    'a', 'c', 'c', 'e', 'p', 't', 'e', 'd', 0,
    'p', 'r', 'i', 'o', 'r', 'i', 't', 'y', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 's', 0,
    '_', '_', 'i', 'a', 'd', 'd', '_', '_', 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,
    'f', 'i', 'n', 'i', 's', 'h', 'e', 'd', 0,
    'N', 'o', 'n', 'M', 'o', 'd', 'a', 'l', 0,
    '_', '_', 'b', 'o', 'o', 'l', '_', '_', 0,
    '_', '_', 'i', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'a', 'n', 'd', '_', '_', 0,
    'p', 'a', 'g', 'e', 'I', 'd', 's', 0,
    's', 't', 'a', 'r', 't', 'I', 'd', 0,
    's', 'e', 't', 'P', 'a', 'g', 'e', 0,
    'a', 'd', 'd', 'P', 'a', 'g', 'e', 0,
    'Q', 'W', 'i', 'z', 'a', 'r', 'd', 0,
    'c', 'h', 'i', 'l', 'd', 'A', 't', 0,
    'm', 'a', 'p', 'F', 'r', 'o', 'm', 0,
    'i', 's', 'C', 'l', 'e', 'a', 'n', 0,
    'c', 'a', 'n', 'R', 'e', 'd', 'o', 0,
    'c', 'a', 'n', 'U', 'n', 'd', 'o', 0,
    'd', 'r', 'a', 'w', 'R', 'o', 'w', 0,
    'A', 'u', 't', 'o', 'A', 'l', 'l', 0,
    'f', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    's', 'e', 't', 'S', 'p', 'a', 'n', 0,
    's', 'h', 'o', 'w', 'R', 'o', 'w', 0,
    'h', 'i', 'd', 'e', 'R', 'o', 'w', 0,
    't', 'a', 'b', 'R', 'e', 'c', 't', 0,
    't', 'a', 'b', 'D', 'a', 't', 'a', 0,
    't', 'a', 'b', 'I', 'c', 'o', 'n', 0,
    't', 'a', 'b', 'T', 'e', 'x', 't', 0,
    'Q', 'T', 'a', 'b', 'B', 'a', 'r', 0,
    'U', 'n', 'k', 'n', 'o', 'w', 'n', 0,
    'S', 'H', '_', 'M', 'a', 's', 'k', 0,
    'O', 'n', 'l', 'y', 'O', 'n', 'e', 0,
    'T', 'e', 'a', 'r', 'O', 'f', 'f', 0,
    'S', 'u', 'b', 'M', 'e', 'n', 'u', 0,
    'H', 'a', 's', 'M', 'e', 'n', 'u', 0,
    'R', 'o', 'u', 'n', 'd', 'e', 'd', 0,
    'C', 'T', '_', 'M', 'e', 'n', 'u', 0,
    'S', 'C', '_', 'N', 'o', 'n', 'e', 0,
    'C', 'C', '_', 'D', 'i', 'a', 'l', 0,
    'r', 'e', 'p', 'a', 'i', 'n', 't', 0,
    'N', 'o', 'T', 'i', 'c', 'k', 's', 0,
    'Q', 'S', 'l', 'i', 'd', 'e', 'r', 0,
    'z', 'o', 'o', 'm', 'O', 'u', 't', 0,
    'a', 'd', 'd', 'M', 'e', 'n', 'u', 0,
    'm', 'd', 'i', 'A', 'r', 'e', 'a', 0,
    's', 'e', 't', 'F', 'l', 'o', 'w', 0,
    'B', 'a', 't', 'c', 'h', 'e', 'd', 0,
    'd', 'i', 's', 'p', 'l', 'a', 'y', 0,
    'O', 'u', 't', 'l', 'i', 'n', 'e', 0,
    'm', 'e', 'n', 'u', 'B', 'a', 'r', 0,
    'i', 'n', 't', 'S', 't', 'e', 'p', 0,
    'g', 'e', 't', 'T', 'e', 'x', 't', 0,
    'm', 'o', 'v', 'a', 'b', 'l', 'e', 0,
    's', 'e', 't', 'F', 'l', 'a', 't', 0,
    's', 'e', 't', 'A', 'x', 'i', 's', 0,
    'a', 'p', 'p', 'l', 'y', 'T', 'o', 0,
    'a', 'd', 'd', 'L', 'i', 'n', 'e', 0,
    'N', 'o', 'I', 'n', 'd', 'e', 'x', 0,
    'v', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'i', 's', 'P', 'a', 'n', 'e', 'l', 0,
    'a', 'd', 'v', 'a', 'n', 'c', 'e', 0,
    'y', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'x', 'M', 'a', 'r', 'g', 'i', 'n', 0,
    'N', 'o', 'C', 'a', 'c', 'h', 'e', 0,
    'y', 'O', 'f', 'f', 's', 'e', 't', 0,
    'x', 'O', 'f', 'f', 's', 'e', 't', 0,
    'g', 'e', 's', 't', 'u', 'r', 'e', 0,
    'N', 'o', 'F', 'r', 'a', 'm', 'e', 0,
    'g', 'e', 't', 'F', 'o', 'n', 't', 0,
    'N', 'e', 't', 'w', 'o', 'r', 'k', 0,
    'h', 'i', 's', 't', 'o', 'r', 'y', 0,
    'c', 'a', 'p', 't', 'i', 'o', 'n', 0,
    'A', 'n', 'y', 'F', 'i', 'l', 'e', 0,
    'D', 'i', 's', 'c', 'a', 'r', 'd', 0,
    'N', 'o', 'T', 'o', 'A', 'l', 'l', 0,
    'S', 'a', 'v', 'e', 'A', 'l', 'l', 0,
    'Y', 'e', 's', 'R', 'o', 'l', 'e', 0,
    't', 'o', 'F', 'i', 'r', 's', 't', 0,
    's', 'e', 't', 'V', 'i', 'e', 'w', 0,
    'i', 'n', 'i', 't', 'i', 'a', 'l', 0,
    'Q', 'D', 'i', 'a', 'l', 'o', 'g', 0,
    'a', 'd', 'd', 'I', 't', 'e', 'm', 0,
    'Q', 'L', 'a', 'y', 'o', 'u', 't', 0,
    'a', 'b', 'o', 'u', 't', 'Q', 't', 0,
    'd', 'e', 's', 'k', 't', 'o', 'p', 0,
    'h', 'o', 'v', 'e', 'r', 'e', 'd', 0,
    's', 'e', 't', 'M', 'e', 'n', 'u', 0,
    'N', 'o', 'S', 't', 'a', 't', 'e', 0,
    't', 'r', 'i', 'g', 'g', 'e', 'r', 0,
    'M', 'o', 'v', 'e', 'E', 'n', 'd', 0,
    'i', 'n', 'd', 'e', 'x', 'A', 't', 0,
    't', 'o', 'g', 'g', 'l', 'e', 'd', 0,
    'c', 'l', 'i', 'c', 'k', 'e', 'd', 0,
    'c', 'h', 'e', 'c', 'k', 'e', 'd', 0,
    'p', 'r', 'e', 's', 's', 'e', 'd', 0,
    's', 'e', 't', 'D', 'o', 'w', 'n', 0,
    'i', 's', 'M', 'o', 'd', 'a', 'l', 0,
    'm', 'i', 'n', 'i', 'm', 'u', 'm', 0,
    'r', 'o', 'w', 'S', 'p', 'a', 'n', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 0,
    's', 'e', 't', 'I', 'c', 'o', 'n', 0,
    't', 'o', 'o', 'l', 'T', 'i', 'p', 0,
    's', 'e', 't', 'I', 't', 'e', 'm', 0,
    'e', 'x', 'p', 'o', 's', 'e', 'd', 0,
    's', 'e', 't', 'M', 'a', 's', 'k', 0,
    'a', 'd', 'd', 'T', 'e', 'x', 't', 0,
    'p', 'o', 'l', 'y', 'g', 'o', 'n', 0,
    'a', 'd', 'd', 'R', 'e', 'c', 't', 0,
    'c', 'o', 'm', 'b', 'i', 'n', 'e', 0,
    'o', 'p', 'a', 'c', 'i', 't', 'y', 0,
    'p', 'i', 'c', 't', 'u', 'r', 'e', 0,
    's', 'e', 't', 'M', 'o', 'd', 'e', 0,
    'p', 'a', 'i', 'n', 't', 'G', 'L', 0,
    'b', 'u', 'f', 'f', 'e', 'r', 's', 0,
    's', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'd', 'e', 's', 't', 'r', 'o', 'y', 0,
    'r', 'e', 's', 'i', 'z', 'e', 'd', 0,
    'q', 'u', 'a', 'l', 'i', 't', 'y', 0,
    'd', 'e', 'v', 'T', 'y', 'p', 'e', 0,
    's', 'e', 't', 'F', 'o', 'n', 't', 0,
    's', 'e', 't', 'F', 'l', 'a', 'g', 0,
    's', 'p', 'a', 'c', 'i', 'n', 'g', 0,
    's', 't', 'r', 'e', 't', 'c', 'h', 0,
    'Q', 'A', 'c', 't', 'i', 'o', 'n', 0,
    'l', 'a', 's', 't', 'P', 'o', 's', 0,
    'a', 'c', 't', 'i', 'o', 'n', 's', 0,
    'o', 'l', 'd', 'S', 'i', 'z', 'e', 0,
    'b', 'u', 't', 't', 'o', 'n', 's', 0,
    'h', 'o', 't', 'S', 'p', 'o', 't', 0,
    'c', 'h', 'a', 'n', 'g', 'e', 'd', 0,
    'n', 'e', 'w', 'S', 'i', 'z', 'e', 0,
    'h', 'i', 't', 'T', 'e', 's', 't', 0,
    'p', 'a', 'l', 'e', 't', 't', 'e', 0,
    'I', 'n', 'v', 'a', 'l', 'i', 'd', 0,
    'Q', 'W', 'i', 'd', 'g', 'e', 't', 0,
    's', 'e', 't', 'R', 'e', 'c', 't', 0,
    's', 'e', 't', 'H', 't', 'm', 'l', 0,
    's', 'e', 't', 'T', 'e', 'x', 't', 0,
    'w', 'a', 'r', 'n', 'i', 'n', 'g', 0,
    's', 'e', 't', 'L', 'i', 'n', 'e', 0,
    'v', 'a', 'r', 'i', 'a', 'n', 't', 0,
    'c', 'o', 'm', 'm', 'a', 'n', 'd', 0,
    'a', 'd', 'd', 'P', 'a', 't', 'h', 0,
    't', 'i', 'm', 'e', 'o', 'u', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 0,
    'r', 'e', 'f', 'r', 'e', 's', 'h', 0,
    's', 'o', 'r', 't', 'i', 'n', 'g', 0,
    's', 'e', 't', 'P', 'a', 't', 'h', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 0,
    's', 'e', 't', 'T', 'i', 'm', 'e', 0,
    'r', 'e', 's', 't', 'a', 'r', 't', 0,
    's', 'e', 't', 'D', 'a', 't', 'e', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'v', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'c', 'o', 'n', 't', 'e', 'x', 't', 0,
    'o', 'p', 't', 'i', 'o', 'n', 's', 0,
    'i', 'n', 'd', 'e', 'x', 'O', 'f', 0,
    'i', 's', 'E', 'm', 'p', 't', 'y', 0,
    '_', '_', 'l', 'e', 'n', '_', '_', 0,
    'e', 'n', 't', 'e', 'r', 'e', 'd', 0,
    's', 'e', 'c', 't', 'i', 'o', 'n', 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,
    'm', 'e', 's', 's', 'a', 'g', 'e', 0,
    '_', '_', 'a', 'n', 'd', '_', '_', 0,
    '_', '_', 'x', 'o', 'r', '_', '_', 0,
    '_', '_', 'i', 'n', 't', '_', '_', 0,
    '_', '_', 'i', 'o', 'r', '_', '_', 0,
    'w', 'i', 'z', 'a', 'r', 'd', 0,
    'n', 'e', 'x', 't', 'I', 'd', 0,
    'r', 'e', 'l', 'o', 'a', 'd', 0,
    't', 'a', 'b', 'B', 'a', 'r', 0,
    't', 'o', 'p', 'R', 'o', 'w', 0,
    'a', 'd', 'd', 'T', 'a', 'b', 0,
    'S', 'o', 'r', 't', 'U', 'p', 0,
    'M', 'i', 'd', 'd', 'l', 'e', 0,
    'S', 'O', '_', 'T', 'a', 'b', 0,
    'S', 'C', '_', 'A', 'l', 'l', 0,
    'o', 'p', 'a', 'q', 'u', 'e', 0,
    'f', 'i', 'n', 'i', 's', 'h', 0,
    's', 'e', 't', 'B', 'a', 'r', 0,
    'z', 'o', 'o', 'm', 'I', 'n', 0,
    'E', 's', 'c', 'a', 'p', 'e', 0,
    'Y', 'e', 's', 'A', 'l', 'l', 0,
    'N', 'o', 'I', 'c', 'o', 'n', 0,
    'c', 'o', 'r', 'n', 'e', 'r', 0,
    'A', 'd', 'j', 'u', 's', 't', 0,
    'S', 't', 'a', 't', 'i', 'c', 0,
    'N', 'o', 'E', 'c', 'h', 'o', 0,
    'F', 'i', 'l', 'l', 'e', 'd', 0,
    'Q', 'L', 'a', 'b', 'e', 'l', 0,
    'g', 'e', 't', 'I', 'n', 't', 0,
    'i', 's', 'F', 'l', 'a', 't', 0,
    'N', 'o', 'D', 'r', 'a', 'g', 0,
    'z', 'S', 'c', 'a', 'l', 'e', 0,
    'y', 'S', 'c', 'a', 'l', 'e', 0,
    'x', 'S', 'c', 'a', 'l', 'e', 0,
    'n', 'e', 'w', 'P', 'o', 's', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 0,
    'o', 'r', 'i', 'g', 'i', 'n', 0,
    'z', 'V', 'a', 'l', 'u', 'e', 0,
    'm', 'o', 'v', 'e', 'B', 'y', 0,
    'a', 'd', 'd', 'R', 'o', 'w', 0,
    'R', 'e', 'j', 'e', 'c', 't', 0,
    'A', 'c', 'c', 'e', 'p', 't', 0,
    'L', 'o', 'o', 'k', 'I', 'n', 0,
    'D', 'e', 't', 'a', 'i', 'l', 0,
    's', 'u', 'n', 'k', 'e', 'n', 0,
    'C', 'a', 'n', 'c', 'e', 'l', 0,
    'I', 'g', 'n', 'o', 'r', 'e', 0,
    'r', 'e', 'j', 'e', 'c', 't', 0,
    't', 'o', 'N', 'e', 'x', 't', 0,
    't', 'o', 'L', 'a', 's', 't', 0,
    'Q', 'S', 't', 'y', 'l', 'e', 0,
    'i', 't', 'e', 'm', 'A', 't', 0,
    's', 't', 'e', 'p', 'U', 'p', 0,
    's', 't', 'e', 'p', 'B', 'y', 0,
    'Q', 'F', 'r', 'a', 'm', 'e', 0,
    'O', 'n', 'I', 't', 'e', 'm', 0,
    'M', 'o', 'v', 'e', 'U', 'p', 0,
    'N', 'o', 'H', 'i', 'n', 't', 0,
    't', 'o', 'g', 'g', 'l', 'e', 0,
    'i', 's', 'D', 'o', 'w', 'n', 0,
    'r', 'a', 'i', 's', 'e', '_', 0,
    'N', 'o', 'W', 'r', 'a', 'p', 0,
    'i', 'n', 'd', 'e', 'n', 't', 0,
    's', 't', 'a', 'c', 'k', 's', 0,
    'p', 'r', 'i', 'n', 't', '_', 0,
    't', 'o', 'H', 't', 'm', 'l', 0,
    'a', 'n', 'c', 'h', 'o', 'r', 0,
    'c', 'a', 'n', 'c', 'e', 'l', 0,
    'l', 'a', 'y', 'o', 'u', 't', 0,
    'h', 'e', 'a', 'd', 'e', 'r', 0,
    'N', 'o', 'R', 'o', 'l', 'e', 0,
    's', 'e', 't', 'P', 'e', 'n', 0,
    'l', 'a', 'y', 'e', 'r', 's', 0,
    's', 't', 'r', 'i', 'd', 'e', 0,
    'r', 'o', 't', 'a', 't', 'e', 0,
    'm', 'e', 't', 'r', 'i', 'c', 0,
    's', 'c', 'r', 'e', 'e', 'n', 0,
    'r', 'e', 'a', 's', 'o', 'n', 0,
    'o', 'l', 'd', 'P', 'o', 's', 0,
    'b', 'u', 't', 't', 'o', 'n', 0,
    's', 'e', 't', 'P', 'o', 's', 0,
    'p', 'i', 'x', 'm', 'a', 'p', 0,
    's', 'c', 'r', 'o', 'l', 'l', 0,
    'r', 'e', 'g', 'i', 'o', 'n', 0,
    'w', 'i', 'n', 'd', 'o', 'w', 0,
    'u', 'p', 'd', 'a', 't', 'e', 0,
    'c', 'u', 'r', 's', 'o', 'r', 0,
    'w', 'i', 'd', 'g', 'e', 't', 0,
    'c', 'r', 'e', 'a', 't', 'e', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 0,
    'm', 'e', 'm', 'b', 'e', 'r', 0,
    's', 'e', 'n', 'd', 'e', 'r', 0,
    'v', 'a', 'l', 'u', 'e', '9', 0,
    'v', 'a', 'l', 'u', 'e', '8', 0,
    'v', 'a', 'l', 'u', 'e', '7', 0,
    'v', 'a', 'l', 'u', 'e', '6', 0,
    'v', 'a', 'l', 'u', 'e', '5', 0,
    'v', 'a', 'l', 'u', 'e', '4', 0,
    'v', 'a', 'l', 'u', 'e', '3', 0,
    'v', 'a', 'l', 'u', 'e', '2', 0,
    'v', 'a', 'l', 'u', 'e', '1', 0,
    'v', 'a', 'l', 'u', 'e', '0', 0,
    's', 'e', 't', 'K', 'e', 'y', 0,
    'm', 'a', 'r', 'g', 'i', 'n', 0,
    's', 'y', 's', 't', 'e', 'm', 0,
    's', 'y', 'm', 'b', 'o', 'l', 0,
    't', 'a', 'k', 'e', 'A', 't', 0,
    'h', 'e', 'i', 'g', 'h', 't', 0,
    's', 'u', 'f', 'f', 'i', 'x', 0,
    'o', 'f', 'f', 's', 'e', 't', 0,
    'h', 'a', 'n', 'd', 'l', 'e', 0,
    'C', 'u', 's', 't', 'o', 'm', 0,
    'p', 'r', 'e', 'f', 'i', 'x', 0,
    'f', 'i', 'l', 't', 'e', 'r', 0,
    'i', 'g', 'n', 'o', 'r', 'e', 0,
    'a', 'c', 'c', 'e', 'p', 't', 0,
    'n', 'o', 't', 'i', 'f', 'y', 0,
    'o', 'p', 't', 'i', 'o', 'n', 0,
    'l', 'o', 'c', 'a', 'l', 'e', 0,
    's', 'e', 't', 'N', 'u', 'm', 0,
    '_', '_', 'g', 'e', '_', '_', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 0,
    'i', 'n', 's', 'e', 'r', 't', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 0,
    'l', 'e', 'n', 'g', 't', 'h', 0,
    'r', 'e', 's', 'i', 'z', 'e', 0,
    't', 'a', 'r', 'g', 'e', 't', 0,
    'r', 'e', 'v', 'e', 'r', 't', 0,
    's', 'u', 'b', 'm', 'i', 't', 0,
    'a', 'c', 't', 'i', 'o', 'n', 0,
    '_', '_', 'l', 't', '_', '_', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 0,
    'r', 'e', 's', 'u', 'l', 't', 0,
    'o', 'b', 'j', 'e', 'c', 't', 0,
    'p', 'a', 'r', 'e', 'n', 't', 0,
    '_', '_', 'n', 'e', '_', '_', 0,
    '_', '_', 'e', 'q', '_', '_', 0,
    '_', '_', 'o', 'r', '_', '_', 0,
    'm', 'a', 'p', 'T', 'o', 0,
    's', 't', 'a', 'c', 'k', 0,
    'r', 'o', 'w', 'A', 't', 0,
    't', 'a', 'b', 'A', 't', 0,
    'p', 'r', 'o', 'x', 'y', 0,
    'F', 'p', 's', '2', '0', 0,
    'F', 'p', 's', '3', '0', 0,
    'F', 'p', 's', '6', '0', 0,
    'a', 'b', 'o', 'u', 't', 0,
    'N', 'o', 'A', 'l', 'l', 0,
    'Q', 'M', 'e', 'n', 'u', 0,
    'p', 'a', 's', 't', 'e', 0,
    'm', 'o', 'v', 'i', 'e', 0,
    'F', 'i', 'x', 'e', 'd', 0,
    'v', 'i', 'e', 'w', 's', 0,
    'p', 'a', 'n', 'e', 'l', 0,
    's', 'c', 'e', 'n', 'e', 0,
    'N', 'o', 'P', 'a', 'd', 0,
    'd', 'e', 'l', 't', 'a', 0,
    'V', 'L', 'i', 'n', 'e', 0,
    'H', 'L', 'i', 'n', 'e', 0,
    'P', 'l', 'a', 'i', 'n', 0,
    'f', 'i', 'e', 'l', 'd', 0,
    'D', 'r', 'i', 'v', 'e', 0,
    'A', 'p', 'p', 'l', 'y', 0,
    'R', 'e', 't', 'r', 'y', 0,
    'A', 'b', 'o', 'r', 't', 0,
    'Q', 'D', 'i', 'a', 'l', 0,
    'p', 'o', 'p', 'u', 'p', 0,
    's', 'e', 't', 'I', 'd', 0,
    'h', 'o', 'v', 'e', 'r', 0,
    'H', 'o', 'v', 'e', 'r', 0,
    's', 't', 'e', 'p', 's', 0,
    'c', 'l', 'i', 'c', 'k', 0,
    'a', 'l', 'e', 'r', 't', 0,
    'l', 'o', 'w', 'e', 'r', 0,
    'w', 'i', 'n', 'I', 'd', 0,
    'f', 'i', 'x', 'u', 'p', 0,
    'i', 't', 'e', 'm', 's', 0,
    't', 'i', 't', 'l', 'e', 0,
    's', 'h', 'e', 'a', 'r', 0,
    'b', 'e', 'g', 'i', 'n', 0,
    'c', 'l', 'o', 'n', 'e', 0,
    'O', 't', 'h', 'e', 'r', 0,
    'b', 'r', 'u', 's', 'h', 0,
    's', 'h', 'a', 'p', 'e', 0,
    'f', 'r', 'a', 'm', 'e', 0,
    's', 'c', 'a', 'l', 'e', 0,
    't', 'y', 'p', 'e', 's', 0,
    'c', 'o', 'l', 'o', 'r', 0,
    's', 't', 'y', 'l', 'e', 0,
    'r', 'a', 'n', 'g', 'e', 0,
    'i', 's', 'D', 'i', 'r', 0,
    'r', 'm', 'd', 'i', 'r', 0,
    'm', 'k', 'd', 'i', 'r', 0,
    'r', 'e', 's', 'e', 't', 0,
    'e', 'x', 'e', 'c', '_', 0,
    'w', 'i', 'd', 't', 'h', 0,
    'c', 'l', 'o', 's', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 0,
    'm', 'a', 't', 'c', 'h', 0,
    'b', 'u', 'd', 'd', 'y', 0,
    'c', 'o', 'u', 'n', 't', 0,
    'r', 'o', 'l', 'e', 's', 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,
    'f', 'l', 'a', 'g', 's', 0,
    'e', 'v', 'e', 'n', 't', 0,
    'm', 's', 'e', 'c', 's', 0,
    'g', 'r', 'o', 'u', 'p', 0,
    'b', 'a', 'c', 'k', 0,
    'p', 'a', 'g', 'e', 0,
    'p', 'u', 's', 'h', 0,
    'S', 'n', 'a', 'p', 0,
    'F', 'r', 'e', 'e', 0,
    'd', 'e', 'l', '_', 0,
    'e', 'c', 'h', 'o', 0,
    'H', 'e', 'l', 'p', 0,
    'd', 'o', 'n', 'e', 0,
    'b', 'e', 'e', 'p', 0,
    'q', 'A', 'p', 'p', 0,
    'm', 'e', 'n', 'u', 0,
    'e', 'd', 'i', 't', 0,
    'v', 'i', 'e', 'w', 0,
    'g', 'r', 'a', 'b', 0,
    'r', 'e', 'd', 'o', 0,
    'u', 'n', 'd', 'o', 0,
    'a', 'x', 'i', 's', 0,
    'f', 'i', 'n', 'd', 0,
    'h', 'i', 'd', 'e', 0,
    's', 'h', 'o', 'w', 0,
    'i', 'c', 'o', 'n', 0,
    'f', 'o', 'n', 't', 0,
    'a', 'r', 'e', 'a', 0,
    'i', 't', 'e', 'm', 0,
    'r', 'e', 'c', 't', 0,
    'd', 'r', 'a', 'w', 0,
    's', 't', 'e', 'p', 0,
    's', 'e', 't', 'Y', 0,
    's', 'e', 't', 'X', 0,
    'k', 'e', 'y', 's', 0,
    'r', 'e', 'a', 'd', 0,
    'm', 'o', 'd', 'e', 0,
    'c', 'o', 'p', 'y', 0,
    'n', 'e', 'x', 't', 0,
    'h', 'o', 'm', 'e', 0,
    'p', 'a', 't', 'h', 0,
    't', 'i', 'm', 'e', 0,
    'n', 'a', 'm', 'e', 0,
    'b', 'a', 's', 'e', 0,
    'o', 'p', 'e', 'n', 0,
    'f', 'i', 'l', 'l', 0,
    'f', 'r', 'o', 'm', 0,
    'h', 'i', 'n', 't', 0,
    's', 'p', 'a', 'n', 0,
    's', 'o', 'r', 't', 0,
    'd', 'a', 't', 'a', 0,
    'r', 'o', 'l', 'e', 0,
    's', 't', 'o', 'p', 0,
    'm', 'a', 's', 'k', 0,
    'B', 'i', 'n', 0,
    'O', 'c', 't', 0,
    'D', 'e', 'c', 0,
    'H', 'e', 'x', 0,
    'Y', 'e', 's', 0,
    'm', 'a', 'x', 0,
    'm', 'i', 'n', 0,
    'k', 'e', 'y', 0,
    'p', 'o', 's', 0,
    'N', 'o', 0,
    's', 'w', 0,
    's', 'y', 0,
    's', 'x', 0,
    'O', 'k', 0,
    'o', 'k', 0,
};
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
// Imports from QtCore.
pyqt5_qtwidgets_from_argv_list_t pyqt5_qtwidgets_from_argv_list;
pyqt5_qtwidgets_get_connection_parts_t pyqt5_qtwidgets_get_connection_parts;
pyqt5_qtwidgets_get_pyqtsignal_parts_t pyqt5_qtwidgets_get_pyqtsignal_parts;
pyqt5_qtwidgets_update_argv_list_t pyqt5_qtwidgets_update_argv_list;
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdrawutil.sip"
#include <qdrawutil.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
// These are needed by the %ConvertToSubClassCode.
#include <qgraphicsproxywidget.h>
#include <qgraphicswidget.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 4672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

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

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

void sipVH_QtWidgets_1(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QWidget*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QWidget,NULL);

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

QWidget* sipVH_QtWidgets_2(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QWidget*a0)
{
    QWidget* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QWidget,NULL);

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

    return sipRes;
}

void sipVH_QtWidgets_3(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QPainter,NULL);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

QVariant sipVH_QtWidgets_6(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, Qt::InputMethodQuery a0)
{
    QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F",a0,sipType_Qt_InputMethodQuery);

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

    return sipRes;
}

void sipVH_QtWidgets_7(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QInputMethodEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QInputMethodEvent,NULL);

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

void sipVH_QtWidgets_8(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QDropEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QDropEvent,NULL);

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

void sipVH_QtWidgets_9(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QDragLeaveEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QDragLeaveEvent,NULL);

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

void sipVH_QtWidgets_10(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QDragMoveEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QDragMoveEvent,NULL);

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

void sipVH_QtWidgets_11(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QDragEnterEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QDragEnterEvent,NULL);

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

void sipVH_QtWidgets_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QActionEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QActionEvent,NULL);

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

void sipVH_QtWidgets_13(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QContextMenuEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QContextMenuEvent,NULL);

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

void sipVH_QtWidgets_14(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QCloseEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QCloseEvent,NULL);

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

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

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

    return sipRes;
}

void sipVH_QtWidgets_16(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QItemSelectionModel*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QItemSelectionModel,NULL);

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

bool sipVH_QtWidgets_17(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QTreeWidgetItem*a0,int a1,const QMimeData*a2,Qt::DropAction a3)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DiDF",a0,sipType_QTreeWidgetItem,NULL,a1,const_cast<QMimeData *>(a2),sipType_QMimeData,NULL,a3,sipType_Qt_DropAction);

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

    return sipRes;
}

QMimeData* sipVH_QtWidgets_18(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QList<QTreeWidgetItem*> a0)
{
    QMimeData* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QList<QTreeWidgetItem*>(a0),sipType_QList_0101QTreeWidgetItem,NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_20(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1,const QVariant& a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iiN",a0,a1,new QVariant(a2),sipType_QVariant,NULL);

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

QVariant sipVH_QtWidgets_21(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,int a1)
{
    QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "ii",a0,a1);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

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

void sipVH_QtWidgets_25(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QRect& a1,const QModelIndex& a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DNN",a0,sipType_QPainter,NULL,new QRect(a1),sipType_QRect,NULL,new QModelIndex(a2),sipType_QModelIndex,NULL);

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

void sipVH_QtWidgets_26(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDN",a0,sipType_QPainter,NULL,const_cast<QStyleOptionViewItem *>(&a1),sipType_QStyleOptionViewItem,NULL,new QModelIndex(a2),sipType_QModelIndex,NULL);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

QModelIndex sipVH_QtWidgets_30(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,Qt::KeyboardModifiers a1)
{
    QModelIndex sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iN",a0,new Qt::KeyboardModifiers(a1),sipType_Qt_KeyboardModifiers,NULL);

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

    return sipRes;
}

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

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

void sipVH_QtWidgets_32(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNN",new QModelIndex(a0),sipType_QModelIndex,NULL,new QModelIndex(a1),sipType_QModelIndex,NULL,new QVector<int>(a2),sipType_QVector_1800,NULL);

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

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

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

    return sipRes;
}

void sipVH_QtWidgets_34(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NF",new QModelIndex(a0),sipType_QModelIndex,NULL,a1,sipType_QAbstractItemView_ScrollHint);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_37(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QMimeData*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",const_cast<QMimeData *>(a0),sipType_QMimeData,NULL);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

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

    return sipRes;
}

QMimeData* sipVH_QtWidgets_42(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QList<QTableWidgetItem*> a0)
{
    QMimeData* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QList<QTableWidgetItem*>(a0),sipType_QList_0101QTableWidgetItem,NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_44(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,const QVariant& a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iN",a0,new QVariant(a1),sipType_QVariant,NULL);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtWidgets_48(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QEvent*a0,QAbstractItemModel*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDDN",a0,sipType_QEvent,NULL,a1,sipType_QAbstractItemModel,NULL,const_cast<QStyleOptionViewItem *>(&a2),sipType_QStyleOptionViewItem,NULL,new QModelIndex(a3),sipType_QModelIndex,NULL);

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

    return sipRes;
}

void sipVH_QtWidgets_49(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyleOptionViewItem*a0,const QModelIndex& a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DN",a0,sipType_QStyleOptionViewItem,NULL,new QModelIndex(a1),sipType_QModelIndex,NULL);

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

QString sipVH_QtWidgets_50(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QVariant& a0,const QLocale& a1)
{
    QString sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN",new QVariant(a0),sipType_QVariant,NULL,new QLocale(a1),sipType_QLocale,NULL);

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

    return sipRes;
}

void sipVH_QtWidgets_51(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDN",a0,sipType_QWidget,NULL,const_cast<QStyleOptionViewItem *>(&a1),sipType_QStyleOptionViewItem,NULL,new QModelIndex(a2),sipType_QModelIndex,NULL);

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

void sipVH_QtWidgets_52(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QWidget*a0,QAbstractItemModel*a1,const QModelIndex& a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDN",a0,sipType_QWidget,NULL,a1,sipType_QAbstractItemModel,NULL,new QModelIndex(a2),sipType_QModelIndex,NULL);

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

void sipVH_QtWidgets_53(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QWidget*a0,const QModelIndex& a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DN",a0,sipType_QWidget,NULL,new QModelIndex(a1),sipType_QModelIndex,NULL);

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

QWidget* sipVH_QtWidgets_54(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2)
{
    QWidget* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDN",a0,sipType_QWidget,NULL,const_cast<QStyleOptionViewItem *>(&a1),sipType_QStyleOptionViewItem,NULL,new QModelIndex(a2),sipType_QModelIndex,NULL);

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

    return sipRes;
}

QSize sipVH_QtWidgets_55(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QStyleOptionViewItem& a0,const QModelIndex& a1)
{
    QSize sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DN",const_cast<QStyleOptionViewItem *>(&a0),sipType_QStyleOptionViewItem,NULL,new QModelIndex(a1),sipType_QModelIndex,NULL);

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

    return sipRes;
}

int sipVH_QtWidgets_56(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QSizePolicy::ControlType a0,QSizePolicy::ControlType a1,Qt::Orientation a2,const QStyleOption*a3,const QWidget*a4)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FFFDD",a0,sipType_QSizePolicy_ControlType,a1,sipType_QSizePolicy_ControlType,a2,sipType_Qt_Orientation,const_cast<QStyleOption *>(a3),sipType_QStyleOption,NULL,const_cast<QWidget *>(a4),sipType_QWidget,NULL);

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

    return sipRes;
}

QPixmap sipVH_QtWidgets_57(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QIcon::Mode a0,const QPixmap& a1,const QStyleOption*a2)
{
    QPixmap sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FND",a0,sipType_QIcon_Mode,new QPixmap(a1),sipType_QPixmap,NULL,const_cast<QStyleOption *>(a2),sipType_QStyleOption,NULL);

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

    return sipRes;
}

QIcon sipVH_QtWidgets_58(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::StandardPixmap a0,const QStyleOption*a1,const QWidget*a2)
{
    QIcon sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDD",a0,sipType_QStyle_StandardPixmap,const_cast<QStyleOption *>(a1),sipType_QStyleOption,NULL,const_cast<QWidget *>(a2),sipType_QWidget,NULL);

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

    return sipRes;
}

QPixmap sipVH_QtWidgets_59(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::StandardPixmap a0,const QStyleOption*a1,const QWidget*a2)
{
    QPixmap sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDD",a0,sipType_QStyle_StandardPixmap,const_cast<QStyleOption *>(a1),sipType_QStyleOption,NULL,const_cast<QWidget *>(a2),sipType_QWidget,NULL);

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

    return sipRes;
}

int sipVH_QtWidgets_60(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::StyleHint a0,const QStyleOption*a1,const QWidget*a2,QStyleHintReturn*a3)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDDD",a0,sipType_QStyle_StyleHint,const_cast<QStyleOption *>(a1),sipType_QStyleOption,NULL,const_cast<QWidget *>(a2),sipType_QWidget,NULL,a3,sipType_QStyleHintReturn,NULL);

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

    return sipRes;
}

QSize sipVH_QtWidgets_61(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::ContentsType a0,const QStyleOption*a1,const QSize& a2,const QWidget*a3)
{
    QSize sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDND",a0,sipType_QStyle_ContentsType,const_cast<QStyleOption *>(a1),sipType_QStyleOption,NULL,new QSize(a2),sipType_QSize,NULL,const_cast<QWidget *>(a3),sipType_QWidget,NULL);

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

    return sipRes;
}

int sipVH_QtWidgets_62(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::PixelMetric a0,const QStyleOption*a1,const QWidget*a2)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDD",a0,sipType_QStyle_PixelMetric,const_cast<QStyleOption *>(a1),sipType_QStyleOption,NULL,const_cast<QWidget *>(a2),sipType_QWidget,NULL);

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

    return sipRes;
}

QRect sipVH_QtWidgets_63(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::ComplexControl a0,const QStyleOptionComplex*a1,QStyle::SubControl a2,const QWidget*a3)
{
    QRect sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDFD",a0,sipType_QStyle_ComplexControl,const_cast<QStyleOptionComplex *>(a1),sipType_QStyleOptionComplex,NULL,a2,sipType_QStyle_SubControl,const_cast<QWidget *>(a3),sipType_QWidget,NULL);

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

    return sipRes;
}

QStyle::SubControl sipVH_QtWidgets_64(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::ComplexControl a0,const QStyleOptionComplex*a1,const QPoint& a2,const QWidget*a3)
{
    QStyle::SubControl sipRes = (QStyle::SubControl)0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDND",a0,sipType_QStyle_ComplexControl,const_cast<QStyleOptionComplex *>(a1),sipType_QStyleOptionComplex,NULL,new QPoint(a2),sipType_QPoint,NULL,const_cast<QWidget *>(a3),sipType_QWidget,NULL);

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

    return sipRes;
}

void sipVH_QtWidgets_65(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::ComplexControl a0,const QStyleOptionComplex*a1,QPainter*a2,const QWidget*a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDDD",a0,sipType_QStyle_ComplexControl,const_cast<QStyleOptionComplex *>(a1),sipType_QStyleOptionComplex,NULL,a2,sipType_QPainter,NULL,const_cast<QWidget *>(a3),sipType_QWidget,NULL);

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

QRect sipVH_QtWidgets_66(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::SubElement a0,const QStyleOption*a1,const QWidget*a2)
{
    QRect sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDD",a0,sipType_QStyle_SubElement,const_cast<QStyleOption *>(a1),sipType_QStyleOption,NULL,const_cast<QWidget *>(a2),sipType_QWidget,NULL);

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

    return sipRes;
}

void sipVH_QtWidgets_67(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::ControlElement a0,const QStyleOption*a1,QPainter*a2,const QWidget*a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDDD",a0,sipType_QStyle_ControlElement,const_cast<QStyleOption *>(a1),sipType_QStyleOption,NULL,a2,sipType_QPainter,NULL,const_cast<QWidget *>(a3),sipType_QWidget,NULL);

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

void sipVH_QtWidgets_68(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyle::PrimitiveElement a0,const QStyleOption*a1,QPainter*a2,const QWidget*a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDDD",a0,sipType_QStyle_PrimitiveElement,const_cast<QStyleOption *>(a1),sipType_QStyleOption,NULL,a2,sipType_QPainter,NULL,const_cast<QWidget *>(a3),sipType_QWidget,NULL);

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

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

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

    return sipRes;
}

void sipVH_QtWidgets_70(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QRect& a1,int a2,const QPixmap& a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DNiN",a0,sipType_QPainter,NULL,new QRect(a1),sipType_QRect,NULL,a2,new QPixmap(a3),sipType_QPixmap,NULL);

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

void sipVH_QtWidgets_71(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QRect& a1,int a2,const QPalette& a3,bool a4,const QString& a5,QPalette::ColorRole a6)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DNiNbNF",a0,sipType_QPainter,NULL,new QRect(a1),sipType_QRect,NULL,a2,new QPalette(a3),sipType_QPalette,NULL,a4,new QString(a5),sipType_QString,NULL,a6,sipType_QPalette_ColorRole);

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

QRect sipVH_QtWidgets_72(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QRect& a0,int a1,const QPixmap& a2)
{
    QRect sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NiN",new QRect(a0),sipType_QRect,NULL,a1,new QPixmap(a2),sipType_QPixmap,NULL);

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

    return sipRes;
}

QRect sipVH_QtWidgets_73(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QFontMetrics& a0,const QRect& a1,int a2,bool a3,const QString& a4)
{
    QRect sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNibN",new QFontMetrics(a0),sipType_QFontMetrics,NULL,new QRect(a1),sipType_QRect,NULL,a2,a3,new QString(a4),sipType_QString,NULL);

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

    return sipRes;
}

void sipVH_QtWidgets_74(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPalette& a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",&a0,sipType_QPalette,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QPalette, &a0);
}

void sipVH_QtWidgets_75(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QApplication*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QApplication,NULL);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_78(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QLayoutItem*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QLayoutItem,NULL);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

QString sipVH_QtWidgets_81(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, double a0)
{
    QString sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "d",a0);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

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

    return sipRes;
}

bool sipVH_QtWidgets_87(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,const QMimeData*a1,Qt::DropAction a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iDF",a0,const_cast<QMimeData *>(a1),sipType_QMimeData,NULL,a2,sipType_Qt_DropAction);

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

    return sipRes;
}

QMimeData* sipVH_QtWidgets_88(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QList<QListWidgetItem*> a0)
{
    QMimeData* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QList<QListWidgetItem*>(a0),sipType_QList_0101QListWidgetItem,NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_91(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, Qt::DropActions a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new Qt::DropActions(a0),sipType_Qt_DropActions,NULL);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

int sipVH_QtWidgets_96(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QWidget*a0)
{
    int sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QWidget,NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

QWidget* sipVH_QtWidgets_98(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, int a0,QWidget*a1)
{
    QWidget* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "iD",a0,a1,sipType_QWidget,NULL);

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

    return sipRes;
}

void sipVH_QtWidgets_99(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDN",a0,sipType_QPainter,NULL,const_cast<QStyleOptionViewItem *>(&a1),sipType_QStyleOptionViewItem,NULL,new QRect(a2),sipType_QRect,NULL);

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

void sipVH_QtWidgets_100(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2,const QString& a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDNN",a0,sipType_QPainter,NULL,const_cast<QStyleOptionViewItem *>(&a1),sipType_QStyleOptionViewItem,NULL,new QRect(a2),sipType_QRect,NULL,new QString(a3),sipType_QString,NULL);

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

void sipVH_QtWidgets_101(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2,const QPixmap& a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDNN",a0,sipType_QPainter,NULL,const_cast<QStyleOptionViewItem *>(&a1),sipType_QStyleOptionViewItem,NULL,new QRect(a2),sipType_QRect,NULL,new QPixmap(a3),sipType_QPixmap,NULL);

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

void sipVH_QtWidgets_102(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2,Qt::CheckState a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDNF",a0,sipType_QPainter,NULL,const_cast<QStyleOptionViewItem *>(&a1),sipType_QStyleOptionViewItem,NULL,new QRect(a2),sipType_QRect,NULL,a3,sipType_Qt_CheckState);

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

void sipVH_QtWidgets_103(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QRect& a1,int a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DNi",a0,sipType_QPainter,NULL,new QRect(a1),sipType_QRect,NULL,a2);

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

void sipVH_QtWidgets_104(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsSceneHoverEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QGraphicsSceneHoverEvent,NULL);

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

void sipVH_QtWidgets_105(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsSceneResizeEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QGraphicsSceneResizeEvent,NULL);

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

void sipVH_QtWidgets_106(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsSceneMoveEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QGraphicsSceneMoveEvent,NULL);

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

Qt::WindowFrameSection sipVH_QtWidgets_107(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QPointF& a0)
{
    Qt::WindowFrameSection sipRes = (Qt::WindowFrameSection)0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QPointF(a0),sipType_QPointF,NULL);

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

    return sipRes;
}

QVariant sipVH_QtWidgets_108(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    QVariant sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FN",a0,sipType_QGraphicsItem_GraphicsItemChange,new QVariant(a1),sipType_QVariant,NULL);

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

    return sipRes;
}

QSizeF sipVH_QtWidgets_109(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, Qt::SizeHint a0,const QSizeF& a1)
{
    QSizeF sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FN",a0,sipType_Qt_SizeHint,new QSizeF(a1),sipType_QSizeF,NULL);

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

    return sipRes;
}

void sipVH_QtWidgets_110(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QStyleOption*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QStyleOption,NULL);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_113(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDD",a0,sipType_QPainter,NULL,const_cast<QStyleOptionGraphicsItem *>(a1),sipType_QStyleOptionGraphicsItem,NULL,a2,sipType_QWidget,NULL);

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

void sipVH_QtWidgets_114(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, double*a0,double*a1,double*a2,double*a3)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(dddd)", a0, a1, a2, a3);
}

void sipVH_QtWidgets_115(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QRectF& a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DN",a0,sipType_QPainter,NULL,new QRectF(a1),sipType_QRectF,NULL);

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

void sipVH_QtWidgets_116(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QMatrix4x4*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QMatrix4x4,NULL);

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

void sipVH_QtWidgets_117(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsSceneWheelEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QGraphicsSceneWheelEvent,NULL);

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

void sipVH_QtWidgets_118(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsSceneMouseEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QGraphicsSceneMouseEvent,NULL);

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

void sipVH_QtWidgets_119(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsSceneHelpEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QGraphicsSceneHelpEvent,NULL);

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

void sipVH_QtWidgets_120(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsSceneDragDropEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QGraphicsSceneDragDropEvent,NULL);

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

void sipVH_QtWidgets_121(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsSceneContextMenuEvent*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QGraphicsSceneContextMenuEvent,NULL);

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

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

bool sipVH_QtWidgets_125(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsItem*a0,QEvent*a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DD",a0,sipType_QGraphicsItem,NULL,a1,sipType_QEvent,NULL);

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

    return sipRes;
}

bool sipVH_QtWidgets_126(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QPainterPath& a0,Qt::ItemSelectionMode a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NF",new QPainterPath(a0),sipType_QPainterPath,NULL,a1,sipType_Qt_ItemSelectionMode);

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

    return sipRes;
}

bool sipVH_QtWidgets_127(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QGraphicsItem*a0,Qt::ItemSelectionMode a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DF",const_cast<QGraphicsItem *>(a0),sipType_QGraphicsItem,NULL,a1,sipType_Qt_ItemSelectionMode);

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

    return sipRes;
}

QRectF sipVH_QtWidgets_128(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QRectF& a0)
{
    QRectF sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QRectF(a0),sipType_QRectF,NULL);

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

    return sipRes;
}

void sipVH_QtWidgets_129(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGraphicsEffect::ChangeFlags a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QGraphicsEffect::ChangeFlags(a0),sipType_QGraphicsEffect_ChangeFlags,NULL);

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

void sipVH_QtWidgets_130(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGesture*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QGesture,NULL);

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

QGestureRecognizer::Result sipVH_QtWidgets_131(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QGesture*a0,QObject*a1,QEvent*a2)
{
    QGestureRecognizer::Result sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDD",a0,sipType_QGesture,NULL,a1,sipType_QObject,NULL,a2,sipType_QEvent,NULL);

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

    return sipRes;
}

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

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

    return sipRes;
}

QMimeData* sipVH_QtWidgets_133(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, "H0", sipType_QMimeData, &sipRes);

    return sipRes;
}

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

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

    return sipRes;
}

QIcon sipVH_QtWidgets_135(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QFileInfo& a0)
{
    QIcon sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QFileInfo(a0),sipType_QFileInfo,NULL);

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

    return sipRes;
}

QIcon sipVH_QtWidgets_136(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QFileIconProvider::IconType a0)
{
    QIcon sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F",a0,sipType_QFileIconProvider_IconType);

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

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

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

    return sipRes;
}

void sipVH_QtWidgets_143(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QPainter*a0,const QRect& a1,const QDate& a2)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DNN",a0,sipType_QPainter,NULL,new QRect(a1),sipType_QRect,NULL,new QDate(a2),sipType_QDate,NULL);

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

QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QModelIndex& a0,const QEvent*a1)
{
    QItemSelectionModel::SelectionFlags sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "ND",new QModelIndex(a0),sipType_QModelIndex,NULL,const_cast<QEvent *>(a1),sipType_QEvent,NULL);

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

    return sipRes;
}

bool sipVH_QtWidgets_145(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NFD",new QModelIndex(a0),sipType_QModelIndex,NULL,a1,sipType_QAbstractItemView_EditTrigger,a2,sipType_QEvent,NULL);

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

    return sipRes;
}

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

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

void sipVH_QtWidgets_147(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DF",a0,sipType_QWidget,NULL,a1,sipType_QAbstractItemDelegate_EndEditHint);

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

bool sipVH_QtWidgets_148(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QHelpEvent*a0,QAbstractItemView*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DDNN",a0,sipType_QHelpEvent,NULL,a1,sipType_QAbstractItemView,NULL,new QStyleOptionViewItem(a2),sipType_QStyleOptionViewItem,NULL,new QModelIndex(a3),sipType_QModelIndex,NULL);

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

    return sipRes;
}


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

    {
        QDataStream* a0;
        QListWidgetItem* a1;

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

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

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

    {
        QDataStream* a0;
        QSizePolicy* a1;

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

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

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

    {
        QDataStream* a0;
        QTableWidgetItem* a1;

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

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

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

    {
        QDataStream* a0;
        QTreeWidgetItem* a1;

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

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

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
        QDataStream* a0;
        const QListWidgetItem* a1;

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

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

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

    {
        QDataStream* a0;
        const QSizePolicy* a1;

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

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

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

    {
        QDataStream* a0;
        const QTableWidgetItem* a1;

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

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

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

    {
        QDataStream* a0;
        const QTreeWidgetItem* a1;

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

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

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


PyDoc_STRVAR(doc_qDrawBorderPixmap, "qDrawBorderPixmap(QPainter, QRect, QMargins, QPixmap)");

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

    {
        QPainter* a0;
        const QRect* a1;
        const QMargins* a2;
        const QPixmap* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9J9J9", sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QMargins, &a2, sipType_QPixmap, &a3))
        {
            qDrawBorderPixmap(a0,*a1,*a2,*a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qDrawPlainRect, "qDrawPlainRect(QPainter, int, int, int, int, QColor, int lineWidth=1, QBrush fill=None)\n"
    "qDrawPlainRect(QPainter, QRect, QColor, int lineWidth=1, QBrush fill=None)");

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

    {
        QPainter* a0;
        int a1;
        int a2;
        int a3;
        int a4;
        const QColor* a5;
        int a5State = 0;
        int a6 = 1;
        const QBrush* a7 = 0;
        int a7State = 0;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8iiiiJ1|iJ0", sipType_QPainter, &a0, &a1, &a2, &a3, &a4, sipType_QColor, &a5, &a5State, &a6, sipType_QBrush, &a7, &a7State))
        {
            qDrawPlainRect(a0,a1,a2,a3,a4,*a5,a6,a7);
            sipReleaseType(const_cast<QColor *>(a5),sipType_QColor,a5State);
            sipReleaseType(const_cast<QBrush *>(a7),sipType_QBrush,a7State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPainter* a0;
        const QRect* a1;
        const QColor* a2;
        int a2State = 0;
        int a3 = 1;
        const QBrush* a4 = 0;
        int a4State = 0;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J9J1|iJ0", sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QColor, &a2, &a2State, &a3, sipType_QBrush, &a4, &a4State))
        {
            qDrawPlainRect(a0,*a1,*a2,a3,a4);
            sipReleaseType(const_cast<QColor *>(a2),sipType_QColor,a2State);
            sipReleaseType(const_cast<QBrush *>(a4),sipType_QBrush,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qDrawWinPanel, "qDrawWinPanel(QPainter, int, int, int, int, QPalette, bool sunken=False, QBrush fill=None)\n"
    "qDrawWinPanel(QPainter, QRect, QPalette, bool sunken=False, QBrush fill=None)");

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

    {
        QPainter* a0;
        int a1;
        int a2;
        int a3;
        int a4;
        const QPalette* a5;
        bool a6 = 0;
        const QBrush* a7 = 0;
        int a7State = 0;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8iiiiJ9|bJ0", sipType_QPainter, &a0, &a1, &a2, &a3, &a4, sipType_QPalette, &a5, &a6, sipType_QBrush, &a7, &a7State))
        {
            qDrawWinPanel(a0,a1,a2,a3,a4,*a5,a6,a7);
            sipReleaseType(const_cast<QBrush *>(a7),sipType_QBrush,a7State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPainter* a0;
        const QRect* a1;
        const QPalette* a2;
        bool a3 = 0;
        const QBrush* a4 = 0;
        int a4State = 0;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J9J9|bJ0", sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QPalette, &a2, &a3, sipType_QBrush, &a4, &a4State))
        {
            qDrawWinPanel(a0,*a1,*a2,a3,a4);
            sipReleaseType(const_cast<QBrush *>(a4),sipType_QBrush,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qDrawWinButton, "qDrawWinButton(QPainter, int, int, int, int, QPalette, bool sunken=False, QBrush fill=None)\n"
    "qDrawWinButton(QPainter, QRect, QPalette, bool sunken=False, QBrush fill=None)");

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

    {
        QPainter* a0;
        int a1;
        int a2;
        int a3;
        int a4;
        const QPalette* a5;
        bool a6 = 0;
        const QBrush* a7 = 0;
        int a7State = 0;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8iiiiJ9|bJ0", sipType_QPainter, &a0, &a1, &a2, &a3, &a4, sipType_QPalette, &a5, &a6, sipType_QBrush, &a7, &a7State))
        {
            qDrawWinButton(a0,a1,a2,a3,a4,*a5,a6,a7);
            sipReleaseType(const_cast<QBrush *>(a7),sipType_QBrush,a7State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPainter* a0;
        const QRect* a1;
        const QPalette* a2;
        bool a3 = 0;
        const QBrush* a4 = 0;
        int a4State = 0;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J9J9|bJ0", sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QPalette, &a2, &a3, sipType_QBrush, &a4, &a4State))
        {
            qDrawWinButton(a0,*a1,*a2,a3,a4);
            sipReleaseType(const_cast<QBrush *>(a4),sipType_QBrush,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qDrawShadePanel, "qDrawShadePanel(QPainter, int, int, int, int, QPalette, bool sunken=False, int lineWidth=1, QBrush fill=None)\n"
    "qDrawShadePanel(QPainter, QRect, QPalette, bool sunken=False, int lineWidth=1, QBrush fill=None)");

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

    {
        QPainter* a0;
        int a1;
        int a2;
        int a3;
        int a4;
        const QPalette* a5;
        bool a6 = 0;
        int a7 = 1;
        const QBrush* a8 = 0;
        int a8State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_sunken,
            sipName_lineWidth,
            sipName_fill,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8iiiiJ9|biJ0", sipType_QPainter, &a0, &a1, &a2, &a3, &a4, sipType_QPalette, &a5, &a6, &a7, sipType_QBrush, &a8, &a8State))
        {
            qDrawShadePanel(a0,a1,a2,a3,a4,*a5,a6,a7,a8);
            sipReleaseType(const_cast<QBrush *>(a8),sipType_QBrush,a8State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPainter* a0;
        const QRect* a1;
        const QPalette* a2;
        bool a3 = 0;
        int a4 = 1;
        const QBrush* a5 = 0;
        int a5State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_sunken,
            sipName_lineWidth,
            sipName_fill,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J9J9|biJ0", sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QPalette, &a2, &a3, &a4, sipType_QBrush, &a5, &a5State))
        {
            qDrawShadePanel(a0,*a1,*a2,a3,a4,a5);
            sipReleaseType(const_cast<QBrush *>(a5),sipType_QBrush,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qDrawShadeRect, "qDrawShadeRect(QPainter, int, int, int, int, QPalette, bool sunken=False, int lineWidth=1, int midLineWidth=0, QBrush fill=None)\n"
    "qDrawShadeRect(QPainter, QRect, QPalette, bool sunken=False, int lineWidth=1, int midLineWidth=0, QBrush fill=None)");

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

    {
        QPainter* a0;
        int a1;
        int a2;
        int a3;
        int a4;
        const QPalette* a5;
        bool a6 = 0;
        int a7 = 1;
        int a8 = 0;
        const QBrush* a9 = 0;
        int a9State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_sunken,
            sipName_lineWidth,
            sipName_midLineWidth,
            sipName_fill,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8iiiiJ9|biiJ0", sipType_QPainter, &a0, &a1, &a2, &a3, &a4, sipType_QPalette, &a5, &a6, &a7, &a8, sipType_QBrush, &a9, &a9State))
        {
            qDrawShadeRect(a0,a1,a2,a3,a4,*a5,a6,a7,a8,a9);
            sipReleaseType(const_cast<QBrush *>(a9),sipType_QBrush,a9State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPainter* a0;
        const QRect* a1;
        const QPalette* a2;
        bool a3 = 0;
        int a4 = 1;
        int a5 = 0;
        const QBrush* a6 = 0;
        int a6State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_sunken,
            sipName_lineWidth,
            sipName_midLineWidth,
            sipName_fill,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J9J9|biiJ0", sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QPalette, &a2, &a3, &a4, &a5, sipType_QBrush, &a6, &a6State))
        {
            qDrawShadeRect(a0,*a1,*a2,a3,a4,a5,a6);
            sipReleaseType(const_cast<QBrush *>(a6),sipType_QBrush,a6State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_qDrawShadeLine, "qDrawShadeLine(QPainter, int, int, int, int, QPalette, bool sunken=True, int lineWidth=1, int midLineWidth=0)\n"
    "qDrawShadeLine(QPainter, QPoint, QPoint, QPalette, bool sunken=True, int lineWidth=1, int midLineWidth=0)");

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

    {
        QPainter* a0;
        int a1;
        int a2;
        int a3;
        int a4;
        const QPalette* a5;
        bool a6 = 1;
        int a7 = 1;
        int a8 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_sunken,
            sipName_lineWidth,
            sipName_midLineWidth,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8iiiiJ9|bii", sipType_QPainter, &a0, &a1, &a2, &a3, &a4, sipType_QPalette, &a5, &a6, &a7, &a8))
        {
            qDrawShadeLine(a0,a1,a2,a3,a4,*a5,a6,a7,a8);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPainter* a0;
        const QPoint* a1;
        const QPoint* a2;
        const QPalette* a3;
        bool a4 = 1;
        int a5 = 1;
        int a6 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_sunken,
            sipName_lineWidth,
            sipName_midLineWidth,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J9J9J9|bii", sipType_QPainter, &a0, sipType_QPoint, &a1, sipType_QPoint, &a2, sipType_QPalette, &a3, &a4, &a5, &a6))
        {
            qDrawShadeLine(a0,*a1,*a2,*a3,a4,a5,a6);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}

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


/* Access function. */
extern "C" {static void *access_qApp();}
static void *access_qApp()
{
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
    // Qt implements this has a #define to a function call so we have to handle
    // it like this.
    return qApp;
#line 6639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

#line 40 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QShortcut, &sipType_QShortcut, -1, 1},
        {sipName_QButtonGroup, &sipType_QButtonGroup, -1, 2},
        {sipName_QGraphicsAnchor, &sipType_QGraphicsAnchor, -1, 3},
        {sipName_QAction, &sipType_QAction, 26, 4},
        {sipName_QSystemTrayIcon, &sipType_QSystemTrayIcon, -1, 5},
        {sipName_QGraphicsEffect, &sipType_QGraphicsEffect, 27, 6},
        {sipName_QGraphicsTransform, &sipType_QGraphicsTransform, 31, 7},
        {sipName_QDirModel, &sipType_QDirModel, -1, 8},
        {sipName_QWidget, &sipType_QWidget, 33, 9},
        {sipName_QMouseEventTransition, &sipType_QMouseEventTransition, -1, 10},
        {sipName_QActionGroup, &sipType_QActionGroup, -1, 11},
        {sipName_QGraphicsObject, &sipType_QGraphicsObject, 107, 12},
        {sipName_QScroller, &sipType_QScroller, -1, 13},
        {sipName_QPlainTextDocumentLayout, &sipType_QPlainTextDocumentLayout, -1, 14},
        {sipName_QStyle, &sipType_QStyle, 110, 15},
        {sipName_QLayout, &sipType_QLayout, 111, 16},
        {sipName_QGraphicsScene, &sipType_QGraphicsScene, -1, 17},
        {sipName_QAbstractItemDelegate, &sipType_QAbstractItemDelegate, 117, 18},
        {sipName_QDataWidgetMapper, &sipType_QDataWidgetMapper, -1, 19},
        {sipName_QCompleter, &sipType_QCompleter, -1, 20},
        {sipName_QApplication, &sipType_QApplication, -1, 21},
        {sipName_QKeyEventTransition, &sipType_QKeyEventTransition, -1, 22},
        {sipName_QUndoGroup, &sipType_QUndoGroup, -1, 23},
        {sipName_QFileSystemModel, &sipType_QFileSystemModel, -1, 24},
        {sipName_QUndoStack, &sipType_QUndoStack, -1, 25},
        {sipName_QGesture, &sipType_QGesture, 119, -1},
        {sipName_QWidgetAction, &sipType_QWidgetAction, -1, -1},
        {sipName_QGraphicsOpacityEffect, &sipType_QGraphicsOpacityEffect, -1, 28},
        {sipName_QGraphicsBlurEffect, &sipType_QGraphicsBlurEffect, -1, 29},
        {sipName_QGraphicsColorizeEffect, &sipType_QGraphicsColorizeEffect, -1, 30},
        {sipName_QGraphicsDropShadowEffect, &sipType_QGraphicsDropShadowEffect, -1, -1},
        {sipName_QGraphicsRotation, &sipType_QGraphicsRotation, -1, 32},
        {sipName_QGraphicsScale, &sipType_QGraphicsScale, -1, -1},
    #if defined(Q_OS_MAC)
        {sipName_QMacCocoaViewContainer, &sipType_QMacCocoaViewContainer, -1, 34},
    #else
        {0, 0, -1, 34},
    #endif
        {sipName_QTabBar, &sipType_QTabBar, -1, 35},
        {sipName_QFrame, &sipType_QFrame, 63, 36},
        {sipName_QDialogButtonBox, &sipType_QDialogButtonBox, -1, 37},
        {sipName_QDesktopWidget, &sipType_QDesktopWidget, -1, 38},
        {sipName_QLineEdit, &sipType_QLineEdit, -1, 39},
        {sipName_QMenuBar, &sipType_QMenuBar, -1, 40},
        {sipName_QComboBox, &sipType_QComboBox, 85, 41},
        {sipName_QGroupBox, &sipType_QGroupBox, -1, 42},
        {sipName_QRubberBand, &sipType_QRubberBand, -1, 43},
        {sipName_QMainWindow, &sipType_QMainWindow, -1, 44},
        {sipName_QTabWidget, &sipType_QTabWidget, -1, 45},
        {sipName_QWizardPage, &sipType_QWizardPage, -1, 46},
        {sipName_QFocusFrame, &sipType_QFocusFrame, -1, 47},
        {sipName_QProgressBar, &sipType_QProgressBar, -1, 48},
        {sipName_QStatusBar, &sipType_QStatusBar, -1, 49},
        {sipName_QSplitterHandle, &sipType_QSplitterHandle, -1, 50},
        {sipName_QAbstractButton, &sipType_QAbstractButton, 86, 51},
    #if QT_VERSION >= 0x050400
        {sipName_QOpenGLWidget, &sipType_QOpenGLWidget, -1, 52},
    #else
        {0, 0, -1, 52},
    #endif
        {sipName_QDialog, &sipType_QDialog, 91, 53},
        {sipName_QSplashScreen, &sipType_QSplashScreen, -1, 54},
        {sipName_QAbstractSlider, &sipType_QAbstractSlider, 99, 55},
        {sipName_QDockWidget, &sipType_QDockWidget, -1, 56},
        {sipName_QToolBar, &sipType_QToolBar, -1, 57},
        {sipName_QMenu, &sipType_QMenu, -1, 58},
        {sipName_QAbstractSpinBox, &sipType_QAbstractSpinBox, 102, 59},
    #if QT_VERSION >= 0x050200
        {sipName_QKeySequenceEdit, &sipType_QKeySequenceEdit, -1, 60},
    #else
        {0, 0, -1, 60},
    #endif
        {sipName_QMdiSubWindow, &sipType_QMdiSubWindow, -1, 61},
        {sipName_QSizeGrip, &sipType_QSizeGrip, -1, 62},
        {sipName_QCalendarWidget, &sipType_QCalendarWidget, -1, -1},
        {sipName_QToolBox, &sipType_QToolBox, -1, 64},
        {sipName_QStackedWidget, &sipType_QStackedWidget, -1, 65},
        {sipName_QLabel, &sipType_QLabel, -1, 66},
        {sipName_QAbstractScrollArea, &sipType_QAbstractScrollArea, 69, 67},
        {sipName_QLCDNumber, &sipType_QLCDNumber, -1, 68},
        {sipName_QSplitter, &sipType_QSplitter, -1, -1},
        {sipName_QGraphicsView, &sipType_QGraphicsView, -1, 70},
        {sipName_QPlainTextEdit, &sipType_QPlainTextEdit, -1, 71},
        {sipName_QTextEdit, &sipType_QTextEdit, 75, 72},
        {sipName_QMdiArea, &sipType_QMdiArea, -1, 73},
        {sipName_QScrollArea, &sipType_QScrollArea, -1, 74},
        {sipName_QAbstractItemView, &sipType_QAbstractItemView, 76, -1},
        {sipName_QTextBrowser, &sipType_QTextBrowser, -1, -1},
        {sipName_QListView, &sipType_QListView, 81, 77},
        {sipName_QTableView, &sipType_QTableView, 83, 78},
        {sipName_QHeaderView, &sipType_QHeaderView, -1, 79},
        {sipName_QTreeView, &sipType_QTreeView, 84, 80},
        {sipName_QColumnView, &sipType_QColumnView, -1, -1},
        {sipName_QUndoView, &sipType_QUndoView, -1, 82},
        {sipName_QListWidget, &sipType_QListWidget, -1, -1},
        {sipName_QTableWidget, &sipType_QTableWidget, -1, -1},
        {sipName_QTreeWidget, &sipType_QTreeWidget, -1, -1},
        {sipName_QFontComboBox, &sipType_QFontComboBox, -1, -1},
        {sipName_QCheckBox, &sipType_QCheckBox, -1, 87},
        {sipName_QPushButton, &sipType_QPushButton, 90, 88},
        {sipName_QToolButton, &sipType_QToolButton, -1, 89},
        {sipName_QRadioButton, &sipType_QRadioButton, -1, -1},
        {sipName_QCommandLinkButton, &sipType_QCommandLinkButton, -1, -1},
        {sipName_QErrorMessage, &sipType_QErrorMessage, -1, 92},
        {sipName_QFileDialog, &sipType_QFileDialog, -1, 93},
        {sipName_QWizard, &sipType_QWizard, -1, 94},
        {sipName_QMessageBox, &sipType_QMessageBox, -1, 95},
        {sipName_QProgressDialog, &sipType_QProgressDialog, -1, 96},
        {sipName_QInputDialog, &sipType_QInputDialog, -1, 97},
        {sipName_QFontDialog, &sipType_QFontDialog, -1, 98},
        {sipName_QColorDialog, &sipType_QColorDialog, -1, -1},
        {sipName_QScrollBar, &sipType_QScrollBar, -1, 100},
        {sipName_QSlider, &sipType_QSlider, -1, 101},
        {sipName_QDial, &sipType_QDial, -1, -1},
        {sipName_QDateTimeEdit, &sipType_QDateTimeEdit, 105, 103},
        {sipName_QSpinBox, &sipType_QSpinBox, -1, 104},
        {sipName_QDoubleSpinBox, &sipType_QDoubleSpinBox, -1, -1},
        {sipName_QDateEdit, &sipType_QDateEdit, -1, 106},
        {sipName_QTimeEdit, &sipType_QTimeEdit, -1, -1},
        {sipName_QGraphicsTextItem, &sipType_QGraphicsTextItem, -1, 108},
        {sipName_QGraphicsWidget, &sipType_QGraphicsWidget, 109, -1},
        {sipName_QGraphicsProxyWidget, &sipType_QGraphicsProxyWidget, -1, -1},
        {sipName_QCommonStyle, &sipType_QCommonStyle, -1, -1},
        {sipName_QBoxLayout, &sipType_QBoxLayout, 115, 112},
        {sipName_QStackedLayout, &sipType_QStackedLayout, -1, 113},
        {sipName_QFormLayout, &sipType_QFormLayout, -1, 114},
        {sipName_QGridLayout, &sipType_QGridLayout, -1, -1},
        {sipName_QVBoxLayout, &sipType_QVBoxLayout, -1, 116},
        {sipName_QHBoxLayout, &sipType_QHBoxLayout, -1, -1},
        {sipName_QStyledItemDelegate, &sipType_QStyledItemDelegate, -1, 118},
        {sipName_QItemDelegate, &sipType_QItemDelegate, -1, -1},
        {sipName_QPinchGesture, &sipType_QPinchGesture, -1, 120},
        {sipName_QTapGesture, &sipType_QTapGesture, -1, 121},
        {sipName_QSwipeGesture, &sipType_QSwipeGesture, -1, 122},
        {sipName_QPanGesture, &sipType_QPanGesture, -1, 123},
        {sipName_QTapAndHoldGesture, &sipType_QTapAndHoldGesture, -1, -1},
    };
    
    int i = 0;
    
    sipType = NULL;
    
    do
    {
        struct class_graph *cg = &graph[i];
    
        if (cg->name != NULL && sipCpp->inherits(cg->name))
        {
            sipType = *cg->type;
            i = cg->yes;
        }
        else
            i = cg->no;
    }
    while (i >= 0);
#line 6811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

    return sipType;
}


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

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
    if (sipCpp->widget())
    {
        sipType = sipType_QWidgetItem;
    }
    else if (sipCpp->spacerItem())
    {
        sipType = sipType_QSpacerItem;
    }
    else
    {
        // Cause a restart looking for a QLayout.
        *sipCppRet = sipCpp->layout();
        sipType = sipType_QLayout;
    }
#line 6839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

    return sipType;
}


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

#line 167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
    sipType = ((sipCpp->type() == QEvent::Gesture) ? sipType_QGestureEvent : 0);
#line 6854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

    return sipType;
}


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

#line 34 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
    switch (sipCpp->type())
    {
    case 2:
        sipType = sipType_QGraphicsPathItem;
        break;
    
    case 3:
        sipType = sipType_QGraphicsRectItem;
        break;
    
    case 4:
        sipType = sipType_QGraphicsEllipseItem;
        break;
    
    case 5:
        sipType = sipType_QGraphicsPolygonItem;
        break;
    
    case 6:
        sipType = sipType_QGraphicsLineItem;
        break;
    
    case 7:
        sipType = sipType_QGraphicsPixmapItem;
        break;
    
    case 8:
        // We need to explicitly cast because of the multiple inheritance.
        *sipCppRet = static_cast<QGraphicsTextItem *>(sipCpp);
        sipType = sipType_QGraphicsTextItem;
        break;
    
    case 9:
        sipType = sipType_QGraphicsSimpleTextItem;
        break;
    
    case 10:
        sipType = sipType_QGraphicsItemGroup;
        break;
    
    case 11:
        // We need to explicitly cast because of the multiple inheritance.
        *sipCppRet = static_cast<QGraphicsWidget *>(sipCpp);
        sipType = sipType_QGraphicsWidget;
        break;
    
    case 12:
        // We need to explicitly cast because of the multiple inheritance.
        *sipCppRet = static_cast<QGraphicsProxyWidget *>(sipCpp);
        sipType = sipType_QGraphicsProxyWidget;
        break;
    
    default:
        sipType = 0;
    }
#line 6923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

    return sipType;
}


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

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
    switch (sipCpp->type())
    {
    case QEvent::GraphicsSceneContextMenu:
        sipType = sipType_QGraphicsSceneContextMenuEvent;
        break;
       
    case QEvent::GraphicsSceneDragEnter:
    case QEvent::GraphicsSceneDragLeave:
    case QEvent::GraphicsSceneDragMove:
    case QEvent::GraphicsSceneDrop:
        sipType = sipType_QGraphicsSceneDragDropEvent;
        break;
       
    case QEvent::GraphicsSceneHelp:
        sipType = sipType_QGraphicsSceneHelpEvent;
        break;
       
    case QEvent::GraphicsSceneHoverEnter:
    case QEvent::GraphicsSceneHoverLeave:
    case QEvent::GraphicsSceneHoverMove:
        sipType = sipType_QGraphicsSceneHoverEvent;
        break;
       
    case QEvent::GraphicsSceneMouseDoubleClick:
    case QEvent::GraphicsSceneMouseMove:
    case QEvent::GraphicsSceneMousePress:
    case QEvent::GraphicsSceneMouseRelease:
        sipType = sipType_QGraphicsSceneMouseEvent;
        break;
       
    case QEvent::GraphicsSceneWheel:
        sipType = sipType_QGraphicsSceneWheelEvent;
        break;
       
    case QEvent::GraphicsSceneMove:
        sipType = sipType_QGraphicsSceneMoveEvent;
        break;
    
    case QEvent::GraphicsSceneResize:
        sipType = sipType_QGraphicsSceneResizeEvent;
        break;
    
    default:
        sipType = 0;
    }
#line 6982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

    return sipType;
}


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

#line 34 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
    switch (sipCpp->type)
    {
    case QStyleOption::SO_Button:
        sipType = sipType_QStyleOptionButton;
        break;
    
    case QStyleOption::SO_ComboBox:
        sipType = sipType_QStyleOptionComboBox;
        break;
    
    case QStyleOption::SO_DockWidget:
        sipType = sipType_QStyleOptionDockWidget;
        break;
    
    case QStyleOption::SO_FocusRect:
        sipType = sipType_QStyleOptionFocusRect;
        break;
    
    case QStyleOption::SO_Frame:
        sipType = sipType_QStyleOptionFrame;
        break;
    
    case QStyleOption::SO_GraphicsItem:
        sipType = sipType_QStyleOptionGraphicsItem;
        break;
    
    case QStyleOption::SO_GroupBox:
        sipType = sipType_QStyleOptionGroupBox;
        break;
    
    case QStyleOption::SO_Header:
        sipType = sipType_QStyleOptionHeader;
        break;
    
    case QStyleOption::SO_MenuItem:
        sipType = sipType_QStyleOptionMenuItem;
        break;
    
    case QStyleOption::SO_ProgressBar:
        sipType = sipType_QStyleOptionProgressBar;
        break;
    
    case QStyleOption::SO_RubberBand:
        sipType = sipType_QStyleOptionRubberBand;
        break;
    
    case QStyleOption::SO_SizeGrip:
        sipType = sipType_QStyleOptionSizeGrip;
        break;
    
    case QStyleOption::SO_Slider:
        sipType = sipType_QStyleOptionSlider;
        break;
    
    case QStyleOption::SO_SpinBox:
        sipType = sipType_QStyleOptionSpinBox;
        break;
    
    case QStyleOption::SO_Tab:
        sipType = sipType_QStyleOptionTab;
        break;
    
    case QStyleOption::SO_TabBarBase:
        sipType = sipType_QStyleOptionTabBarBase;
        break;
    
    case QStyleOption::SO_TabWidgetFrame:
        sipType = sipType_QStyleOptionTabWidgetFrame;
        break;
    
    case QStyleOption::SO_TitleBar:
        sipType = sipType_QStyleOptionTitleBar;
        break;
    
    case QStyleOption::SO_ToolBar:
        sipType = sipType_QStyleOptionToolBar;
        break;
    
    case QStyleOption::SO_ToolBox:
        sipType = sipType_QStyleOptionToolBox;
        break;
    
    case QStyleOption::SO_ToolButton:
        sipType = sipType_QStyleOptionToolButton;
        break;
    
    case QStyleOption::SO_ViewItem:
        sipType = sipType_QStyleOptionViewItem;
        break;
    
    default:
        if ((sipCpp->type & QStyleOption::SO_ComplexCustomBase) == QStyleOption::SO_ComplexCustomBase)
            sipType = sipType_QStyleOptionComplex;
        else
            sipType = 0;
    }
#line 7092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

    return sipType;
}


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

    {
        QWizard::WizardOption a0;
        QWizard::WizardOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QWizard_WizardOption, &a0, sipType_QWizard_WizardOptions, &a1, &a1State))
        {
            QWizard::WizardOptions*sipRes;

            sipRes = new QWizard::WizardOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QWizard_WizardOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QWidget::RenderFlag a0;
        QWidget::RenderFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QWidget_RenderFlag, &a0, sipType_QWidget_RenderFlags, &a1, &a1State))
        {
            QWidget::RenderFlags*sipRes;

            sipRes = new QWidget::RenderFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QWidget_RenderFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

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

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QTreeWidgetItemIterator_IteratorFlag, &a0, sipType_QTreeWidgetItemIterator_IteratorFlags, &a1, &a1State))
        {
            QTreeWidgetItemIterator::IteratorFlags*sipRes;

            sipRes = new QTreeWidgetItemIterator::IteratorFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QTreeWidgetItemIterator_IteratorFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QTextEdit::AutoFormattingFlag a0;
        QTextEdit::AutoFormatting* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QTextEdit_AutoFormattingFlag, &a0, sipType_QTextEdit_AutoFormatting, &a1, &a1State))
        {
            QTextEdit::AutoFormatting*sipRes;

            sipRes = new QTextEdit::AutoFormatting((a0 | *a1));
            sipReleaseType(a1,sipType_QTextEdit_AutoFormatting,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QStyleOptionToolBar::ToolBarFeature a0;
        QStyleOptionToolBar::ToolBarFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QStyleOptionToolBar_ToolBarFeature, &a0, sipType_QStyleOptionToolBar_ToolBarFeatures, &a1, &a1State))
        {
            QStyleOptionToolBar::ToolBarFeatures*sipRes;

            sipRes = new QStyleOptionToolBar::ToolBarFeatures((a0 | *a1));
            sipReleaseType(a1,sipType_QStyleOptionToolBar_ToolBarFeatures,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QStyleOptionToolButton::ToolButtonFeature a0;
        QStyleOptionToolButton::ToolButtonFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QStyleOptionToolButton_ToolButtonFeature, &a0, sipType_QStyleOptionToolButton_ToolButtonFeatures, &a1, &a1State))
        {
            QStyleOptionToolButton::ToolButtonFeatures*sipRes;

            sipRes = new QStyleOptionToolButton::ToolButtonFeatures((a0 | *a1));
            sipReleaseType(a1,sipType_QStyleOptionToolButton_ToolButtonFeatures,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QStyleOptionViewItem::ViewItemFeature a0;
        QStyleOptionViewItem::ViewItemFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QStyleOptionViewItem_ViewItemFeature, &a0, sipType_QStyleOptionViewItem_ViewItemFeatures, &a1, &a1State))
        {
            QStyleOptionViewItem::ViewItemFeatures*sipRes;

            sipRes = new QStyleOptionViewItem::ViewItemFeatures((a0 | *a1));
            sipReleaseType(a1,sipType_QStyleOptionViewItem_ViewItemFeatures,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QStyleOptionTab::CornerWidget a0;
        QStyleOptionTab::CornerWidgets* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QStyleOptionTab_CornerWidget, &a0, sipType_QStyleOptionTab_CornerWidgets, &a1, &a1State))
        {
            QStyleOptionTab::CornerWidgets*sipRes;

            sipRes = new QStyleOptionTab::CornerWidgets((a0 | *a1));
            sipReleaseType(a1,sipType_QStyleOptionTab_CornerWidgets,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QStyleOptionButton::ButtonFeature a0;
        QStyleOptionButton::ButtonFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QStyleOptionButton_ButtonFeature, &a0, sipType_QStyleOptionButton_ButtonFeatures, &a1, &a1State))
        {
            QStyleOptionButton::ButtonFeatures*sipRes;

            sipRes = new QStyleOptionButton::ButtonFeatures((a0 | *a1));
            sipReleaseType(a1,sipType_QStyleOptionButton_ButtonFeatures,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QStyleOptionFrame::FrameFeature a0;
        QStyleOptionFrame::FrameFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QStyleOptionFrame_FrameFeature, &a0, sipType_QStyleOptionFrame_FrameFeatures, &a1, &a1State))
        {
            QStyleOptionFrame::FrameFeatures*sipRes;

            sipRes = new QStyleOptionFrame::FrameFeatures((a0 | *a1));
            sipReleaseType(a1,sipType_QStyleOptionFrame_FrameFeatures,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QStyle::SubControl a0;
        QStyle::SubControls* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QStyle_SubControl, &a0, sipType_QStyle_SubControls, &a1, &a1State))
        {
            QStyle::SubControls*sipRes;

            sipRes = new QStyle::SubControls((a0 | *a1));
            sipReleaseType(a1,sipType_QStyle_SubControls,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QStyle::StateFlag a0;
        QStyle::State* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QStyle_StateFlag, &a0, sipType_QStyle_State, &a1, &a1State))
        {
            QStyle::State*sipRes;

            sipRes = new QStyle::State((a0 | *a1));
            sipReleaseType(a1,sipType_QStyle_State,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QSizePolicy::ControlType a0;
        QSizePolicy::ControlTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QSizePolicy_ControlType, &a0, sipType_QSizePolicy_ControlTypes, &a1, &a1State))
        {
            QSizePolicy::ControlTypes*sipRes;

            sipRes = new QSizePolicy::ControlTypes((a0 | *a1));
            sipReleaseType(a1,sipType_QSizePolicy_ControlTypes,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QMessageBox::StandardButton a0;
        QMessageBox::StandardButtons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QMessageBox_StandardButton, &a0, sipType_QMessageBox_StandardButtons, &a1, &a1State))
        {
            QMessageBox::StandardButtons*sipRes;

            sipRes = new QMessageBox::StandardButtons((a0 | *a1));
            sipReleaseType(a1,sipType_QMessageBox_StandardButtons,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QMdiSubWindow::SubWindowOption a0;
        QMdiSubWindow::SubWindowOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QMdiSubWindow_SubWindowOption, &a0, sipType_QMdiSubWindow_SubWindowOptions, &a1, &a1State))
        {
            QMdiSubWindow::SubWindowOptions*sipRes;

            sipRes = new QMdiSubWindow::SubWindowOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QMdiSubWindow_SubWindowOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QMdiArea::AreaOption a0;
        QMdiArea::AreaOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QMdiArea_AreaOption, &a0, sipType_QMdiArea_AreaOptions, &a1, &a1State))
        {
            QMdiArea::AreaOptions*sipRes;

            sipRes = new QMdiArea::AreaOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QMdiArea_AreaOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QMainWindow::DockOption a0;
        QMainWindow::DockOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QMainWindow_DockOption, &a0, sipType_QMainWindow_DockOptions, &a1, &a1State))
        {
            QMainWindow::DockOptions*sipRes;

            sipRes = new QMainWindow::DockOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QMainWindow_DockOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QInputDialog::InputDialogOption a0;
        QInputDialog::InputDialogOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QInputDialog_InputDialogOption, &a0, sipType_QInputDialog_InputDialogOptions, &a1, &a1State))
        {
            QInputDialog::InputDialogOptions*sipRes;

            sipRes = new QInputDialog::InputDialogOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QInputDialog_InputDialogOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QGraphicsView::OptimizationFlag a0;
        QGraphicsView::OptimizationFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QGraphicsView_OptimizationFlag, &a0, sipType_QGraphicsView_OptimizationFlags, &a1, &a1State))
        {
            QGraphicsView::OptimizationFlags*sipRes;

            sipRes = new QGraphicsView::OptimizationFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QGraphicsView_OptimizationFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QGraphicsView::CacheModeFlag a0;
        QGraphicsView::CacheMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QGraphicsView_CacheModeFlag, &a0, sipType_QGraphicsView_CacheMode, &a1, &a1State))
        {
            QGraphicsView::CacheMode*sipRes;

            sipRes = new QGraphicsView::CacheMode((a0 | *a1));
            sipReleaseType(a1,sipType_QGraphicsView_CacheMode,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QGraphicsScene::SceneLayer a0;
        QGraphicsScene::SceneLayers* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QGraphicsScene_SceneLayer, &a0, sipType_QGraphicsScene_SceneLayers, &a1, &a1State))
        {
            QGraphicsScene::SceneLayers*sipRes;

            sipRes = new QGraphicsScene::SceneLayers((a0 | *a1));
            sipReleaseType(a1,sipType_QGraphicsScene_SceneLayers,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QGraphicsItem::GraphicsItemFlag a0;
        QGraphicsItem::GraphicsItemFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QGraphicsItem_GraphicsItemFlag, &a0, sipType_QGraphicsItem_GraphicsItemFlags, &a1, &a1State))
        {
            QGraphicsItem::GraphicsItemFlags*sipRes;

            sipRes = new QGraphicsItem::GraphicsItemFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QGraphicsItem_GraphicsItemFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QGraphicsBlurEffect::BlurHint a0;
        QGraphicsBlurEffect::BlurHints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QGraphicsBlurEffect_BlurHint, &a0, sipType_QGraphicsBlurEffect_BlurHints, &a1, &a1State))
        {
            QGraphicsBlurEffect::BlurHints*sipRes;

            sipRes = new QGraphicsBlurEffect::BlurHints((a0 | *a1));
            sipReleaseType(a1,sipType_QGraphicsBlurEffect_BlurHints,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QGraphicsEffect::ChangeFlag a0;
        QGraphicsEffect::ChangeFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QGraphicsEffect_ChangeFlag, &a0, sipType_QGraphicsEffect_ChangeFlags, &a1, &a1State))
        {
            QGraphicsEffect::ChangeFlags*sipRes;

            sipRes = new QGraphicsEffect::ChangeFlags((a0 | *a1));
            sipReleaseType(a1,sipType_QGraphicsEffect_ChangeFlags,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QGestureRecognizer::ResultFlag a0;
        QGestureRecognizer::Result* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QGestureRecognizer_ResultFlag, &a0, sipType_QGestureRecognizer_Result, &a1, &a1State))
        {
            QGestureRecognizer::Result*sipRes;

            sipRes = new QGestureRecognizer::Result((a0 | *a1));
            sipReleaseType(a1,sipType_QGestureRecognizer_Result,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QFontDialog::FontDialogOption a0;
        QFontDialog::FontDialogOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QFontDialog_FontDialogOption, &a0, sipType_QFontDialog_FontDialogOptions, &a1, &a1State))
        {
            QFontDialog::FontDialogOptions*sipRes;

            sipRes = new QFontDialog::FontDialogOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QFontDialog_FontDialogOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QFontComboBox::FontFilter a0;
        QFontComboBox::FontFilters* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QFontComboBox_FontFilter, &a0, sipType_QFontComboBox_FontFilters, &a1, &a1State))
        {
            QFontComboBox::FontFilters*sipRes;

            sipRes = new QFontComboBox::FontFilters((a0 | *a1));
            sipReleaseType(a1,sipType_QFontComboBox_FontFilters,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QFileIconProvider::Option a0;
        QFileIconProvider::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QFileIconProvider_Option, &a0, sipType_QFileIconProvider_Options, &a1, &a1State))
        {
            QFileIconProvider::Options*sipRes;

            sipRes = new QFileIconProvider::Options((a0 | *a1));
            sipReleaseType(a1,sipType_QFileIconProvider_Options,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QFileDialog::Option a0;
        QFileDialog::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QFileDialog_Option, &a0, sipType_QFileDialog_Options, &a1, &a1State))
        {
            QFileDialog::Options*sipRes;

            sipRes = new QFileDialog::Options((a0 | *a1));
            sipReleaseType(a1,sipType_QFileDialog_Options,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QDockWidget::DockWidgetFeature a0;
        QDockWidget::DockWidgetFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QDockWidget_DockWidgetFeature, &a0, sipType_QDockWidget_DockWidgetFeatures, &a1, &a1State))
        {
            QDockWidget::DockWidgetFeatures*sipRes;

            sipRes = new QDockWidget::DockWidgetFeatures((a0 | *a1));
            sipReleaseType(a1,sipType_QDockWidget_DockWidgetFeatures,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QDialogButtonBox::StandardButton a0;
        QDialogButtonBox::StandardButtons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QDialogButtonBox_StandardButton, &a0, sipType_QDialogButtonBox_StandardButtons, &a1, &a1State))
        {
            QDialogButtonBox::StandardButtons*sipRes;

            sipRes = new QDialogButtonBox::StandardButtons((a0 | *a1));
            sipReleaseType(a1,sipType_QDialogButtonBox_StandardButtons,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QDateTimeEdit::Section a0;
        QDateTimeEdit::Sections* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QDateTimeEdit_Section, &a0, sipType_QDateTimeEdit_Sections, &a1, &a1State))
        {
            QDateTimeEdit::Sections*sipRes;

            sipRes = new QDateTimeEdit::Sections((a0 | *a1));
            sipReleaseType(a1,sipType_QDateTimeEdit_Sections,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QColorDialog::ColorDialogOption a0;
        QColorDialog::ColorDialogOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QColorDialog_ColorDialogOption, &a0, sipType_QColorDialog_ColorDialogOptions, &a1, &a1State))
        {
            QColorDialog::ColorDialogOptions*sipRes;

            sipRes = new QColorDialog::ColorDialogOptions((a0 | *a1));
            sipReleaseType(a1,sipType_QColorDialog_ColorDialogOptions,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QAbstractSpinBox::StepEnabledFlag a0;
        QAbstractSpinBox::StepEnabled* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QAbstractSpinBox_StepEnabledFlag, &a0, sipType_QAbstractSpinBox_StepEnabled, &a1, &a1State))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled((a0 | *a1));
            sipReleaseType(a1,sipType_QAbstractSpinBox_StepEnabled,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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



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

    {
        QAbstractItemView::EditTrigger a0;
        QAbstractItemView::EditTriggers* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "EJ1", sipType_QAbstractItemView_EditTrigger, &a0, sipType_QAbstractItemView_EditTriggers, &a1, &a1State))
        {
            QAbstractItemView::EditTriggers*sipRes;

            sipRes = new QAbstractItemView::EditTriggers((a0 | *a1));
            sipReleaseType(a1,sipType_QAbstractItemView_EditTriggers,a1State);

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

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

static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWizard__WizardOption, {0}}, sipNameNr_WizardOption, 459, slots_QWizard_WizardOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWizard__WizardStyle, {0}}, sipNameNr_WizardStyle, 459, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWizard__WizardPixmap, {0}}, sipNameNr_WizardPixmap, 459, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWizard__WizardButton, {0}}, sipNameNr_WizardButton, 459, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWidget__RenderFlag, {0}}, sipNameNr_RenderFlag, 454, slots_QWidget_RenderFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTreeWidgetItemIterator__IteratorFlag, {0}}, sipNameNr_IteratorFlag, 445, slots_QTreeWidgetItemIterator_IteratorFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTreeWidgetItem__ChildIndicatorPolicy, {0}}, sipNameNr_ChildIndicatorPolicy, 442, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTreeWidgetItem__ItemType, {0}}, sipNameNr_ItemType, 442, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QToolButton__ToolButtonPopupMode, {0}}, sipNameNr_ToolButtonPopupMode, 437, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextEdit__AutoFormattingFlag, {0}}, sipNameNr_AutoFormattingFlag, 429, slots_QTextEdit_AutoFormattingFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTextEdit__LineWrapMode, {0}}, sipNameNr_LineWrapMode, 429, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabWidget__TabShape, {0}}, sipNameNr_TabShape, 418, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabWidget__TabPosition, {0}}, sipNameNr_TabPosition, 418, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTableWidgetItem__ItemType, {0}}, sipNameNr_ItemType, 423, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabBar__SelectionBehavior, {0}}, sipNameNr_SelectionBehavior, 414, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabBar__ButtonPosition, {0}}, sipNameNr_ButtonPosition, 414, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QTabBar__Shape, {0}}, sipNameNr_Shape, 414, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemTrayIcon__MessageIcon, {0}}, sipNameNr_MessageIcon, 411, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSystemTrayIcon__ActivationReason, {0}}, sipNameNr_ActivationReason, 411, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturnVariant__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 305, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturnVariant__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 305, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionGraphicsItem__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 334, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionGraphicsItem__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 334, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSizeGrip__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 357, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSizeGrip__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 357, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionGroupBox__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 337, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionGroupBox__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 337, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBar__ToolBarFeature, {0}}, sipNameNr_ToolBarFeature, 384, slots_QStyleOptionToolBar_ToolBarFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBar__ToolBarPosition, {0}}, sipNameNr_ToolBarPosition, 384, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBar__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 384, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBar__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 384, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturnMask__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 302, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturnMask__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 302, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturn__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 298, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturn__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 298, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleHintReturn__HintReturnType, {0}}, sipNameNr_HintReturnType, 298, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTitleBar__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 381, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTitleBar__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 381, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionComboBox__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 317, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionComboBox__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 317, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolButton__ToolButtonFeature, {0}}, sipNameNr_ToolButtonFeature, 395, slots_QStyleOptionToolButton_ToolButtonFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolButton__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 395, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolButton__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 395, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSpinBox__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 363, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSpinBox__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 363, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSlider__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 360, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionSlider__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 360, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionComplex__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionComplex__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 320, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionRubberBand__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 354, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionRubberBand__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 354, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBox__SelectedPosition, {0}}, sipNameNr_SelectedPosition, 390, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBox__TabPosition, {0}}, sipNameNr_TabPosition, 390, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBox__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 390, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionToolBox__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 390, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__ViewItemPosition, {0}}, sipNameNr_ViewItemPosition, 400, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__ViewItemFeature, {0}}, sipNameNr_ViewItemFeature, 400, slots_QStyleOptionViewItem_ViewItemFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__Position, {0}}, sipNameNr_Position, 400, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 400, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionViewItem__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 400, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionDockWidget__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 323, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionDockWidget__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 323, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionMenuItem__CheckType, {0}}, sipNameNr_CheckType, 346, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionMenuItem__MenuItemType, {0}}, sipNameNr_MenuItemType, 346, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionMenuItem__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 346, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionMenuItem__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 346, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionProgressBar__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 351, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionProgressBar__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 351, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__TabFeature, {0}}, sipNameNr_TabFeature, 366, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__CornerWidget, {0}}, sipNameNr_CornerWidget, 366, slots_QStyleOptionTab_CornerWidget},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__SelectedPosition, {0}}, sipNameNr_SelectedPosition, 366, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__TabPosition, {0}}, sipNameNr_TabPosition, 366, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 366, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTab__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 366, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionButton__ButtonFeature, {0}}, sipNameNr_ButtonFeature, 312, slots_QStyleOptionButton_ButtonFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionButton__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 312, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionButton__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 312, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__SortIndicator, {0}}, sipNameNr_SortIndicator, 340, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__SelectedPosition, {0}}, sipNameNr_SelectedPosition, 340, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__SectionPosition, {0}}, sipNameNr_SectionPosition, 340, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 340, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionHeader__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 340, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTabBarBase__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 375, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTabBarBase__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 375, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTabWidgetFrame__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 378, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionTabWidgetFrame__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 378, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFrame__FrameFeature, {0}}, sipNameNr_FrameFeature, 329, slots_QStyleOptionFrame_FrameFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFrame__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 329, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFrame__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 329, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFocusRect__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 326, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOptionFocusRect__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 326, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOption__StyleOptionVersion, {0}}, sipNameNr_StyleOptionVersion, 308, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOption__StyleOptionType, {0}}, sipNameNr_StyleOptionType, 308, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyleOption__OptionType, {0}}, sipNameNr_OptionType, 308, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__RequestSoftwareInputPanel, {0}}, sipNameNr_RequestSoftwareInputPanel, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__StandardPixmap, {0}}, sipNameNr_StandardPixmap, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__StyleHint, {0}}, sipNameNr_StyleHint, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__ContentsType, {0}}, sipNameNr_ContentsType, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__PixelMetric, {0}}, sipNameNr_PixelMetric, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__SubControl, {0}}, sipNameNr_SubControl, 283, slots_QStyle_SubControl},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__ComplexControl, {0}}, sipNameNr_ComplexControl, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__SubElement, {0}}, sipNameNr_SubElement, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__ControlElement, {0}}, sipNameNr_ControlElement, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__PrimitiveElement, {0}}, sipNameNr_PrimitiveElement, 283, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStyle__StateFlag, {0}}, sipNameNr_StateFlag, 283, slots_QStyle_StateFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QStackedLayout__StackingMode, {0}}, sipNameNr_StackingMode, 279, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSlider__TickPosition, {0}}, sipNameNr_TickPosition, 272, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSizePolicy__ControlType, {0}}, sipNameNr_ControlType, 267, slots_QSizePolicy_ControlType},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSizePolicy__Policy, {0}}, sipNameNr_Policy, 267, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSizePolicy__PolicyFlag, {0}}, sipNameNr_PolicyFlag, 267, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScrollerProperties__ScrollMetric, {0}}, sipNameNr_ScrollMetric, 261, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScrollerProperties__FrameRates, {0}}, sipNameNr_FrameRates, 261, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScrollerProperties__OvershootPolicy, {0}}, sipNameNr_OvershootPolicy, 261, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScroller__Input, {0}}, sipNameNr_Input, 257, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScroller__ScrollerGestureType, {0}}, sipNameNr_ScrollerGestureType, 257, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QScroller__State, {0}}, sipNameNr_State, 257, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QRubberBand__Shape, {0}}, sipNameNr_Shape, 253, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QProgressBar__Direction, {0}}, sipNameNr_Direction, 248, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QPlainTextEdit__LineWrapMode, {0}}, sipNameNr_LineWrapMode, 246, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMessageBox__StandardButton, {0}}, sipNameNr_StandardButton, 234, slots_QMessageBox_StandardButton},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMessageBox__Icon, {0}}, sipNameNr_Icon, 234, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMessageBox__ButtonRole, {0}}, sipNameNr_ButtonRole, 234, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMdiSubWindow__SubWindowOption, {0}}, sipNameNr_SubWindowOption, 229, slots_QMdiSubWindow_SubWindowOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMdiArea__WindowOrder, {0}}, sipNameNr_WindowOrder, 224, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMdiArea__ViewMode, {0}}, sipNameNr_ViewMode, 224, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMdiArea__AreaOption, {0}}, sipNameNr_AreaOption, 224, slots_QMdiArea_AreaOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QMainWindow__DockOption, {0}}, sipNameNr_DockOption, 220, slots_QMainWindow_DockOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListWidgetItem__ItemType, {0}}, sipNameNr_ItemType, 218, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__ViewMode, {0}}, sipNameNr_ViewMode, 211, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__LayoutMode, {0}}, sipNameNr_LayoutMode, 211, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__ResizeMode, {0}}, sipNameNr_ResizeMode, 211, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__Flow, {0}}, sipNameNr_Flow, 211, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QListView__Movement, {0}}, sipNameNr_Movement, 211, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLineEdit__ActionPosition, {0}}, sipNameNr_ActionPosition, 189, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLineEdit__EchoMode, {0}}, sipNameNr_EchoMode, 189, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLCDNumber__SegmentStyle, {0}}, sipNameNr_SegmentStyle, 182, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLCDNumber__Mode, {0}}, sipNameNr_Mode, 182, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QLayout__SizeConstraint, {0}}, sipNameNr_SizeConstraint, 186, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QInputDialog__InputMode, {0}}, sipNameNr_InputMode, 173, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QInputDialog__InputDialogOption, {0}}, sipNameNr_InputDialogOption, 173, slots_QInputDialog_InputDialogOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QHeaderView__ResizeMode, {0}}, sipNameNr_ResizeMode, 171, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__OptimizationFlag, {0}}, sipNameNr_OptimizationFlag, 159, slots_QGraphicsView_OptimizationFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__ViewportUpdateMode, {0}}, sipNameNr_ViewportUpdateMode, 159, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__ViewportAnchor, {0}}, sipNameNr_ViewportAnchor, 159, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__DragMode, {0}}, sipNameNr_DragMode, 159, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsView__CacheModeFlag, {0}}, sipNameNr_CacheModeFlag, 159, slots_QGraphicsView_CacheModeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsSceneContextMenuEvent__Reason, {0}}, sipNameNr_Reason, 146, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsScene__SceneLayer, {0}}, sipNameNr_SceneLayer, 142, slots_QGraphicsScene_SceneLayer},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsScene__ItemIndexMethod, {0}}, sipNameNr_ItemIndexMethod, 142, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsPixmapItem__ShapeMode, {0}}, sipNameNr_ShapeMode, 135, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsItem__PanelModality, {0}}, sipNameNr_PanelModality, 121, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsItem__GraphicsItemFlag, {0}}, sipNameNr_GraphicsItemFlag, 121, slots_QGraphicsItem_GraphicsItemFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsItem__GraphicsItemChange, {0}}, sipNameNr_GraphicsItemChange, 121, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsItem__CacheMode, {0}}, sipNameNr_CacheMode, 121, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsBlurEffect__BlurHint, {0}}, sipNameNr_BlurHint, 110, slots_QGraphicsBlurEffect_BlurHint},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsEffect__PixmapPadMode, {0}}, sipNameNr_PixmapPadMode, 115, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGraphicsEffect__ChangeFlag, {0}}, sipNameNr_ChangeFlag, 115, slots_QGraphicsEffect_ChangeFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGestureRecognizer__ResultFlag, {0}}, sipNameNr_ResultFlag, 105, slots_QGestureRecognizer_ResultFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QSwipeGesture__SwipeDirection, {0}}, sipNameNr_SwipeDirection, 409, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QPinchGesture__ChangeFlag, {0}}, sipNameNr_ChangeFlag, 242, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QGesture__GestureCancelPolicy, {0}}, sipNameNr_GestureCancelPolicy, 102, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFrame__StyleMask, {0}}, sipNameNr_StyleMask, 98, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFrame__Shape, {0}}, sipNameNr_Shape, 98, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFrame__Shadow, {0}}, sipNameNr_Shadow, 98, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFormLayout__ItemRole, {0}}, sipNameNr_ItemRole, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFormLayout__RowWrapPolicy, {0}}, sipNameNr_RowWrapPolicy, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFormLayout__FieldGrowthPolicy, {0}}, sipNameNr_FieldGrowthPolicy, 94, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFontDialog__FontDialogOption, {0}}, sipNameNr_FontDialogOption, 91, slots_QFontDialog_FontDialogOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFontComboBox__FontFilter, {0}}, sipNameNr_FontFilter, 88, slots_QFontComboBox_FontFilter},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileSystemModel__Roles, {0}}, sipNameNr_Roles, 85, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileIconProvider__Option, {0}}, sipNameNr_Option, 81, slots_QFileIconProvider_Option},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileIconProvider__IconType, {0}}, sipNameNr_IconType, 81, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__Option, {0}}, sipNameNr_Option, 74, slots_QFileDialog_Option},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__DialogLabel, {0}}, sipNameNr_DialogLabel, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__AcceptMode, {0}}, sipNameNr_AcceptMode, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__FileMode, {0}}, sipNameNr_FileMode, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QFileDialog__ViewMode, {0}}, sipNameNr_ViewMode, 74, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDockWidget__DockWidgetFeature, {0}}, sipNameNr_DockWidgetFeature, 69, slots_QDockWidget_DockWidgetFeature},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDirModel__Roles, {0}}, sipNameNr_Roles, 67, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDialogButtonBox__StandardButton, {0}}, sipNameNr_StandardButton, 62, slots_QDialogButtonBox_StandardButton},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDialogButtonBox__ButtonRole, {0}}, sipNameNr_ButtonRole, 62, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDialogButtonBox__ButtonLayout, {0}}, sipNameNr_ButtonLayout, 62, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDialog__DialogCode, {0}}, sipNameNr_DialogCode, 60, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDateTimeEdit__Section, {0}}, sipNameNr_Section, 55, slots_QDateTimeEdit_Section},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDataWidgetMapper__SubmitPolicy, {0}}, sipNameNr_SubmitPolicy, 52, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCompleter__ModelSorting, {0}}, sipNameNr_ModelSorting, 49, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCompleter__CompletionMode, {0}}, sipNameNr_CompletionMode, 49, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QComboBox__SizeAdjustPolicy, {0}}, sipNameNr_SizeAdjustPolicy, 44, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QComboBox__InsertPolicy, {0}}, sipNameNr_InsertPolicy, 44, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QColorDialog__ColorDialogOption, {0}}, sipNameNr_ColorDialogOption, 40, slots_QColorDialog_ColorDialogOption},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCalendarWidget__SelectionMode, {0}}, sipNameNr_SelectionMode, 35, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCalendarWidget__VerticalHeaderFormat, {0}}, sipNameNr_VerticalHeaderFormat, 35, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QCalendarWidget__HorizontalHeaderFormat, {0}}, sipNameNr_HorizontalHeaderFormat, 35, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QBoxLayout__Direction, {0}}, sipNameNr_Direction, 32, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QApplication__ColorSpec, {0}}, sipNameNr_ColorSpec, 30, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAction__Priority, {0}}, sipNameNr_Priority, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAction__MenuRole, {0}}, sipNameNr_MenuRole, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAction__ActionEvent, {0}}, sipNameNr_ActionEvent, 25, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSpinBox__CorrectionMode, {0}}, sipNameNr_CorrectionMode, 20, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSpinBox__ButtonSymbols, {0}}, sipNameNr_ButtonSymbols, 20, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSpinBox__StepEnabledFlag, {0}}, sipNameNr_StepEnabledFlag, 20, slots_QAbstractSpinBox_StepEnabledFlag},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSlider__SliderChange, {0}}, sipNameNr_SliderChange, 17, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractSlider__SliderAction, {0}}, sipNameNr_SliderAction, 17, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractScrollArea__SizeAdjustPolicy, {0}}, sipNameNr_SizeAdjustPolicy, 15, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__DropIndicatorPosition, {0}}, sipNameNr_DropIndicatorPosition, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__State, {0}}, sipNameNr_State, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__CursorAction, {0}}, sipNameNr_CursorAction, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__SelectionMode, {0}}, sipNameNr_SelectionMode, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__SelectionBehavior, {0}}, sipNameNr_SelectionBehavior, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__ScrollMode, {0}}, sipNameNr_ScrollMode, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__ScrollHint, {0}}, sipNameNr_ScrollHint, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__EditTrigger, {0}}, sipNameNr_EditTrigger, 4, slots_QAbstractItemView_EditTrigger},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemView__DragDropMode, {0}}, sipNameNr_DragDropMode, 4, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QAbstractItemDelegate__EndEditHint, {0}}, sipNameNr_EndEditHint, 2, NULL},
};


/*
 * This defines each type in this module.
 */
static sipTypeDef *typesTable[] = {
    &sipTypeDef_QtWidgets_QAbstractButton.super.ctd_base,
    &sipTypeDef_QtWidgets_QAbstractGraphicsShapeItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QAbstractItemDelegate.super.ctd_base,
    &enumTypes[213].etd_base,
    &sipTypeDef_QtWidgets_QAbstractItemView.super.ctd_base,
    &enumTypes[206].etd_base,
    &enumTypes[212].etd_base,
    &enumTypes[204].etd_base,
    &enumTypes[211].etd_base,
    &sipTypeDef_QtWidgets_QAbstractItemView_EditTriggers.super.ctd_base,
    &enumTypes[210].etd_base,
    &enumTypes[209].etd_base,
    &enumTypes[208].etd_base,
    &enumTypes[207].etd_base,
    &enumTypes[205].etd_base,
    &sipTypeDef_QtWidgets_QAbstractScrollArea.super.ctd_base,
    &enumTypes[203].etd_base,
    &sipTypeDef_QtWidgets_QAbstractSlider.super.ctd_base,
    &enumTypes[202].etd_base,
    &enumTypes[201].etd_base,
    &sipTypeDef_QtWidgets_QAbstractSpinBox.super.ctd_base,
    &enumTypes[199].etd_base,
    &enumTypes[198].etd_base,
    &sipTypeDef_QtWidgets_QAbstractSpinBox_StepEnabled.super.ctd_base,
    &enumTypes[200].etd_base,
    &sipTypeDef_QtWidgets_QAction.super.ctd_base,
    &enumTypes[197].etd_base,
    &enumTypes[196].etd_base,
    &enumTypes[195].etd_base,
    &sipTypeDef_QtWidgets_QActionGroup.super.ctd_base,
    &sipTypeDef_QtWidgets_QApplication.super.ctd_base,
    &enumTypes[194].etd_base,
    &sipTypeDef_QtWidgets_QBoxLayout.super.ctd_base,
    &enumTypes[193].etd_base,
    &sipTypeDef_QtWidgets_QButtonGroup.super.ctd_base,
    &sipTypeDef_QtWidgets_QCalendarWidget.super.ctd_base,
    &enumTypes[192].etd_base,
    &enumTypes[190].etd_base,
    &enumTypes[191].etd_base,
    &sipTypeDef_QtWidgets_QCheckBox.super.ctd_base,
    &sipTypeDef_QtWidgets_QColorDialog.super.ctd_base,
    &enumTypes[189].etd_base,
    &sipTypeDef_QtWidgets_QColorDialog_ColorDialogOptions.super.ctd_base,
    &sipTypeDef_QtWidgets_QColumnView.super.ctd_base,
    &sipTypeDef_QtWidgets_QComboBox.super.ctd_base,
    &enumTypes[188].etd_base,
    &enumTypes[187].etd_base,
    &sipTypeDef_QtWidgets_QCommandLinkButton.super.ctd_base,
    &sipTypeDef_QtWidgets_QCommonStyle.super.ctd_base,
    &sipTypeDef_QtWidgets_QCompleter.super.ctd_base,
    &enumTypes[186].etd_base,
    &enumTypes[185].etd_base,
    &sipTypeDef_QtWidgets_QDataWidgetMapper.super.ctd_base,
    &enumTypes[184].etd_base,
    &sipTypeDef_QtWidgets_QDateEdit.super.ctd_base,
    &sipTypeDef_QtWidgets_QDateTimeEdit.super.ctd_base,
    &enumTypes[183].etd_base,
    &sipTypeDef_QtWidgets_QDateTimeEdit_Sections.super.ctd_base,
    &sipTypeDef_QtWidgets_QDesktopWidget.super.ctd_base,
    &sipTypeDef_QtWidgets_QDial.super.ctd_base,
    &sipTypeDef_QtWidgets_QDialog.super.ctd_base,
    &enumTypes[182].etd_base,
    &sipTypeDef_QtWidgets_QDialogButtonBox.super.ctd_base,
    &enumTypes[181].etd_base,
    &enumTypes[180].etd_base,
    &enumTypes[179].etd_base,
    &sipTypeDef_QtWidgets_QDialogButtonBox_StandardButtons.super.ctd_base,
    &sipTypeDef_QtWidgets_QDirModel.super.ctd_base,
    &enumTypes[178].etd_base,
    &sipTypeDef_QtWidgets_QDockWidget.super.ctd_base,
    &enumTypes[177].etd_base,
    &sipTypeDef_QtWidgets_QDockWidget_DockWidgetFeatures.super.ctd_base,
    &sipTypeDef_QtWidgets_QDoubleSpinBox.super.ctd_base,
    &sipTypeDef_QtWidgets_QErrorMessage.super.ctd_base,
    &sipTypeDef_QtWidgets_QFileDialog.super.ctd_base,
    &enumTypes[174].etd_base,
    &enumTypes[173].etd_base,
    &enumTypes[175].etd_base,
    &enumTypes[172].etd_base,
    &sipTypeDef_QtWidgets_QFileDialog_Options.super.ctd_base,
    &enumTypes[176].etd_base,
    &sipTypeDef_QtWidgets_QFileIconProvider.super.ctd_base,
    &enumTypes[171].etd_base,
    &enumTypes[170].etd_base,
    &sipTypeDef_QtWidgets_QFileIconProvider_Options.super.ctd_base,
    &sipTypeDef_QtWidgets_QFileSystemModel.super.ctd_base,
    &enumTypes[169].etd_base,
    &sipTypeDef_QtWidgets_QFocusFrame.super.ctd_base,
    &sipTypeDef_QtWidgets_QFontComboBox.super.ctd_base,
    &enumTypes[168].etd_base,
    &sipTypeDef_QtWidgets_QFontComboBox_FontFilters.super.ctd_base,
    &sipTypeDef_QtWidgets_QFontDialog.super.ctd_base,
    &enumTypes[167].etd_base,
    &sipTypeDef_QtWidgets_QFontDialog_FontDialogOptions.super.ctd_base,
    &sipTypeDef_QtWidgets_QFormLayout.super.ctd_base,
    &enumTypes[166].etd_base,
    &enumTypes[164].etd_base,
    &enumTypes[165].etd_base,
    &sipTypeDef_QtWidgets_QFrame.super.ctd_base,
    &enumTypes[163].etd_base,
    &enumTypes[162].etd_base,
    &enumTypes[161].etd_base,
    &sipTypeDef_QtWidgets_QGesture.super.ctd_base,
    &enumTypes[160].etd_base,
    &sipTypeDef_QtWidgets_QGestureEvent.super.ctd_base,
    &sipTypeDef_QtWidgets_QGestureRecognizer.super.ctd_base,
    &sipTypeDef_QtWidgets_QGestureRecognizer_Result.super.ctd_base,
    &enumTypes[157].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsAnchor.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsAnchorLayout.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsBlurEffect.super.ctd_base,
    &enumTypes[154].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsBlurEffect_BlurHints.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsColorizeEffect.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsDropShadowEffect.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsEffect.super.ctd_base,
    &enumTypes[156].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsEffect_ChangeFlags.super.ctd_base,
    &enumTypes[155].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsEllipseItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsGridLayout.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsItem.super.ctd_base,
    &enumTypes[153].etd_base,
    &enumTypes[152].etd_base,
    &enumTypes[151].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsItem_GraphicsItemFlags.super.ctd_base,
    &enumTypes[150].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsItemGroup.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsLayout.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsLayoutItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsLineItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsLinearLayout.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsObject.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsOpacityEffect.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsPathItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsPixmapItem.super.ctd_base,
    &enumTypes[149].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsPolygonItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsProxyWidget.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsRectItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsRotation.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsScale.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsScene.super.ctd_base,
    &enumTypes[148].etd_base,
    &enumTypes[147].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsScene_SceneLayers.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsSceneContextMenuEvent.super.ctd_base,
    &enumTypes[146].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsSceneDragDropEvent.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsSceneEvent.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsSceneHelpEvent.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsSceneHoverEvent.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsSceneMouseEvent.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsSceneMoveEvent.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsSceneResizeEvent.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsSceneWheelEvent.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsSimpleTextItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsTextItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsTransform.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsView.super.ctd_base,
    &sipTypeDef_QtWidgets_QGraphicsView_CacheMode.super.ctd_base,
    &enumTypes[145].etd_base,
    &enumTypes[144].etd_base,
    &enumTypes[141].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsView_OptimizationFlags.super.ctd_base,
    &enumTypes[143].etd_base,
    &enumTypes[142].etd_base,
    &sipTypeDef_QtWidgets_QGraphicsWidget.super.ctd_base,
    &sipTypeDef_QtWidgets_QGridLayout.super.ctd_base,
    &sipTypeDef_QtWidgets_QGroupBox.super.ctd_base,
    &sipTypeDef_QtWidgets_QHBoxLayout.super.ctd_base,
    &sipTypeDef_QtWidgets_QHeaderView.super.ctd_base,
    &enumTypes[140].etd_base,
    &sipTypeDef_QtWidgets_QInputDialog.super.ctd_base,
    &enumTypes[139].etd_base,
    &sipTypeDef_QtWidgets_QInputDialog_InputDialogOptions.super.ctd_base,
    &enumTypes[138].etd_base,
    &sipTypeDef_QtWidgets_QItemDelegate.super.ctd_base,
    &sipTypeDef_QtWidgets_QItemEditorCreatorBase.super.ctd_base,
    &sipTypeDef_QtWidgets_QItemEditorFactory.super.ctd_base,
    &sipTypeDef_QtWidgets_QKeyEventTransition.super.ctd_base,
    &sipTypeDef_QtWidgets_QKeySequenceEdit.super.ctd_base,
    &sipTypeDef_QtWidgets_QLCDNumber.super.ctd_base,
    &enumTypes[136].etd_base,
    &enumTypes[135].etd_base,
    &sipTypeDef_QtWidgets_QLabel.super.ctd_base,
    &sipTypeDef_QtWidgets_QLayout.super.ctd_base,
    &enumTypes[137].etd_base,
    &sipTypeDef_QtWidgets_QLayoutItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QLineEdit.super.ctd_base,
    &enumTypes[133].etd_base,
    &enumTypes[134].etd_base,
    &sipTypeDef_QtWidgets_QList_0101QAbstractButton.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QAction.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QDockWidget.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QGesture.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QGraphicsItem.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QGraphicsTransform.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QGraphicsView.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QGraphicsWidget.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QListWidgetItem.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QMdiSubWindow.mtd_base,
    &sipTypeDef_QtWidgets_QList_0100QRectF.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QScroller.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QTableWidgetItem.mtd_base,
    &sipTypeDef_QtWidgets_QList_0100QTableWidgetSelectionRange.mtd_base,
    &sipTypeDef_QtWidgets_QList_0100QTextEdit_ExtraSelection.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QTreeWidgetItem.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QUndoStack.mtd_base,
    &sipTypeDef_QtWidgets_QList_0101QWidget.mtd_base,
    &sipTypeDef_QtWidgets_QList_0100QWizard_WizardButton.mtd_base,
    &sipTypeDef_QtWidgets_QListView.super.ctd_base,
    &enumTypes[131].etd_base,
    &enumTypes[129].etd_base,
    &enumTypes[132].etd_base,
    &enumTypes[130].etd_base,
    &enumTypes[128].etd_base,
    &sipTypeDef_QtWidgets_QListWidget.super.ctd_base,
    &sipTypeDef_QtWidgets_QListWidgetItem.super.ctd_base,
    &enumTypes[127].etd_base,
    &sipTypeDef_QtWidgets_QMainWindow.super.ctd_base,
    &enumTypes[126].etd_base,
    &sipTypeDef_QtWidgets_QMainWindow_DockOptions.super.ctd_base,
    &sipTypeDef_QtWidgets_QMap_0100QDate_0100QTextCharFormat.mtd_base,
    &sipTypeDef_QtWidgets_QMdiArea.super.ctd_base,
    &enumTypes[125].etd_base,
    &sipTypeDef_QtWidgets_QMdiArea_AreaOptions.super.ctd_base,
    &enumTypes[124].etd_base,
    &enumTypes[123].etd_base,
    &sipTypeDef_QtWidgets_QMdiSubWindow.super.ctd_base,
    &enumTypes[122].etd_base,
    &sipTypeDef_QtWidgets_QMdiSubWindow_SubWindowOptions.super.ctd_base,
    &sipTypeDef_QtWidgets_QMenu.super.ctd_base,
    &sipTypeDef_QtWidgets_QMenuBar.super.ctd_base,
    &sipTypeDef_QtWidgets_QMessageBox.super.ctd_base,
    &enumTypes[121].etd_base,
    &enumTypes[120].etd_base,
    &enumTypes[119].etd_base,
    &sipTypeDef_QtWidgets_QMessageBox_StandardButtons.super.ctd_base,
    &sipTypeDef_QtWidgets_QMouseEventTransition.super.ctd_base,
    &sipTypeDef_QtWidgets_QOpenGLWidget.super.ctd_base,
    &sipTypeDef_QtWidgets_QPanGesture.super.ctd_base,
    &sipTypeDef_QtWidgets_QPinchGesture.super.ctd_base,
    &enumTypes[159].etd_base,
    &sipTypeDef_QtWidgets_QPinchGesture_ChangeFlags.super.ctd_base,
    &sipTypeDef_QtWidgets_QPlainTextDocumentLayout.super.ctd_base,
    &sipTypeDef_QtWidgets_QPlainTextEdit.super.ctd_base,
    &enumTypes[118].etd_base,
    &sipTypeDef_QtWidgets_QProgressBar.super.ctd_base,
    &enumTypes[117].etd_base,
    &sipTypeDef_QtWidgets_QProgressDialog.super.ctd_base,
    &sipTypeDef_QtWidgets_QPushButton.super.ctd_base,
    &sipTypeDef_QtWidgets_QRadioButton.super.ctd_base,
    &sipTypeDef_QtWidgets_QRubberBand.super.ctd_base,
    &enumTypes[116].etd_base,
    &sipTypeDef_QtWidgets_QScrollArea.super.ctd_base,
    &sipTypeDef_QtWidgets_QScrollBar.super.ctd_base,
    &sipTypeDef_QtWidgets_QScroller.super.ctd_base,
    &enumTypes[113].etd_base,
    &enumTypes[114].etd_base,
    &enumTypes[115].etd_base,
    &sipTypeDef_QtWidgets_QScrollerProperties.super.ctd_base,
    &enumTypes[111].etd_base,
    &enumTypes[112].etd_base,
    &enumTypes[110].etd_base,
    &sipTypeDef_QtWidgets_QShortcut.super.ctd_base,
    &sipTypeDef_QtWidgets_QSizeGrip.super.ctd_base,
    &sipTypeDef_QtWidgets_QSizePolicy.super.ctd_base,
    &enumTypes[107].etd_base,
    &sipTypeDef_QtWidgets_QSizePolicy_ControlTypes.super.ctd_base,
    &enumTypes[108].etd_base,
    &enumTypes[109].etd_base,
    &sipTypeDef_QtWidgets_QSlider.super.ctd_base,
    &enumTypes[106].etd_base,
    &sipTypeDef_QtWidgets_QSpacerItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QSpinBox.super.ctd_base,
    &sipTypeDef_QtWidgets_QSplashScreen.super.ctd_base,
    &sipTypeDef_QtWidgets_QSplitter.super.ctd_base,
    &sipTypeDef_QtWidgets_QSplitterHandle.super.ctd_base,
    &sipTypeDef_QtWidgets_QStackedLayout.super.ctd_base,
    &enumTypes[105].etd_base,
    &sipTypeDef_QtWidgets_QStackedWidget.super.ctd_base,
    &sipTypeDef_QtWidgets_QStatusBar.super.ctd_base,
    &sipTypeDef_QtWidgets_QStyle.super.ctd_base,
    &enumTypes[100].etd_base,
    &enumTypes[97].etd_base,
    &enumTypes[102].etd_base,
    &enumTypes[98].etd_base,
    &enumTypes[103].etd_base,
    &enumTypes[94].etd_base,
    &enumTypes[95].etd_base,
    &sipTypeDef_QtWidgets_QStyle_State.super.ctd_base,
    &enumTypes[104].etd_base,
    &enumTypes[96].etd_base,
    &enumTypes[99].etd_base,
    &sipTypeDef_QtWidgets_QStyle_SubControls.super.ctd_base,
    &enumTypes[101].etd_base,
    &sipTypeDef_QtWidgets_QStyleFactory.super.ctd_base,
    &sipTypeDef_QtWidgets_QStyleHintReturn.super.ctd_base,
    &enumTypes[35].etd_base,
    &enumTypes[34].etd_base,
    &enumTypes[33].etd_base,
    &sipTypeDef_QtWidgets_QStyleHintReturnMask.super.ctd_base,
    &enumTypes[32].etd_base,
    &enumTypes[31].etd_base,
    &sipTypeDef_QtWidgets_QStyleHintReturnVariant.super.ctd_base,
    &enumTypes[20].etd_base,
    &enumTypes[19].etd_base,
    &sipTypeDef_QtWidgets_QStyleOption.super.ctd_base,
    &enumTypes[93].etd_base,
    &enumTypes[92].etd_base,
    &enumTypes[91].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionButton.super.ctd_base,
    &enumTypes[74].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionButton_ButtonFeatures.super.ctd_base,
    &enumTypes[76].etd_base,
    &enumTypes[75].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionComboBox.super.ctd_base,
    &enumTypes[39].etd_base,
    &enumTypes[38].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionComplex.super.ctd_base,
    &enumTypes[48].etd_base,
    &enumTypes[47].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionDockWidget.super.ctd_base,
    &enumTypes[61].etd_base,
    &enumTypes[60].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionFocusRect.super.ctd_base,
    &enumTypes[90].etd_base,
    &enumTypes[89].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionFrame.super.ctd_base,
    &enumTypes[86].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionFrame_FrameFeatures.super.ctd_base,
    &enumTypes[88].etd_base,
    &enumTypes[87].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionGraphicsItem.super.ctd_base,
    &enumTypes[22].etd_base,
    &enumTypes[21].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionGroupBox.super.ctd_base,
    &enumTypes[26].etd_base,
    &enumTypes[25].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionHeader.super.ctd_base,
    &enumTypes[79].etd_base,
    &enumTypes[78].etd_base,
    &enumTypes[77].etd_base,
    &enumTypes[81].etd_base,
    &enumTypes[80].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionMenuItem.super.ctd_base,
    &enumTypes[62].etd_base,
    &enumTypes[63].etd_base,
    &enumTypes[65].etd_base,
    &enumTypes[64].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionProgressBar.super.ctd_base,
    &enumTypes[67].etd_base,
    &enumTypes[66].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionRubberBand.super.ctd_base,
    &enumTypes[50].etd_base,
    &enumTypes[49].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionSizeGrip.super.ctd_base,
    &enumTypes[24].etd_base,
    &enumTypes[23].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionSlider.super.ctd_base,
    &enumTypes[46].etd_base,
    &enumTypes[45].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionSpinBox.super.ctd_base,
    &enumTypes[44].etd_base,
    &enumTypes[43].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionTab.super.ctd_base,
    &enumTypes[69].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionTab_CornerWidgets.super.ctd_base,
    &enumTypes[70].etd_base,
    &enumTypes[73].etd_base,
    &enumTypes[72].etd_base,
    &enumTypes[68].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionTab_TabFeatures.super.ctd_base,
    &enumTypes[71].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionTabBarBase.super.ctd_base,
    &enumTypes[83].etd_base,
    &enumTypes[82].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionTabWidgetFrame.super.ctd_base,
    &enumTypes[85].etd_base,
    &enumTypes[84].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionTitleBar.super.ctd_base,
    &enumTypes[37].etd_base,
    &enumTypes[36].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionToolBar.super.ctd_base,
    &enumTypes[30].etd_base,
    &enumTypes[29].etd_base,
    &enumTypes[27].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionToolBar_ToolBarFeatures.super.ctd_base,
    &enumTypes[28].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionToolBox.super.ctd_base,
    &enumTypes[51].etd_base,
    &enumTypes[54].etd_base,
    &enumTypes[53].etd_base,
    &enumTypes[52].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionToolButton.super.ctd_base,
    &enumTypes[42].etd_base,
    &enumTypes[41].etd_base,
    &enumTypes[40].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionToolButton_ToolButtonFeatures.super.ctd_base,
    &sipTypeDef_QtWidgets_QStyleOptionViewItem.super.ctd_base,
    &enumTypes[57].etd_base,
    &enumTypes[59].etd_base,
    &enumTypes[58].etd_base,
    &enumTypes[56].etd_base,
    &sipTypeDef_QtWidgets_QStyleOptionViewItem_ViewItemFeatures.super.ctd_base,
    &enumTypes[55].etd_base,
    &sipTypeDef_QtWidgets_QStylePainter.super.ctd_base,
    &sipTypeDef_QtWidgets_QStyledItemDelegate.super.ctd_base,
    &sipTypeDef_QtWidgets_QSwipeGesture.super.ctd_base,
    &enumTypes[158].etd_base,
    &sipTypeDef_QtWidgets_QSystemTrayIcon.super.ctd_base,
    &enumTypes[18].etd_base,
    &enumTypes[17].etd_base,
    &sipTypeDef_QtWidgets_QTabBar.super.ctd_base,
    &enumTypes[15].etd_base,
    &enumTypes[14].etd_base,
    &enumTypes[16].etd_base,
    &sipTypeDef_QtWidgets_QTabWidget.super.ctd_base,
    &enumTypes[12].etd_base,
    &enumTypes[11].etd_base,
    &sipTypeDef_QtWidgets_QTableView.super.ctd_base,
    &sipTypeDef_QtWidgets_QTableWidget.super.ctd_base,
    &sipTypeDef_QtWidgets_QTableWidgetItem.super.ctd_base,
    &enumTypes[13].etd_base,
    &sipTypeDef_QtWidgets_QTableWidgetSelectionRange.super.ctd_base,
    &sipTypeDef_QtWidgets_QTapAndHoldGesture.super.ctd_base,
    &sipTypeDef_QtWidgets_QTapGesture.super.ctd_base,
    &sipTypeDef_QtWidgets_QTextBrowser.super.ctd_base,
    &sipTypeDef_QtWidgets_QTextEdit.super.ctd_base,
    &sipTypeDef_QtWidgets_QTextEdit_AutoFormatting.super.ctd_base,
    &enumTypes[9].etd_base,
    &sipTypeDef_QtWidgets_QTextEdit_ExtraSelection.super.ctd_base,
    &enumTypes[10].etd_base,
    &sipTypeDef_QtWidgets_QTimeEdit.super.ctd_base,
    &sipTypeDef_QtWidgets_QToolBar.super.ctd_base,
    &sipTypeDef_QtWidgets_QToolBox.super.ctd_base,
    &sipTypeDef_QtWidgets_QToolButton.super.ctd_base,
    &enumTypes[8].etd_base,
    &sipTypeDef_QtWidgets_QToolTip.super.ctd_base,
    &sipTypeDef_QtWidgets_QTreeView.super.ctd_base,
    &sipTypeDef_QtWidgets_QTreeWidget.super.ctd_base,
    &sipTypeDef_QtWidgets_QTreeWidgetItem.super.ctd_base,
    &enumTypes[6].etd_base,
    &enumTypes[7].etd_base,
    &sipTypeDef_QtWidgets_QTreeWidgetItemIterator.super.ctd_base,
    &enumTypes[5].etd_base,
    &sipTypeDef_QtWidgets_QTreeWidgetItemIterator_IteratorFlags.super.ctd_base,
    &sipTypeDef_QtWidgets_QUndoCommand.super.ctd_base,
    &sipTypeDef_QtWidgets_QUndoGroup.super.ctd_base,
    &sipTypeDef_QtWidgets_QUndoStack.super.ctd_base,
    &sipTypeDef_QtWidgets_QUndoView.super.ctd_base,
    &sipTypeDef_QtWidgets_QVBoxLayout.super.ctd_base,
    &sipTypeDef_QtWidgets_QWhatsThis.super.ctd_base,
    &sipTypeDef_QtWidgets_QWidget.super.ctd_base,
    &enumTypes[4].etd_base,
    &sipTypeDef_QtWidgets_QWidget_RenderFlags.super.ctd_base,
    &sipTypeDef_QtWidgets_QWidgetAction.super.ctd_base,
    &sipTypeDef_QtWidgets_QWidgetItem.super.ctd_base,
    &sipTypeDef_QtWidgets_QWizard.super.ctd_base,
    &enumTypes[3].etd_base,
    &enumTypes[0].etd_base,
    &sipTypeDef_QtWidgets_QWizard_WizardOptions.super.ctd_base,
    &enumTypes[2].etd_base,
    &enumTypes[1].etd_base,
    &sipTypeDef_QtWidgets_QWizardPage.super.ctd_base,
};


/*
 * These define each typedef in this module.
 */
static sipTypedefDef typedefsTable[] = {
    {"QMessageBox::Button", "QMessageBox::StandardButton"},
    {"QWidgetList", "QList<QWidget*>"},
};


/*
 * This defines the virtual handlers that this module implements and can be
 * used by other modules.
 */
static sipVirtHandlerFunc virtHandlersTable[] = {
    (sipVirtHandlerFunc)sipVH_QtWidgets_0,
    (sipVirtHandlerFunc)sipVH_QtWidgets_1,
    (sipVirtHandlerFunc)sipVH_QtWidgets_2,
    (sipVirtHandlerFunc)sipVH_QtWidgets_3,
    (sipVirtHandlerFunc)sipVH_QtWidgets_4,
    (sipVirtHandlerFunc)sipVH_QtWidgets_5,
    (sipVirtHandlerFunc)sipVH_QtWidgets_6,
    (sipVirtHandlerFunc)sipVH_QtWidgets_7,
    (sipVirtHandlerFunc)sipVH_QtWidgets_8,
    (sipVirtHandlerFunc)sipVH_QtWidgets_9,
    (sipVirtHandlerFunc)sipVH_QtWidgets_10,
    (sipVirtHandlerFunc)sipVH_QtWidgets_11,
    (sipVirtHandlerFunc)sipVH_QtWidgets_12,
    (sipVirtHandlerFunc)sipVH_QtWidgets_13,
    (sipVirtHandlerFunc)sipVH_QtWidgets_14,
    (sipVirtHandlerFunc)sipVH_QtWidgets_15,
    (sipVirtHandlerFunc)sipVH_QtWidgets_16,
    (sipVirtHandlerFunc)sipVH_QtWidgets_17,
    (sipVirtHandlerFunc)sipVH_QtWidgets_18,
    (sipVirtHandlerFunc)sipVH_QtWidgets_19,
    (sipVirtHandlerFunc)sipVH_QtWidgets_20,
    (sipVirtHandlerFunc)sipVH_QtWidgets_21,
    (sipVirtHandlerFunc)sipVH_QtWidgets_22,
    (sipVirtHandlerFunc)sipVH_QtWidgets_23,
    (sipVirtHandlerFunc)sipVH_QtWidgets_24,
    (sipVirtHandlerFunc)sipVH_QtWidgets_25,
    (sipVirtHandlerFunc)sipVH_QtWidgets_26,
    (sipVirtHandlerFunc)sipVH_QtWidgets_27,
    (sipVirtHandlerFunc)sipVH_QtWidgets_28,
    (sipVirtHandlerFunc)sipVH_QtWidgets_29,
    (sipVirtHandlerFunc)sipVH_QtWidgets_30,
    (sipVirtHandlerFunc)sipVH_QtWidgets_31,
    (sipVirtHandlerFunc)sipVH_QtWidgets_32,
    (sipVirtHandlerFunc)sipVH_QtWidgets_33,
    (sipVirtHandlerFunc)sipVH_QtWidgets_34,
    (sipVirtHandlerFunc)sipVH_QtWidgets_35,
    (sipVirtHandlerFunc)sipVH_QtWidgets_36,
    (sipVirtHandlerFunc)sipVH_QtWidgets_37,
    (sipVirtHandlerFunc)sipVH_QtWidgets_38,
    (sipVirtHandlerFunc)sipVH_QtWidgets_39,
    (sipVirtHandlerFunc)sipVH_QtWidgets_40,
    (sipVirtHandlerFunc)sipVH_QtWidgets_41,
    (sipVirtHandlerFunc)sipVH_QtWidgets_42,
    (sipVirtHandlerFunc)sipVH_QtWidgets_43,
    (sipVirtHandlerFunc)sipVH_QtWidgets_44,
    (sipVirtHandlerFunc)sipVH_QtWidgets_45,
    (sipVirtHandlerFunc)sipVH_QtWidgets_46,
    (sipVirtHandlerFunc)sipVH_QtWidgets_47,
    (sipVirtHandlerFunc)sipVH_QtWidgets_48,
    (sipVirtHandlerFunc)sipVH_QtWidgets_49,
    (sipVirtHandlerFunc)sipVH_QtWidgets_50,
    (sipVirtHandlerFunc)sipVH_QtWidgets_51,
    (sipVirtHandlerFunc)sipVH_QtWidgets_52,
    (sipVirtHandlerFunc)sipVH_QtWidgets_53,
    (sipVirtHandlerFunc)sipVH_QtWidgets_54,
    (sipVirtHandlerFunc)sipVH_QtWidgets_55,
    (sipVirtHandlerFunc)sipVH_QtWidgets_56,
    (sipVirtHandlerFunc)sipVH_QtWidgets_57,
    (sipVirtHandlerFunc)sipVH_QtWidgets_58,
    (sipVirtHandlerFunc)sipVH_QtWidgets_59,
    (sipVirtHandlerFunc)sipVH_QtWidgets_60,
    (sipVirtHandlerFunc)sipVH_QtWidgets_61,
    (sipVirtHandlerFunc)sipVH_QtWidgets_62,
    (sipVirtHandlerFunc)sipVH_QtWidgets_63,
    (sipVirtHandlerFunc)sipVH_QtWidgets_64,
    (sipVirtHandlerFunc)sipVH_QtWidgets_65,
    (sipVirtHandlerFunc)sipVH_QtWidgets_66,
    (sipVirtHandlerFunc)sipVH_QtWidgets_67,
    (sipVirtHandlerFunc)sipVH_QtWidgets_68,
    (sipVirtHandlerFunc)sipVH_QtWidgets_69,
    (sipVirtHandlerFunc)sipVH_QtWidgets_70,
    (sipVirtHandlerFunc)sipVH_QtWidgets_71,
    (sipVirtHandlerFunc)sipVH_QtWidgets_72,
    (sipVirtHandlerFunc)sipVH_QtWidgets_73,
    (sipVirtHandlerFunc)sipVH_QtWidgets_74,
    (sipVirtHandlerFunc)sipVH_QtWidgets_75,
    (sipVirtHandlerFunc)sipVH_QtWidgets_76,
    (sipVirtHandlerFunc)sipVH_QtWidgets_77,
    (sipVirtHandlerFunc)sipVH_QtWidgets_78,
    (sipVirtHandlerFunc)sipVH_QtWidgets_79,
    (sipVirtHandlerFunc)sipVH_QtWidgets_80,
    (sipVirtHandlerFunc)sipVH_QtWidgets_81,
    (sipVirtHandlerFunc)sipVH_QtWidgets_82,
    (sipVirtHandlerFunc)sipVH_QtWidgets_83,
    (sipVirtHandlerFunc)sipVH_QtWidgets_84,
    (sipVirtHandlerFunc)sipVH_QtWidgets_85,
    (sipVirtHandlerFunc)sipVH_QtWidgets_86,
    (sipVirtHandlerFunc)sipVH_QtWidgets_87,
    (sipVirtHandlerFunc)sipVH_QtWidgets_88,
    (sipVirtHandlerFunc)sipVH_QtWidgets_89,
    (sipVirtHandlerFunc)sipVH_QtWidgets_90,
    (sipVirtHandlerFunc)sipVH_QtWidgets_91,
    (sipVirtHandlerFunc)sipVH_QtWidgets_92,
    (sipVirtHandlerFunc)sipVH_QtWidgets_93,
    (sipVirtHandlerFunc)sipVH_QtWidgets_94,
    (sipVirtHandlerFunc)sipVH_QtWidgets_95,
    (sipVirtHandlerFunc)sipVH_QtWidgets_96,
    (sipVirtHandlerFunc)sipVH_QtWidgets_97,
    (sipVirtHandlerFunc)sipVH_QtWidgets_98,
    (sipVirtHandlerFunc)sipVH_QtWidgets_99,
    (sipVirtHandlerFunc)sipVH_QtWidgets_100,
    (sipVirtHandlerFunc)sipVH_QtWidgets_101,
    (sipVirtHandlerFunc)sipVH_QtWidgets_102,
    (sipVirtHandlerFunc)sipVH_QtWidgets_103,
    (sipVirtHandlerFunc)sipVH_QtWidgets_104,
    (sipVirtHandlerFunc)sipVH_QtWidgets_105,
    (sipVirtHandlerFunc)sipVH_QtWidgets_106,
    (sipVirtHandlerFunc)sipVH_QtWidgets_107,
    (sipVirtHandlerFunc)sipVH_QtWidgets_108,
    (sipVirtHandlerFunc)sipVH_QtWidgets_109,
    (sipVirtHandlerFunc)sipVH_QtWidgets_110,
    (sipVirtHandlerFunc)sipVH_QtWidgets_111,
    (sipVirtHandlerFunc)sipVH_QtWidgets_112,
    (sipVirtHandlerFunc)sipVH_QtWidgets_113,
    (sipVirtHandlerFunc)sipVH_QtWidgets_114,
    (sipVirtHandlerFunc)sipVH_QtWidgets_115,
    (sipVirtHandlerFunc)sipVH_QtWidgets_116,
    (sipVirtHandlerFunc)sipVH_QtWidgets_117,
    (sipVirtHandlerFunc)sipVH_QtWidgets_118,
    (sipVirtHandlerFunc)sipVH_QtWidgets_119,
    (sipVirtHandlerFunc)sipVH_QtWidgets_120,
    (sipVirtHandlerFunc)sipVH_QtWidgets_121,
    (sipVirtHandlerFunc)sipVH_QtWidgets_122,
    (sipVirtHandlerFunc)sipVH_QtWidgets_123,
    (sipVirtHandlerFunc)sipVH_QtWidgets_124,
    (sipVirtHandlerFunc)sipVH_QtWidgets_125,
    (sipVirtHandlerFunc)sipVH_QtWidgets_126,
    (sipVirtHandlerFunc)sipVH_QtWidgets_127,
    (sipVirtHandlerFunc)sipVH_QtWidgets_128,
    (sipVirtHandlerFunc)sipVH_QtWidgets_129,
    (sipVirtHandlerFunc)sipVH_QtWidgets_130,
    (sipVirtHandlerFunc)sipVH_QtWidgets_131,
    (sipVirtHandlerFunc)sipVH_QtWidgets_132,
    (sipVirtHandlerFunc)sipVH_QtWidgets_133,
    (sipVirtHandlerFunc)sipVH_QtWidgets_134,
    (sipVirtHandlerFunc)sipVH_QtWidgets_135,
    (sipVirtHandlerFunc)sipVH_QtWidgets_136,
    (sipVirtHandlerFunc)sipVH_QtWidgets_137,
    (sipVirtHandlerFunc)sipVH_QtWidgets_138,
    (sipVirtHandlerFunc)sipVH_QtWidgets_139,
    (sipVirtHandlerFunc)sipVH_QtWidgets_140,
    (sipVirtHandlerFunc)sipVH_QtWidgets_141,
    (sipVirtHandlerFunc)sipVH_QtWidgets_142,
    (sipVirtHandlerFunc)sipVH_QtWidgets_143,
    (sipVirtHandlerFunc)sipVH_QtWidgets_144,
    (sipVirtHandlerFunc)sipVH_QtWidgets_145,
    (sipVirtHandlerFunc)sipVH_QtWidgets_146,
    (sipVirtHandlerFunc)sipVH_QtWidgets_147,
    (sipVirtHandlerFunc)sipVH_QtWidgets_148,
};


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


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_QApplication, {162, 0, 0}, NULL},
    {sipSubClass_QLayoutItem, {188, 255, 0}, NULL},
    {sipSubClass_QGestureEvent, {53, 0, 0}, NULL},
    {sipSubClass_QGraphicsItem, {121, 255, 0}, NULL},
    {sipSubClass_QGraphicsSceneEvent, {53, 0, 0}, NULL},
    {sipSubClass_QStyleOption, {308, 255, 0}, NULL},
    {NULL, {0, 0, 0}, NULL}
};


/* Define the class and enum instances to be added to this module dictionary. */
static sipTypeInstanceDef typeInstances[] = {
    {sipName_qApp, (void *)access_qApp, &sipType_QApplication, SIP_ACCFUNC|SIP_NOT_IN_MAP},
    {0, 0, 0, 0}
};


/* Define the ints to be added to this module dictionary. */
static sipIntInstanceDef intInstances[] = {
    {sipName_QWIDGETSIZE_MAX, QWIDGETSIZE_MAX},
    {0, 0}
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtWidgets = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt5_QtWidgets,
    0,
    -1,
    sipStrings_QtWidgets,
    importsTable,
    NULL,
    466,
    typesTable,
    NULL,
    0,
    NULL,
    2,
    typedefsTable,
    virtHandlersTable,
    NULL,
    convertorsTable,
    {typeInstances, NULL, NULL, NULL, intInstances, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    slotExtenders,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


/* The SIP API and the APIs of any imported modules. */
const sipAPIDef *sipAPI_QtWidgets;
const sipExportedModuleDef *sipModuleAPI_QtWidgets_QtCore;
const sipExportedModuleDef *sipModuleAPI_QtWidgets_QtGui;

sip_qt_metaobject_func sip_QtWidgets_qt_metaobject;
sip_qt_metacall_func sip_QtWidgets_qt_metacall;
sip_qt_metacast_func sip_QtWidgets_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtWidgets
#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        initQtWidgets
#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_qDrawBorderPixmap), func_qDrawBorderPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_qDrawBorderPixmap)},
        {SIP_MLNAME_CAST(sipName_qDrawPlainRect), (PyCFunction)func_qDrawPlainRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_qDrawPlainRect)},
        {SIP_MLNAME_CAST(sipName_qDrawWinPanel), (PyCFunction)func_qDrawWinPanel, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_qDrawWinPanel)},
        {SIP_MLNAME_CAST(sipName_qDrawWinButton), (PyCFunction)func_qDrawWinButton, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_qDrawWinButton)},
        {SIP_MLNAME_CAST(sipName_qDrawShadePanel), (PyCFunction)func_qDrawShadePanel, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_qDrawShadePanel)},
        {SIP_MLNAME_CAST(sipName_qDrawShadeRect), (PyCFunction)func_qDrawShadeRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_qDrawShadeRect)},
        {SIP_MLNAME_CAST(sipName_qDrawShadeLine), (PyCFunction)func_qDrawShadeLine, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_qDrawShadeLine)},
        {0, 0, 0, 0}
    };

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

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

    /* Initialise the module and get it's dictionary. */
#if PY_MAJOR_VERSION >= 3
    sipModule = PyModule_Create(&sip_module_def);
#elif PY_VERSION_HEX >= 0x02050000
    sipModule = Py_InitModule(sipName_PyQt5_QtWidgets, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt5_QtWidgets), 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_QtWidgets = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, SIP_MODULE_NAME "._C_API"));
#else
    sipAPI_QtWidgets = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

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

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

    sip_QtWidgets_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtWidgets_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtWidgets_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

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

    /* Get the APIs of the modules that this one is dependent on. */
    sipModuleAPI_QtWidgets_QtCore = sipModuleAPI_QtWidgets.em_imports[0].im_module;
    sipModuleAPI_QtWidgets_QtGui = sipModuleAPI_QtWidgets.em_imports[1].im_module;
#line 350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
// Imports from QtCore.
pyqt5_qtwidgets_from_argv_list = (pyqt5_qtwidgets_from_argv_list_t)sipImportSymbol("pyqt5_from_argv_list");
pyqt5_qtwidgets_get_connection_parts = (pyqt5_qtwidgets_get_connection_parts_t)sipImportSymbol("pyqt5_get_connection_parts");
pyqt5_qtwidgets_get_pyqtsignal_parts = (pyqt5_qtwidgets_get_pyqtsignal_parts_t)sipImportSymbol("pyqt5_get_pyqtsignal_parts");
pyqt5_qtwidgets_update_argv_list = (pyqt5_qtwidgets_update_argv_list_t)sipImportSymbol("pyqt5_update_argv_list");
#line 9455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

    SIP_MODULE_RETURN(sipModule);
}

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 9462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 9466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QUndoStack *t = reinterpret_cast<QUndoStack *>(
                sipForceConvertToType(itm, sipType_QUndoStack, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QUndoStack' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QUndoStack *t = sipCpp->at(i);

        // The explicit (void *) cast allows QUndoStack to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QUndoStack,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QUndoStack = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_25697,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QUndoStack,
    array_QList_0101QUndoStack,
    copy_QList_0101QUndoStack,
    release_QList_0101QUndoStack,
    convertTo_QList_0101QUndoStack,
    convertFrom_QList_0101QUndoStack
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 9638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 9642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QTreeWidgetItem *t = reinterpret_cast<QTreeWidgetItem *>(
                sipForceConvertToType(itm, sipType_QTreeWidgetItem, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QTreeWidgetItem' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QTreeWidgetItem *t = sipCpp->at(i);

        // The explicit (void *) cast allows QTreeWidgetItem to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QTreeWidgetItem,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QTreeWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_13230,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QTreeWidgetItem,
    array_QList_0101QTreeWidgetItem,
    copy_QList_0101QTreeWidgetItem,
    release_QList_0101QTreeWidgetItem,
    convertTo_QList_0101QTreeWidgetItem,
    convertFrom_QList_0101QTreeWidgetItem
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 9814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 49 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 9818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QTableWidgetItem *t = reinterpret_cast<QTableWidgetItem *>(
                sipForceConvertToType(itm, sipType_QTableWidgetItem, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QTableWidgetItem' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 9925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QTableWidgetItem *t = sipCpp->at(i);

        // The explicit (void *) cast allows QTableWidgetItem to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QTableWidgetItem,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 9959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QTableWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_11730,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QTableWidgetItem,
    array_QList_0101QTableWidgetItem,
    copy_QList_0101QTableWidgetItem,
    release_QList_0101QTableWidgetItem,
    convertTo_QList_0101QTableWidgetItem,
    convertFrom_QList_0101QTableWidgetItem
};

#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 9990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 9994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

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

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QTableWidgetSelectionRange' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0100QTableWidgetSelectionRange = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_3867,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QTableWidgetSelectionRange,
    array_QList_0100QTableWidgetSelectionRange,
    copy_QList_0100QTableWidgetSelectionRange,
    release_QList_0100QTableWidgetSelectionRange,
    convertTo_QList_0100QTableWidgetSelectionRange,
    convertFrom_QList_0100QTableWidgetSelectionRange
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscroller.sip"
#include <qscroller.h>
#line 10171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QScroller *t = reinterpret_cast<QScroller *>(
                sipForceConvertToType(itm, sipType_QScroller, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QScroller' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QScroller *t = sipCpp->at(i);

        // The explicit (void *) cast allows QScroller to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QScroller,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QScroller = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_29288,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QScroller,
    array_QList_0101QScroller,
    copy_QList_0101QScroller,
    release_QList_0101QScroller,
    convertTo_QList_0101QScroller,
    convertFrom_QList_0101QScroller
};

#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 37 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 10349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QTextEdit::ExtraSelection> *ql = new QList<QTextEdit::ExtraSelection>;
 
    for (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        int state;
        QTextEdit::ExtraSelection *t = reinterpret_cast<QTextEdit::ExtraSelection *>(
                sipForceConvertToType(itm, sipType_QTextEdit_ExtraSelection, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QTextEdit::ExtraSelection' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0100QTextEdit_ExtraSelection = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_4445,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QTextEdit_ExtraSelection,
    array_QList_0100QTextEdit_ExtraSelection,
    copy_QList_0100QTextEdit_ExtraSelection,
    release_QList_0100QTextEdit_ExtraSelection,
    convertTo_QList_0100QTextEdit_ExtraSelection,
    convertFrom_QList_0100QTextEdit_ExtraSelection
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 10526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QMdiSubWindow *t = reinterpret_cast<QMdiSubWindow *>(
                sipForceConvertToType(itm, sipType_QMdiSubWindow, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QMdiSubWindow' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QMdiSubWindow *t = sipCpp->at(i);

        // The explicit (void *) cast allows QMdiSubWindow to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QMdiSubWindow,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QMdiSubWindow = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_16971,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QMdiSubWindow,
    array_QList_0101QMdiSubWindow,
    copy_QList_0101QMdiSubWindow,
    release_QList_0101QMdiSubWindow,
    convertTo_QList_0101QMdiSubWindow,
    convertFrom_QList_0101QMdiSubWindow
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 10702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QDockWidget *t = reinterpret_cast<QDockWidget *>(
                sipForceConvertToType(itm, sipType_QDockWidget, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QDockWidget' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QDockWidget *t = sipCpp->at(i);

        // The explicit (void *) cast allows QDockWidget to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QDockWidget,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 10843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QDockWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_22617,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QDockWidget,
    array_QList_0101QDockWidget,
    copy_QList_0101QDockWidget,
    release_QList_0101QDockWidget,
    convertTo_QList_0101QDockWidget,
    convertFrom_QList_0101QDockWidget
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 10874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 10878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QListWidgetItem *t = reinterpret_cast<QListWidgetItem *>(
                sipForceConvertToType(itm, sipType_QListWidgetItem, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QListWidgetItem' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 10985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QListWidgetItem *t = sipCpp->at(i);

        // The explicit (void *) cast allows QListWidgetItem to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QListWidgetItem,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QListWidgetItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_13254,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QListWidgetItem,
    array_QList_0101QListWidgetItem,
    copy_QList_0101QListWidgetItem,
    release_QList_0101QListWidgetItem,
    convertTo_QList_0101QListWidgetItem,
    convertFrom_QList_0101QListWidgetItem
};

#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 11054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

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

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QRectF' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(*t);

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

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

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

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

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0100QRectF = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_45015,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QRectF,
    array_QList_0100QRectF,
    copy_QList_0100QRectF,
    release_QList_0100QRectF,
    convertTo_QList_0100QRectF,
    convertFrom_QList_0100QRectF
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 11231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QGraphicsView *t = reinterpret_cast<QGraphicsView *>(
                sipForceConvertToType(itm, sipType_QGraphicsView, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QGraphicsView' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QGraphicsView *t = sipCpp->at(i);

        // The explicit (void *) cast allows QGraphicsView to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QGraphicsView,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGraphicsView = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_16993,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QGraphicsView,
    array_QList_0101QGraphicsView,
    copy_QList_0101QGraphicsView,
    release_QList_0101QGraphicsView,
    convertTo_QList_0101QGraphicsView,
    convertFrom_QList_0101QGraphicsView
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 11407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QGraphicsTransform *t = reinterpret_cast<QGraphicsTransform *>(
                sipForceConvertToType(itm, sipType_QGraphicsTransform, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QGraphicsTransform' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QGraphicsTransform *t = sipCpp->at(i);

        // The explicit (void *) cast allows QGraphicsTransform to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QGraphicsTransform,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGraphicsTransform = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_9221,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QGraphicsTransform,
    array_QList_0101QGraphicsTransform,
    copy_QList_0101QGraphicsTransform,
    release_QList_0101QGraphicsTransform,
    convertTo_QList_0101QGraphicsTransform,
    convertFrom_QList_0101QGraphicsTransform
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 11583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QGraphicsItem *t = reinterpret_cast<QGraphicsItem *>(
                sipForceConvertToType(itm, sipType_QGraphicsItem, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QGraphicsItem' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QGraphicsItem *t = sipCpp->at(i);

        // The explicit (void *) cast allows QGraphicsItem to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QGraphicsItem,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGraphicsItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_17015,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QGraphicsItem,
    array_QList_0101QGraphicsItem,
    copy_QList_0101QGraphicsItem,
    release_QList_0101QGraphicsItem,
    convertTo_QList_0101QGraphicsItem,
    convertFrom_QList_0101QGraphicsItem
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 11755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 11759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QGesture *t = reinterpret_cast<QGesture *>(
                sipForceConvertToType(itm, sipType_QGesture, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QGesture' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 11866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QGesture *t = sipCpp->at(i);

        // The explicit (void *) cast allows QGesture to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QGesture,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 11900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGesture = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_32996,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QGesture,
    array_QList_0101QGesture,
    copy_QList_0101QGesture,
    release_QList_0101QGesture,
    convertTo_QList_0101QGesture,
    convertFrom_QList_0101QGesture
};

#line 26 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 11931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 11935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 11938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static void assign_QMap_0100QDate_0100QTextCharFormat(void *, SIP_SSIZE_T, const void *);}
static void assign_QMap_0100QDate_0100QTextCharFormat(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QMap<QDate,QTextCharFormat> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QMap<QDate,QTextCharFormat> *>(sipSrc);
}


extern "C" {static void *array_QMap_0100QDate_0100QTextCharFormat(SIP_SSIZE_T);}
static void *array_QMap_0100QDate_0100QTextCharFormat(SIP_SSIZE_T sipNrElem)
{
    return new QMap<QDate,QTextCharFormat>[sipNrElem];
}


extern "C" {static void *copy_QMap_0100QDate_0100QTextCharFormat(const void *, SIP_SSIZE_T);}
static void *copy_QMap_0100QDate_0100QTextCharFormat(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QMap<QDate,QTextCharFormat>(reinterpret_cast<const QMap<QDate,QTextCharFormat> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QMap_0100QDate_0100QTextCharFormat(void *, int);}
static void release_QMap_0100QDate_0100QTextCharFormat(void *ptr, int)
{
    delete reinterpret_cast<QMap<QDate,QTextCharFormat> *>(ptr);
}



extern "C" {static int convertTo_QMap_0100QDate_0100QTextCharFormat(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMap_0100QDate_0100QTextCharFormat(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QMap<QDate,QTextCharFormat> **sipCppPtr = reinterpret_cast<QMap<QDate,QTextCharFormat> **>(sipCppPtrV);

#line 84 "sip/QtCore/qpycore_qmap.sip"
    if (!sipIsErr)
        return PyDict_Check(sipPy);

    QMap<QDate, QTextCharFormat> *qm = new QMap<QDate, QTextCharFormat>;

    SIP_SSIZE_T pos = 0;
    PyObject *kobj, *vobj;
 
    while (PyDict_Next(sipPy, &pos, &kobj, &vobj))
    {
        int kstate;
        QDate *k = reinterpret_cast<QDate *>(
                sipForceConvertToType(kobj, sipType_QDate, sipTransferObj,
                        SIP_NOT_NONE, &kstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a key has type '%s' but 'QDate' is expected",
                    Py_TYPE(kobj)->tp_name);

            delete qm;

            return 0;
        }

        int vstate;
        QTextCharFormat *v = reinterpret_cast<QTextCharFormat *>(
                sipForceConvertToType(vobj, sipType_QTextCharFormat, sipTransferObj,
                        SIP_NOT_NONE, &vstate, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "a value has type '%s' but 'QTextCharFormat' is expected",
                    Py_TYPE(vobj)->tp_name);

            sipReleaseType(k, sipType_QDate, kstate);
            delete qm;

            return 0;
        }

        qm->insert(*k, *v);

        sipReleaseType(v, sipType_QTextCharFormat, vstate);
        sipReleaseType(k, sipType_QDate, kstate);
    }
 
    *sipCppPtr = qm;
 
    return sipGetState(sipTransferObj);
#line 12029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


extern "C" {static PyObject *convertFrom_QMap_0100QDate_0100QTextCharFormat(void *, PyObject *);}
static PyObject *convertFrom_QMap_0100QDate_0100QTextCharFormat(void *sipCppV, PyObject *sipTransferObj)
{
   QMap<QDate,QTextCharFormat> *sipCpp = reinterpret_cast<QMap<QDate,QTextCharFormat> *>(sipCppV);

#line 30 "sip/QtCore/qpycore_qmap.sip"
    PyObject *d = PyDict_New();

    if (!d)
        return 0;

    QMap<QDate, QTextCharFormat>::const_iterator it = sipCpp->constBegin();
    QMap<QDate, QTextCharFormat>::const_iterator end = sipCpp->constEnd();

    while (it != end)
    {
        QDate *k = new QDate(it.key());
        PyObject *kobj = sipConvertFromNewType(k, sipType_QDate,
                sipTransferObj);

        if (!kobj)
        {
            delete k;
            Py_DECREF(d);

            return 0;
        }

        QTextCharFormat *v = new QTextCharFormat(it.value());
        PyObject *vobj = sipConvertFromNewType(v, sipType_QTextCharFormat,
                sipTransferObj);

        if (!vobj)
        {
            delete v;
            Py_DECREF(kobj);
            Py_DECREF(d);

            return 0;
        }

        int rc = PyDict_SetItem(d, kobj, vobj);

        Py_DECREF(vobj);
        Py_DECREF(kobj);

        if (rc < 0)
        {
            Py_DECREF(d);

            return 0;
        }

        ++it;
    }

    return d;
#line 12090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QMap_0100QDate_0100QTextCharFormat = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_8409,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QMap_0100QDate_0100QTextCharFormat,
    array_QMap_0100QDate_0100QTextCharFormat,
    copy_QMap_0100QDate_0100QTextCharFormat,
    release_QMap_0100QDate_0100QTextCharFormat,
    convertTo_QMap_0100QDate_0100QTextCharFormat,
    convertFrom_QMap_0100QDate_0100QTextCharFormat
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 12125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QAbstractButton *t = reinterpret_cast<QAbstractButton *>(
                sipForceConvertToType(itm, sipType_QAbstractButton, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QAbstractButton' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QAbstractButton *t = sipCpp->at(i);

        // The explicit (void *) cast allows QAbstractButton to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QAbstractButton,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QAbstractButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_13278,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QAbstractButton,
    array_QList_0101QAbstractButton,
    copy_QList_0101QAbstractButton,
    release_QList_0101QAbstractButton,
    convertTo_QList_0101QAbstractButton,
    convertFrom_QList_0101QAbstractButton
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 12301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QGraphicsWidget *t = reinterpret_cast<QGraphicsWidget *>(
                sipForceConvertToType(itm, sipType_QGraphicsWidget, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QGraphicsWidget' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QGraphicsWidget *t = sipCpp->at(i);

        // The explicit (void *) cast allows QGraphicsWidget to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QGraphicsWidget,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QGraphicsWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_13302,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QGraphicsWidget,
    array_QList_0101QGraphicsWidget,
    copy_QList_0101QGraphicsWidget,
    release_QList_0101QGraphicsWidget,
    convertTo_QList_0101QGraphicsWidget,
    convertFrom_QList_0101QGraphicsWidget
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 12477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QAction *t = reinterpret_cast<QAction *>(
                sipForceConvertToType(itm, sipType_QAction, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QAction' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QAction *t = sipCpp->at(i);

        // The explicit (void *) cast allows QAction to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QAction,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QAction = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_36889,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QAction,
    array_QList_0101QAction,
    copy_QList_0101QAction,
    release_QList_0101QAction,
    convertTo_QList_0101QAction,
    convertFrom_QList_0101QAction
};

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 12649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 12653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

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

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

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

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

                return 0;
            }

            break;
        }

        QWidget *t = reinterpret_cast<QWidget *>(
                sipForceConvertToType(itm, sipType_QWidget, sipTransferObj, 0,
                        0, sipIsErr));
 
        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QWidget' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(t);

        Py_DECREF(itm);
    }

    Py_DECREF(iter);
 
    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 12760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


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

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

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QWidget *t = sipCpp->at(i);

        // The explicit (void *) cast allows QWidget to be const.
        PyObject *tobj = sipConvertFromType((void *)t, sipType_QWidget,
                sipTransferObj);

        if (!tobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, tobj);
    }

    return l;
#line 12794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0101QWidget = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_36905,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0101QWidget,
    array_QList_0101QWidget,
    copy_QList_0101QWidget,
    release_QList_0101QWidget,
    convertTo_QList_0101QWidget,
    convertFrom_QList_0101QWidget
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qpywidgets_qlist.sip"
#include <qwizard.h>
#line 12825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 12829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


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


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


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


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



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

#line 54 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qpywidgets_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

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

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QWizard::WizardButton> *ql = new QList<QWizard::WizardButton>;

    for (SIP_SSIZE_T i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

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

                return 0;
            }

            break;
        }

        if (!sipCanConvertToEnum(itm, sipType_QWizard_WizardButton))
        {
            PyErr_Format(PyExc_TypeError,
                    "index " SIP_SSIZE_T_FORMAT " has type '%s' but 'QWizard.WizardButton' is expected",
                    i, Py_TYPE(itm)->tp_name);

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

            return 0;
        }

        ql->append(static_cast<QWizard::WizardButton>(SIPLong_AsLong(itm)));

        Py_DECREF(itm);
    }

    Py_DECREF(iter);

    *sipCppPtr = ql;

    return sipGetState(sipTransferObj);
#line 12933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QWizard_WizardButton(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QWizard_WizardButton(void *sipCppV, PyObject *)
{
   QList<QWizard::WizardButton> *sipCpp = reinterpret_cast<QList<QWizard::WizardButton> *>(sipCppV);

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qpywidgets_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        PyObject *eobj = sipConvertFromEnum(sipCpp->at(i),
                sipType_QWizard_WizardButton);

        if (!eobj)
        {
            Py_DECREF(l);

            return 0;
        }

        PyList_SET_ITEM(l, i, eobj);
    }

    return l;
#line 12964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWidgets_QList_0100QWizard_WizardButton = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_7481,
        {0}
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QWizard_WizardButton,
    array_QList_0100QWizard_WizardButton,
    copy_QList_0100QWizard_WizardButton,
    release_QList_0100QWizard_WizardButton,
    convertTo_QList_0100QWizard_WizardButton,
    convertFrom_QList_0100QWizard_WizardButton
};

#line 161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 12995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 12999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 13002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 13008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 13011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 13014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 13017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 13020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 13023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 13029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 13035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 13044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 13047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 13050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 13053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 13056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 13059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 13062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 13065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 13068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 13071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 13074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 13077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 13134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 13137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 13143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 13146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 13149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 13155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 13158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 13161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 13164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 13167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 13170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 13176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 13179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 13185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 13188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 13191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 13194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 13197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 13200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQWizardPage : public QWizardPage
{
public:
    sipQWizardPage(QWidget*);
    virtual ~sipQWizardPage();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_setField(const QString&,const QVariant&);
    QVariant sipProtect_field(const QString&) const;
    void sipProtect_registerField(const QString&,QWidget*,const char*,const char*);
    QWizard* sipProtect_wizard() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    int nextId() const;
    bool isComplete() const;
    bool validatePage();
    void cleanupPage();
    void initializePage();

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[51];
};

sipQWizardPage::sipQWizardPage(QWidget*a0): QWizardPage(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

const QMetaObject *sipQWizardPage::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QWizardPage);
}

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

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QWizardPage,_c,_id,_a);

    return _id;
}

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

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QWizardPage, _clname, &sipCpp) ? sipCpp : QWizardPage::qt_metacast(_clname));
}

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

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

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

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

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

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQWizardPage::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQWizardPage::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQWizardPage::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQWizardPage::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::hasHeightForWidth();

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

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

bool sipQWizardPage::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQWizardPage::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQWizardPage::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::changeEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
        QWizardPage::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QWizardPage::leaveEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QWizardPage::enterEvent(a0);
        return;
    }

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

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QWizardPage::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QWizardPage::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QWizardPage::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QWizardPage::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QWizardPage::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QWizardPage::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QWizardPage::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QWizardPage::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizardPage::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QWizardPage::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

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

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

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

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQWizardPage::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQWizardPage::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQWizardPage::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQWizardPage::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQWizardPage::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QWizardPage::setVisible(a0);
        return;
    }

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

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQWizardPage::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQWizardPage::nextId() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::nextId();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQWizardPage::isComplete() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QWizardPage::isComplete();

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

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

bool sipQWizardPage::validatePage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_validatePage);

    if (!sipMeth)
        return QWizardPage::validatePage();

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

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

void sipQWizardPage::cleanupPage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_cleanupPage);

    if (!sipMeth)
    {
        QWizardPage::cleanupPage();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQWizardPage::initializePage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_initializePage);

    if (!sipMeth)
    {
        QWizardPage::initializePage();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

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

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

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

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

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

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

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

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

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

bool sipQWizardPage::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQWizardPage::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQWizardPage::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQWizardPage::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQWizardPage::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQWizardPage::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQWizardPage::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQWizardPage::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQWizardPage::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQWizardPage::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQWizardPage::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQWizardPage::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQWizardPage::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQWizardPage::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQWizardPage::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQWizardPage::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQWizardPage::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQWizardPage::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQWizardPage::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQWizardPage::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQWizardPage::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQWizardPage::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQWizardPage::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQWizardPage::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQWizardPage::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQWizardPage::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQWizardPage::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQWizardPage::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQWizardPage::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQWizardPage::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQWizardPage::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQWizardPage::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQWizardPage::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQWizardPage::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQWizardPage::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQWizardPage::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQWizardPage::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQWizardPage::sipProtect_setField(const QString& a0,const QVariant& a1)
{
    QWizardPage::setField(a0,a1);
}

QVariant sipQWizardPage::sipProtect_field(const QString& a0) const
{
    return QWizardPage::field(a0);
}

void sipQWizardPage::sipProtect_registerField(const QString& a0,QWidget*a1,const char*a2,const char*a3)
{
    QWizardPage::registerField(a0,a1,a2,a3);
}

QWizard* sipQWizardPage::sipProtect_wizard() const
{
    return QWizardPage::wizard();
}


PyDoc_STRVAR(doc_QWizardPage_sender, "QWizardPage.sender() -> QObject");

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

    {
        const sipQWizardPage *sipCpp;

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

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 14528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

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

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_receivers, "QWizardPage.receivers(signal) -> int");

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

    {
        PyObject * a0;
        const sipQWizardPage *sipCpp;

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

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

            if (sipError == sipErrorFail)
                return 0;

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

            sipAddException(sipError, &sipParseErr);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_timerEvent, "QWizardPage.timerEvent(QTimerEvent)");

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

    {
        QTimerEvent* a0;
        sipQWizardPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_childEvent, "QWizardPage.childEvent(QChildEvent)");

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

    {
        QChildEvent* a0;
        sipQWizardPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_customEvent, "QWizardPage.customEvent(QEvent)");

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

    {
        QEvent* a0;
        sipQWizardPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_connectNotify, "QWizardPage.connectNotify(QMetaMethod)");

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

    {
        const QMetaMethod* a0;
        sipQWizardPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_disconnectNotify, "QWizardPage.disconnectNotify(QMetaMethod)");

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

    {
        const QMetaMethod* a0;
        sipQWizardPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_senderSignalIndex, "QWizardPage.senderSignalIndex() -> int");

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

    {
        const sipQWizardPage *sipCpp;

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

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_isSignalConnected, "QWizardPage.isSignalConnected(QMetaMethod) -> bool");

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

    {
        const QMetaMethod* a0;
        const sipQWizardPage *sipCpp;

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

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_event, "QWizardPage.event(QEvent) -> bool");

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

    {
        QEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_event, doc_QWizardPage_event);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_mousePressEvent, "QWizardPage.mousePressEvent(QMouseEvent)");

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

    {
        QMouseEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_mousePressEvent, doc_QWizardPage_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_mouseReleaseEvent, "QWizardPage.mouseReleaseEvent(QMouseEvent)");

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

    {
        QMouseEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_mouseReleaseEvent, doc_QWizardPage_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_mouseDoubleClickEvent, "QWizardPage.mouseDoubleClickEvent(QMouseEvent)");

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

    {
        QMouseEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_mouseDoubleClickEvent, doc_QWizardPage_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_mouseMoveEvent, "QWizardPage.mouseMoveEvent(QMouseEvent)");

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

    {
        QMouseEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_mouseMoveEvent, doc_QWizardPage_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_wheelEvent, "QWizardPage.wheelEvent(QWheelEvent)");

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

    {
        QWheelEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_wheelEvent, doc_QWizardPage_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_keyPressEvent, "QWizardPage.keyPressEvent(QKeyEvent)");

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

    {
        QKeyEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_keyPressEvent, doc_QWizardPage_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_keyReleaseEvent, "QWizardPage.keyReleaseEvent(QKeyEvent)");

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

    {
        QKeyEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_keyReleaseEvent, doc_QWizardPage_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_focusInEvent, "QWizardPage.focusInEvent(QFocusEvent)");

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

    {
        QFocusEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_focusInEvent, doc_QWizardPage_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_focusOutEvent, "QWizardPage.focusOutEvent(QFocusEvent)");

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

    {
        QFocusEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_focusOutEvent, doc_QWizardPage_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_enterEvent, "QWizardPage.enterEvent(QEvent)");

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

    {
        QEvent* a0;
        sipQWizardPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_enterEvent, doc_QWizardPage_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_leaveEvent, "QWizardPage.leaveEvent(QEvent)");

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

    {
        QEvent* a0;
        sipQWizardPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_leaveEvent, doc_QWizardPage_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_paintEvent, "QWizardPage.paintEvent(QPaintEvent)");

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

    {
        QPaintEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_paintEvent, doc_QWizardPage_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_moveEvent, "QWizardPage.moveEvent(QMoveEvent)");

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

    {
        QMoveEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_moveEvent, doc_QWizardPage_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_resizeEvent, "QWizardPage.resizeEvent(QResizeEvent)");

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

    {
        QResizeEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_resizeEvent, doc_QWizardPage_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_closeEvent, "QWizardPage.closeEvent(QCloseEvent)");

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

    {
        QCloseEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_closeEvent, doc_QWizardPage_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_contextMenuEvent, "QWizardPage.contextMenuEvent(QContextMenuEvent)");

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

    {
        QContextMenuEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_contextMenuEvent, doc_QWizardPage_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_tabletEvent, "QWizardPage.tabletEvent(QTabletEvent)");

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

    {
        QTabletEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_tabletEvent, doc_QWizardPage_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_actionEvent, "QWizardPage.actionEvent(QActionEvent)");

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

    {
        QActionEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_actionEvent, doc_QWizardPage_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_dragEnterEvent, "QWizardPage.dragEnterEvent(QDragEnterEvent)");

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

    {
        QDragEnterEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_dragEnterEvent, doc_QWizardPage_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_dragMoveEvent, "QWizardPage.dragMoveEvent(QDragMoveEvent)");

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

    {
        QDragMoveEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_dragMoveEvent, doc_QWizardPage_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_dragLeaveEvent, "QWizardPage.dragLeaveEvent(QDragLeaveEvent)");

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

    {
        QDragLeaveEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_dragLeaveEvent, doc_QWizardPage_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_dropEvent, "QWizardPage.dropEvent(QDropEvent)");

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

    {
        QDropEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_dropEvent, doc_QWizardPage_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_showEvent, "QWizardPage.showEvent(QShowEvent)");

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

    {
        QShowEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_showEvent, doc_QWizardPage_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_hideEvent, "QWizardPage.hideEvent(QHideEvent)");

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

    {
        QHideEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_hideEvent, doc_QWizardPage_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_changeEvent, "QWizardPage.changeEvent(QEvent)");

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

    {
        QEvent* a0;
        sipQWizardPage *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_changeEvent, doc_QWizardPage_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_metric, "QWizardPage.metric(QPaintDevice.PaintDeviceMetric) -> int");

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

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_metric, doc_QWizardPage_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_inputMethodEvent, "QWizardPage.inputMethodEvent(QInputMethodEvent)");

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

    {
        QInputMethodEvent* a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_inputMethodEvent, doc_QWizardPage_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_updateMicroFocus, "QWizardPage.updateMicroFocus()");

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

    {
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWizardPage, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_updateMicroFocus, doc_QWizardPage_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_create, "QWizardPage.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

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

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQWizardPage *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_destroy, "QWizardPage.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

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

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQWizardPage *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QWizardPage, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_destroy, doc_QWizardPage_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_focusNextPrevChild, "QWizardPage.focusNextPrevChild(bool) -> bool");

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

    {
        bool a0;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QWizardPage, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_focusNextPrevChild, doc_QWizardPage_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_focusNextChild, "QWizardPage.focusNextChild() -> bool");

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

    {
        sipQWizardPage *sipCpp;

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

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_focusNextChild, doc_QWizardPage_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_focusPreviousChild, "QWizardPage.focusPreviousChild() -> bool");

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

    {
        sipQWizardPage *sipCpp;

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

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_focusPreviousChild, doc_QWizardPage_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_nativeEvent, "QWizardPage.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

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

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_nativeEvent, doc_QWizardPage_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_sharedPainter, "QWizardPage.sharedPainter() -> QPainter");

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

    {
        const sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWizardPage, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_sharedPainter, doc_QWizardPage_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_initPainter, "QWizardPage.initPainter(QPainter)");

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

    {
        QPainter* a0;
        const sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_initPainter, doc_QWizardPage_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_setTitle, "QWizardPage.setTitle(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setTitle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_setTitle, doc_QWizardPage_setTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_title, "QWizardPage.title() -> str");

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

    {
        const QWizardPage *sipCpp;

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

            sipRes = new QString(sipCpp->title());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_title, doc_QWizardPage_title);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_setSubTitle, "QWizardPage.setSubTitle(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setSubTitle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_setSubTitle, doc_QWizardPage_setSubTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_subTitle, "QWizardPage.subTitle() -> str");

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

    {
        const QWizardPage *sipCpp;

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

            sipRes = new QString(sipCpp->subTitle());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_subTitle, doc_QWizardPage_subTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_setPixmap, "QWizardPage.setPixmap(QWizard.WizardPixmap, QPixmap)");

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

    {
        QWizard::WizardPixmap a0;
        const QPixmap* a1;
        QWizardPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QWizard_WizardPixmap, &a0, sipType_QPixmap, &a1))
        {
            sipCpp->setPixmap(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_setPixmap, doc_QWizardPage_setPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_pixmap, "QWizardPage.pixmap(QWizard.WizardPixmap) -> QPixmap");

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

    {
        QWizard::WizardPixmap a0;
        const QWizardPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QWizard_WizardPixmap, &a0))
        {
            QPixmap*sipRes;

            sipRes = new QPixmap(sipCpp->pixmap(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_pixmap, doc_QWizardPage_pixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_setFinalPage, "QWizardPage.setFinalPage(bool)");

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

    {
        bool a0;
        QWizardPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWizardPage, &sipCpp, &a0))
        {
            sipCpp->setFinalPage(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_setFinalPage, doc_QWizardPage_setFinalPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_isFinalPage, "QWizardPage.isFinalPage() -> bool");

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

    {
        const QWizardPage *sipCpp;

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

            sipRes = sipCpp->isFinalPage();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_isFinalPage, doc_QWizardPage_isFinalPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_setCommitPage, "QWizardPage.setCommitPage(bool)");

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

    {
        bool a0;
        QWizardPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWizardPage, &sipCpp, &a0))
        {
            sipCpp->setCommitPage(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_setCommitPage, doc_QWizardPage_setCommitPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_isCommitPage, "QWizardPage.isCommitPage() -> bool");

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

    {
        const QWizardPage *sipCpp;

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

            sipRes = sipCpp->isCommitPage();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_isCommitPage, doc_QWizardPage_isCommitPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_setButtonText, "QWizardPage.setButtonText(QWizard.WizardButton, str)");

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

    {
        QWizard::WizardButton a0;
        const QString* a1;
        int a1State = 0;
        QWizardPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QWizard_WizardButton, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setButtonText(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_setButtonText, doc_QWizardPage_setButtonText);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_buttonText, "QWizardPage.buttonText(QWizard.WizardButton) -> str");

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

    {
        QWizard::WizardButton a0;
        const QWizardPage *sipCpp;

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

            sipRes = new QString(sipCpp->buttonText(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_buttonText, doc_QWizardPage_buttonText);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_initializePage, "QWizardPage.initializePage()");

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

    {
        QWizardPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizardPage, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QWizardPage::initializePage() : sipCpp->initializePage());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_initializePage, doc_QWizardPage_initializePage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_cleanupPage, "QWizardPage.cleanupPage()");

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

    {
        QWizardPage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizardPage, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QWizardPage::cleanupPage() : sipCpp->cleanupPage());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_cleanupPage, doc_QWizardPage_cleanupPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_validatePage, "QWizardPage.validatePage() -> bool");

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

    {
        QWizardPage *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->QWizardPage::validatePage() : sipCpp->validatePage());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_validatePage, doc_QWizardPage_validatePage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_isComplete, "QWizardPage.isComplete() -> bool");

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

    {
        const QWizardPage *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->QWizardPage::isComplete() : sipCpp->isComplete());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_isComplete, doc_QWizardPage_isComplete);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_nextId, "QWizardPage.nextId() -> int");

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

    {
        const QWizardPage *sipCpp;

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

            sipRes = (sipSelfWasArg ? sipCpp->QWizardPage::nextId() : sipCpp->nextId());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_nextId, doc_QWizardPage_nextId);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_setField, "QWizardPage.setField(str, QVariant)");

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->sipProtect_setField(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_setField, doc_QWizardPage_setField);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_field, "QWizardPage.field(str) -> QVariant");

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

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtect_field(*a0));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_field, doc_QWizardPage_field);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_registerField, "QWizardPage.registerField(str, QWidget, str property=None, signal changedSignal=0)\n"
    "QWizardPage.registerField(str, QWidget, str property=None, str changedSignal=None)");

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

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1;
        const char* a2 = 0;
        PyObject * a3 = 0;
        QWizardPage *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J8|sP0", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QString,&a0, &a0State, sipType_QWidget, &a1, &a2, &a3))
        {
            sipErrorState sipError = sipErrorNone;

#line 195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
        QObject *receiver;
        QByteArray signal_signature;
        const char *signal;
        
        if (a3 && a3 != Py_None)
        {
            if ((sipError = pyqt5_qtwidgets_get_pyqtsignal_parts(a3, &receiver, signal_signature)) == sipErrorNone)
            {
                if (receiver != a1)
                {
                    PyErr_SetString(PyExc_ValueError,
                            "the signal must be bound to the same QWidget instance");
                    sipError = sipErrorFail;
                }
                else
                {
                    signal = signal_signature.constData();
                }
            }
            else
            {
                // We don't set sipError to sipErrorContinue because we don't want to
                // go on to the next (ie. the real) registerField() overload.  That is
                // there only so that SIP generates the required public wrapper method
                // that we need to call below.  We don't want the user to call it.
                sipBadCallableArg(3, a3);
                sipError = sipErrorFail;
            }
        }
        else
        {
            signal = 0;
        }
        
        if (sipError == sipErrorNone)
        {
            Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            sipCpp->registerField(*a0, a1, a2, signal);
        #else
            // We should really change SIP to implement /NoDerived/ for protected
            // methods rather than do this (possibly unsafe) cast.
            static_cast<sipQWizardPage *>(sipCpp)->sipProtect_registerField(*a0, a1, a2, signal);
        #endif
            Py_END_ALLOW_THREADS
        }
#line 16466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            Py_INCREF(Py_None);
            return Py_None;
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1;
        const char* a2 = 0;
        const char* a3 = 0;
        sipQWizardPage *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J8|ss", &sipSelf, sipType_QWizardPage, &sipCpp, sipType_QString,&a0, &a0State, sipType_QWidget, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_registerField(*a0,a1,a2,a3);
            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_QWizardPage, sipName_registerField, doc_QWizardPage_registerField);

    return NULL;
}


PyDoc_STRVAR(doc_QWizardPage_wizard, "QWizardPage.wizard() -> QWizard");

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

    {
        const sipQWizardPage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWizardPage, &sipCpp))
        {
            QWizard*sipRes;

            sipRes = sipCpp->sipProtect_wizard();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizardPage, sipName_wizard, doc_QWizardPage_wizard);

    return NULL;
}


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

    if (targetType == sipType_QWizardPage)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QWizardPage *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


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

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


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

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


extern "C" {static void *init_type_QWizardPage(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWizardPage(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQWizardPage *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQWizardPage(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QWizardPage[] = {{454, 255, 1}};


static PyMethodDef methods_QWizardPage[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QWizardPage_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_buttonText), meth_QWizardPage_buttonText, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_buttonText)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QWizardPage_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QWizardPage_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cleanupPage), meth_QWizardPage_cleanupPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_cleanupPage)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QWizardPage_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QWizardPage_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QWizardPage_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QWizardPage_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QWizardPage_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QWizardPage_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QWizardPage_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QWizardPage_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QWizardPage_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QWizardPage_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QWizardPage_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QWizardPage_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QWizardPage_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_field), (PyCFunction)meth_QWizardPage_field, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizardPage_field)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QWizardPage_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QWizardPage_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QWizardPage_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QWizardPage_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QWizardPage_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QWizardPage_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QWizardPage_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initializePage), meth_QWizardPage_initializePage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_initializePage)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QWizardPage_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isCommitPage), meth_QWizardPage_isCommitPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_isCommitPage)},
    {SIP_MLNAME_CAST(sipName_isComplete), meth_QWizardPage_isComplete, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_isComplete)},
    {SIP_MLNAME_CAST(sipName_isFinalPage), meth_QWizardPage_isFinalPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_isFinalPage)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QWizardPage_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QWizardPage_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QWizardPage_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QWizardPage_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QWizardPage_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QWizardPage_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QWizardPage_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QWizardPage_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QWizardPage_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QWizardPage_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QWizardPage_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nextId), meth_QWizardPage_nextId, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_nextId)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QWizardPage_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_QWizardPage_pixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_pixmap)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QWizardPage_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_registerField), (PyCFunction)meth_QWizardPage_registerField, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizardPage_registerField)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QWizardPage_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QWizardPage_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QWizardPage_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setButtonText), meth_QWizardPage_setButtonText, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_setButtonText)},
    {SIP_MLNAME_CAST(sipName_setCommitPage), meth_QWizardPage_setCommitPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_setCommitPage)},
    {SIP_MLNAME_CAST(sipName_setField), (PyCFunction)meth_QWizardPage_setField, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizardPage_setField)},
    {SIP_MLNAME_CAST(sipName_setFinalPage), meth_QWizardPage_setFinalPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_setFinalPage)},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_QWizardPage_setPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_setPixmap)},
    {SIP_MLNAME_CAST(sipName_setSubTitle), meth_QWizardPage_setSubTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_setSubTitle)},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_QWizardPage_setTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_setTitle)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QWizardPage_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QWizardPage_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_subTitle), meth_QWizardPage_subTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_subTitle)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QWizardPage_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QWizardPage_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_QWizardPage_title, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_title)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QWizardPage_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validatePage), meth_QWizardPage_validatePage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizardPage_validatePage)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QWizardPage_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wizard), (PyCFunction)meth_QWizardPage_wizard, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizardPage_wizard)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QWizardPage[] = {
    {"completeChanged()", "\1QWizardPage.completeChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QWizardPage, "\1QWizardPage(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QWizardPage = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWizardPage,
        {0}
    },
    {
        sipNameNr_QWizardPage,
        {0, 0, 1},
        67, methods_QWizardPage,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWizardPage,
    -1,
    -1,
    supers_QWizardPage,
    0,
    init_type_QWizardPage,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWizardPage,
    0,
    0,
    0,
    release_QWizardPage,
    cast_QWizardPage,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QWizardPage::staticMetaObject,
    0,
    signals_QWizardPage,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 16750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 16754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QWizard_WizardOptions___bool__(PyObject *);}
static int slot_QWizard_WizardOptions___bool__(PyObject *sipSelf)
{
    QWizard::WizardOptions *sipCpp = reinterpret_cast<QWizard::WizardOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWizard_WizardOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWizard::WizardOptions::Int() != 0);
#line 16772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QWizard::WizardOptions *sipCpp = reinterpret_cast<QWizard::WizardOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWizard_WizardOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QWizard::WizardOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QWizard_WizardOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWizard::WizardOptions::Int() != a0->operator QWizard::WizardOptions::Int());
#line 16802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QWizard::WizardOptions *>(a0),sipType_QWizard_WizardOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QWizard_WizardOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QWizard::WizardOptions *sipCpp = reinterpret_cast<QWizard::WizardOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWizard_WizardOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QWizard::WizardOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QWizard_WizardOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWizard::WizardOptions::Int() == a0->operator QWizard::WizardOptions::Int());
#line 16838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QWizard::WizardOptions *>(a0),sipType_QWizard_WizardOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QWizard_WizardOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___invert__(PyObject *);}
static PyObject *slot_QWizard_WizardOptions___invert__(PyObject *sipSelf)
{
    QWizard::WizardOptions *sipCpp = reinterpret_cast<QWizard::WizardOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWizard_WizardOptions));

    if (!sipCpp)
        return 0;


    {
        {
            QWizard::WizardOptions*sipRes;

            sipRes = new QWizard::WizardOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QWizard_WizardOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QWizard_WizardOptions, &a0, &a0State, &a1))
        {
            QWizard::WizardOptions*sipRes;

            sipRes = new QWizard::WizardOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QWizard_WizardOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QWizard_WizardOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardOptions* a0;
        int a0State = 0;
        QWizard::WizardOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QWizard_WizardOptions, &a0, &a0State, sipType_QWizard_WizardOptions, &a1, &a1State))
        {
            QWizard::WizardOptions*sipRes;

            sipRes = new QWizard::WizardOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QWizard_WizardOptions,a0State);
            sipReleaseType(a1,sipType_QWizard_WizardOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QWizard_WizardOptions,NULL);
        }
    }

    {
        QWizard::WizardOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QWizard_WizardOptions, &a0, &a0State, &a1))
        {
            QWizard::WizardOptions*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QWizard::WizardOptions(*a0 ^ a1);
#line 16941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QWizard_WizardOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QWizard_WizardOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardOptions* a0;
        int a0State = 0;
        QWizard::WizardOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QWizard_WizardOptions, &a0, &a0State, sipType_QWizard_WizardOptions, &a1, &a1State))
        {
            QWizard::WizardOptions*sipRes;

            sipRes = new QWizard::WizardOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QWizard_WizardOptions,a0State);
            sipReleaseType(a1,sipType_QWizard_WizardOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QWizard_WizardOptions,NULL);
        }
    }

    {
        QWizard::WizardOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QWizard_WizardOptions, &a0, &a0State, &a1))
        {
            QWizard::WizardOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QWizard::WizardOptions(*a0 | a1);
#line 16991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QWizard_WizardOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QWizard_WizardOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___int__(PyObject *);}
static PyObject *slot_QWizard_WizardOptions___int__(PyObject *sipSelf)
{
    QWizard::WizardOptions *sipCpp = reinterpret_cast<QWizard::WizardOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWizard_WizardOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QWizard_WizardOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWizard_WizardOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QWizard::WizardOptions *sipCpp = reinterpret_cast<QWizard::WizardOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWizard_WizardOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QWizard_WizardOptions, &a0, &a0State))
        {
            sipCpp->QWizard::WizardOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QWizard_WizardOptions,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_QWizard_WizardOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWizard_WizardOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QWizard::WizardOptions *sipCpp = reinterpret_cast<QWizard::WizardOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWizard_WizardOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QWizard_WizardOptions, &a0, &a0State))
        {
            sipCpp->QWizard::WizardOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QWizard_WizardOptions,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_QWizard_WizardOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QWizard_WizardOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWizard_WizardOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QWizard::WizardOptions *sipCpp = reinterpret_cast<QWizard::WizardOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWizard_WizardOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QWizard::WizardOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QWizard_WizardOptions(void *, const sipTypeDef *);}
static void *cast_QWizard_WizardOptions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QWizard_WizardOptions)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWizard_WizardOptions(void *, int);}
static void release_QWizard_WizardOptions(void *sipCppV,int)
{
    delete reinterpret_cast<QWizard::WizardOptions *>(sipCppV);
}


extern "C" {static void assign_QWizard_WizardOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QWizard_WizardOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QWizard::WizardOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QWizard::WizardOptions *>(sipSrc);
}


extern "C" {static void *array_QWizard_WizardOptions(SIP_SSIZE_T);}
static void *array_QWizard_WizardOptions(SIP_SSIZE_T sipNrElem)
{
    return new QWizard::WizardOptions[sipNrElem];
}


extern "C" {static void *copy_QWizard_WizardOptions(const void *, SIP_SSIZE_T);}
static void *copy_QWizard_WizardOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QWizard::WizardOptions(reinterpret_cast<const QWizard::WizardOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWizard_WizardOptions(sipSimpleWrapper *);}
static void dealloc_QWizard_WizardOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QWizard_WizardOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QWizard_WizardOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWizard_WizardOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QWizard::WizardOptions *sipCpp = 0;

    {
        const QWizard::WizardOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QWizard_WizardOptions, &a0, &a0State))
        {
            sipCpp = new QWizard::WizardOptions(*a0);
            sipReleaseType(const_cast<QWizard::WizardOptions *>(a0),sipType_QWizard_WizardOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QWizard::WizardOptions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QWizard::WizardOptions();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QWizard_WizardOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QWizard_WizardOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QWizard::WizardOptions **sipCppPtr = reinterpret_cast<QWizard::WizardOptions **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QWizard::WizardOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QWizard_WizardOption)) ||
            sipCanConvertToType(sipPy, sipType_QWizard_WizardOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QWizard_WizardOption)))
{
    *sipCppPtr = new QWizard::WizardOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QWizard::WizardOptions *>(sipConvertToType(sipPy, sipType_QWizard_WizardOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 17268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QWizard_WizardOptions[] = {
    {(void *)slot_QWizard_WizardOptions___bool__, bool_slot},
    {(void *)slot_QWizard_WizardOptions___ne__, ne_slot},
    {(void *)slot_QWizard_WizardOptions___eq__, eq_slot},
    {(void *)slot_QWizard_WizardOptions___invert__, invert_slot},
    {(void *)slot_QWizard_WizardOptions___and__, and_slot},
    {(void *)slot_QWizard_WizardOptions___xor__, xor_slot},
    {(void *)slot_QWizard_WizardOptions___or__, or_slot},
    {(void *)slot_QWizard_WizardOptions___int__, int_slot},
    {(void *)slot_QWizard_WizardOptions___ixor__, ixor_slot},
    {(void *)slot_QWizard_WizardOptions___ior__, ior_slot},
    {(void *)slot_QWizard_WizardOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QWizard_WizardOptions, "\1QWizard.WizardOptions(QWizard.WizardOptions)\n"
    "QWizard.WizardOptions(int)\n"
    "QWizard.WizardOptions()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QWizard_WizardOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWizard__WizardOptions,
        {0}
    },
    {
        sipNameNr_WizardOptions,
        {459, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWizard_WizardOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QWizard_WizardOptions,
    init_type_QWizard_WizardOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWizard_WizardOptions,
    assign_QWizard_WizardOptions,
    array_QWizard_WizardOptions,
    copy_QWizard_WizardOptions,
    release_QWizard_WizardOptions,
    cast_QWizard_WizardOptions,
    convertTo_QWizard_WizardOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 17350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 17354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 629 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 17360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 17372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 17375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 17381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qpywidgets_qlist.sip"
#include <qwizard.h>
#line 17384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 17390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 17393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwizard.sip"
#include <qwizard.h>
#line 17396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 17399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 17414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 17417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 17420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 17423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 17426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 17432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 17438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 17441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 17444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 17447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 17450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 17453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 17456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 17459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 17462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 17465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 17468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 17504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 17507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 17510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 17513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 17516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 17519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 17525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 17528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 17531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 17534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 17537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 17540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 17546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 17549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 17552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 17555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 17558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 17561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 17564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 17567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQWizard : public QWizard
{
public:
    sipQWizard(QWidget*,Qt::WindowFlags);
    virtual ~sipQWizard();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_done(bool,int);
    void sipProtectVirt_initializePage(bool,int);
    void sipProtectVirt_cleanupPage(bool,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void showEvent(QShowEvent*);
    void closeEvent(QCloseEvent*);
    void keyPressEvent(QKeyEvent*);
    void open();
    void reject();
    void accept();
    int exec();
    QSize minimumSizeHint() const;
    void cleanupPage(int);
    void initializePage(int);
    void done(int);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;
    void setVisible(bool);
    int nextId() const;
    bool validateCurrentPage();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQWizard(const sipQWizard &);
    sipQWizard &operator = (const sipQWizard &);

    char sipPyMethods[55];
};

sipQWizard::sipQWizard(QWidget*a0,Qt::WindowFlags a1): QWizard(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQWizard::~sipQWizard()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQWizard::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QWizard);
}

int sipQWizard::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QWizard::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QWizard,_c,_id,_a);

    return _id;
}

void *sipQWizard::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QWizard, _clname, &sipCpp) ? sipCpp : QWizard::qt_metacast(_clname));
}

void sipQWizard::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QWizard::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QWizard::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QWizard::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QWizard::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QWizard::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QWizard::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQWizard::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QWizard::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQWizard::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QWizard::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQWizard::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QWizard::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQWizard::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QWizard::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQWizard::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QWizard::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QWizard::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQWizard::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QWizard::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QWizard::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QWizard::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QWizard::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QWizard::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QWizard::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QWizard::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QWizard::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QWizard::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QWizard::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QWizard::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QWizard::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QWizard::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QWizard::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QWizard::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QWizard::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QWizard::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QWizard::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QWizard::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QWizard::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQWizard::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QWizard::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQWizard::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QWizard::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQWizard::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QWizard::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQWizard::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QWizard::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQWizard::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QWizard::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QWizard::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QWizard::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QWizard::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        QWizard::open();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQWizard::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QWizard::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQWizard::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QWizard::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQWizard::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return QWizard::exec();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQWizard::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QWizard::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQWizard::cleanupPage(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_cleanupPage);

    if (!sipMeth)
    {
        QWizard::cleanupPage(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::initializePage(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_initializePage);

    if (!sipMeth)
    {
        QWizard::initializePage(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QWizard::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QWizard::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWizard::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QWizard::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQWizard::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QWizard::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQWizard::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QWizard::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQWizard::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QWizard::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQWizard::nextId() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_nextId);

    if (!sipMeth)
        return QWizard::nextId();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQWizard::validateCurrentPage()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_validateCurrentPage);

    if (!sipMeth)
        return QWizard::validateCurrentPage();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQWizard::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQWizard::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQWizard::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQWizard::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQWizard::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQWizard::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQWizard::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQWizard::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQWizard::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQWizard::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQWizard::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQWizard::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQWizard::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQWizard::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQWizard::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQWizard::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQWizard::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQWizard::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQWizard::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQWizard::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQWizard::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQWizard::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQWizard::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQWizard::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQWizard::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQWizard::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQWizard::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQWizard::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQWizard::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQWizard::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQWizard::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQWizard::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQWizard::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQWizard::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQWizard::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQWizard::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQWizard::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQWizard::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQWizard::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQWizard::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQWizard::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QDialog::closeEvent(a0) : closeEvent(a0));
}

void sipQWizard::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipQWizard::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQWizard::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQWizard::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWizard::event(a0) : event(a0));
}

void sipQWizard::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWizard::resizeEvent(a0) : resizeEvent(a0));
}

void sipQWizard::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWizard::paintEvent(a0) : paintEvent(a0));
}

void sipQWizard::sipProtectVirt_done(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QWizard::done(a0) : done(a0));
}

void sipQWizard::sipProtectVirt_initializePage(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QWizard::initializePage(a0) : initializePage(a0));
}

void sipQWizard::sipProtectVirt_cleanupPage(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QWizard::cleanupPage(a0) : cleanupPage(a0));
}


PyDoc_STRVAR(doc_QWizard_sender, "QWizard.sender() -> QObject");

extern "C" {static PyObject *meth_QWizard_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 18971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_sender, doc_QWizard_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_receivers, "QWizard.receivers(signal) -> int");

extern "C" {static PyObject *meth_QWizard_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 19030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_receivers, doc_QWizard_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_timerEvent, "QWizard.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QWizard_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_timerEvent, doc_QWizard_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_childEvent, "QWizard.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QWizard_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_childEvent, doc_QWizard_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_customEvent, "QWizard.customEvent(QEvent)");

extern "C" {static PyObject *meth_QWizard_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_customEvent, doc_QWizard_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_connectNotify, "QWizard.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QWizard_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWizard, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_connectNotify, doc_QWizard_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_disconnectNotify, "QWizard.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QWizard_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWizard, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_disconnectNotify, doc_QWizard_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_senderSignalIndex, "QWizard.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QWizard_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_senderSignalIndex, doc_QWizard_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_isSignalConnected, "QWizard.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QWizard_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWizard, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_isSignalConnected, doc_QWizard_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_mousePressEvent, "QWizard.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QWizard_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_mousePressEvent, doc_QWizard_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_mouseReleaseEvent, "QWizard.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QWizard_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_mouseReleaseEvent, doc_QWizard_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_mouseDoubleClickEvent, "QWizard.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QWizard_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_mouseDoubleClickEvent, doc_QWizard_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_mouseMoveEvent, "QWizard.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QWizard_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_mouseMoveEvent, doc_QWizard_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_wheelEvent, "QWizard.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QWizard_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_wheelEvent, doc_QWizard_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_keyReleaseEvent, "QWizard.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QWizard_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_keyReleaseEvent, doc_QWizard_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_focusInEvent, "QWizard.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QWizard_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_focusInEvent, doc_QWizard_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_focusOutEvent, "QWizard.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QWizard_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_focusOutEvent, doc_QWizard_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_enterEvent, "QWizard.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QWizard_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_enterEvent, doc_QWizard_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_leaveEvent, "QWizard.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QWizard_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_leaveEvent, doc_QWizard_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_moveEvent, "QWizard.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QWizard_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_moveEvent, doc_QWizard_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_tabletEvent, "QWizard.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QWizard_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_tabletEvent, doc_QWizard_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_actionEvent, "QWizard.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QWizard_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_actionEvent, doc_QWizard_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_dragEnterEvent, "QWizard.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QWizard_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_dragEnterEvent, doc_QWizard_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_dragMoveEvent, "QWizard.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QWizard_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_dragMoveEvent, doc_QWizard_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_dragLeaveEvent, "QWizard.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QWizard_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_dragLeaveEvent, doc_QWizard_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_dropEvent, "QWizard.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QWizard_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_dropEvent, doc_QWizard_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_hideEvent, "QWizard.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QWizard_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_hideEvent, doc_QWizard_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_changeEvent, "QWizard.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QWizard_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_changeEvent, doc_QWizard_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_metric, "QWizard.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QWizard_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QWizard, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_metric, doc_QWizard_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_inputMethodEvent, "QWizard.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QWizard_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_inputMethodEvent, doc_QWizard_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_updateMicroFocus, "QWizard.updateMicroFocus()");

extern "C" {static PyObject *meth_QWizard_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_updateMicroFocus, doc_QWizard_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_create, "QWizard.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QWizard_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQWizard *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QWizard, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_create, doc_QWizard_create);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_destroy, "QWizard.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QWizard_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQWizard *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QWizard, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_destroy, doc_QWizard_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_focusNextPrevChild, "QWizard.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QWizard_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_focusNextPrevChild, doc_QWizard_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_focusNextChild, "QWizard.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QWizard_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_focusNextChild, doc_QWizard_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_focusPreviousChild, "QWizard.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QWizard_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_focusPreviousChild, doc_QWizard_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_nativeEvent, "QWizard.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QWizard_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QWizard, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_nativeEvent, doc_QWizard_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_sharedPainter, "QWizard.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QWizard_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_sharedPainter, doc_QWizard_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_initPainter, "QWizard.initPainter(QPainter)");

extern "C" {static PyObject *meth_QWizard_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_initPainter, doc_QWizard_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_keyPressEvent, "QWizard.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QWizard_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_keyPressEvent, doc_QWizard_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_closeEvent, "QWizard.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QWizard_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_closeEvent, doc_QWizard_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_showEvent, "QWizard.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QWizard_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_showEvent, doc_QWizard_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_contextMenuEvent, "QWizard.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QWizard_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_contextMenuEvent, doc_QWizard_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_eventFilter, "QWizard.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QWizard_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_eventFilter, doc_QWizard_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_addPage, "QWizard.addPage(QWizardPage) -> int");

extern "C" {static PyObject *meth_QWizard_addPage(PyObject *, PyObject *);}
static PyObject *meth_QWizard_addPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizardPage* a0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizardPage, &a0))
        {
            int sipRes;

            sipRes = sipCpp->addPage(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_addPage, doc_QWizard_addPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setPage, "QWizard.setPage(int, QWizardPage)");

extern "C" {static PyObject *meth_QWizard_setPage(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWizardPage* a1;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QWizard, &sipCpp, &a0, sipType_QWizardPage, &a1))
        {
            sipCpp->setPage(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setPage, doc_QWizard_setPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_page, "QWizard.page(int) -> QWizardPage");

extern "C" {static PyObject *meth_QWizard_page(PyObject *, PyObject *);}
static PyObject *meth_QWizard_page(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            QWizardPage*sipRes;

            sipRes = sipCpp->page(a0);

            return sipConvertFromType(sipRes,sipType_QWizardPage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_page, doc_QWizard_page);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_hasVisitedPage, "QWizard.hasVisitedPage(int) -> bool");

extern "C" {static PyObject *meth_QWizard_hasVisitedPage(PyObject *, PyObject *);}
static PyObject *meth_QWizard_hasVisitedPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->hasVisitedPage(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_hasVisitedPage, doc_QWizard_hasVisitedPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_visitedPages, "QWizard.visitedPages() -> list-of-int");

extern "C" {static PyObject *meth_QWizard_visitedPages(PyObject *, PyObject *);}
static PyObject *meth_QWizard_visitedPages(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            QList<int>*sipRes;

            sipRes = new QList<int>(sipCpp->visitedPages());

            return sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_visitedPages, doc_QWizard_visitedPages);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setStartId, "QWizard.setStartId(int)");

extern "C" {static PyObject *meth_QWizard_setStartId(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setStartId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            sipCpp->setStartId(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setStartId, doc_QWizard_setStartId);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_startId, "QWizard.startId() -> int");

extern "C" {static PyObject *meth_QWizard_startId(PyObject *, PyObject *);}
static PyObject *meth_QWizard_startId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->startId();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_startId, doc_QWizard_startId);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_currentPage, "QWizard.currentPage() -> QWizardPage");

extern "C" {static PyObject *meth_QWizard_currentPage(PyObject *, PyObject *);}
static PyObject *meth_QWizard_currentPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            QWizardPage*sipRes;

            sipRes = sipCpp->currentPage();

            return sipConvertFromType(sipRes,sipType_QWizardPage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_currentPage, doc_QWizard_currentPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_currentId, "QWizard.currentId() -> int");

extern "C" {static PyObject *meth_QWizard_currentId(PyObject *, PyObject *);}
static PyObject *meth_QWizard_currentId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentId();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_currentId, doc_QWizard_currentId);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_validateCurrentPage, "QWizard.validateCurrentPage() -> bool");

extern "C" {static PyObject *meth_QWizard_validateCurrentPage(PyObject *, PyObject *);}
static PyObject *meth_QWizard_validateCurrentPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWizard::validateCurrentPage() : sipCpp->validateCurrentPage());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_validateCurrentPage, doc_QWizard_validateCurrentPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_nextId, "QWizard.nextId() -> int");

extern "C" {static PyObject *meth_QWizard_nextId(PyObject *, PyObject *);}
static PyObject *meth_QWizard_nextId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWizard::nextId() : sipCpp->nextId());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_nextId, doc_QWizard_nextId);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setField, "QWizard.setField(str, QVariant)");

extern "C" {static PyObject *meth_QWizard_setField(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setField(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QVariant* a1;
        int a1State = 0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QWizard, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setField(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setField, doc_QWizard_setField);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_field, "QWizard.field(str) -> QVariant");

extern "C" {static PyObject *meth_QWizard_field(PyObject *, PyObject *);}
static PyObject *meth_QWizard_field(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWizard, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->field(*a0));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_field, doc_QWizard_field);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setWizardStyle, "QWizard.setWizardStyle(QWizard.WizardStyle)");

extern "C" {static PyObject *meth_QWizard_setWizardStyle(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setWizardStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardStyle a0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardStyle, &a0))
        {
            sipCpp->setWizardStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setWizardStyle, doc_QWizard_setWizardStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_wizardStyle, "QWizard.wizardStyle() -> QWizard.WizardStyle");

extern "C" {static PyObject *meth_QWizard_wizardStyle(PyObject *, PyObject *);}
static PyObject *meth_QWizard_wizardStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            QWizard::WizardStyle sipRes;

            sipRes = sipCpp->wizardStyle();

            return sipConvertFromEnum(sipRes,sipType_QWizard_WizardStyle);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_wizardStyle, doc_QWizard_wizardStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setOption, "QWizard.setOption(QWizard.WizardOption, bool on=True)");

extern "C" {static PyObject *meth_QWizard_setOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_setOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardOption a0;
        bool a1 = 1;
        QWizard *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardOption, &a0, &a1))
        {
            sipCpp->setOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setOption, doc_QWizard_setOption);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_testOption, "QWizard.testOption(QWizard.WizardOption) -> bool");

extern "C" {static PyObject *meth_QWizard_testOption(PyObject *, PyObject *);}
static PyObject *meth_QWizard_testOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardOption a0;
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardOption, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testOption(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_testOption, doc_QWizard_testOption);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setOptions, "QWizard.setOptions(QWizard.WizardOptions)");

extern "C" {static PyObject *meth_QWizard_setOptions(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardOptions* a0;
        int a0State = 0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardOptions, &a0, &a0State))
        {
            sipCpp->setOptions(*a0);
            sipReleaseType(a0,sipType_QWizard_WizardOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setOptions, doc_QWizard_setOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_options, "QWizard.options() -> QWizard.WizardOptions");

extern "C" {static PyObject *meth_QWizard_options(PyObject *, PyObject *);}
static PyObject *meth_QWizard_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            QWizard::WizardOptions*sipRes;

            sipRes = new QWizard::WizardOptions(sipCpp->options());

            return sipConvertFromNewType(sipRes,sipType_QWizard_WizardOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_options, doc_QWizard_options);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setButtonText, "QWizard.setButtonText(QWizard.WizardButton, str)");

extern "C" {static PyObject *meth_QWizard_setButtonText(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setButtonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardButton a0;
        const QString* a1;
        int a1State = 0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardButton, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setButtonText(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setButtonText, doc_QWizard_setButtonText);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_buttonText, "QWizard.buttonText(QWizard.WizardButton) -> str");

extern "C" {static PyObject *meth_QWizard_buttonText(PyObject *, PyObject *);}
static PyObject *meth_QWizard_buttonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardButton a0;
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardButton, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->buttonText(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_buttonText, doc_QWizard_buttonText);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setButtonLayout, "QWizard.setButtonLayout(list-of-QWizard.WizardButton)");

extern "C" {static PyObject *meth_QWizard_setButtonLayout(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setButtonLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QWizard::WizardButton>* a0;
        int a0State = 0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWizard, &sipCpp, sipType_QList_0100QWizard_WizardButton,&a0, &a0State))
        {
            sipCpp->setButtonLayout(*a0);
            sipReleaseType(const_cast<QList<QWizard::WizardButton> *>(a0),sipType_QList_0100QWizard_WizardButton,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setButtonLayout, doc_QWizard_setButtonLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setButton, "QWizard.setButton(QWizard.WizardButton, QAbstractButton)");

extern "C" {static PyObject *meth_QWizard_setButton(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardButton a0;
        QAbstractButton* a1;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ:", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardButton, &a0, sipType_QAbstractButton, &a1))
        {
            sipCpp->setButton(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setButton, doc_QWizard_setButton);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_button, "QWizard.button(QWizard.WizardButton) -> QAbstractButton");

extern "C" {static PyObject *meth_QWizard_button(PyObject *, PyObject *);}
static PyObject *meth_QWizard_button(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardButton a0;
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardButton, &a0))
        {
            QAbstractButton*sipRes;

            sipRes = sipCpp->button(a0);

            return sipConvertFromType(sipRes,sipType_QAbstractButton,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_button, doc_QWizard_button);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setTitleFormat, "QWizard.setTitleFormat(Qt.TextFormat)");

extern "C" {static PyObject *meth_QWizard_setTitleFormat(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setTitleFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextFormat a0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWizard, &sipCpp, sipType_Qt_TextFormat, &a0))
        {
            sipCpp->setTitleFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setTitleFormat, doc_QWizard_setTitleFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_titleFormat, "QWizard.titleFormat() -> Qt.TextFormat");

extern "C" {static PyObject *meth_QWizard_titleFormat(PyObject *, PyObject *);}
static PyObject *meth_QWizard_titleFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            Qt::TextFormat sipRes;

            sipRes = sipCpp->titleFormat();

            return sipConvertFromEnum(sipRes,sipType_Qt_TextFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_titleFormat, doc_QWizard_titleFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setSubTitleFormat, "QWizard.setSubTitleFormat(Qt.TextFormat)");

extern "C" {static PyObject *meth_QWizard_setSubTitleFormat(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setSubTitleFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextFormat a0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWizard, &sipCpp, sipType_Qt_TextFormat, &a0))
        {
            sipCpp->setSubTitleFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setSubTitleFormat, doc_QWizard_setSubTitleFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_subTitleFormat, "QWizard.subTitleFormat() -> Qt.TextFormat");

extern "C" {static PyObject *meth_QWizard_subTitleFormat(PyObject *, PyObject *);}
static PyObject *meth_QWizard_subTitleFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            Qt::TextFormat sipRes;

            sipRes = sipCpp->subTitleFormat();

            return sipConvertFromEnum(sipRes,sipType_Qt_TextFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_subTitleFormat, doc_QWizard_subTitleFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setPixmap, "QWizard.setPixmap(QWizard.WizardPixmap, QPixmap)");

extern "C" {static PyObject *meth_QWizard_setPixmap(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardPixmap a0;
        const QPixmap* a1;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardPixmap, &a0, sipType_QPixmap, &a1))
        {
            sipCpp->setPixmap(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setPixmap, doc_QWizard_setPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_pixmap, "QWizard.pixmap(QWizard.WizardPixmap) -> QPixmap");

extern "C" {static PyObject *meth_QWizard_pixmap(PyObject *, PyObject *);}
static PyObject *meth_QWizard_pixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard::WizardPixmap a0;
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWizard_WizardPixmap, &a0))
        {
            QPixmap*sipRes;

            sipRes = new QPixmap(sipCpp->pixmap(a0));

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_pixmap, doc_QWizard_pixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setDefaultProperty, "QWizard.setDefaultProperty(str, str, str)");

extern "C" {static PyObject *meth_QWizard_setDefaultProperty(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setDefaultProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const char* a0;
        const char* a1;
        const char* a2;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bsss", &sipSelf, sipType_QWizard, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->setDefaultProperty(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setDefaultProperty, doc_QWizard_setDefaultProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setVisible, "QWizard.setVisible(bool)");

extern "C" {static PyObject *meth_QWizard_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QWizard::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setVisible, doc_QWizard_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_sizeHint, "QWizard.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QWizard_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QWizard_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QWizard::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_sizeHint, doc_QWizard_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_back, "QWizard.back()");

extern "C" {static PyObject *meth_QWizard_back(PyObject *, PyObject *);}
static PyObject *meth_QWizard_back(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            sipCpp->back();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_back, doc_QWizard_back);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_next, "QWizard.next()");

extern "C" {static PyObject *meth_QWizard_next(PyObject *, PyObject *);}
static PyObject *meth_QWizard_next(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            sipCpp->next();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_next, doc_QWizard_next);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_restart, "QWizard.restart()");

extern "C" {static PyObject *meth_QWizard_restart(PyObject *, PyObject *);}
static PyObject *meth_QWizard_restart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            sipCpp->restart();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_restart, doc_QWizard_restart);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_event, "QWizard.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QWizard_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_event, doc_QWizard_event);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_resizeEvent, "QWizard.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QWizard_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_resizeEvent, doc_QWizard_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_paintEvent, "QWizard.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QWizard_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWizard, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_paintEvent, doc_QWizard_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_done, "QWizard.done(int)");

extern "C" {static PyObject *meth_QWizard_done(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_done(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_done(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_done, doc_QWizard_done);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_initializePage, "QWizard.initializePage(int)");

extern "C" {static PyObject *meth_QWizard_initializePage(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_initializePage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_initializePage(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_initializePage, doc_QWizard_initializePage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_cleanupPage, "QWizard.cleanupPage(int)");

extern "C" {static PyObject *meth_QWizard_cleanupPage(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWizard_cleanupPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQWizard *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_cleanupPage(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_cleanupPage, doc_QWizard_cleanupPage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_removePage, "QWizard.removePage(int)");

extern "C" {static PyObject *meth_QWizard_removePage(PyObject *, PyObject *);}
static PyObject *meth_QWizard_removePage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWizard, &sipCpp, &a0))
        {
            sipCpp->removePage(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_removePage, doc_QWizard_removePage);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_pageIds, "QWizard.pageIds() -> list-of-int");

extern "C" {static PyObject *meth_QWizard_pageIds(PyObject *, PyObject *);}
static PyObject *meth_QWizard_pageIds(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            QList<int>*sipRes;

            sipRes = new QList<int>(sipCpp->pageIds());

            return sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_pageIds, doc_QWizard_pageIds);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_setSideWidget, "QWizard.setSideWidget(QWidget)");

extern "C" {static PyObject *meth_QWizard_setSideWidget(PyObject *, PyObject *);}
static PyObject *meth_QWizard_setSideWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QWizard, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setSideWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_setSideWidget, doc_QWizard_setSideWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWizard_sideWidget, "QWizard.sideWidget() -> QWidget");

extern "C" {static PyObject *meth_QWizard_sideWidget(PyObject *, PyObject *);}
static PyObject *meth_QWizard_sideWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWizard *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWizard, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->sideWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWizard, sipName_sideWidget, doc_QWizard_sideWidget);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QWizard(void *, const sipTypeDef *);}
static void *cast_QWizard(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QWizard)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDialog)->ctd_cast((QDialog *)(QWizard *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWizard(void *, int);}
static void release_QWizard(void *sipCppV,int)
{
    QWizard *sipCpp = reinterpret_cast<QWizard *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QWizard(sipSimpleWrapper *);}
static void dealloc_QWizard(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQWizard *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QWizard(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QWizard(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWizard(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQWizard *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQWizard(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QWizard[] = {{60, 255, 1}};


static PyMethodDef methods_QWizard[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QWizard_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addPage), meth_QWizard_addPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_addPage)},
    {SIP_MLNAME_CAST(sipName_back), meth_QWizard_back, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_back)},
    {SIP_MLNAME_CAST(sipName_button), meth_QWizard_button, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_button)},
    {SIP_MLNAME_CAST(sipName_buttonText), meth_QWizard_buttonText, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_buttonText)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QWizard_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QWizard_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cleanupPage), (PyCFunction)meth_QWizard_cleanupPage, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizard_cleanupPage)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QWizard_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QWizard_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QWizard_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QWizard_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentId), meth_QWizard_currentId, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_currentId)},
    {SIP_MLNAME_CAST(sipName_currentPage), meth_QWizard_currentPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_currentPage)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QWizard_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QWizard_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QWizard_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_done), (PyCFunction)meth_QWizard_done, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizard_done)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QWizard_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QWizard_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QWizard_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QWizard_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QWizard_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QWizard_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizard_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QWizard_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_field), meth_QWizard_field, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_field)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QWizard_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QWizard_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QWizard_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QWizard_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QWizard_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hasVisitedPage), meth_QWizard_hasVisitedPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_hasVisitedPage)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QWizard_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QWizard_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initializePage), (PyCFunction)meth_QWizard_initializePage, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizard_initializePage)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QWizard_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QWizard_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QWizard_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QWizard_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QWizard_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QWizard_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QWizard_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QWizard_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QWizard_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QWizard_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QWizard_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QWizard_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_next), meth_QWizard_next, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_next)},
    {SIP_MLNAME_CAST(sipName_nextId), meth_QWizard_nextId, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_nextId)},
    {SIP_MLNAME_CAST(sipName_options), meth_QWizard_options, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_options)},
    {SIP_MLNAME_CAST(sipName_page), meth_QWizard_page, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_page)},
    {SIP_MLNAME_CAST(sipName_pageIds), meth_QWizard_pageIds, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_pageIds)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QWizard_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizard_paintEvent)},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_QWizard_pixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_pixmap)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QWizard_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removePage), meth_QWizard_removePage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_removePage)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QWizard_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizard_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_restart), meth_QWizard_restart, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_restart)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QWizard_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QWizard_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setButton), meth_QWizard_setButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setButton)},
    {SIP_MLNAME_CAST(sipName_setButtonLayout), meth_QWizard_setButtonLayout, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setButtonLayout)},
    {SIP_MLNAME_CAST(sipName_setButtonText), meth_QWizard_setButtonText, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setButtonText)},
    {SIP_MLNAME_CAST(sipName_setDefaultProperty), meth_QWizard_setDefaultProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setDefaultProperty)},
    {SIP_MLNAME_CAST(sipName_setField), meth_QWizard_setField, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setField)},
    {SIP_MLNAME_CAST(sipName_setOption), (PyCFunction)meth_QWizard_setOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWizard_setOption)},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_QWizard_setOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setOptions)},
    {SIP_MLNAME_CAST(sipName_setPage), meth_QWizard_setPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setPage)},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_QWizard_setPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setPixmap)},
    {SIP_MLNAME_CAST(sipName_setSideWidget), meth_QWizard_setSideWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setSideWidget)},
    {SIP_MLNAME_CAST(sipName_setStartId), meth_QWizard_setStartId, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setStartId)},
    {SIP_MLNAME_CAST(sipName_setSubTitleFormat), meth_QWizard_setSubTitleFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setSubTitleFormat)},
    {SIP_MLNAME_CAST(sipName_setTitleFormat), meth_QWizard_setTitleFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setTitleFormat)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QWizard_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setVisible)},
    {SIP_MLNAME_CAST(sipName_setWizardStyle), meth_QWizard_setWizardStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_setWizardStyle)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QWizard_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QWizard_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sideWidget), meth_QWizard_sideWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_sideWidget)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QWizard_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_sizeHint)},
    {SIP_MLNAME_CAST(sipName_startId), meth_QWizard_startId, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_startId)},
    {SIP_MLNAME_CAST(sipName_subTitleFormat), meth_QWizard_subTitleFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_subTitleFormat)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QWizard_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_testOption), meth_QWizard_testOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_testOption)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QWizard_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_titleFormat), meth_QWizard_titleFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_titleFormat)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QWizard_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validateCurrentPage), meth_QWizard_validateCurrentPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_validateCurrentPage)},
    {SIP_MLNAME_CAST(sipName_visitedPages), meth_QWizard_visitedPages, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_visitedPages)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QWizard_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wizardStyle), meth_QWizard_wizardStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QWizard_wizardStyle)}
};

static sipEnumMemberDef enummembers_QWizard[] = {
    {sipName_AeroStyle, static_cast<int>(QWizard::AeroStyle), 464},
    {sipName_BackButton, static_cast<int>(QWizard::BackButton), 460},
    {sipName_BackgroundPixmap, static_cast<int>(QWizard::BackgroundPixmap), 463},
    {sipName_BannerPixmap, static_cast<int>(QWizard::BannerPixmap), 463},
    {sipName_CancelButton, static_cast<int>(QWizard::CancelButton), 460},
    {sipName_CancelButtonOnLeft, static_cast<int>(QWizard::CancelButtonOnLeft), 461},
    {sipName_ClassicStyle, static_cast<int>(QWizard::ClassicStyle), 464},
    {sipName_CommitButton, static_cast<int>(QWizard::CommitButton), 460},
    {sipName_CustomButton1, static_cast<int>(QWizard::CustomButton1), 460},
    {sipName_CustomButton2, static_cast<int>(QWizard::CustomButton2), 460},
    {sipName_CustomButton3, static_cast<int>(QWizard::CustomButton3), 460},
    {sipName_DisabledBackButtonOnLastPage, static_cast<int>(QWizard::DisabledBackButtonOnLastPage), 461},
    {sipName_ExtendedWatermarkPixmap, static_cast<int>(QWizard::ExtendedWatermarkPixmap), 461},
    {sipName_FinishButton, static_cast<int>(QWizard::FinishButton), 460},
    {sipName_HaveCustomButton1, static_cast<int>(QWizard::HaveCustomButton1), 461},
    {sipName_HaveCustomButton2, static_cast<int>(QWizard::HaveCustomButton2), 461},
    {sipName_HaveCustomButton3, static_cast<int>(QWizard::HaveCustomButton3), 461},
    {sipName_HaveFinishButtonOnEarlyPages, static_cast<int>(QWizard::HaveFinishButtonOnEarlyPages), 461},
    {sipName_HaveHelpButton, static_cast<int>(QWizard::HaveHelpButton), 461},
    {sipName_HaveNextButtonOnLastPage, static_cast<int>(QWizard::HaveNextButtonOnLastPage), 461},
    {sipName_HelpButton, static_cast<int>(QWizard::HelpButton), 460},
    {sipName_HelpButtonOnRight, static_cast<int>(QWizard::HelpButtonOnRight), 461},
    {sipName_IgnoreSubTitles, static_cast<int>(QWizard::IgnoreSubTitles), 461},
    {sipName_IndependentPages, static_cast<int>(QWizard::IndependentPages), 461},
    {sipName_LogoPixmap, static_cast<int>(QWizard::LogoPixmap), 463},
    {sipName_MacStyle, static_cast<int>(QWizard::MacStyle), 464},
    {sipName_ModernStyle, static_cast<int>(QWizard::ModernStyle), 464},
    {sipName_NextButton, static_cast<int>(QWizard::NextButton), 460},
    {sipName_NoBackButtonOnLastPage, static_cast<int>(QWizard::NoBackButtonOnLastPage), 461},
    {sipName_NoBackButtonOnStartPage, static_cast<int>(QWizard::NoBackButtonOnStartPage), 461},
    {sipName_NoCancelButton, static_cast<int>(QWizard::NoCancelButton), 461},
    {sipName_NoCancelButtonOnLastPage, static_cast<int>(QWizard::NoCancelButtonOnLastPage), 461},
    {sipName_NoDefaultButton, static_cast<int>(QWizard::NoDefaultButton), 461},
    {sipName_Stretch, static_cast<int>(QWizard::Stretch), 460},
    {sipName_WatermarkPixmap, static_cast<int>(QWizard::WatermarkPixmap), 463},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QWizard[] = {
    {"pageRemoved(int)", "\1QWizard.pageRemoved[int]", 0, 0},
    {"pageAdded(int)", "\1QWizard.pageAdded[int]", 0, 0},
    {"customButtonClicked(int)", "\1QWizard.customButtonClicked[int]", 0, 0},
    {"helpRequested()", "\1QWizard.helpRequested", 0, 0},
    {"currentIdChanged(int)", "\1QWizard.currentIdChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QWizard, "\1QWizard(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QWizard = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWizard,
        {0}
    },
    {
        sipNameNr_QWizard,
        {0, 0, 1},
        90, methods_QWizard,
        35, enummembers_QWizard,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWizard,
    -1,
    -1,
    supers_QWizard,
    0,
    init_type_QWizard,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWizard,
    0,
    0,
    0,
    release_QWizard,
    cast_QWizard,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QWizard::staticMetaObject,
    0,
    signals_QWizard,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidgetaction.sip"
#include <qwidgetaction.h>
#line 21808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 21812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 21815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 21818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 21824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 21827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 21830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 21833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 21836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 21839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 21842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 21848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 21851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 21854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qactiongroup.sip"
#include <qactiongroup.h>
#line 21857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 21860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 21866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 21869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 21872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 21875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 21878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 21881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 21884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 21887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 21890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQWidgetAction : public QWidgetAction
{
public:
    sipQWidgetAction(QObject*);
    virtual ~sipQWidgetAction();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    QWidget* sipProtectVirt_createWidget(bool,QWidget*);
    void sipProtectVirt_deleteWidget(bool,QWidget*);
    QList<QWidget*> sipProtect_createdWidgets() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void deleteWidget(QWidget*);
    QWidget* createWidget(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQWidgetAction(const sipQWidgetAction &);
    sipQWidgetAction &operator = (const sipQWidgetAction &);

    char sipPyMethods[9];
};

sipQWidgetAction::sipQWidgetAction(QObject*a0): QWidgetAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQWidgetAction::~sipQWidgetAction()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQWidgetAction::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QWidgetAction);
}

int sipQWidgetAction::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QWidgetAction::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QWidgetAction,_c,_id,_a);

    return _id;
}

void *sipQWidgetAction::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QWidgetAction, _clname, &sipCpp) ? sipCpp : QWidgetAction::qt_metacast(_clname));
}

void sipQWidgetAction::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QWidgetAction::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidgetAction::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QWidgetAction::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidgetAction::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QWidgetAction::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidgetAction::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QWidgetAction::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidgetAction::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QWidgetAction::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidgetAction::deleteWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_deleteWidget);

    if (!sipMeth)
    {
        QWidgetAction::deleteWidget(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QWidget* sipQWidgetAction::createWidget(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_createWidget);

    if (!sipMeth)
        return QWidgetAction::createWidget(a0);

    extern QWidget* sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_QtWidgets_2(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQWidgetAction::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QWidgetAction::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQWidgetAction::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QWidgetAction::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQWidgetAction::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQWidgetAction::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQWidgetAction::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQWidgetAction::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQWidgetAction::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQWidgetAction::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQWidgetAction::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQWidgetAction::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQWidgetAction::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQWidgetAction::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidgetAction::event(a0) : event(a0));
}

bool sipQWidgetAction::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QWidgetAction::eventFilter(a0,a1) : eventFilter(a0,a1));
}

QWidget* sipQWidgetAction::sipProtectVirt_createWidget(bool sipSelfWasArg,QWidget*a0)
{
    return (sipSelfWasArg ? QWidgetAction::createWidget(a0) : createWidget(a0));
}

void sipQWidgetAction::sipProtectVirt_deleteWidget(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QWidgetAction::deleteWidget(a0) : deleteWidget(a0));
}

QList<QWidget*> sipQWidgetAction::sipProtect_createdWidgets() const
{
    return QWidgetAction::createdWidgets();
}


PyDoc_STRVAR(doc_QWidgetAction_sender, "QWidgetAction.sender() -> QObject");

extern "C" {static PyObject *meth_QWidgetAction_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWidgetAction, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 22243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_sender, doc_QWidgetAction_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_receivers, "QWidgetAction.receivers(signal) -> int");

extern "C" {static PyObject *meth_QWidgetAction_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QWidgetAction, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 22302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_receivers, doc_QWidgetAction_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_timerEvent, "QWidgetAction.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QWidgetAction_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_timerEvent, doc_QWidgetAction_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_childEvent, "QWidgetAction.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QWidgetAction_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_childEvent, doc_QWidgetAction_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_customEvent, "QWidgetAction.customEvent(QEvent)");

extern "C" {static PyObject *meth_QWidgetAction_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_customEvent, doc_QWidgetAction_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_connectNotify, "QWidgetAction.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QWidgetAction_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_connectNotify, doc_QWidgetAction_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_disconnectNotify, "QWidgetAction.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QWidgetAction_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_disconnectNotify, doc_QWidgetAction_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_senderSignalIndex, "QWidgetAction.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QWidgetAction_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWidgetAction, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_senderSignalIndex, doc_QWidgetAction_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_isSignalConnected, "QWidgetAction.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QWidgetAction_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_isSignalConnected, doc_QWidgetAction_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_setDefaultWidget, "QWidgetAction.setDefaultWidget(QWidget)");

extern "C" {static PyObject *meth_QWidgetAction_setDefaultWidget(PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_setDefaultWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QWidgetAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setDefaultWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_setDefaultWidget, doc_QWidgetAction_setDefaultWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_defaultWidget, "QWidgetAction.defaultWidget() -> QWidget");

extern "C" {static PyObject *meth_QWidgetAction_defaultWidget(PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_defaultWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidgetAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetAction, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->defaultWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_defaultWidget, doc_QWidgetAction_defaultWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_requestWidget, "QWidgetAction.requestWidget(QWidget) -> QWidget");

extern "C" {static PyObject *meth_QWidgetAction_requestWidget(PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_requestWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        sipWrapper *sipOwner = 0;
        QWidgetAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJH", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QWidget, &a0, &sipOwner))
        {
            QWidget*sipRes;

            sipRes = sipCpp->requestWidget(a0);

            return sipConvertFromNewType(sipRes,sipType_QWidget,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_requestWidget, doc_QWidgetAction_requestWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_releaseWidget, "QWidgetAction.releaseWidget(QWidget)");

extern "C" {static PyObject *meth_QWidgetAction_releaseWidget(PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_releaseWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QWidgetAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->releaseWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_releaseWidget, doc_QWidgetAction_releaseWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_event, "QWidgetAction.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QWidgetAction_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_event, doc_QWidgetAction_event);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_eventFilter, "QWidgetAction.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QWidgetAction_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_eventFilter, doc_QWidgetAction_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_createWidget, "QWidgetAction.createWidget(QWidget) -> QWidget");

extern "C" {static PyObject *meth_QWidgetAction_createWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_createWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipWrapper *sipOwner = 0;
        sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJH", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QWidget, &a0, &sipOwner))
        {
            QWidget*sipRes;

            sipRes = sipCpp->sipProtectVirt_createWidget(sipSelfWasArg,a0);

            return sipConvertFromNewType(sipRes,sipType_QWidget,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_createWidget, doc_QWidgetAction_createWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_deleteWidget, "QWidgetAction.deleteWidget(QWidget)");

extern "C" {static PyObject *meth_QWidgetAction_deleteWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_deleteWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QWidgetAction, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_deleteWidget(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_deleteWidget, doc_QWidgetAction_deleteWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetAction_createdWidgets, "QWidgetAction.createdWidgets() -> list-of-QWidget");

extern "C" {static PyObject *meth_QWidgetAction_createdWidgets(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidgetAction_createdWidgets(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQWidgetAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWidgetAction, &sipCpp))
        {
            QList<QWidget*>*sipRes;

            sipRes = new QList<QWidget*>(sipCpp->sipProtect_createdWidgets());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetAction, sipName_createdWidgets, doc_QWidgetAction_createdWidgets);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QWidgetAction(void *, const sipTypeDef *);}
static void *cast_QWidgetAction(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QWidgetAction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAction)->ctd_cast((QAction *)(QWidgetAction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWidgetAction(void *, int);}
static void release_QWidgetAction(void *sipCppV,int)
{
    QWidgetAction *sipCpp = reinterpret_cast<QWidgetAction *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QWidgetAction(sipSimpleWrapper *);}
static void dealloc_QWidgetAction(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQWidgetAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QWidgetAction(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QWidgetAction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWidgetAction(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQWidgetAction *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQWidgetAction(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QWidgetAction[] = {{25, 255, 1}};


static PyMethodDef methods_QWidgetAction[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QWidgetAction_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QWidgetAction_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createWidget), (PyCFunction)meth_QWidgetAction_createWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidgetAction_createWidget)},
    {SIP_MLNAME_CAST(sipName_createdWidgets), (PyCFunction)meth_QWidgetAction_createdWidgets, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidgetAction_createdWidgets)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QWidgetAction_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultWidget), meth_QWidgetAction_defaultWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetAction_defaultWidget)},
    {SIP_MLNAME_CAST(sipName_deleteWidget), (PyCFunction)meth_QWidgetAction_deleteWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidgetAction_deleteWidget)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QWidgetAction_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QWidgetAction_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidgetAction_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QWidgetAction_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidgetAction_eventFilter)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QWidgetAction_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QWidgetAction_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_releaseWidget), meth_QWidgetAction_releaseWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetAction_releaseWidget)},
    {SIP_MLNAME_CAST(sipName_requestWidget), meth_QWidgetAction_requestWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetAction_requestWidget)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QWidgetAction_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QWidgetAction_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultWidget), meth_QWidgetAction_setDefaultWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetAction_setDefaultWidget)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QWidgetAction_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QWidgetAction, "\1QWidgetAction(QObject)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QWidgetAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWidgetAction,
        {0}
    },
    {
        sipNameNr_QWidgetAction,
        {0, 0, 1},
        18, methods_QWidgetAction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWidgetAction,
    -1,
    -1,
    supers_QWidgetAction,
    0,
    init_type_QWidgetAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWidgetAction,
    0,
    0,
    0,
    release_QWidgetAction,
    cast_QWidgetAction,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QWidgetAction::staticMetaObject,
    0,
    0,
    0
};

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 22921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 22925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QWidget_RenderFlags___bool__(PyObject *);}
static int slot_QWidget_RenderFlags___bool__(PyObject *sipSelf)
{
    QWidget::RenderFlags *sipCpp = reinterpret_cast<QWidget::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWidget_RenderFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWidget::RenderFlags::Int() != 0);
#line 22943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QWidget::RenderFlags *sipCpp = reinterpret_cast<QWidget::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWidget_RenderFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QWidget::RenderFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QWidget_RenderFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWidget::RenderFlags::Int() != a0->operator QWidget::RenderFlags::Int());
#line 22973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QWidget::RenderFlags *>(a0),sipType_QWidget_RenderFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QWidget_RenderFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QWidget::RenderFlags *sipCpp = reinterpret_cast<QWidget::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWidget_RenderFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QWidget::RenderFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QWidget_RenderFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QWidget::RenderFlags::Int() == a0->operator QWidget::RenderFlags::Int());
#line 23009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QWidget::RenderFlags *>(a0),sipType_QWidget_RenderFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QWidget_RenderFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___invert__(PyObject *);}
static PyObject *slot_QWidget_RenderFlags___invert__(PyObject *sipSelf)
{
    QWidget::RenderFlags *sipCpp = reinterpret_cast<QWidget::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWidget_RenderFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QWidget::RenderFlags*sipRes;

            sipRes = new QWidget::RenderFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QWidget_RenderFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget::RenderFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QWidget_RenderFlags, &a0, &a0State, &a1))
        {
            QWidget::RenderFlags*sipRes;

            sipRes = new QWidget::RenderFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QWidget_RenderFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QWidget_RenderFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget::RenderFlags* a0;
        int a0State = 0;
        QWidget::RenderFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QWidget_RenderFlags, &a0, &a0State, sipType_QWidget_RenderFlags, &a1, &a1State))
        {
            QWidget::RenderFlags*sipRes;

            sipRes = new QWidget::RenderFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QWidget_RenderFlags,a0State);
            sipReleaseType(a1,sipType_QWidget_RenderFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QWidget_RenderFlags,NULL);
        }
    }

    {
        QWidget::RenderFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QWidget_RenderFlags, &a0, &a0State, &a1))
        {
            QWidget::RenderFlags*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QWidget::RenderFlags(*a0 ^ a1);
#line 23112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QWidget_RenderFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QWidget_RenderFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget::RenderFlags* a0;
        int a0State = 0;
        QWidget::RenderFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QWidget_RenderFlags, &a0, &a0State, sipType_QWidget_RenderFlags, &a1, &a1State))
        {
            QWidget::RenderFlags*sipRes;

            sipRes = new QWidget::RenderFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QWidget_RenderFlags,a0State);
            sipReleaseType(a1,sipType_QWidget_RenderFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QWidget_RenderFlags,NULL);
        }
    }

    {
        QWidget::RenderFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QWidget_RenderFlags, &a0, &a0State, &a1))
        {
            QWidget::RenderFlags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QWidget::RenderFlags(*a0 | a1);
#line 23162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QWidget_RenderFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QWidget_RenderFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___int__(PyObject *);}
static PyObject *slot_QWidget_RenderFlags___int__(PyObject *sipSelf)
{
    QWidget::RenderFlags *sipCpp = reinterpret_cast<QWidget::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWidget_RenderFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QWidget_RenderFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWidget_RenderFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QWidget::RenderFlags *sipCpp = reinterpret_cast<QWidget::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWidget_RenderFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QWidget::RenderFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QWidget_RenderFlags, &a0, &a0State))
        {
            sipCpp->QWidget::RenderFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QWidget_RenderFlags,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_QWidget_RenderFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWidget_RenderFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QWidget::RenderFlags *sipCpp = reinterpret_cast<QWidget::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWidget_RenderFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QWidget::RenderFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QWidget_RenderFlags, &a0, &a0State))
        {
            sipCpp->QWidget::RenderFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QWidget_RenderFlags,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_QWidget_RenderFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QWidget_RenderFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QWidget_RenderFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QWidget::RenderFlags *sipCpp = reinterpret_cast<QWidget::RenderFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWidget_RenderFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QWidget::RenderFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QWidget_RenderFlags(void *, const sipTypeDef *);}
static void *cast_QWidget_RenderFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QWidget_RenderFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWidget_RenderFlags(void *, int);}
static void release_QWidget_RenderFlags(void *sipCppV,int)
{
    delete reinterpret_cast<QWidget::RenderFlags *>(sipCppV);
}


extern "C" {static void assign_QWidget_RenderFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QWidget_RenderFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QWidget::RenderFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QWidget::RenderFlags *>(sipSrc);
}


extern "C" {static void *array_QWidget_RenderFlags(SIP_SSIZE_T);}
static void *array_QWidget_RenderFlags(SIP_SSIZE_T sipNrElem)
{
    return new QWidget::RenderFlags[sipNrElem];
}


extern "C" {static void *copy_QWidget_RenderFlags(const void *, SIP_SSIZE_T);}
static void *copy_QWidget_RenderFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QWidget::RenderFlags(reinterpret_cast<const QWidget::RenderFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWidget_RenderFlags(sipSimpleWrapper *);}
static void dealloc_QWidget_RenderFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QWidget_RenderFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QWidget_RenderFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWidget_RenderFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QWidget::RenderFlags *sipCpp = 0;

    {
        const QWidget::RenderFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QWidget_RenderFlags, &a0, &a0State))
        {
            sipCpp = new QWidget::RenderFlags(*a0);
            sipReleaseType(const_cast<QWidget::RenderFlags *>(a0),sipType_QWidget_RenderFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QWidget::RenderFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QWidget::RenderFlags();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QWidget_RenderFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QWidget_RenderFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QWidget::RenderFlags **sipCppPtr = reinterpret_cast<QWidget::RenderFlags **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QWidget::RenderFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QWidget_RenderFlag)) ||
            sipCanConvertToType(sipPy, sipType_QWidget_RenderFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QWidget_RenderFlag)))
{
    *sipCppPtr = new QWidget::RenderFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QWidget::RenderFlags *>(sipConvertToType(sipPy, sipType_QWidget_RenderFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 23439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QWidget_RenderFlags[] = {
    {(void *)slot_QWidget_RenderFlags___bool__, bool_slot},
    {(void *)slot_QWidget_RenderFlags___ne__, ne_slot},
    {(void *)slot_QWidget_RenderFlags___eq__, eq_slot},
    {(void *)slot_QWidget_RenderFlags___invert__, invert_slot},
    {(void *)slot_QWidget_RenderFlags___and__, and_slot},
    {(void *)slot_QWidget_RenderFlags___xor__, xor_slot},
    {(void *)slot_QWidget_RenderFlags___or__, or_slot},
    {(void *)slot_QWidget_RenderFlags___int__, int_slot},
    {(void *)slot_QWidget_RenderFlags___ixor__, ixor_slot},
    {(void *)slot_QWidget_RenderFlags___ior__, ior_slot},
    {(void *)slot_QWidget_RenderFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QWidget_RenderFlags, "\1QWidget.RenderFlags(QWidget.RenderFlags)\n"
    "QWidget.RenderFlags(int)\n"
    "QWidget.RenderFlags()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QWidget_RenderFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWidget__RenderFlags,
        {0}
    },
    {
        sipNameNr_RenderFlags,
        {454, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWidget_RenderFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QWidget_RenderFlags,
    init_type_QWidget_RenderFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWidget_RenderFlags,
    assign_QWidget_RenderFlags,
    array_QWidget_RenderFlags,
    copy_QWidget_RenderFlags,
    release_QWidget_RenderFlags,
    cast_QWidget_RenderFlags,
    convertTo_QWidget_RenderFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwhatsthis.sip"
#include <qwhatsthis.h>
#line 23521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 23525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 23528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 23531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 23537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QWhatsThis_enterWhatsThisMode, "QWhatsThis.enterWhatsThisMode()");

extern "C" {static PyObject *meth_QWhatsThis_enterWhatsThisMode(PyObject *, PyObject *);}
static PyObject *meth_QWhatsThis_enterWhatsThisMode(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWhatsThis::enterWhatsThisMode();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWhatsThis, sipName_enterWhatsThisMode, doc_QWhatsThis_enterWhatsThisMode);

    return NULL;
}


PyDoc_STRVAR(doc_QWhatsThis_inWhatsThisMode, "QWhatsThis.inWhatsThisMode() -> bool");

extern "C" {static PyObject *meth_QWhatsThis_inWhatsThisMode(PyObject *, PyObject *);}
static PyObject *meth_QWhatsThis_inWhatsThisMode(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes = QWhatsThis::inWhatsThisMode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWhatsThis, sipName_inWhatsThisMode, doc_QWhatsThis_inWhatsThisMode);

    return NULL;
}


PyDoc_STRVAR(doc_QWhatsThis_leaveWhatsThisMode, "QWhatsThis.leaveWhatsThisMode()");

extern "C" {static PyObject *meth_QWhatsThis_leaveWhatsThisMode(PyObject *, PyObject *);}
static PyObject *meth_QWhatsThis_leaveWhatsThisMode(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWhatsThis::leaveWhatsThisMode();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWhatsThis, sipName_leaveWhatsThisMode, doc_QWhatsThis_leaveWhatsThisMode);

    return NULL;
}


PyDoc_STRVAR(doc_QWhatsThis_showText, "QWhatsThis.showText(QPoint, str, QWidget widget=None)");

extern "C" {static PyObject *meth_QWhatsThis_showText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWhatsThis_showText(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9J1|J8", sipType_QPoint, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2))
        {
            QWhatsThis::showText(*a0,*a1,a2);
            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_QWhatsThis, sipName_showText, doc_QWhatsThis_showText);

    return NULL;
}


PyDoc_STRVAR(doc_QWhatsThis_hideText, "QWhatsThis.hideText()");

extern "C" {static PyObject *meth_QWhatsThis_hideText(PyObject *, PyObject *);}
static PyObject *meth_QWhatsThis_hideText(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWhatsThis::hideText();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWhatsThis, sipName_hideText, doc_QWhatsThis_hideText);

    return NULL;
}


PyDoc_STRVAR(doc_QWhatsThis_createAction, "QWhatsThis.createAction(QObject parent=None) -> QAction");

extern "C" {static PyObject *meth_QWhatsThis_createAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWhatsThis_createAction(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0 = 0;
        sipWrapper *sipOwner = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|JH", sipType_QObject, &a0, &sipOwner))
        {
            QAction*sipRes;

            sipRes = QWhatsThis::createAction(a0);

            return sipConvertFromNewType(sipRes,sipType_QAction,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWhatsThis, sipName_createAction, doc_QWhatsThis_createAction);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QWhatsThis(void *, const sipTypeDef *);}
static void *cast_QWhatsThis(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QWhatsThis)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWhatsThis(void *, int);}
static void release_QWhatsThis(void *sipCppV,int)
{
    delete reinterpret_cast<QWhatsThis *>(sipCppV);
}


extern "C" {static void dealloc_QWhatsThis(sipSimpleWrapper *);}
static void dealloc_QWhatsThis(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QWhatsThis(sipGetAddress(sipSelf),0);
    }
}


static PyMethodDef methods_QWhatsThis[] = {
    {SIP_MLNAME_CAST(sipName_createAction), (PyCFunction)meth_QWhatsThis_createAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWhatsThis_createAction)},
    {SIP_MLNAME_CAST(sipName_enterWhatsThisMode), meth_QWhatsThis_enterWhatsThisMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QWhatsThis_enterWhatsThisMode)},
    {SIP_MLNAME_CAST(sipName_hideText), meth_QWhatsThis_hideText, METH_VARARGS, SIP_MLDOC_CAST(doc_QWhatsThis_hideText)},
    {SIP_MLNAME_CAST(sipName_inWhatsThisMode), meth_QWhatsThis_inWhatsThisMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QWhatsThis_inWhatsThisMode)},
    {SIP_MLNAME_CAST(sipName_leaveWhatsThisMode), meth_QWhatsThis_leaveWhatsThisMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QWhatsThis_leaveWhatsThisMode)},
    {SIP_MLNAME_CAST(sipName_showText), (PyCFunction)meth_QWhatsThis_showText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWhatsThis_showText)}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QWhatsThis = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWhatsThis,
        {0}
    },
    {
        sipNameNr_QWhatsThis,
        {0, 0, 1},
        6, methods_QWhatsThis,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWhatsThis,
    0,
    0,
    0,
    release_QWhatsThis,
    cast_QWhatsThis,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundoview.sip"
#include <qundoview.h>
#line 23800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 23804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 23807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundogroup.sip"
#include <qundogroup.h>
#line 23810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 23813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 23816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 23822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 23825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 23828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 23831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 23834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 23837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 23840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 23843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 23852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 23876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 23879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistview.sip"
#include <qlistview.h>
#line 23882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 23891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 23894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 23906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 23909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 23912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 23915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 23918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 23921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 23927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 23936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 23939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 23942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 23945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 23948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 23954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 23960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 23963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 23966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 23969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 23972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 23975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 23978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 23981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 23984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 23987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 23999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 24005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 24008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 24014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 24017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 24020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 24026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 24029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 24032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 24035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 24038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 24041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 24044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 24050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 24053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 24056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 24059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 24062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 24065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQUndoView : public QUndoView
{
public:
    sipQUndoView(QWidget*);
    sipQUndoView(QUndoStack*,QWidget*);
    sipQUndoView(QUndoGroup*,QWidget*);
    virtual ~sipQUndoView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_dataChanged(bool,const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    QRect sipProtect_rectForIndex(const QModelIndex&) const;
    void sipProtect_setPositionForIndex(const QPoint&,const QModelIndex&);
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    void sipProtectVirt_updateGeometries(bool);
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    QSize sipProtectVirt_viewportSizeHint(bool) const;
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool viewportEvent(QEvent*);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    void selectAll();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void keyboardSearch(const QString&);
    void setSelectionModel(QItemSelectionModel*);
    void setModel(QAbstractItemModel*);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    QSize viewportSizeHint() const;
    bool isIndexHidden(const QModelIndex&) const;
    void updateGeometries();
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    int verticalOffset() const;
    int horizontalOffset() const;
    void paintEvent(QPaintEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void resizeEvent(QResizeEvent*);
    void timerEvent(QTimerEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    bool event(QEvent*);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void scrollContentsBy(int,int);
    void setRootIndex(const QModelIndex&);
    void reset();
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQUndoView(const sipQUndoView &);
    sipQUndoView &operator = (const sipQUndoView &);

    char sipPyMethods[87];
};

sipQUndoView::sipQUndoView(QWidget*a0): QUndoView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQUndoView::sipQUndoView(QUndoStack*a0,QWidget*a1): QUndoView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQUndoView::sipQUndoView(QUndoGroup*a0,QWidget*a1): QUndoView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQUndoView::~sipQUndoView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQUndoView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QUndoView);
}

int sipQUndoView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QUndoView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QUndoView,_c,_id,_a);

    return _id;
}

void *sipQUndoView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QUndoView, _clname, &sipCpp) ? sipCpp : QUndoView::qt_metacast(_clname));
}

void sipQUndoView::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QUndoView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QUndoView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QUndoView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QUndoView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QUndoView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQUndoView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QUndoView::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQUndoView::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QUndoView::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQUndoView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QUndoView::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQUndoView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QUndoView::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QUndoView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QUndoView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QUndoView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QUndoView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QUndoView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QUndoView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QUndoView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QUndoView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QUndoView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQUndoView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QUndoView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQUndoView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QUndoView::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QUndoView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQUndoView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QUndoView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQUndoView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QUndoView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QUndoView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQUndoView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QUndoView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQUndoView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QUndoView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QUndoView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQUndoView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QUndoView::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQUndoView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QUndoView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQUndoView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QUndoView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQUndoView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QUndoView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQUndoView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QUndoView::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QUndoView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QUndoView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QUndoView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QUndoView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QUndoView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QUndoView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQUndoView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QUndoView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQUndoView::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QUndoView::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQUndoView::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QUndoView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQUndoView::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QUndoView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QUndoView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QUndoView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQUndoView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QUndoView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QUndoView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QUndoView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QUndoView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QUndoView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQUndoView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QUndoView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQUndoView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QUndoView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQUndoView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QUndoView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQUndoView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QUndoView::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QUndoView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QUndoView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::setModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
        QUndoView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtCore_40)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtCore_40)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[40]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QUndoView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQUndoView::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QUndoView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QSize sipQUndoView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QUndoView::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQUndoView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return QUndoView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QUndoView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndexList sipQUndoView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[61]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QUndoView::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQUndoView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[62]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QUndoView::visualRegionForSelection(a0);

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        QUndoView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipQUndoView::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return QUndoView::moveCursor(a0,a1);

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

int sipQUndoView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[65]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return QUndoView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQUndoView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[66]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return QUndoView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQUndoView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QUndoView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQUndoView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[68]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QUndoView::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQUndoView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QUndoView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QUndoView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QUndoView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QUndoView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QUndoView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QUndoView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QUndoView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QUndoView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQUndoView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QUndoView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QUndoView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQUndoView::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QUndoView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQUndoView::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QUndoView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQUndoView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QUndoView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQUndoView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QUndoView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QUndoView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndex sipQUndoView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return QUndoView::indexAt(a0);

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoView::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        QUndoView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QRect sipQUndoView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return QUndoView::visualRect(a0);

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQUndoView::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQUndoView::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQUndoView::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQUndoView::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQUndoView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQUndoView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQUndoView::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQUndoView::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQUndoView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQUndoView::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQUndoView::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQUndoView::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQUndoView::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQUndoView::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQUndoView::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQUndoView::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQUndoView::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQUndoView::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQUndoView::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQUndoView::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQUndoView::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQUndoView::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQUndoView::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQUndoView::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQUndoView::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQUndoView::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQUndoView::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQUndoView::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQUndoView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQUndoView::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQUndoView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQUndoView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQUndoView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQUndoView::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQUndoView::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQUndoView::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQUndoView::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQUndoView::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

void sipQUndoView::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQUndoView::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQUndoView::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQUndoView::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQUndoView::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QItemSelectionModel::SelectionFlags sipQUndoView::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

int sipQUndoView::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQUndoView::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQUndoView::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQUndoView::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQUndoView::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQUndoView::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQUndoView::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

bool sipQUndoView::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQUndoView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQUndoView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQUndoView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQUndoView::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQUndoView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQUndoView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::keyPressEvent(a0) : keyPressEvent(a0));
}

int sipQUndoView::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQUndoView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQUndoView::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQUndoView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QListView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

void sipQUndoView::sipProtectVirt_dataChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    (sipSelfWasArg ? QListView::dataChanged(a0,a1,a2) : dataChanged(a0,a1,a2));
}

void sipQUndoView::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QListView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipQUndoView::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QListView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

bool sipQUndoView::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QListView::event(a0) : event(a0));
}

void sipQUndoView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QListView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQUndoView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QListView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQUndoView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QListView::timerEvent(a0) : timerEvent(a0));
}

void sipQUndoView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QListView::resizeEvent(a0) : resizeEvent(a0));
}

void sipQUndoView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QListView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQUndoView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QListView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQUndoView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QListView::dropEvent(a0) : dropEvent(a0));
}

void sipQUndoView::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QListView::startDrag(a0) : startDrag(a0));
}

QStyleOptionViewItem sipQUndoView::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::viewOptions() : viewOptions());
}

void sipQUndoView::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QListView::paintEvent(a0) : paintEvent(a0));
}

int sipQUndoView::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::horizontalOffset() : horizontalOffset());
}

int sipQUndoView::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::verticalOffset() : verticalOffset());
}

QModelIndex sipQUndoView::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0,Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ? QListView::moveCursor((QAbstractItemView::CursorAction)a0,a1) : moveCursor((QAbstractItemView::CursorAction)a0,a1));
}

QRect sipQUndoView::sipProtect_rectForIndex(const QModelIndex& a0) const
{
    return QListView::rectForIndex(a0);
}

void sipQUndoView::sipProtect_setPositionForIndex(const QPoint& a0,const QModelIndex& a1)
{
    QListView::setPositionForIndex(a0,a1);
}

void sipQUndoView::sipProtectVirt_setSelection(bool sipSelfWasArg,const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ? QListView::setSelection(a0,a1) : setSelection(a0,a1));
}

QRegion sipQUndoView::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const QItemSelection& a0) const
{
    return (sipSelfWasArg ? QListView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

QModelIndexList sipQUndoView::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::selectedIndexes() : selectedIndexes());
}

void sipQUndoView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QListView::updateGeometries() : updateGeometries());
}

bool sipQUndoView::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QListView::isIndexHidden(a0) : isIndexHidden(a0));
}

QSize sipQUndoView::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::viewportSizeHint() : viewportSizeHint());
}

void sipQUndoView::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QListView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQUndoView::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QListView::currentChanged(a0,a1) : currentChanged(a0,a1));
}


PyDoc_STRVAR(doc_QUndoView_sender, "QUndoView.sender() -> QObject");

extern "C" {static PyObject *meth_QUndoView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 26320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_sender, doc_QUndoView_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_receivers, "QUndoView.receivers(signal) -> int");

extern "C" {static PyObject *meth_QUndoView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QUndoView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 26379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_receivers, doc_QUndoView_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_childEvent, "QUndoView.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QUndoView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_childEvent, doc_QUndoView_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_customEvent, "QUndoView.customEvent(QEvent)");

extern "C" {static PyObject *meth_QUndoView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_customEvent, doc_QUndoView_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_connectNotify, "QUndoView.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QUndoView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_connectNotify, doc_QUndoView_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_disconnectNotify, "QUndoView.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QUndoView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_disconnectNotify, doc_QUndoView_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_senderSignalIndex, "QUndoView.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QUndoView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_senderSignalIndex, doc_QUndoView_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_isSignalConnected, "QUndoView.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QUndoView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_isSignalConnected, doc_QUndoView_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_keyReleaseEvent, "QUndoView.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QUndoView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_keyReleaseEvent, doc_QUndoView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_enterEvent, "QUndoView.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QUndoView_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_enterEvent, doc_QUndoView_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_leaveEvent, "QUndoView.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QUndoView_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_leaveEvent, doc_QUndoView_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_moveEvent, "QUndoView.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QUndoView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_moveEvent, doc_QUndoView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_closeEvent, "QUndoView.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QUndoView_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_closeEvent, doc_QUndoView_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_tabletEvent, "QUndoView.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QUndoView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_tabletEvent, doc_QUndoView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_actionEvent, "QUndoView.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QUndoView_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_actionEvent, doc_QUndoView_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_showEvent, "QUndoView.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QUndoView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_showEvent, doc_QUndoView_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_hideEvent, "QUndoView.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QUndoView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_hideEvent, doc_QUndoView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_metric, "QUndoView.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QUndoView_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_metric, doc_QUndoView_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_updateMicroFocus, "QUndoView.updateMicroFocus()");

extern "C" {static PyObject *meth_QUndoView_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_updateMicroFocus, doc_QUndoView_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_create, "QUndoView.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QUndoView_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQUndoView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QUndoView, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_create, doc_QUndoView_create);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_destroy, "QUndoView.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QUndoView_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQUndoView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QUndoView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_destroy, doc_QUndoView_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_focusNextChild, "QUndoView.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QUndoView_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_focusNextChild, doc_QUndoView_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_focusPreviousChild, "QUndoView.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QUndoView_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_focusPreviousChild, doc_QUndoView_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_nativeEvent, "QUndoView.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QUndoView_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_nativeEvent, doc_QUndoView_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_sharedPainter, "QUndoView.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QUndoView_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_sharedPainter, doc_QUndoView_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_initPainter, "QUndoView.initPainter(QPainter)");

extern "C" {static PyObject *meth_QUndoView_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_initPainter, doc_QUndoView_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_changeEvent, "QUndoView.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QUndoView_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_changeEvent, doc_QUndoView_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_drawFrame, "QUndoView.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QUndoView_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_drawFrame, doc_QUndoView_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setViewportMargins, "QUndoView.setViewportMargins(int, int, int, int)\n"
    "QUndoView.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QUndoView_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QUndoView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_setViewportMargins, doc_QUndoView_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_wheelEvent, "QUndoView.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QUndoView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_wheelEvent, doc_QUndoView_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_contextMenuEvent, "QUndoView.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QUndoView_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_contextMenuEvent, doc_QUndoView_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_eventFilter, "QUndoView.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QUndoView_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_eventFilter, doc_QUndoView_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_edit, "QUndoView.edit(QModelIndex)\n"
    "QUndoView.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QUndoView_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_edit, doc_QUndoView_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_updateEditorData, "QUndoView.updateEditorData()");

extern "C" {static PyObject *meth_QUndoView_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_updateEditorData, doc_QUndoView_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_updateEditorGeometries, "QUndoView.updateEditorGeometries()");

extern "C" {static PyObject *meth_QUndoView_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_updateEditorGeometries, doc_QUndoView_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_verticalScrollbarAction, "QUndoView.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QUndoView_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QUndoView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_verticalScrollbarAction, doc_QUndoView_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_horizontalScrollbarAction, "QUndoView.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QUndoView_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QUndoView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_horizontalScrollbarAction, doc_QUndoView_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_verticalScrollbarValueChanged, "QUndoView.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QUndoView_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QUndoView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_verticalScrollbarValueChanged, doc_QUndoView_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_horizontalScrollbarValueChanged, "QUndoView.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QUndoView_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QUndoView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_horizontalScrollbarValueChanged, doc_QUndoView_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_closeEditor, "QUndoView.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QUndoView_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_closeEditor, doc_QUndoView_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_commitData, "QUndoView.commitData(QWidget)");

extern "C" {static PyObject *meth_QUndoView_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_commitData, doc_QUndoView_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_editorDestroyed, "QUndoView.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QUndoView_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_editorDestroyed, doc_QUndoView_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_selectionCommand, "QUndoView.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QUndoView_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQUndoView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_selectionCommand, doc_QUndoView_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_state, "QUndoView.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QUndoView_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_state, doc_QUndoView_state);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setState, "QUndoView.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QUndoView_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_setState, doc_QUndoView_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_scheduleDelayedItemsLayout, "QUndoView.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QUndoView_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_scheduleDelayedItemsLayout, doc_QUndoView_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_executeDelayedItemsLayout, "QUndoView.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QUndoView_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_executeDelayedItemsLayout, doc_QUndoView_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_scrollDirtyRegion, "QUndoView.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QUndoView_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QUndoView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_scrollDirtyRegion, doc_QUndoView_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setDirtyRegion, "QUndoView.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QUndoView_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_setDirtyRegion, doc_QUndoView_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_dirtyRegionOffset, "QUndoView.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QUndoView_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_dirtyRegionOffset, doc_QUndoView_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_viewportEvent, "QUndoView.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QUndoView_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_viewportEvent, doc_QUndoView_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_mousePressEvent, "QUndoView.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QUndoView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_mousePressEvent, doc_QUndoView_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_mouseDoubleClickEvent, "QUndoView.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QUndoView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_mouseDoubleClickEvent, doc_QUndoView_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_dragEnterEvent, "QUndoView.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QUndoView_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_dragEnterEvent, doc_QUndoView_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_focusInEvent, "QUndoView.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QUndoView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_focusInEvent, doc_QUndoView_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_focusOutEvent, "QUndoView.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QUndoView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_focusOutEvent, doc_QUndoView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_keyPressEvent, "QUndoView.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QUndoView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_keyPressEvent, doc_QUndoView_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_dropIndicatorPosition, "QUndoView.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QUndoView_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_dropIndicatorPosition, doc_QUndoView_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_focusNextPrevChild, "QUndoView.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QUndoView_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QUndoView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_focusNextPrevChild, doc_QUndoView_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_inputMethodEvent, "QUndoView.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QUndoView_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_inputMethodEvent, doc_QUndoView_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_scrollContentsBy, "QUndoView.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QUndoView_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QUndoView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_scrollContentsBy, doc_QUndoView_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_dataChanged, "QUndoView.dataChanged(QModelIndex, QModelIndex, list-of-int roles=[])");

extern "C" {static PyObject *meth_QUndoView_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const QVector<int>& a2def = QVector<int>();
        const QVector<int>* a2 = &a2def;
        int a2State = 0;
        sipQUndoView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_roles,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|J1", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1,*a2);
            sipReleaseType(const_cast<QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_dataChanged, doc_QUndoView_dataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_rowsInserted, "QUndoView.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QUndoView_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_rowsInserted, doc_QUndoView_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_rowsAboutToBeRemoved, "QUndoView.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QUndoView_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_rowsAboutToBeRemoved, doc_QUndoView_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_event, "QUndoView.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QUndoView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_event, doc_QUndoView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_mouseMoveEvent, "QUndoView.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QUndoView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_mouseMoveEvent, doc_QUndoView_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_mouseReleaseEvent, "QUndoView.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QUndoView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_mouseReleaseEvent, doc_QUndoView_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_timerEvent, "QUndoView.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QUndoView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_timerEvent, doc_QUndoView_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_resizeEvent, "QUndoView.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QUndoView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_resizeEvent, doc_QUndoView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_dragMoveEvent, "QUndoView.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QUndoView_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_dragMoveEvent, doc_QUndoView_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_dragLeaveEvent, "QUndoView.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QUndoView_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_dragLeaveEvent, doc_QUndoView_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_dropEvent, "QUndoView.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QUndoView_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_dropEvent, doc_QUndoView_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_startDrag, "QUndoView.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QUndoView_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QUndoView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QUndoView, sipName_startDrag, doc_QUndoView_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_viewOptions, "QUndoView.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QUndoView_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_viewOptions, doc_QUndoView_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_paintEvent, "QUndoView.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QUndoView_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_paintEvent, doc_QUndoView_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_horizontalOffset, "QUndoView.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QUndoView_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_horizontalOffset, doc_QUndoView_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_verticalOffset, "QUndoView.verticalOffset() -> int");

extern "C" {static PyObject *meth_QUndoView_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_verticalOffset, doc_QUndoView_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_moveCursor, "QUndoView.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QUndoView_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_moveCursor, doc_QUndoView_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_rectForIndex, "QUndoView.rectForIndex(QModelIndex) -> QRect");

extern "C" {static PyObject *meth_QUndoView_rectForIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_rectForIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_rectForIndex(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_rectForIndex, doc_QUndoView_rectForIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setPositionForIndex, "QUndoView.setPositionForIndex(QPoint, QModelIndex)");

extern "C" {static PyObject *meth_QUndoView_setPositionForIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_setPositionForIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QModelIndex* a1;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QPoint, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_setPositionForIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_setPositionForIndex, doc_QUndoView_setPositionForIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setSelection, "QUndoView.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QUndoView_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_setSelection, doc_QUndoView_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_visualRegionForSelection, "QUndoView.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QUndoView_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_visualRegionForSelection, doc_QUndoView_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_selectedIndexes, "QUndoView.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QUndoView_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_selectedIndexes, doc_QUndoView_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_updateGeometries, "QUndoView.updateGeometries()");

extern "C" {static PyObject *meth_QUndoView_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_updateGeometries, doc_QUndoView_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_isIndexHidden, "QUndoView.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QUndoView_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_isIndexHidden, doc_QUndoView_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_viewportSizeHint, "QUndoView.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QUndoView_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_viewportSizeHint, doc_QUndoView_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_selectionChanged, "QUndoView.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QUndoView_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_selectionChanged, doc_QUndoView_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_currentChanged, "QUndoView.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QUndoView_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoView_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQUndoView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_currentChanged, doc_QUndoView_currentChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_stack, "QUndoView.stack() -> QUndoStack");

extern "C" {static PyObject *meth_QUndoView_stack(PyObject *, PyObject *);}
static PyObject *meth_QUndoView_stack(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QUndoStack*sipRes;

            sipRes = sipCpp->stack();

            return sipConvertFromType(sipRes,sipType_QUndoStack,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_stack, doc_QUndoView_stack);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_group, "QUndoView.group() -> QUndoGroup");

extern "C" {static PyObject *meth_QUndoView_group(PyObject *, PyObject *);}
static PyObject *meth_QUndoView_group(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QUndoGroup*sipRes;

            sipRes = sipCpp->group();

            return sipConvertFromType(sipRes,sipType_QUndoGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_group, doc_QUndoView_group);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setEmptyLabel, "QUndoView.setEmptyLabel(str)");

extern "C" {static PyObject *meth_QUndoView_setEmptyLabel(PyObject *, PyObject *);}
static PyObject *meth_QUndoView_setEmptyLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QUndoView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setEmptyLabel(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_setEmptyLabel, doc_QUndoView_setEmptyLabel);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_emptyLabel, "QUndoView.emptyLabel() -> str");

extern "C" {static PyObject *meth_QUndoView_emptyLabel(PyObject *, PyObject *);}
static PyObject *meth_QUndoView_emptyLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->emptyLabel());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_emptyLabel, doc_QUndoView_emptyLabel);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setCleanIcon, "QUndoView.setCleanIcon(QIcon)");

extern "C" {static PyObject *meth_QUndoView_setCleanIcon(PyObject *, PyObject *);}
static PyObject *meth_QUndoView_setCleanIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        QUndoView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QUndoView, &sipCpp, sipType_QIcon, &a0))
        {
            sipCpp->setCleanIcon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_setCleanIcon, doc_QUndoView_setCleanIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_cleanIcon, "QUndoView.cleanIcon() -> QIcon");

extern "C" {static PyObject *meth_QUndoView_cleanIcon(PyObject *, PyObject *);}
static PyObject *meth_QUndoView_cleanIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoView, &sipCpp))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->cleanIcon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_cleanIcon, doc_QUndoView_cleanIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setStack, "QUndoView.setStack(QUndoStack)");

extern "C" {static PyObject *meth_QUndoView_setStack(PyObject *, PyObject *);}
static PyObject *meth_QUndoView_setStack(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoStack* a0;
        PyObject *a0Keep;
        QUndoView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QUndoView, &sipCpp, &a0Keep, sipType_QUndoStack, &a0))
        {
            sipCpp->setStack(a0);

            sipKeepReference(sipSelf, -55, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_setStack, doc_QUndoView_setStack);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoView_setGroup, "QUndoView.setGroup(QUndoGroup)");

extern "C" {static PyObject *meth_QUndoView_setGroup(PyObject *, PyObject *);}
static PyObject *meth_QUndoView_setGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoGroup* a0;
        PyObject *a0Keep;
        QUndoView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QUndoView, &sipCpp, &a0Keep, sipType_QUndoGroup, &a0))
        {
            sipCpp->setGroup(a0);

            sipKeepReference(sipSelf, -56, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoView, sipName_setGroup, doc_QUndoView_setGroup);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QUndoView(void *, const sipTypeDef *);}
static void *cast_QUndoView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QUndoView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QListView)->ctd_cast((QListView *)(QUndoView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QUndoView(void *, int);}
static void release_QUndoView(void *sipCppV,int)
{
    QUndoView *sipCpp = reinterpret_cast<QUndoView *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QUndoView(sipSimpleWrapper *);}
static void dealloc_QUndoView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQUndoView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QUndoView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QUndoView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUndoView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQUndoView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQUndoView(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QUndoStack* a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QUndoStack, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQUndoView(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QUndoGroup* a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QUndoGroup, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQUndoView(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QUndoView[] = {{211, 255, 1}};


static PyMethodDef methods_QUndoView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QUndoView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QUndoView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QUndoView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cleanIcon), meth_QUndoView_cleanIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoView_cleanIcon)},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QUndoView_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QUndoView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QUndoView_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QUndoView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QUndoView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QUndoView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QUndoView_currentChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QUndoView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_QUndoView_dataChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QUndoView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QUndoView_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QUndoView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QUndoView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QUndoView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QUndoView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QUndoView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QUndoView_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QUndoView_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QUndoView_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QUndoView_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_emptyLabel), meth_QUndoView_emptyLabel, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoView_emptyLabel)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QUndoView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QUndoView_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QUndoView_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QUndoView_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QUndoView_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QUndoView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QUndoView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QUndoView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QUndoView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_group), meth_QUndoView_group, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoView_group)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QUndoView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QUndoView_horizontalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QUndoView_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QUndoView_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QUndoView_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QUndoView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QUndoView_isIndexHidden, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QUndoView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QUndoView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QUndoView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QUndoView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QUndoView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QUndoView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QUndoView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QUndoView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QUndoView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QUndoView_moveCursor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QUndoView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QUndoView_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QUndoView_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QUndoView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rectForIndex), (PyCFunction)meth_QUndoView_rectForIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QUndoView_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QUndoView_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QUndoView_rowsInserted, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QUndoView_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QUndoView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QUndoView_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QUndoView_selectedIndexes, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QUndoView_selectionChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QUndoView_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QUndoView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QUndoView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCleanIcon), meth_QUndoView_setCleanIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoView_setCleanIcon)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QUndoView_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setEmptyLabel), meth_QUndoView_setEmptyLabel, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoView_setEmptyLabel)},
    {SIP_MLNAME_CAST(sipName_setGroup), meth_QUndoView_setGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoView_setGroup)},
    {SIP_MLNAME_CAST(sipName_setPositionForIndex), (PyCFunction)meth_QUndoView_setPositionForIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QUndoView_setSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setStack), meth_QUndoView_setStack, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoView_setStack)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QUndoView_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QUndoView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QUndoView_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QUndoView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_stack), meth_QUndoView_stack, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoView_stack)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QUndoView_startDrag, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QUndoView_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QUndoView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QUndoView_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QUndoView_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QUndoView_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QUndoView_updateGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QUndoView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QUndoView_verticalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QUndoView_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QUndoView_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QUndoView_viewOptions, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QUndoView_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QUndoView_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QUndoView_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QUndoView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QUndoView, "\1QUndoView(QWidget parent=None)\n"
    "QUndoView(QUndoStack, QWidget parent=None)\n"
    "QUndoView(QUndoGroup, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QUndoView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUndoView,
        {0}
    },
    {
        sipNameNr_QUndoView,
        {0, 0, 1},
        96, methods_QUndoView,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUndoView,
    -1,
    -1,
    supers_QUndoView,
    0,
    init_type_QUndoView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUndoView,
    0,
    0,
    0,
    release_QUndoView,
    cast_QUndoView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QUndoView::staticMetaObject,
    0,
    0,
    0
};

#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 29381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 29388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 29391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 29394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 29397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 29406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 29409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 29415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 29418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 29424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 29427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 29430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 29433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 29436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQUndoStack : public QUndoStack
{
public:
    sipQUndoStack(QObject*);
    virtual ~sipQUndoStack();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQUndoStack(const sipQUndoStack &);
    sipQUndoStack &operator = (const sipQUndoStack &);

    char sipPyMethods[7];
};

sipQUndoStack::sipQUndoStack(QObject*a0): QUndoStack(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQUndoStack::~sipQUndoStack()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQUndoStack::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QUndoStack);
}

int sipQUndoStack::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QUndoStack::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QUndoStack,_c,_id,_a);

    return _id;
}

void *sipQUndoStack::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QUndoStack, _clname, &sipCpp) ? sipCpp : QUndoStack::qt_metacast(_clname));
}

void sipQUndoStack::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QUndoStack::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoStack::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QUndoStack::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoStack::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QUndoStack::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoStack::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QUndoStack::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoStack::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QUndoStack::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQUndoStack::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QUndoStack::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQUndoStack::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QUndoStack::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQUndoStack::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQUndoStack::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQUndoStack::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQUndoStack::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQUndoStack::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQUndoStack::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQUndoStack::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQUndoStack::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQUndoStack::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QUndoStack_sender, "QUndoStack.sender() -> QObject");

extern "C" {static PyObject *meth_QUndoStack_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQUndoStack *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 29724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_sender, doc_QUndoStack_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_receivers, "QUndoStack.receivers(signal) -> int");

extern "C" {static PyObject *meth_QUndoStack_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQUndoStack *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QUndoStack, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 29783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_receivers, doc_QUndoStack_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_timerEvent, "QUndoStack.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QUndoStack_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQUndoStack *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_timerEvent, doc_QUndoStack_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_childEvent, "QUndoStack.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QUndoStack_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQUndoStack *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_childEvent, doc_QUndoStack_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_customEvent, "QUndoStack.customEvent(QEvent)");

extern "C" {static PyObject *meth_QUndoStack_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQUndoStack *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_customEvent, doc_QUndoStack_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_connectNotify, "QUndoStack.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QUndoStack_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQUndoStack *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_connectNotify, doc_QUndoStack_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_disconnectNotify, "QUndoStack.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QUndoStack_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQUndoStack *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_disconnectNotify, doc_QUndoStack_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_senderSignalIndex, "QUndoStack.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QUndoStack_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQUndoStack *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_senderSignalIndex, doc_QUndoStack_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_isSignalConnected, "QUndoStack.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QUndoStack_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQUndoStack *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_isSignalConnected, doc_QUndoStack_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_clear, "QUndoStack.clear()");

extern "C" {static PyObject *meth_QUndoStack_clear(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_clear, doc_QUndoStack_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_push, "QUndoStack.push(QUndoCommand)");

extern "C" {static PyObject *meth_QUndoStack_push(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_push(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoCommand* a0;
        QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QUndoCommand, &a0))
        {
            sipCpp->push(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_push, doc_QUndoStack_push);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_canUndo, "QUndoStack.canUndo() -> bool");

extern "C" {static PyObject *meth_QUndoStack_canUndo(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_canUndo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->canUndo();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_canUndo, doc_QUndoStack_canUndo);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_canRedo, "QUndoStack.canRedo() -> bool");

extern "C" {static PyObject *meth_QUndoStack_canRedo(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_canRedo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->canRedo();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_canRedo, doc_QUndoStack_canRedo);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_undoText, "QUndoStack.undoText() -> str");

extern "C" {static PyObject *meth_QUndoStack_undoText(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_undoText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->undoText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_undoText, doc_QUndoStack_undoText);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_redoText, "QUndoStack.redoText() -> str");

extern "C" {static PyObject *meth_QUndoStack_redoText(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_redoText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->redoText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_redoText, doc_QUndoStack_redoText);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_count, "QUndoStack.count() -> int");

extern "C" {static PyObject *meth_QUndoStack_count(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_count, doc_QUndoStack_count);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_index, "QUndoStack.index() -> int");

extern "C" {static PyObject *meth_QUndoStack_index(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_index(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->index();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_index, doc_QUndoStack_index);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_text, "QUndoStack.text(int) -> str");

extern "C" {static PyObject *meth_QUndoStack_text(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QUndoStack, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_text, doc_QUndoStack_text);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_createUndoAction, "QUndoStack.createUndoAction(QObject, str prefix='') -> QAction");

extern "C" {static PyObject *meth_QUndoStack_createUndoAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_createUndoAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        sipWrapper *sipOwner = 0;
        const QUndoStack *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_prefix,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJH|J1", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QObject, &a0, &sipOwner, sipType_QString,&a1, &a1State))
        {
            QAction*sipRes;

            sipRes = sipCpp->createUndoAction(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAction,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_createUndoAction, doc_QUndoStack_createUndoAction);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_createRedoAction, "QUndoStack.createRedoAction(QObject, str prefix='') -> QAction");

extern "C" {static PyObject *meth_QUndoStack_createRedoAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_createRedoAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        sipWrapper *sipOwner = 0;
        const QUndoStack *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_prefix,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJH|J1", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QObject, &a0, &sipOwner, sipType_QString,&a1, &a1State))
        {
            QAction*sipRes;

            sipRes = sipCpp->createRedoAction(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAction,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_createRedoAction, doc_QUndoStack_createRedoAction);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_isActive, "QUndoStack.isActive() -> bool");

extern "C" {static PyObject *meth_QUndoStack_isActive(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_isActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_isActive, doc_QUndoStack_isActive);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_isClean, "QUndoStack.isClean() -> bool");

extern "C" {static PyObject *meth_QUndoStack_isClean(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_isClean(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isClean();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_isClean, doc_QUndoStack_isClean);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_cleanIndex, "QUndoStack.cleanIndex() -> int");

extern "C" {static PyObject *meth_QUndoStack_cleanIndex(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_cleanIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->cleanIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_cleanIndex, doc_QUndoStack_cleanIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_beginMacro, "QUndoStack.beginMacro(str)");

extern "C" {static PyObject *meth_QUndoStack_beginMacro(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_beginMacro(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUndoStack, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->beginMacro(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_beginMacro, doc_QUndoStack_beginMacro);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_endMacro, "QUndoStack.endMacro()");

extern "C" {static PyObject *meth_QUndoStack_endMacro(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_endMacro(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            sipCpp->endMacro();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_endMacro, doc_QUndoStack_endMacro);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_redo, "QUndoStack.redo()");

extern "C" {static PyObject *meth_QUndoStack_redo(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_redo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            sipCpp->redo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_redo, doc_QUndoStack_redo);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_setActive, "QUndoStack.setActive(bool active=True)");

extern "C" {static PyObject *meth_QUndoStack_setActive(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_setActive(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        QUndoStack *sipCpp;

        static const char *sipKwdList[] = {
            sipName_active,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|b", &sipSelf, sipType_QUndoStack, &sipCpp, &a0))
        {
            sipCpp->setActive(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_setActive, doc_QUndoStack_setActive);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_setClean, "QUndoStack.setClean()");

extern "C" {static PyObject *meth_QUndoStack_setClean(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_setClean(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            sipCpp->setClean();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_setClean, doc_QUndoStack_setClean);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_setIndex, "QUndoStack.setIndex(int)");

extern "C" {static PyObject *meth_QUndoStack_setIndex(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_setIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QUndoStack, &sipCpp, &a0))
        {
            sipCpp->setIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_setIndex, doc_QUndoStack_setIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_undo, "QUndoStack.undo()");

extern "C" {static PyObject *meth_QUndoStack_undo(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_undo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            sipCpp->undo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_undo, doc_QUndoStack_undo);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_setUndoLimit, "QUndoStack.setUndoLimit(int)");

extern "C" {static PyObject *meth_QUndoStack_setUndoLimit(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_setUndoLimit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QUndoStack, &sipCpp, &a0))
        {
            sipCpp->setUndoLimit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_setUndoLimit, doc_QUndoStack_setUndoLimit);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_undoLimit, "QUndoStack.undoLimit() -> int");

extern "C" {static PyObject *meth_QUndoStack_undoLimit(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_undoLimit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoStack, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->undoLimit();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_undoLimit, doc_QUndoStack_undoLimit);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoStack_command, "QUndoStack.command(int) -> QUndoCommand");

extern "C" {static PyObject *meth_QUndoStack_command(PyObject *, PyObject *);}
static PyObject *meth_QUndoStack_command(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QUndoStack *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QUndoStack, &sipCpp, &a0))
        {
            const QUndoCommand*sipRes;

            sipRes = sipCpp->command(a0);

            return sipConvertFromType(const_cast<QUndoCommand *>(sipRes),sipType_QUndoCommand,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoStack, sipName_command, doc_QUndoStack_command);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QUndoStack___len__(PyObject *);}
static SIP_SSIZE_T slot_QUndoStack___len__(PyObject *sipSelf)
{
    QUndoStack *sipCpp = reinterpret_cast<QUndoStack *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QUndoStack));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 30687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QUndoStack(void *, const sipTypeDef *);}
static void *cast_QUndoStack(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QUndoStack)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QUndoStack *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QUndoStack(void *, int);}
static void release_QUndoStack(void *sipCppV,int)
{
    QUndoStack *sipCpp = reinterpret_cast<QUndoStack *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QUndoStack(sipSimpleWrapper *);}
static void dealloc_QUndoStack(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQUndoStack *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QUndoStack(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QUndoStack(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUndoStack(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQUndoStack *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQUndoStack(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QUndoStack[] = {{162, 0, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QUndoStack[] = {
    {(void *)slot_QUndoStack___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QUndoStack[] = {
    {SIP_MLNAME_CAST(sipName_beginMacro), meth_QUndoStack_beginMacro, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_beginMacro)},
    {SIP_MLNAME_CAST(sipName_canRedo), meth_QUndoStack_canRedo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_canRedo)},
    {SIP_MLNAME_CAST(sipName_canUndo), meth_QUndoStack_canUndo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_canUndo)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QUndoStack_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cleanIndex), meth_QUndoStack_cleanIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_cleanIndex)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QUndoStack_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_clear)},
    {SIP_MLNAME_CAST(sipName_command), meth_QUndoStack_command, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_command)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QUndoStack_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QUndoStack_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_count)},
    {SIP_MLNAME_CAST(sipName_createRedoAction), (PyCFunction)meth_QUndoStack_createRedoAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUndoStack_createRedoAction)},
    {SIP_MLNAME_CAST(sipName_createUndoAction), (PyCFunction)meth_QUndoStack_createUndoAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUndoStack_createUndoAction)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QUndoStack_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QUndoStack_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMacro), meth_QUndoStack_endMacro, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_endMacro)},
    {SIP_MLNAME_CAST(sipName_index), meth_QUndoStack_index, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_index)},
    {SIP_MLNAME_CAST(sipName_isActive), meth_QUndoStack_isActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_isActive)},
    {SIP_MLNAME_CAST(sipName_isClean), meth_QUndoStack_isClean, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_isClean)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QUndoStack_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_push), meth_QUndoStack_push, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_push)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QUndoStack_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_redo), meth_QUndoStack_redo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_redo)},
    {SIP_MLNAME_CAST(sipName_redoText), meth_QUndoStack_redoText, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_redoText)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QUndoStack_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QUndoStack_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setActive), (PyCFunction)meth_QUndoStack_setActive, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUndoStack_setActive)},
    {SIP_MLNAME_CAST(sipName_setClean), meth_QUndoStack_setClean, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_setClean)},
    {SIP_MLNAME_CAST(sipName_setIndex), meth_QUndoStack_setIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_setIndex)},
    {SIP_MLNAME_CAST(sipName_setUndoLimit), meth_QUndoStack_setUndoLimit, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_setUndoLimit)},
    {SIP_MLNAME_CAST(sipName_text), meth_QUndoStack_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_text)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QUndoStack_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_undo), meth_QUndoStack_undo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_undo)},
    {SIP_MLNAME_CAST(sipName_undoLimit), meth_QUndoStack_undoLimit, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_undoLimit)},
    {SIP_MLNAME_CAST(sipName_undoText), meth_QUndoStack_undoText, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoStack_undoText)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QUndoStack[] = {
    {"undoTextChanged(QString)", "\1QUndoStack.undoTextChanged[str]", 0, 0},
    {"redoTextChanged(QString)", "\1QUndoStack.redoTextChanged[str]", 0, 0},
    {"indexChanged(int)", "\1QUndoStack.indexChanged[int]", 0, 0},
    {"cleanChanged(bool)", "\1QUndoStack.cleanChanged[bool]", 0, 0},
    {"canUndoChanged(bool)", "\1QUndoStack.canUndoChanged[bool]", 0, 0},
    {"canRedoChanged(bool)", "\1QUndoStack.canRedoChanged[bool]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QUndoStack, "\1QUndoStack(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QUndoStack = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUndoStack,
        {0}
    },
    {
        sipNameNr_QUndoStack,
        {0, 0, 1},
        33, methods_QUndoStack,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUndoStack,
    -1,
    -1,
    supers_QUndoStack,
    slots_QUndoStack,
    init_type_QUndoStack,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUndoStack,
    0,
    0,
    0,
    release_QUndoStack,
    cast_QUndoStack,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QUndoStack::staticMetaObject,
    0,
    signals_QUndoStack,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 30884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 30888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQUndoCommand : public QUndoCommand
{
public:
    sipQUndoCommand(QUndoCommand*);
    sipQUndoCommand(const QString&,QUndoCommand*);
    virtual ~sipQUndoCommand();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void undo();
    void redo();
    bool mergeWith(const QUndoCommand*);
    int id() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQUndoCommand(const sipQUndoCommand &);
    sipQUndoCommand &operator = (const sipQUndoCommand &);

    char sipPyMethods[4];
};

sipQUndoCommand::sipQUndoCommand(QUndoCommand*a0): QUndoCommand(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQUndoCommand::sipQUndoCommand(const QString& a0,QUndoCommand*a1): QUndoCommand(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQUndoCommand::~sipQUndoCommand()
{
    sipCommonDtor(sipPySelf);
}

void sipQUndoCommand::undo()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_undo);

    if (!sipMeth)
    {
        QUndoCommand::undo();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQUndoCommand::redo()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_redo);

    if (!sipMeth)
    {
        QUndoCommand::redo();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQUndoCommand::mergeWith(const QUndoCommand*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_mergeWith);

    if (!sipMeth)
        return QUndoCommand::mergeWith(a0);

    extern bool sipVH_QtWidgets_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QUndoCommand*);

    return sipVH_QtWidgets_15(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQUndoCommand::id() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_id);

    if (!sipMeth)
        return QUndoCommand::id();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QUndoCommand_id, "QUndoCommand.id() -> int");

extern "C" {static PyObject *meth_QUndoCommand_id(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoCommand, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QUndoCommand::id() : sipCpp->id());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_id, doc_QUndoCommand_id);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoCommand_mergeWith, "QUndoCommand.mergeWith(QUndoCommand) -> bool");

extern "C" {static PyObject *meth_QUndoCommand_mergeWith(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_mergeWith(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QUndoCommand* a0;
        QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QUndoCommand, &sipCpp, sipType_QUndoCommand, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QUndoCommand::mergeWith(a0) : sipCpp->mergeWith(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_mergeWith, doc_QUndoCommand_mergeWith);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoCommand_redo, "QUndoCommand.redo()");

extern "C" {static PyObject *meth_QUndoCommand_redo(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_redo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoCommand, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QUndoCommand::redo() : sipCpp->redo());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_redo, doc_QUndoCommand_redo);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoCommand_setText, "QUndoCommand.setText(str)");

extern "C" {static PyObject *meth_QUndoCommand_setText(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QUndoCommand, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_setText, doc_QUndoCommand_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoCommand_text, "QUndoCommand.text() -> str");

extern "C" {static PyObject *meth_QUndoCommand_text(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoCommand, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_text, doc_QUndoCommand_text);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoCommand_undo, "QUndoCommand.undo()");

extern "C" {static PyObject *meth_QUndoCommand_undo(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_undo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoCommand, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QUndoCommand::undo() : sipCpp->undo());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_undo, doc_QUndoCommand_undo);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoCommand_childCount, "QUndoCommand.childCount() -> int");

extern "C" {static PyObject *meth_QUndoCommand_childCount(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_childCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoCommand, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->childCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_childCount, doc_QUndoCommand_childCount);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoCommand_child, "QUndoCommand.child(int) -> QUndoCommand");

extern "C" {static PyObject *meth_QUndoCommand_child(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_child(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QUndoCommand, &sipCpp, &a0))
        {
            const QUndoCommand*sipRes;

            sipRes = sipCpp->child(a0);

            return sipConvertFromType(const_cast<QUndoCommand *>(sipRes),sipType_QUndoCommand,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_child, doc_QUndoCommand_child);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoCommand_actionText, "QUndoCommand.actionText() -> str");

extern "C" {static PyObject *meth_QUndoCommand_actionText(PyObject *, PyObject *);}
static PyObject *meth_QUndoCommand_actionText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoCommand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoCommand, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->actionText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoCommand, sipName_actionText, doc_QUndoCommand_actionText);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QUndoCommand(void *, const sipTypeDef *);}
static void *cast_QUndoCommand(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QUndoCommand)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QUndoCommand(void *, int);}
static void release_QUndoCommand(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQUndoCommand *>(sipCppV);
    else
        delete reinterpret_cast<QUndoCommand *>(sipCppV);
}


extern "C" {static void dealloc_QUndoCommand(sipSimpleWrapper *);}
static void dealloc_QUndoCommand(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQUndoCommand *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QUndoCommand(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QUndoCommand(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUndoCommand(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQUndoCommand *sipCpp = 0;

    {
        QUndoCommand* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QUndoCommand, &a0, sipOwner))
        {
            sipCpp = new sipQUndoCommand(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QUndoCommand* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QUndoCommand, &a1, sipOwner))
        {
            sipCpp = new sipQUndoCommand(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QUndoCommand[] = {
    {SIP_MLNAME_CAST(sipName_actionText), meth_QUndoCommand_actionText, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_actionText)},
    {SIP_MLNAME_CAST(sipName_child), meth_QUndoCommand_child, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_child)},
    {SIP_MLNAME_CAST(sipName_childCount), meth_QUndoCommand_childCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_childCount)},
    {SIP_MLNAME_CAST(sipName_id), meth_QUndoCommand_id, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_id)},
    {SIP_MLNAME_CAST(sipName_mergeWith), meth_QUndoCommand_mergeWith, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_mergeWith)},
    {SIP_MLNAME_CAST(sipName_redo), meth_QUndoCommand_redo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_redo)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QUndoCommand_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_setText)},
    {SIP_MLNAME_CAST(sipName_text), meth_QUndoCommand_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_text)},
    {SIP_MLNAME_CAST(sipName_undo), meth_QUndoCommand_undo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoCommand_undo)}
};

PyDoc_STRVAR(doc_QUndoCommand, "\1QUndoCommand(QUndoCommand parent=None)\n"
    "QUndoCommand(str, QUndoCommand parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QUndoCommand = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUndoCommand,
        {0}
    },
    {
        sipNameNr_QUndoCommand,
        {0, 0, 1},
        9, methods_QUndoCommand,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUndoCommand,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QUndoCommand,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUndoCommand,
    0,
    0,
    0,
    release_QUndoCommand,
    cast_QUndoCommand,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundogroup.sip"
#include <qundogroup.h>
#line 31404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 31408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 31411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 50 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qundostack.sip"
#include <qundostack.h>
#line 31414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 31417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 31423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 31432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 31435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 31441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 31444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 31450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 31453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 31456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 31459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 31462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQUndoGroup : public QUndoGroup
{
public:
    sipQUndoGroup(QObject*);
    virtual ~sipQUndoGroup();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQUndoGroup(const sipQUndoGroup &);
    sipQUndoGroup &operator = (const sipQUndoGroup &);

    char sipPyMethods[7];
};

sipQUndoGroup::sipQUndoGroup(QObject*a0): QUndoGroup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQUndoGroup::~sipQUndoGroup()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQUndoGroup::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QUndoGroup);
}

int sipQUndoGroup::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QUndoGroup::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QUndoGroup,_c,_id,_a);

    return _id;
}

void *sipQUndoGroup::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QUndoGroup, _clname, &sipCpp) ? sipCpp : QUndoGroup::qt_metacast(_clname));
}

void sipQUndoGroup::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QUndoGroup::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoGroup::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QUndoGroup::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoGroup::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QUndoGroup::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoGroup::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QUndoGroup::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQUndoGroup::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QUndoGroup::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQUndoGroup::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QUndoGroup::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQUndoGroup::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QUndoGroup::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQUndoGroup::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQUndoGroup::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQUndoGroup::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQUndoGroup::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQUndoGroup::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQUndoGroup::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQUndoGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQUndoGroup::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQUndoGroup::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QUndoGroup_sender, "QUndoGroup.sender() -> QObject");

extern "C" {static PyObject *meth_QUndoGroup_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQUndoGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 31750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_sender, doc_QUndoGroup_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_receivers, "QUndoGroup.receivers(signal) -> int");

extern "C" {static PyObject *meth_QUndoGroup_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQUndoGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QUndoGroup, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 31809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_receivers, doc_QUndoGroup_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_timerEvent, "QUndoGroup.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QUndoGroup_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQUndoGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_timerEvent, doc_QUndoGroup_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_childEvent, "QUndoGroup.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QUndoGroup_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQUndoGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_childEvent, doc_QUndoGroup_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_customEvent, "QUndoGroup.customEvent(QEvent)");

extern "C" {static PyObject *meth_QUndoGroup_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQUndoGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_customEvent, doc_QUndoGroup_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_connectNotify, "QUndoGroup.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QUndoGroup_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQUndoGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_connectNotify, doc_QUndoGroup_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_disconnectNotify, "QUndoGroup.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QUndoGroup_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQUndoGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_disconnectNotify, doc_QUndoGroup_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_senderSignalIndex, "QUndoGroup.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QUndoGroup_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQUndoGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_senderSignalIndex, doc_QUndoGroup_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_isSignalConnected, "QUndoGroup.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QUndoGroup_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQUndoGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_isSignalConnected, doc_QUndoGroup_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_addStack, "QUndoGroup.addStack(QUndoStack)");

extern "C" {static PyObject *meth_QUndoGroup_addStack(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_addStack(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoStack* a0;
        QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QUndoStack, &a0))
        {
            sipCpp->addStack(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_addStack, doc_QUndoGroup_addStack);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_removeStack, "QUndoGroup.removeStack(QUndoStack)");

extern "C" {static PyObject *meth_QUndoGroup_removeStack(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_removeStack(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoStack* a0;
        QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QUndoStack, &a0))
        {
            sipCpp->removeStack(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_removeStack, doc_QUndoGroup_removeStack);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_stacks, "QUndoGroup.stacks() -> list-of-QUndoStack");

extern "C" {static PyObject *meth_QUndoGroup_stacks(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_stacks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            QList<QUndoStack*>*sipRes;

            sipRes = new QList<QUndoStack*>(sipCpp->stacks());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QUndoStack,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_stacks, doc_QUndoGroup_stacks);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_activeStack, "QUndoGroup.activeStack() -> QUndoStack");

extern "C" {static PyObject *meth_QUndoGroup_activeStack(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_activeStack(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            QUndoStack*sipRes;

            sipRes = sipCpp->activeStack();

            return sipConvertFromType(sipRes,sipType_QUndoStack,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_activeStack, doc_QUndoGroup_activeStack);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_createRedoAction, "QUndoGroup.createRedoAction(QObject, str prefix='') -> QAction");

extern "C" {static PyObject *meth_QUndoGroup_createRedoAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_createRedoAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        sipWrapper *sipOwner = 0;
        const QUndoGroup *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_prefix,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJH|J1", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QObject, &a0, &sipOwner, sipType_QString,&a1, &a1State))
        {
            QAction*sipRes;

            sipRes = sipCpp->createRedoAction(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAction,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_createRedoAction, doc_QUndoGroup_createRedoAction);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_createUndoAction, "QUndoGroup.createUndoAction(QObject, str prefix='') -> QAction");

extern "C" {static PyObject *meth_QUndoGroup_createUndoAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_createUndoAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        sipWrapper *sipOwner = 0;
        const QUndoGroup *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_prefix,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJH|J1", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QObject, &a0, &sipOwner, sipType_QString,&a1, &a1State))
        {
            QAction*sipRes;

            sipRes = sipCpp->createUndoAction(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAction,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_createUndoAction, doc_QUndoGroup_createUndoAction);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_canUndo, "QUndoGroup.canUndo() -> bool");

extern "C" {static PyObject *meth_QUndoGroup_canUndo(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_canUndo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->canUndo();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_canUndo, doc_QUndoGroup_canUndo);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_canRedo, "QUndoGroup.canRedo() -> bool");

extern "C" {static PyObject *meth_QUndoGroup_canRedo(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_canRedo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->canRedo();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_canRedo, doc_QUndoGroup_canRedo);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_undoText, "QUndoGroup.undoText() -> str");

extern "C" {static PyObject *meth_QUndoGroup_undoText(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_undoText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->undoText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_undoText, doc_QUndoGroup_undoText);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_redoText, "QUndoGroup.redoText() -> str");

extern "C" {static PyObject *meth_QUndoGroup_redoText(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_redoText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->redoText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_redoText, doc_QUndoGroup_redoText);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_isClean, "QUndoGroup.isClean() -> bool");

extern "C" {static PyObject *meth_QUndoGroup_isClean(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_isClean(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isClean();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_isClean, doc_QUndoGroup_isClean);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_redo, "QUndoGroup.redo()");

extern "C" {static PyObject *meth_QUndoGroup_redo(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_redo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            sipCpp->redo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_redo, doc_QUndoGroup_redo);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_setActiveStack, "QUndoGroup.setActiveStack(QUndoStack)");

extern "C" {static PyObject *meth_QUndoGroup_setActiveStack(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_setActiveStack(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoStack* a0;
        QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QUndoGroup, &sipCpp, sipType_QUndoStack, &a0))
        {
            sipCpp->setActiveStack(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_setActiveStack, doc_QUndoGroup_setActiveStack);

    return NULL;
}


PyDoc_STRVAR(doc_QUndoGroup_undo, "QUndoGroup.undo()");

extern "C" {static PyObject *meth_QUndoGroup_undo(PyObject *, PyObject *);}
static PyObject *meth_QUndoGroup_undo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QUndoGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QUndoGroup, &sipCpp))
        {
            sipCpp->undo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QUndoGroup, sipName_undo, doc_QUndoGroup_undo);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QUndoGroup(void *, const sipTypeDef *);}
static void *cast_QUndoGroup(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QUndoGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QUndoGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QUndoGroup(void *, int);}
static void release_QUndoGroup(void *sipCppV,int)
{
    QUndoGroup *sipCpp = reinterpret_cast<QUndoGroup *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QUndoGroup(sipSimpleWrapper *);}
static void dealloc_QUndoGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQUndoGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QUndoGroup(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QUndoGroup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QUndoGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQUndoGroup *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQUndoGroup(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QUndoGroup[] = {{162, 0, 1}};


static PyMethodDef methods_QUndoGroup[] = {
    {SIP_MLNAME_CAST(sipName_activeStack), meth_QUndoGroup_activeStack, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_activeStack)},
    {SIP_MLNAME_CAST(sipName_addStack), meth_QUndoGroup_addStack, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_addStack)},
    {SIP_MLNAME_CAST(sipName_canRedo), meth_QUndoGroup_canRedo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_canRedo)},
    {SIP_MLNAME_CAST(sipName_canUndo), meth_QUndoGroup_canUndo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_canUndo)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QUndoGroup_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QUndoGroup_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createRedoAction), (PyCFunction)meth_QUndoGroup_createRedoAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUndoGroup_createRedoAction)},
    {SIP_MLNAME_CAST(sipName_createUndoAction), (PyCFunction)meth_QUndoGroup_createUndoAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QUndoGroup_createUndoAction)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QUndoGroup_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QUndoGroup_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isClean), meth_QUndoGroup_isClean, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_isClean)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QUndoGroup_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QUndoGroup_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_redo), meth_QUndoGroup_redo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_redo)},
    {SIP_MLNAME_CAST(sipName_redoText), meth_QUndoGroup_redoText, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_redoText)},
    {SIP_MLNAME_CAST(sipName_removeStack), meth_QUndoGroup_removeStack, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_removeStack)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QUndoGroup_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QUndoGroup_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveStack), meth_QUndoGroup_setActiveStack, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_setActiveStack)},
    {SIP_MLNAME_CAST(sipName_stacks), meth_QUndoGroup_stacks, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_stacks)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QUndoGroup_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_undo), meth_QUndoGroup_undo, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_undo)},
    {SIP_MLNAME_CAST(sipName_undoText), meth_QUndoGroup_undoText, METH_VARARGS, SIP_MLDOC_CAST(doc_QUndoGroup_undoText)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QUndoGroup[] = {
    {"undoTextChanged(QString)", "\1QUndoGroup.undoTextChanged[str]", 0, 0},
    {"redoTextChanged(QString)", "\1QUndoGroup.redoTextChanged[str]", 0, 0},
    {"indexChanged(int)", "\1QUndoGroup.indexChanged[int]", 0, 0},
    {"cleanChanged(bool)", "\1QUndoGroup.cleanChanged[bool]", 0, 0},
    {"canUndoChanged(bool)", "\1QUndoGroup.canUndoChanged[bool]", 0, 0},
    {"canRedoChanged(bool)", "\1QUndoGroup.canRedoChanged[bool]", 0, 0},
    {"activeStackChanged(QUndoStack*)", "\1QUndoGroup.activeStackChanged[QUndoStack]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QUndoGroup, "\1QUndoGroup(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QUndoGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QUndoGroup,
        {0}
    },
    {
        sipNameNr_QUndoGroup,
        {0, 0, 1},
        23, methods_QUndoGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QUndoGroup,
    -1,
    -1,
    supers_QUndoGroup,
    0,
    init_type_QUndoGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QUndoGroup,
    0,
    0,
    0,
    release_QUndoGroup,
    cast_QUndoGroup,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QUndoGroup::staticMetaObject,
    0,
    signals_QUndoGroup,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 32594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 32598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QTreeWidgetItemIterator_IteratorFlags___bool__(PyObject *);}
static int slot_QTreeWidgetItemIterator_IteratorFlags___bool__(PyObject *sipSelf)
{
    QTreeWidgetItemIterator::IteratorFlags *sipCpp = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator_IteratorFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTreeWidgetItemIterator::IteratorFlags::Int() != 0);
#line 32616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QTreeWidgetItemIterator::IteratorFlags *sipCpp = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTreeWidgetItemIterator::IteratorFlags::Int() != a0->operator QTreeWidgetItemIterator::IteratorFlags::Int());
#line 32646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QTreeWidgetItemIterator::IteratorFlags *>(a0),sipType_QTreeWidgetItemIterator_IteratorFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QTreeWidgetItemIterator_IteratorFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QTreeWidgetItemIterator::IteratorFlags *sipCpp = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTreeWidgetItemIterator::IteratorFlags::Int() == a0->operator QTreeWidgetItemIterator::IteratorFlags::Int());
#line 32682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QTreeWidgetItemIterator::IteratorFlags *>(a0),sipType_QTreeWidgetItemIterator_IteratorFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QTreeWidgetItemIterator_IteratorFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___invert__(PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___invert__(PyObject *sipSelf)
{
    QTreeWidgetItemIterator::IteratorFlags *sipCpp = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator_IteratorFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QTreeWidgetItemIterator::IteratorFlags*sipRes;

            sipRes = new QTreeWidgetItemIterator::IteratorFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QTreeWidgetItemIterator_IteratorFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State, &a1))
        {
            QTreeWidgetItemIterator::IteratorFlags*sipRes;

            sipRes = new QTreeWidgetItemIterator::IteratorFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QTreeWidgetItemIterator_IteratorFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTreeWidgetItemIterator_IteratorFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;
        QTreeWidgetItemIterator::IteratorFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State, sipType_QTreeWidgetItemIterator_IteratorFlags, &a1, &a1State))
        {
            QTreeWidgetItemIterator::IteratorFlags*sipRes;

            sipRes = new QTreeWidgetItemIterator::IteratorFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QTreeWidgetItemIterator_IteratorFlags,a0State);
            sipReleaseType(a1,sipType_QTreeWidgetItemIterator_IteratorFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QTreeWidgetItemIterator_IteratorFlags,NULL);
        }
    }

    {
        QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State, &a1))
        {
            QTreeWidgetItemIterator::IteratorFlags*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QTreeWidgetItemIterator::IteratorFlags(*a0 ^ a1);
#line 32785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QTreeWidgetItemIterator_IteratorFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTreeWidgetItemIterator_IteratorFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;
        QTreeWidgetItemIterator::IteratorFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State, sipType_QTreeWidgetItemIterator_IteratorFlags, &a1, &a1State))
        {
            QTreeWidgetItemIterator::IteratorFlags*sipRes;

            sipRes = new QTreeWidgetItemIterator::IteratorFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QTreeWidgetItemIterator_IteratorFlags,a0State);
            sipReleaseType(a1,sipType_QTreeWidgetItemIterator_IteratorFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QTreeWidgetItemIterator_IteratorFlags,NULL);
        }
    }

    {
        QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State, &a1))
        {
            QTreeWidgetItemIterator::IteratorFlags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QTreeWidgetItemIterator::IteratorFlags(*a0 | a1);
#line 32835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QTreeWidgetItemIterator_IteratorFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTreeWidgetItemIterator_IteratorFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___int__(PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___int__(PyObject *sipSelf)
{
    QTreeWidgetItemIterator::IteratorFlags *sipCpp = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator_IteratorFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTreeWidgetItemIterator_IteratorFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QTreeWidgetItemIterator::IteratorFlags *sipCpp = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State))
        {
            sipCpp->QTreeWidgetItemIterator::IteratorFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QTreeWidgetItemIterator_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_QTreeWidgetItemIterator_IteratorFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTreeWidgetItemIterator_IteratorFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QTreeWidgetItemIterator::IteratorFlags *sipCpp = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State))
        {
            sipCpp->QTreeWidgetItemIterator::IteratorFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QTreeWidgetItemIterator_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_QTreeWidgetItemIterator_IteratorFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator_IteratorFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTreeWidgetItemIterator_IteratorFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QTreeWidgetItemIterator::IteratorFlags *sipCpp = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator_IteratorFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QTreeWidgetItemIterator::IteratorFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTreeWidgetItemIterator_IteratorFlags(void *, const sipTypeDef *);}
static void *cast_QTreeWidgetItemIterator_IteratorFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QTreeWidgetItemIterator_IteratorFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTreeWidgetItemIterator_IteratorFlags(void *, int);}
static void release_QTreeWidgetItemIterator_IteratorFlags(void *sipCppV,int)
{
    delete reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipCppV);
}


extern "C" {static void assign_QTreeWidgetItemIterator_IteratorFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QTreeWidgetItemIterator_IteratorFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QTreeWidgetItemIterator::IteratorFlags *>(sipSrc);
}


extern "C" {static void *array_QTreeWidgetItemIterator_IteratorFlags(SIP_SSIZE_T);}
static void *array_QTreeWidgetItemIterator_IteratorFlags(SIP_SSIZE_T sipNrElem)
{
    return new QTreeWidgetItemIterator::IteratorFlags[sipNrElem];
}


extern "C" {static void *copy_QTreeWidgetItemIterator_IteratorFlags(const void *, SIP_SSIZE_T);}
static void *copy_QTreeWidgetItemIterator_IteratorFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QTreeWidgetItemIterator::IteratorFlags(reinterpret_cast<const QTreeWidgetItemIterator::IteratorFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTreeWidgetItemIterator_IteratorFlags(sipSimpleWrapper *);}
static void dealloc_QTreeWidgetItemIterator_IteratorFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QTreeWidgetItemIterator_IteratorFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QTreeWidgetItemIterator_IteratorFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTreeWidgetItemIterator_IteratorFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QTreeWidgetItemIterator::IteratorFlags *sipCpp = 0;

    {
        const QTreeWidgetItemIterator::IteratorFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QTreeWidgetItemIterator_IteratorFlags, &a0, &a0State))
        {
            sipCpp = new QTreeWidgetItemIterator::IteratorFlags(*a0);
            sipReleaseType(const_cast<QTreeWidgetItemIterator::IteratorFlags *>(a0),sipType_QTreeWidgetItemIterator_IteratorFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QTreeWidgetItemIterator::IteratorFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QTreeWidgetItemIterator::IteratorFlags();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QTreeWidgetItemIterator_IteratorFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QTreeWidgetItemIterator_IteratorFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QTreeWidgetItemIterator::IteratorFlags **sipCppPtr = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QTreeWidgetItemIterator::IteratorFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTreeWidgetItemIterator_IteratorFlag)) ||
            sipCanConvertToType(sipPy, sipType_QTreeWidgetItemIterator_IteratorFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTreeWidgetItemIterator_IteratorFlag)))
{
    *sipCppPtr = new QTreeWidgetItemIterator::IteratorFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QTreeWidgetItemIterator::IteratorFlags *>(sipConvertToType(sipPy, sipType_QTreeWidgetItemIterator_IteratorFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 33112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTreeWidgetItemIterator_IteratorFlags[] = {
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___bool__, bool_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___ne__, ne_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___eq__, eq_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___invert__, invert_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___and__, and_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___xor__, xor_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___or__, or_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___int__, int_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___ixor__, ixor_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___ior__, ior_slot},
    {(void *)slot_QTreeWidgetItemIterator_IteratorFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTreeWidgetItemIterator_IteratorFlags, "\1QTreeWidgetItemIterator.IteratorFlags(QTreeWidgetItemIterator.IteratorFlags)\n"
    "QTreeWidgetItemIterator.IteratorFlags(int)\n"
    "QTreeWidgetItemIterator.IteratorFlags()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTreeWidgetItemIterator_IteratorFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTreeWidgetItemIterator__IteratorFlags,
        {0}
    },
    {
        sipNameNr_IteratorFlags,
        {445, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTreeWidgetItemIterator_IteratorFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QTreeWidgetItemIterator_IteratorFlags,
    init_type_QTreeWidgetItemIterator_IteratorFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTreeWidgetItemIterator_IteratorFlags,
    assign_QTreeWidgetItemIterator_IteratorFlags,
    array_QTreeWidgetItemIterator_IteratorFlags,
    copy_QTreeWidgetItemIterator_IteratorFlags,
    release_QTreeWidgetItemIterator_IteratorFlags,
    cast_QTreeWidgetItemIterator_IteratorFlags,
    convertTo_QTreeWidgetItemIterator_IteratorFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 33194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 33198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidgetitemiterator.sip"
#include <qtreewidgetitemiterator.h>
#line 33201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 33204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QTreeWidgetItemIterator_value, "QTreeWidgetItemIterator.value() -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidgetItemIterator_value(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItemIterator_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItemIterator *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItemIterator, &sipCpp))
        {
            QTreeWidgetItem*sipRes = 0;

#line 65 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidgetitemiterator.sip"
        // SIP doesn't support operator* so this is a thin wrapper around it.
        sipRes = sipCpp->operator*();
#line 33224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItemIterator, sipName_value, doc_QTreeWidgetItemIterator_value);

    return NULL;
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator___isub__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator___isub__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTreeWidgetItemIterator)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QTreeWidgetItemIterator *sipCpp = reinterpret_cast<QTreeWidgetItemIterator *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QTreeWidgetItemIterator::operator-=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


extern "C" {static PyObject *slot_QTreeWidgetItemIterator___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItemIterator___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTreeWidgetItemIterator)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QTreeWidgetItemIterator *sipCpp = reinterpret_cast<QTreeWidgetItemIterator *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItemIterator));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QTreeWidgetItemIterator::operator+=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTreeWidgetItemIterator(void *, const sipTypeDef *);}
static void *cast_QTreeWidgetItemIterator(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QTreeWidgetItemIterator)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTreeWidgetItemIterator(void *, int);}
static void release_QTreeWidgetItemIterator(void *sipCppV,int)
{
    delete reinterpret_cast<QTreeWidgetItemIterator *>(sipCppV);
}


extern "C" {static void dealloc_QTreeWidgetItemIterator(sipSimpleWrapper *);}
static void dealloc_QTreeWidgetItemIterator(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QTreeWidgetItemIterator(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QTreeWidgetItemIterator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTreeWidgetItemIterator(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QTreeWidgetItemIterator *sipCpp = 0;

    {
        const QTreeWidgetItemIterator* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTreeWidgetItemIterator, &a0))
        {
            sipCpp = new QTreeWidgetItemIterator(*a0);

            return sipCpp;
        }
    }

    {
        QTreeWidget* a0;
        QTreeWidgetItemIterator::IteratorFlags a1def = QTreeWidgetItemIterator::All;
        QTreeWidgetItemIterator::IteratorFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|J1", sipType_QTreeWidget, &a0, sipType_QTreeWidgetItemIterator_IteratorFlags, &a1, &a1State))
        {
            sipCpp = new QTreeWidgetItemIterator(a0,*a1);
            sipReleaseType(a1,sipType_QTreeWidgetItemIterator_IteratorFlags,a1State);

            return sipCpp;
        }
    }

    {
        QTreeWidgetItem* a0;
        QTreeWidgetItemIterator::IteratorFlags a1def = QTreeWidgetItemIterator::All;
        QTreeWidgetItemIterator::IteratorFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|J1", sipType_QTreeWidgetItem, &a0, sipType_QTreeWidgetItemIterator_IteratorFlags, &a1, &a1State))
        {
            sipCpp = new QTreeWidgetItemIterator(a0,*a1);
            sipReleaseType(a1,sipType_QTreeWidgetItemIterator_IteratorFlags,a1State);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTreeWidgetItemIterator[] = {
    {(void *)slot_QTreeWidgetItemIterator___isub__, isub_slot},
    {(void *)slot_QTreeWidgetItemIterator___iadd__, iadd_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QTreeWidgetItemIterator[] = {
    {SIP_MLNAME_CAST(sipName_value), meth_QTreeWidgetItemIterator_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItemIterator_value)}
};

static sipEnumMemberDef enummembers_QTreeWidgetItemIterator[] = {
    {sipName_All, static_cast<int>(QTreeWidgetItemIterator::All), 446},
    {sipName_Checked, static_cast<int>(QTreeWidgetItemIterator::Checked), 446},
    {sipName_Disabled, static_cast<int>(QTreeWidgetItemIterator::Disabled), 446},
    {sipName_DragDisabled, static_cast<int>(QTreeWidgetItemIterator::DragDisabled), 446},
    {sipName_DragEnabled, static_cast<int>(QTreeWidgetItemIterator::DragEnabled), 446},
    {sipName_DropDisabled, static_cast<int>(QTreeWidgetItemIterator::DropDisabled), 446},
    {sipName_DropEnabled, static_cast<int>(QTreeWidgetItemIterator::DropEnabled), 446},
    {sipName_Editable, static_cast<int>(QTreeWidgetItemIterator::Editable), 446},
    {sipName_Enabled, static_cast<int>(QTreeWidgetItemIterator::Enabled), 446},
    {sipName_HasChildren, static_cast<int>(QTreeWidgetItemIterator::HasChildren), 446},
    {sipName_Hidden, static_cast<int>(QTreeWidgetItemIterator::Hidden), 446},
    {sipName_NoChildren, static_cast<int>(QTreeWidgetItemIterator::NoChildren), 446},
    {sipName_NotChecked, static_cast<int>(QTreeWidgetItemIterator::NotChecked), 446},
    {sipName_NotEditable, static_cast<int>(QTreeWidgetItemIterator::NotEditable), 446},
    {sipName_NotHidden, static_cast<int>(QTreeWidgetItemIterator::NotHidden), 446},
    {sipName_NotSelectable, static_cast<int>(QTreeWidgetItemIterator::NotSelectable), 446},
    {sipName_Selectable, static_cast<int>(QTreeWidgetItemIterator::Selectable), 446},
    {sipName_Selected, static_cast<int>(QTreeWidgetItemIterator::Selected), 446},
    {sipName_Unselected, static_cast<int>(QTreeWidgetItemIterator::Unselected), 446},
    {sipName_UserFlag, static_cast<int>(QTreeWidgetItemIterator::UserFlag), 446},
};

PyDoc_STRVAR(doc_QTreeWidgetItemIterator, "\1QTreeWidgetItemIterator(QTreeWidgetItemIterator)\n"
    "QTreeWidgetItemIterator(QTreeWidget, QTreeWidgetItemIterator.IteratorFlags flags=QTreeWidgetItemIterator.All)\n"
    "QTreeWidgetItemIterator(QTreeWidgetItem, QTreeWidgetItemIterator.IteratorFlags flags=QTreeWidgetItemIterator.All)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTreeWidgetItemIterator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTreeWidgetItemIterator,
        {0}
    },
    {
        sipNameNr_QTreeWidgetItemIterator,
        {0, 0, 1},
        1, methods_QTreeWidgetItemIterator,
        20, enummembers_QTreeWidgetItemIterator,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTreeWidgetItemIterator,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QTreeWidgetItemIterator,
    init_type_QTreeWidgetItemIterator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTreeWidgetItemIterator,
    0,
    0,
    0,
    release_QTreeWidgetItemIterator,
    cast_QTreeWidgetItemIterator,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 33503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 33507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 33510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 33513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 33516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 33519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 33528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 33534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 33543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 33546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 33552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 33555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 33558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 33561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 33564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 33576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 33579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 33582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 33597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 33600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 33606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 33609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 33627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 33630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 33639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 33648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 33651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 33654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 33657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 33660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 33666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 33675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 33678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 33681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 33684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 33687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 33690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 33693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 33696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 33699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 33717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 33720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 33726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 33729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 33732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 33738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 33741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 33744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 33747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 33750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 33753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 33756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 33762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 33765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 33768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 33771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 33774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 33777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTreeWidget : public QTreeWidget
{
public:
    sipQTreeWidget(QWidget*);
    virtual ~sipQTreeWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_columnResized(int,int,int);
    void sipProtect_columnCountChanged(int,int);
    void sipProtect_columnMoved();
    void sipProtect_reexpand();
    void sipProtect_rowsRemoved(const QModelIndex&,int,int);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_drawRow(bool,QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void sipProtectVirt_drawBranches(bool,QPainter*,const QRect&,const QModelIndex&) const;
    void sipProtect_drawTree(QPainter*,const QRegion&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_updateGeometries(bool);
    int sipProtectVirt_sizeHintForColumn(bool,int) const;
    int sipProtect_indexRowSizeHint(const QModelIndex&) const;
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    int sipProtect_rowHeight(const QModelIndex&) const;
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);
    QSize sipProtectVirt_viewportSizeHint(bool) const;
    QStringList sipProtectVirt_mimeTypes(bool) const;
    QMimeData* sipProtectVirt_mimeData(bool,const QList<QTreeWidgetItem*>) const;
    bool sipProtectVirt_dropMimeData(bool,QTreeWidgetItem*,int,const QMimeData*,Qt::DropAction);
    Qt::DropActions sipProtectVirt_supportedDropActions(bool) const;
    QModelIndex sipProtect_indexFromItem(QTreeWidgetItem*,int) const;
    QTreeWidgetItem* sipProtect_itemFromIndex(const QModelIndex&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void resizeEvent(QResizeEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    int sizeHintForRow(int) const;
    QSize viewportSizeHint() const;
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    bool viewportEvent(QEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    bool isIndexHidden(const QModelIndex&) const;
    void horizontalScrollbarAction(int);
    int sizeHintForColumn(int) const;
    void updateGeometries();
    void keyPressEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void drawBranches(QPainter*,const QRect&,const QModelIndex&) const;
    void drawRow(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void mouseReleaseEvent(QMouseEvent*);
    void timerEvent(QTimerEvent*);
    void paintEvent(QPaintEvent*);
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    int verticalOffset() const;
    int horizontalOffset() const;
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void scrollContentsBy(int,int);
    void selectAll();
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void reset();
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void keyboardSearch(const QString&);
    void setRootIndex(const QModelIndex&);
    void setSelectionModel(QItemSelectionModel*);
    void dropEvent(QDropEvent*);
    bool event(QEvent*);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(QTreeWidgetItem*,int,const QMimeData*,Qt::DropAction);
    QMimeData* mimeData(const QList<QTreeWidgetItem*>) const;
    QStringList mimeTypes() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTreeWidget(const sipQTreeWidget &);
    sipQTreeWidget &operator = (const sipQTreeWidget &);

    char sipPyMethods[92];
};

sipQTreeWidget::sipQTreeWidget(QWidget*a0): QTreeWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidget::~sipQTreeWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTreeWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTreeWidget);
}

int sipQTreeWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTreeWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTreeWidget,_c,_id,_a);

    return _id;
}

void *sipQTreeWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTreeWidget, _clname, &sipCpp) ? sipCpp : QTreeWidget::qt_metacast(_clname));
}

void sipQTreeWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTreeWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTreeWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTreeWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTreeWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QTreeWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQTreeWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QTreeWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTreeWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QTreeWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTreeWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QTreeWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTreeWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QTreeWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QTreeWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QTreeWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QTreeWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QTreeWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QTreeWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QTreeWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QTreeWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QTreeWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QTreeWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQTreeWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QTreeWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTreeWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QTreeWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QTreeWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTreeWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QTreeWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QTreeWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QTreeWidget::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTreeWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTreeWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTreeWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QTreeWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QTreeWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTreeWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QTreeWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQTreeWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QTreeWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QTreeWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTreeWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QTreeWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQTreeWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QTreeWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QTreeWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QTreeWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QTreeWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QTreeWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QTreeWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQTreeWidget::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QTreeWidget::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeWidget::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QTreeWidget::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQTreeWidget::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QTreeWidget::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTreeWidget::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QTreeWidget::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeWidget::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QTreeWidget::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QTreeWidget::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QTreeWidget::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTreeWidget::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QTreeWidget::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QTreeWidget::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QTreeWidget::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QTreeWidget::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeWidget::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QTreeWidget::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTreeWidget::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QTreeWidget::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTreeWidget::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QTreeWidget::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeWidget::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QTreeWidget::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTreeWidget::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QTreeWidget::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTreeWidget::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QTreeWidget::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QTreeWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTreeWidget::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return QTreeWidget::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QTreeWidget::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTreeWidget::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QTreeWidget::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QTreeWidget::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QTreeWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QTreeWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QTreeWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QTreeWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::drawBranches(QPainter*a0,const QRect& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[63]),sipPySelf,NULL,sipName_drawBranches);

    if (!sipMeth)
    {
        QTreeWidget::drawBranches(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,const QModelIndex&);

    sipVH_QtWidgets_25(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeWidget::drawRow(QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[64]),sipPySelf,NULL,sipName_drawRow);

    if (!sipMeth)
    {
        QTreeWidget::drawRow(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QModelIndex&);

    sipVH_QtWidgets_26(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QTreeWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTreeWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QTreeWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndexList sipQTreeWidget::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[68]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QTreeWidget::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQTreeWidget::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[69]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QTreeWidget::visualRegionForSelection(a0);

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        QTreeWidget::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

int sipQTreeWidget::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return QTreeWidget::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTreeWidget::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[72]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return QTreeWidget::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndex sipQTreeWidget::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return QTreeWidget::moveCursor(a0,a1);

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

void sipQTreeWidget::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QTreeWidget::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeWidget::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QTreeWidget::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeWidget::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QTreeWidget::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTreeWidget::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QTreeWidget::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeWidget::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QTreeWidget::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeWidget::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QTreeWidget::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndex sipQTreeWidget::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return QTreeWidget::indexAt(a0);

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        QTreeWidget::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QRect sipQTreeWidget::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return QTreeWidget::visualRect(a0);

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QTreeWidget::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QTreeWidget::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QTreeWidget::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QTreeWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTreeWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTreeWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

Qt::DropActions sipQTreeWidget::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[88]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QTreeWidget::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTreeWidget::dropMimeData(QTreeWidgetItem*a0,int a1,const QMimeData*a2,Qt::DropAction a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[89],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QTreeWidget::dropMimeData(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTreeWidgetItem*,int,const QMimeData*,Qt::DropAction);

    return sipVH_QtWidgets_17(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QMimeData* sipQTreeWidget::mimeData(const QList<QTreeWidgetItem*> a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[90]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QTreeWidget::mimeData(a0);

    extern QMimeData* sipVH_QtWidgets_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QTreeWidgetItem*>);

    return sipVH_QtWidgets_18(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStringList sipQTreeWidget::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[91]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QTreeWidget::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[27]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQTreeWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTreeWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTreeWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTreeWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTreeWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTreeWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQTreeWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQTreeWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQTreeWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQTreeWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQTreeWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQTreeWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQTreeWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQTreeWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQTreeWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQTreeWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQTreeWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQTreeWidget::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQTreeWidget::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQTreeWidget::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQTreeWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQTreeWidget::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQTreeWidget::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQTreeWidget::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQTreeWidget::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQTreeWidget::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQTreeWidget::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQTreeWidget::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQTreeWidget::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQTreeWidget::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQTreeWidget::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QItemSelectionModel::SelectionFlags sipQTreeWidget::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

void sipQTreeWidget::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QAbstractItemView::startDrag(a0) : startDrag(a0));
}

QStyleOptionViewItem sipQTreeWidget::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::viewOptions() : viewOptions());
}

int sipQTreeWidget::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQTreeWidget::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQTreeWidget::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQTreeWidget::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQTreeWidget::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQTreeWidget::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQTreeWidget::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

void sipQTreeWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::resizeEvent(a0) : resizeEvent(a0));
}

int sipQTreeWidget::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQTreeWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQTreeWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQTreeWidget::sipProtect_columnResized(int a0,int a1,int a2)
{
    QTreeView::columnResized(a0,a1,a2);
}

void sipQTreeWidget::sipProtect_columnCountChanged(int a0,int a1)
{
    QTreeView::columnCountChanged(a0,a1);
}

void sipQTreeWidget::sipProtect_columnMoved()
{
    QTreeView::columnMoved();
}

void sipQTreeWidget::sipProtect_reexpand()
{
    QTreeView::reexpand();
}

void sipQTreeWidget::sipProtect_rowsRemoved(const QModelIndex& a0,int a1,int a2)
{
    QTreeView::rowsRemoved(a0,a1,a2);
}

void sipQTreeWidget::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QTreeView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

void sipQTreeWidget::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QTreeView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipQTreeWidget::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QTreeView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

QModelIndex sipQTreeWidget::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0,Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ? QTreeView::moveCursor((QAbstractItemView::CursorAction)a0,a1) : moveCursor((QAbstractItemView::CursorAction)a0,a1));
}

int sipQTreeWidget::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::horizontalOffset() : horizontalOffset());
}

int sipQTreeWidget::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::verticalOffset() : verticalOffset());
}

void sipQTreeWidget::sipProtectVirt_setSelection(bool sipSelfWasArg,const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ? QTreeView::setSelection(a0,a1) : setSelection(a0,a1));
}

QRegion sipQTreeWidget::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const QItemSelection& a0) const
{
    return (sipSelfWasArg ? QTreeView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

QModelIndexList sipQTreeWidget::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::selectedIndexes() : selectedIndexes());
}

void sipQTreeWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QTreeView::paintEvent(a0) : paintEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QTreeView::timerEvent(a0) : timerEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTreeView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_drawRow(bool sipSelfWasArg,QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    (sipSelfWasArg ? QTreeView::drawRow(a0,a1,a2) : drawRow(a0,a1,a2));
}

void sipQTreeWidget::sipProtectVirt_drawBranches(bool sipSelfWasArg,QPainter*a0,const QRect& a1,const QModelIndex& a2) const
{
    (sipSelfWasArg ? QTreeView::drawBranches(a0,a1,a2) : drawBranches(a0,a1,a2));
}

void sipQTreeWidget::sipProtect_drawTree(QPainter*a0,const QRegion& a1) const
{
    QTreeView::drawTree(a0,a1);
}

void sipQTreeWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTreeView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTreeView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTreeView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QTreeView::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQTreeWidget::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QTreeView::updateGeometries() : updateGeometries());
}

int sipQTreeWidget::sipProtectVirt_sizeHintForColumn(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QTreeView::sizeHintForColumn(a0) : sizeHintForColumn(a0));
}

int sipQTreeWidget::sipProtect_indexRowSizeHint(const QModelIndex& a0) const
{
    return QTreeView::indexRowSizeHint(a0);
}

void sipQTreeWidget::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTreeView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

bool sipQTreeWidget::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QTreeView::isIndexHidden(a0) : isIndexHidden(a0));
}

void sipQTreeWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QTreeView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

bool sipQTreeWidget::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QTreeView::viewportEvent(a0) : viewportEvent(a0));
}

int sipQTreeWidget::sipProtect_rowHeight(const QModelIndex& a0) const
{
    return QTreeView::rowHeight(a0);
}

void sipQTreeWidget::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QTreeView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQTreeWidget::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QTreeView::currentChanged(a0,a1) : currentChanged(a0,a1));
}

QSize sipQTreeWidget::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::viewportSizeHint() : viewportSizeHint());
}

QStringList sipQTreeWidget::sipProtectVirt_mimeTypes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeWidget::mimeTypes() : mimeTypes());
}

QMimeData* sipQTreeWidget::sipProtectVirt_mimeData(bool sipSelfWasArg,const QList<QTreeWidgetItem*> a0) const
{
    return (sipSelfWasArg ? QTreeWidget::mimeData(a0) : mimeData(a0));
}

bool sipQTreeWidget::sipProtectVirt_dropMimeData(bool sipSelfWasArg,QTreeWidgetItem*a0,int a1,const QMimeData*a2,Qt::DropAction a3)
{
    return (sipSelfWasArg ? QTreeWidget::dropMimeData(a0,a1,a2,a3) : dropMimeData(a0,a1,a2,a3));
}

Qt::DropActions sipQTreeWidget::sipProtectVirt_supportedDropActions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeWidget::supportedDropActions() : supportedDropActions());
}

QModelIndex sipQTreeWidget::sipProtect_indexFromItem(QTreeWidgetItem*a0,int a1) const
{
    return QTreeWidget::indexFromItem(a0,a1);
}

QTreeWidgetItem* sipQTreeWidget::sipProtect_itemFromIndex(const QModelIndex& a0) const
{
    return QTreeWidget::itemFromIndex(a0);
}

bool sipQTreeWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QTreeWidget::event(a0) : event(a0));
}

void sipQTreeWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QTreeWidget::dropEvent(a0) : dropEvent(a0));
}


PyDoc_STRVAR(doc_QTreeWidget_sender, "QTreeWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QTreeWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 36187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_sender, doc_QTreeWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_receivers, "QTreeWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTreeWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 36246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_receivers, doc_QTreeWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_childEvent, "QTreeWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTreeWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_childEvent, doc_QTreeWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_customEvent, "QTreeWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTreeWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_customEvent, doc_QTreeWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_connectNotify, "QTreeWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTreeWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_connectNotify, doc_QTreeWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_disconnectNotify, "QTreeWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTreeWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_disconnectNotify, doc_QTreeWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_senderSignalIndex, "QTreeWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTreeWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_senderSignalIndex, doc_QTreeWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_isSignalConnected, "QTreeWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTreeWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_isSignalConnected, doc_QTreeWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_keyReleaseEvent, "QTreeWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTreeWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_keyReleaseEvent, doc_QTreeWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_enterEvent, "QTreeWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QTreeWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_enterEvent, doc_QTreeWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_leaveEvent, "QTreeWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QTreeWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_leaveEvent, doc_QTreeWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_moveEvent, "QTreeWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QTreeWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_moveEvent, doc_QTreeWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_closeEvent, "QTreeWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QTreeWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_closeEvent, doc_QTreeWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_tabletEvent, "QTreeWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QTreeWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_tabletEvent, doc_QTreeWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_actionEvent, "QTreeWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QTreeWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_actionEvent, doc_QTreeWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_showEvent, "QTreeWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QTreeWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_showEvent, doc_QTreeWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_hideEvent, "QTreeWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QTreeWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_hideEvent, doc_QTreeWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_metric, "QTreeWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QTreeWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_metric, doc_QTreeWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_updateMicroFocus, "QTreeWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QTreeWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_updateMicroFocus, doc_QTreeWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_create, "QTreeWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QTreeWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQTreeWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_create, doc_QTreeWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_destroy, "QTreeWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QTreeWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQTreeWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_destroy, doc_QTreeWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_focusNextChild, "QTreeWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QTreeWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_focusNextChild, doc_QTreeWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_focusPreviousChild, "QTreeWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QTreeWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_focusPreviousChild, doc_QTreeWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_nativeEvent, "QTreeWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QTreeWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_nativeEvent, doc_QTreeWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_sharedPainter, "QTreeWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QTreeWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_sharedPainter, doc_QTreeWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_initPainter, "QTreeWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QTreeWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_initPainter, doc_QTreeWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_changeEvent, "QTreeWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QTreeWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_changeEvent, doc_QTreeWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_drawFrame, "QTreeWidget.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QTreeWidget_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_drawFrame, doc_QTreeWidget_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setViewportMargins, "QTreeWidget.setViewportMargins(int, int, int, int)\n"
    "QTreeWidget.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QTreeWidget_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setViewportMargins, doc_QTreeWidget_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_wheelEvent, "QTreeWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QTreeWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_wheelEvent, doc_QTreeWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_contextMenuEvent, "QTreeWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QTreeWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_contextMenuEvent, doc_QTreeWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_eventFilter, "QTreeWidget.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QTreeWidget_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_eventFilter, doc_QTreeWidget_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_edit, "QTreeWidget.edit(QModelIndex)\n"
    "QTreeWidget.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QTreeWidget_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_edit, doc_QTreeWidget_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_updateEditorData, "QTreeWidget.updateEditorData()");

extern "C" {static PyObject *meth_QTreeWidget_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_updateEditorData, doc_QTreeWidget_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_updateEditorGeometries, "QTreeWidget.updateEditorGeometries()");

extern "C" {static PyObject *meth_QTreeWidget_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_updateEditorGeometries, doc_QTreeWidget_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_verticalScrollbarAction, "QTreeWidget.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QTreeWidget_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_verticalScrollbarAction, doc_QTreeWidget_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_verticalScrollbarValueChanged, "QTreeWidget.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QTreeWidget_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_verticalScrollbarValueChanged, doc_QTreeWidget_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_horizontalScrollbarValueChanged, "QTreeWidget.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QTreeWidget_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_horizontalScrollbarValueChanged, doc_QTreeWidget_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_closeEditor, "QTreeWidget.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QTreeWidget_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_closeEditor, doc_QTreeWidget_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_commitData, "QTreeWidget.commitData(QWidget)");

extern "C" {static PyObject *meth_QTreeWidget_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_commitData, doc_QTreeWidget_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_editorDestroyed, "QTreeWidget.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QTreeWidget_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_editorDestroyed, doc_QTreeWidget_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_selectionCommand, "QTreeWidget.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QTreeWidget_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQTreeWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_selectionCommand, doc_QTreeWidget_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_startDrag, "QTreeWidget.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QTreeWidget_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QTreeWidget, sipName_startDrag, doc_QTreeWidget_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_viewOptions, "QTreeWidget.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QTreeWidget_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_viewOptions, doc_QTreeWidget_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_state, "QTreeWidget.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QTreeWidget_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_state, doc_QTreeWidget_state);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setState, "QTreeWidget.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QTreeWidget_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setState, doc_QTreeWidget_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_scheduleDelayedItemsLayout, "QTreeWidget.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QTreeWidget_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_scheduleDelayedItemsLayout, doc_QTreeWidget_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_executeDelayedItemsLayout, "QTreeWidget.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QTreeWidget_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_executeDelayedItemsLayout, doc_QTreeWidget_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_scrollDirtyRegion, "QTreeWidget.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QTreeWidget_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_scrollDirtyRegion, doc_QTreeWidget_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setDirtyRegion, "QTreeWidget.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QTreeWidget_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setDirtyRegion, doc_QTreeWidget_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_dirtyRegionOffset, "QTreeWidget.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QTreeWidget_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_dirtyRegionOffset, doc_QTreeWidget_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_dragEnterEvent, "QTreeWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QTreeWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_dragEnterEvent, doc_QTreeWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_dragLeaveEvent, "QTreeWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QTreeWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_dragLeaveEvent, doc_QTreeWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_focusInEvent, "QTreeWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTreeWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_focusInEvent, doc_QTreeWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_focusOutEvent, "QTreeWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTreeWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_focusOutEvent, doc_QTreeWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_resizeEvent, "QTreeWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QTreeWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_resizeEvent, doc_QTreeWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_dropIndicatorPosition, "QTreeWidget.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QTreeWidget_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_dropIndicatorPosition, doc_QTreeWidget_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_focusNextPrevChild, "QTreeWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QTreeWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_focusNextPrevChild, doc_QTreeWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_inputMethodEvent, "QTreeWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QTreeWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_inputMethodEvent, doc_QTreeWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_columnResized, "QTreeWidget.columnResized(int, int, int)");

extern "C" {static PyObject *meth_QTreeWidget_columnResized(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_columnResized(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_columnResized(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_columnResized, doc_QTreeWidget_columnResized);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_columnCountChanged, "QTreeWidget.columnCountChanged(int, int)");

extern "C" {static PyObject *meth_QTreeWidget_columnCountChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_columnCountChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_columnCountChanged(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_columnCountChanged, doc_QTreeWidget_columnCountChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_columnMoved, "QTreeWidget.columnMoved()");

extern "C" {static PyObject *meth_QTreeWidget_columnMoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_columnMoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            sipCpp->sipProtect_columnMoved();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_columnMoved, doc_QTreeWidget_columnMoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_reexpand, "QTreeWidget.reexpand()");

extern "C" {static PyObject *meth_QTreeWidget_reexpand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_reexpand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            sipCpp->sipProtect_reexpand();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_reexpand, doc_QTreeWidget_reexpand);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_rowsRemoved, "QTreeWidget.rowsRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTreeWidget_rowsRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_rowsRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_rowsRemoved(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_rowsRemoved, doc_QTreeWidget_rowsRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_scrollContentsBy, "QTreeWidget.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QTreeWidget_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_scrollContentsBy, doc_QTreeWidget_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_rowsInserted, "QTreeWidget.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTreeWidget_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_rowsInserted, doc_QTreeWidget_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_rowsAboutToBeRemoved, "QTreeWidget.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTreeWidget_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_rowsAboutToBeRemoved, doc_QTreeWidget_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_moveCursor, "QTreeWidget.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QTreeWidget_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_moveCursor, doc_QTreeWidget_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_horizontalOffset, "QTreeWidget.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QTreeWidget_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_horizontalOffset, doc_QTreeWidget_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_verticalOffset, "QTreeWidget.verticalOffset() -> int");

extern "C" {static PyObject *meth_QTreeWidget_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_verticalOffset, doc_QTreeWidget_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setSelection, "QTreeWidget.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QTreeWidget_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setSelection, doc_QTreeWidget_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_visualRegionForSelection, "QTreeWidget.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QTreeWidget_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_visualRegionForSelection, doc_QTreeWidget_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_selectedIndexes, "QTreeWidget.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QTreeWidget_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_selectedIndexes, doc_QTreeWidget_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_paintEvent, "QTreeWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QTreeWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_paintEvent, doc_QTreeWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_timerEvent, "QTreeWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTreeWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_timerEvent, doc_QTreeWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_mouseReleaseEvent, "QTreeWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTreeWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_mouseReleaseEvent, doc_QTreeWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_drawRow, "QTreeWidget.drawRow(QPainter, QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QTreeWidget_drawRow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_drawRow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            sipCpp->sipProtectVirt_drawRow(sipSelfWasArg,a0,*a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_drawRow, doc_QTreeWidget_drawRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_drawBranches, "QTreeWidget.drawBranches(QPainter, QRect, QModelIndex)");

extern "C" {static PyObject *meth_QTreeWidget_drawBranches(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_drawBranches(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRect* a1;
        const QModelIndex* a2;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QModelIndex, &a2))
        {
            sipCpp->sipProtectVirt_drawBranches(sipSelfWasArg,a0,*a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_drawBranches, doc_QTreeWidget_drawBranches);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_drawTree, "QTreeWidget.drawTree(QPainter, QRegion)");

extern "C" {static PyObject *meth_QTreeWidget_drawTree(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_drawTree(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        const QRegion* a1;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QPainter, &a0, sipType_QRegion, &a1))
        {
            sipCpp->sipProtect_drawTree(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_drawTree, doc_QTreeWidget_drawTree);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_mousePressEvent, "QTreeWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTreeWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_mousePressEvent, doc_QTreeWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_mouseMoveEvent, "QTreeWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTreeWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_mouseMoveEvent, doc_QTreeWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_mouseDoubleClickEvent, "QTreeWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTreeWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_mouseDoubleClickEvent, doc_QTreeWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_keyPressEvent, "QTreeWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTreeWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_keyPressEvent, doc_QTreeWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_updateGeometries, "QTreeWidget.updateGeometries()");

extern "C" {static PyObject *meth_QTreeWidget_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_updateGeometries, doc_QTreeWidget_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_sizeHintForColumn, "QTreeWidget.sizeHintForColumn(int) -> int");

extern "C" {static PyObject *meth_QTreeWidget_sizeHintForColumn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_sizeHintForColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_sizeHintForColumn(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_sizeHintForColumn, doc_QTreeWidget_sizeHintForColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_indexRowSizeHint, "QTreeWidget.indexRowSizeHint(QModelIndex) -> int");

extern "C" {static PyObject *meth_QTreeWidget_indexRowSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_indexRowSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_indexRowSizeHint(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_indexRowSizeHint, doc_QTreeWidget_indexRowSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_horizontalScrollbarAction, "QTreeWidget.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QTreeWidget_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_horizontalScrollbarAction, doc_QTreeWidget_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_isIndexHidden, "QTreeWidget.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QTreeWidget_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_isIndexHidden, doc_QTreeWidget_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_dragMoveEvent, "QTreeWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QTreeWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_dragMoveEvent, doc_QTreeWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_viewportEvent, "QTreeWidget.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QTreeWidget_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_viewportEvent, doc_QTreeWidget_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_rowHeight, "QTreeWidget.rowHeight(QModelIndex) -> int");

extern "C" {static PyObject *meth_QTreeWidget_rowHeight(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_rowHeight(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_rowHeight(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_rowHeight, doc_QTreeWidget_rowHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_selectionChanged, "QTreeWidget.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QTreeWidget_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_selectionChanged, doc_QTreeWidget_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_currentChanged, "QTreeWidget.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QTreeWidget_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_currentChanged, doc_QTreeWidget_currentChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_viewportSizeHint, "QTreeWidget.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QTreeWidget_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_viewportSizeHint, doc_QTreeWidget_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_columnCount, "QTreeWidget.columnCount() -> int");

extern "C" {static PyObject *meth_QTreeWidget_columnCount(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->columnCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_columnCount, doc_QTreeWidget_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setColumnCount, "QTreeWidget.setColumnCount(int)");

extern "C" {static PyObject *meth_QTreeWidget_setColumnCount(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setColumnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            sipCpp->setColumnCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setColumnCount, doc_QTreeWidget_setColumnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_topLevelItem, "QTreeWidget.topLevelItem(int) -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_topLevelItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_topLevelItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->topLevelItem(a0);

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_topLevelItem, doc_QTreeWidget_topLevelItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_topLevelItemCount, "QTreeWidget.topLevelItemCount() -> int");

extern "C" {static PyObject *meth_QTreeWidget_topLevelItemCount(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_topLevelItemCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->topLevelItemCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_topLevelItemCount, doc_QTreeWidget_topLevelItemCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_insertTopLevelItem, "QTreeWidget.insertTopLevelItem(int, QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidget_insertTopLevelItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_insertTopLevelItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeWidgetItem* a1;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, sipType_QTreeWidgetItem, &a1))
        {
            sipCpp->insertTopLevelItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_insertTopLevelItem, doc_QTreeWidget_insertTopLevelItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_addTopLevelItem, "QTreeWidget.addTopLevelItem(QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidget_addTopLevelItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_addTopLevelItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            sipCpp->addTopLevelItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_addTopLevelItem, doc_QTreeWidget_addTopLevelItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_takeTopLevelItem, "QTreeWidget.takeTopLevelItem(int) -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_takeTopLevelItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_takeTopLevelItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->takeTopLevelItem(a0);

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_takeTopLevelItem, doc_QTreeWidget_takeTopLevelItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_indexOfTopLevelItem, "QTreeWidget.indexOfTopLevelItem(QTreeWidgetItem) -> int");

extern "C" {static PyObject *meth_QTreeWidget_indexOfTopLevelItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_indexOfTopLevelItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfTopLevelItem(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_indexOfTopLevelItem, doc_QTreeWidget_indexOfTopLevelItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_insertTopLevelItems, "QTreeWidget.insertTopLevelItems(int, list-of-QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidget_insertTopLevelItems(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_insertTopLevelItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QList<QTreeWidgetItem*>* a1;
        int a1State = 0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ3", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, sipType_QList_0101QTreeWidgetItem,&a1, &a1State))
        {
            sipCpp->insertTopLevelItems(a0,*a1);
            sipReleaseType(const_cast<QList<QTreeWidgetItem*> *>(a1),sipType_QList_0101QTreeWidgetItem,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_insertTopLevelItems, doc_QTreeWidget_insertTopLevelItems);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_addTopLevelItems, "QTreeWidget.addTopLevelItems(list-of-QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidget_addTopLevelItems(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_addTopLevelItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QTreeWidgetItem*>* a0;
        int a0State = 0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ3", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QList_0101QTreeWidgetItem,&a0, &a0State))
        {
            sipCpp->addTopLevelItems(*a0);
            sipReleaseType(const_cast<QList<QTreeWidgetItem*> *>(a0),sipType_QList_0101QTreeWidgetItem,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_addTopLevelItems, doc_QTreeWidget_addTopLevelItems);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_headerItem, "QTreeWidget.headerItem() -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_headerItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_headerItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->headerItem();

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_headerItem, doc_QTreeWidget_headerItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setHeaderItem, "QTreeWidget.setHeaderItem(QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidget_setHeaderItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setHeaderItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            sipCpp->setHeaderItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setHeaderItem, doc_QTreeWidget_setHeaderItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setHeaderLabels, "QTreeWidget.setHeaderLabels(list-of-str)");

extern "C" {static PyObject *meth_QTreeWidget_setHeaderLabels(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setHeaderLabels(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setHeaderLabels(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setHeaderLabels, doc_QTreeWidget_setHeaderLabels);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_currentItem, "QTreeWidget.currentItem() -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_currentItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_currentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->currentItem();

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_currentItem, doc_QTreeWidget_currentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_currentColumn, "QTreeWidget.currentColumn() -> int");

extern "C" {static PyObject *meth_QTreeWidget_currentColumn(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_currentColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_currentColumn, doc_QTreeWidget_currentColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setCurrentItem, "QTreeWidget.setCurrentItem(QTreeWidgetItem)\n"
    "QTreeWidget.setCurrentItem(QTreeWidgetItem, int)\n"
    "QTreeWidget.setCurrentItem(QTreeWidgetItem, int, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QTreeWidget_setCurrentItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setCurrentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            sipCpp->setCurrentItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QTreeWidgetItem* a0;
        int a1;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1))
        {
            sipCpp->setCurrentItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QTreeWidgetItem* a0;
        int a1;
        QItemSelectionModel::SelectionFlags* a2;
        int a2State = 0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8iJ1", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1, sipType_QItemSelectionModel_SelectionFlags, &a2, &a2State))
        {
            sipCpp->setCurrentItem(a0,a1,*a2);
            sipReleaseType(a2,sipType_QItemSelectionModel_SelectionFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setCurrentItem, doc_QTreeWidget_setCurrentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_itemAt, "QTreeWidget.itemAt(QPoint) -> QTreeWidgetItem\n"
    "QTreeWidget.itemAt(int, int) -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->itemAt(*a0);

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    {
        int a0;
        int a1;
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, &a1))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->itemAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_itemAt, doc_QTreeWidget_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_visualItemRect, "QTreeWidget.visualItemRect(QTreeWidgetItem) -> QRect");

extern "C" {static PyObject *meth_QTreeWidget_visualItemRect(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_visualItemRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->visualItemRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_visualItemRect, doc_QTreeWidget_visualItemRect);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_sortColumn, "QTreeWidget.sortColumn() -> int");

extern "C" {static PyObject *meth_QTreeWidget_sortColumn(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_sortColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sortColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_sortColumn, doc_QTreeWidget_sortColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_sortItems, "QTreeWidget.sortItems(int, Qt.SortOrder)");

extern "C" {static PyObject *meth_QTreeWidget_sortItems(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_sortItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::SortOrder a1;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            sipCpp->sortItems(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_sortItems, doc_QTreeWidget_sortItems);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_editItem, "QTreeWidget.editItem(QTreeWidgetItem, int column=0)");

extern "C" {static PyObject *meth_QTreeWidget_editItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_editItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        int a1 = 0;
        QTreeWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_column,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|i", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1))
        {
            sipCpp->editItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_editItem, doc_QTreeWidget_editItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_openPersistentEditor, "QTreeWidget.openPersistentEditor(QTreeWidgetItem, int column=0)");

extern "C" {static PyObject *meth_QTreeWidget_openPersistentEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_openPersistentEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        int a1 = 0;
        QTreeWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_column,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|i", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1))
        {
            sipCpp->openPersistentEditor(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_openPersistentEditor, doc_QTreeWidget_openPersistentEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_closePersistentEditor, "QTreeWidget.closePersistentEditor(QTreeWidgetItem, int column=0)");

extern "C" {static PyObject *meth_QTreeWidget_closePersistentEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_closePersistentEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        int a1 = 0;
        QTreeWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_column,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|i", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1))
        {
            sipCpp->closePersistentEditor(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_closePersistentEditor, doc_QTreeWidget_closePersistentEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_itemWidget, "QTreeWidget.itemWidget(QTreeWidgetItem, int) -> QWidget");

extern "C" {static PyObject *meth_QTreeWidget_itemWidget(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_itemWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        int a1;
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1))
        {
            QWidget*sipRes;

            sipRes = sipCpp->itemWidget(a0,a1);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_itemWidget, doc_QTreeWidget_itemWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setItemWidget, "QTreeWidget.setItemWidget(QTreeWidgetItem, int, QWidget)");

extern "C" {static PyObject *meth_QTreeWidget_setItemWidget(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setItemWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        int a1;
        QWidget* a2;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8iJ:", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1, sipType_QWidget, &a2))
        {
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
        // We have to break the association with any existing widget.  Note that I'm
        // not sure this is really necessary as it should get tidied up when Qt
        // destroys any current widget, except (possibly) when the widget wasn't
        // created from PyQt.  See also removeItemWidget(), QListWidget and
        // QTableWidget.
        QWidget *w = sipCpp->itemWidget(a0, a1);
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QWidget);
        
            if (wo)
                sipTransferTo(wo, 0);
        }
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->setItemWidget(a0, a1, a2);
        Py_END_ALLOW_THREADS
#line 39677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setItemWidget, doc_QTreeWidget_setItemWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_selectedItems, "QTreeWidget.selectedItems() -> list-of-QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_selectedItems(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_selectedItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QList<QTreeWidgetItem*>*sipRes;

            sipRes = new QList<QTreeWidgetItem*>(sipCpp->selectedItems());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_selectedItems, doc_QTreeWidget_selectedItems);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_findItems, "QTreeWidget.findItems(str, Qt.MatchFlags, int column=0) -> list-of-QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_findItems(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_findItems(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Qt::MatchFlags* a1;
        int a1State = 0;
        int a2 = 0;
        const QTreeWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_column,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1|i", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_MatchFlags, &a1, &a1State, &a2))
        {
            QList<QTreeWidgetItem*>*sipRes;

            sipRes = new QList<QTreeWidgetItem*>(sipCpp->findItems(*a0,*a1,a2));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_Qt_MatchFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0101QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_findItems, doc_QTreeWidget_findItems);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_scrollToItem, "QTreeWidget.scrollToItem(QTreeWidgetItem, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible)");

extern "C" {static PyObject *meth_QTreeWidget_scrollToItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_scrollToItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;
        QAbstractItemView::ScrollHint a1 = QAbstractItemView::EnsureVisible;
        QTreeWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|E", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            sipCpp->scrollToItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_scrollToItem, doc_QTreeWidget_scrollToItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_expandItem, "QTreeWidget.expandItem(QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidget_expandItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_expandItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            sipCpp->expandItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_expandItem, doc_QTreeWidget_expandItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_collapseItem, "QTreeWidget.collapseItem(QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidget_collapseItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_collapseItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            sipCpp->collapseItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_collapseItem, doc_QTreeWidget_collapseItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_clear, "QTreeWidget.clear()");

extern "C" {static PyObject *meth_QTreeWidget_clear(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_clear, doc_QTreeWidget_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_mimeTypes, "QTreeWidget.mimeTypes() -> list-of-str");

extern "C" {static PyObject *meth_QTreeWidget_mimeTypes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_mimeTypes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->sipProtectVirt_mimeTypes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_mimeTypes, doc_QTreeWidget_mimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_mimeData, "QTreeWidget.mimeData(list-of-QTreeWidgetItem) -> QMimeData");

extern "C" {static PyObject *meth_QTreeWidget_mimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_mimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QList<QTreeWidgetItem*>* a0;
        int a0State = 0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QList_0101QTreeWidgetItem,&a0, &a0State))
        {
            QMimeData*sipRes;

            sipRes = sipCpp->sipProtectVirt_mimeData(sipSelfWasArg,*a0);
            sipReleaseType(const_cast<QList<QTreeWidgetItem*> *>(a0),sipType_QList_0101QTreeWidgetItem,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_mimeData, doc_QTreeWidget_mimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_dropMimeData, "QTreeWidget.dropMimeData(QTreeWidgetItem, int, QMimeData, Qt.DropAction) -> bool");

extern "C" {static PyObject *meth_QTreeWidget_dropMimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_dropMimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTreeWidgetItem* a0;
        int a1;
        const QMimeData* a2;
        Qt::DropAction a3;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8iJ8E", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1, sipType_QMimeData, &a2, sipType_Qt_DropAction, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_dropMimeData(sipSelfWasArg,a0,a1,a2,a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_dropMimeData, doc_QTreeWidget_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_supportedDropActions, "QTreeWidget.supportedDropActions() -> Qt.DropActions");

extern "C" {static PyObject *meth_QTreeWidget_supportedDropActions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            Qt::DropActions*sipRes;

            sipRes = new Qt::DropActions(sipCpp->sipProtectVirt_supportedDropActions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_supportedDropActions, doc_QTreeWidget_supportedDropActions);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_indexFromItem, "QTreeWidget.indexFromItem(QTreeWidgetItem, int column=0) -> QModelIndex");

extern "C" {static PyObject *meth_QTreeWidget_indexFromItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_indexFromItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        int a1 = 0;
        const sipQTreeWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_column,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|i", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtect_indexFromItem(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_indexFromItem, doc_QTreeWidget_indexFromItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_itemFromIndex, "QTreeWidget.itemFromIndex(QModelIndex) -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_itemFromIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_itemFromIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->sipProtect_itemFromIndex(*a0);

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_itemFromIndex, doc_QTreeWidget_itemFromIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_event, "QTreeWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QTreeWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_event, doc_QTreeWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_dropEvent, "QTreeWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QTreeWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQTreeWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_dropEvent, doc_QTreeWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_invisibleRootItem, "QTreeWidget.invisibleRootItem() -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_invisibleRootItem(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_invisibleRootItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidget, &sipCpp))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->invisibleRootItem();

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_invisibleRootItem, doc_QTreeWidget_invisibleRootItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setHeaderLabel, "QTreeWidget.setHeaderLabel(str)");

extern "C" {static PyObject *meth_QTreeWidget_setHeaderLabel(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setHeaderLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setHeaderLabel(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setHeaderLabel, doc_QTreeWidget_setHeaderLabel);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_isFirstItemColumnSpanned, "QTreeWidget.isFirstItemColumnSpanned(QTreeWidgetItem) -> bool");

extern "C" {static PyObject *meth_QTreeWidget_isFirstItemColumnSpanned(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_isFirstItemColumnSpanned(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isFirstItemColumnSpanned(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_isFirstItemColumnSpanned, doc_QTreeWidget_isFirstItemColumnSpanned);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setFirstItemColumnSpanned, "QTreeWidget.setFirstItemColumnSpanned(QTreeWidgetItem, bool)");

extern "C" {static PyObject *meth_QTreeWidget_setFirstItemColumnSpanned(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setFirstItemColumnSpanned(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;
        bool a1;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8b", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1))
        {
            sipCpp->setFirstItemColumnSpanned(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setFirstItemColumnSpanned, doc_QTreeWidget_setFirstItemColumnSpanned);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_itemAbove, "QTreeWidget.itemAbove(QTreeWidgetItem) -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_itemAbove(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_itemAbove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->itemAbove(a0);

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_itemAbove, doc_QTreeWidget_itemAbove);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_itemBelow, "QTreeWidget.itemBelow(QTreeWidgetItem) -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidget_itemBelow(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_itemBelow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;
        const QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->itemBelow(a0);

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_itemBelow, doc_QTreeWidget_itemBelow);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_removeItemWidget, "QTreeWidget.removeItemWidget(QTreeWidgetItem, int)");

extern "C" {static PyObject *meth_QTreeWidget_removeItemWidget(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_removeItemWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        int a1;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QTreeWidget, &sipCpp, sipType_QTreeWidgetItem, &a0, &a1))
        {
#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
        // We have to break the association with any existing widget.
        QWidget *w = sipCpp->itemWidget(a0, a1);
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QWidget);
        
            if (wo)
                sipTransferTo(wo, 0);
        }
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->removeItemWidget(a0, a1);
        Py_END_ALLOW_THREADS
#line 40306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_removeItemWidget, doc_QTreeWidget_removeItemWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidget_setSelectionModel, "QTreeWidget.setSelectionModel(QItemSelectionModel)");

extern "C" {static PyObject *meth_QTreeWidget_setSelectionModel(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setSelectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QItemSelectionModel* a0;
        PyObject *a0Keep;
        QTreeWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QTreeWidget, &sipCpp, &a0Keep, sipType_QItemSelectionModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QTreeWidget::setSelectionModel(a0) : sipCpp->setSelectionModel(a0));

            sipKeepReference(sipSelf, -53, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidget, sipName_setSelectionModel, doc_QTreeWidget_setSelectionModel);

    return NULL;
}


extern "C" {static PyObject *meth_QTreeWidget_setModel(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidget_setModel(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_QTreeWidget, sipName_setModel, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTreeWidget(void *, const sipTypeDef *);}
static void *cast_QTreeWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTreeWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QTreeView)->ctd_cast((QTreeView *)(QTreeWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTreeWidget(void *, int);}
static void release_QTreeWidget(void *sipCppV,int)
{
    QTreeWidget *sipCpp = reinterpret_cast<QTreeWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTreeWidget(sipSimpleWrapper *);}
static void dealloc_QTreeWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTreeWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTreeWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTreeWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTreeWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTreeWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQTreeWidget(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTreeWidget[] = {{440, 255, 1}};


static PyMethodDef methods_QTreeWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QTreeWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addTopLevelItem), meth_QTreeWidget_addTopLevelItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_addTopLevelItem)},
    {SIP_MLNAME_CAST(sipName_addTopLevelItems), meth_QTreeWidget_addTopLevelItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_addTopLevelItems)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QTreeWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTreeWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QTreeWidget_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_clear)},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QTreeWidget_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QTreeWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closePersistentEditor), (PyCFunction)meth_QTreeWidget_closePersistentEditor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_closePersistentEditor)},
    {SIP_MLNAME_CAST(sipName_collapseItem), meth_QTreeWidget_collapseItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_collapseItem)},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_QTreeWidget_columnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_columnCount)},
    {SIP_MLNAME_CAST(sipName_columnCountChanged), (PyCFunction)meth_QTreeWidget_columnCountChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnMoved), (PyCFunction)meth_QTreeWidget_columnMoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnResized), (PyCFunction)meth_QTreeWidget_columnResized, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QTreeWidget_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTreeWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QTreeWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QTreeWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QTreeWidget_currentChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentColumn), meth_QTreeWidget_currentColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_currentColumn)},
    {SIP_MLNAME_CAST(sipName_currentItem), meth_QTreeWidget_currentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_currentItem)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTreeWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QTreeWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QTreeWidget_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTreeWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QTreeWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QTreeWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QTreeWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawBranches), (PyCFunction)meth_QTreeWidget_drawBranches, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QTreeWidget_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawRow), (PyCFunction)meth_QTreeWidget_drawRow, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawTree), (PyCFunction)meth_QTreeWidget_drawTree, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QTreeWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_dropEvent)},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QTreeWidget_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), (PyCFunction)meth_QTreeWidget_dropMimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QTreeWidget_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editItem), (PyCFunction)meth_QTreeWidget_editItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_editItem)},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QTreeWidget_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QTreeWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QTreeWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QTreeWidget_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QTreeWidget_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_expandItem), meth_QTreeWidget_expandItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_expandItem)},
    {SIP_MLNAME_CAST(sipName_findItems), (PyCFunction)meth_QTreeWidget_findItems, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_findItems)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QTreeWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QTreeWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QTreeWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QTreeWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QTreeWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_headerItem), meth_QTreeWidget_headerItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_headerItem)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QTreeWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QTreeWidget_horizontalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QTreeWidget_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QTreeWidget_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexFromItem), (PyCFunction)meth_QTreeWidget_indexFromItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_indexFromItem)},
    {SIP_MLNAME_CAST(sipName_indexOfTopLevelItem), meth_QTreeWidget_indexOfTopLevelItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_indexOfTopLevelItem)},
    {SIP_MLNAME_CAST(sipName_indexRowSizeHint), (PyCFunction)meth_QTreeWidget_indexRowSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QTreeWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QTreeWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertTopLevelItem), meth_QTreeWidget_insertTopLevelItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_insertTopLevelItem)},
    {SIP_MLNAME_CAST(sipName_insertTopLevelItems), meth_QTreeWidget_insertTopLevelItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_insertTopLevelItems)},
    {SIP_MLNAME_CAST(sipName_invisibleRootItem), meth_QTreeWidget_invisibleRootItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_invisibleRootItem)},
    {SIP_MLNAME_CAST(sipName_isFirstItemColumnSpanned), meth_QTreeWidget_isFirstItemColumnSpanned, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_isFirstItemColumnSpanned)},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QTreeWidget_isIndexHidden, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTreeWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAbove), meth_QTreeWidget_itemAbove, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_itemAbove)},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QTreeWidget_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_itemAt)},
    {SIP_MLNAME_CAST(sipName_itemBelow), meth_QTreeWidget_itemBelow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_itemBelow)},
    {SIP_MLNAME_CAST(sipName_itemFromIndex), (PyCFunction)meth_QTreeWidget_itemFromIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_itemFromIndex)},
    {SIP_MLNAME_CAST(sipName_itemWidget), meth_QTreeWidget_itemWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_itemWidget)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QTreeWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QTreeWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QTreeWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QTreeWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeData), (PyCFunction)meth_QTreeWidget_mimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_mimeData)},
    {SIP_MLNAME_CAST(sipName_mimeTypes), (PyCFunction)meth_QTreeWidget_mimeTypes, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_mimeTypes)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QTreeWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QTreeWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QTreeWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QTreeWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QTreeWidget_moveCursor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QTreeWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QTreeWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_openPersistentEditor), (PyCFunction)meth_QTreeWidget_openPersistentEditor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_openPersistentEditor)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QTreeWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTreeWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reexpand), (PyCFunction)meth_QTreeWidget_reexpand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItemWidget), meth_QTreeWidget_removeItemWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_removeItemWidget)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QTreeWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowHeight), (PyCFunction)meth_QTreeWidget_rowHeight, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QTreeWidget_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QTreeWidget_rowsInserted, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsRemoved), (PyCFunction)meth_QTreeWidget_rowsRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QTreeWidget_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QTreeWidget_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QTreeWidget_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollToItem), (PyCFunction)meth_QTreeWidget_scrollToItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_scrollToItem)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QTreeWidget_selectedIndexes, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedItems), meth_QTreeWidget_selectedItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_selectedItems)},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QTreeWidget_selectionChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QTreeWidget_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTreeWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTreeWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setColumnCount), meth_QTreeWidget_setColumnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_setColumnCount)},
    {SIP_MLNAME_CAST(sipName_setCurrentItem), meth_QTreeWidget_setCurrentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_setCurrentItem)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QTreeWidget_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFirstItemColumnSpanned), meth_QTreeWidget_setFirstItemColumnSpanned, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_setFirstItemColumnSpanned)},
    {SIP_MLNAME_CAST(sipName_setHeaderItem), meth_QTreeWidget_setHeaderItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_setHeaderItem)},
    {SIP_MLNAME_CAST(sipName_setHeaderLabel), meth_QTreeWidget_setHeaderLabel, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_setHeaderLabel)},
    {SIP_MLNAME_CAST(sipName_setHeaderLabels), meth_QTreeWidget_setHeaderLabels, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_setHeaderLabels)},
    {SIP_MLNAME_CAST(sipName_setItemWidget), meth_QTreeWidget_setItemWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_setItemWidget)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QTreeWidget_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QTreeWidget_setSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelectionModel), meth_QTreeWidget_setSelectionModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_setSelectionModel)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QTreeWidget_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QTreeWidget_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QTreeWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QTreeWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHintForColumn), (PyCFunction)meth_QTreeWidget_sizeHintForColumn, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sortColumn), meth_QTreeWidget_sortColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_sortColumn)},
    {SIP_MLNAME_CAST(sipName_sortItems), meth_QTreeWidget_sortItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_sortItems)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QTreeWidget_startDrag, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QTreeWidget_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), (PyCFunction)meth_QTreeWidget_supportedDropActions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidget_supportedDropActions)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QTreeWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_takeTopLevelItem), meth_QTreeWidget_takeTopLevelItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_takeTopLevelItem)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTreeWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_topLevelItem), meth_QTreeWidget_topLevelItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_topLevelItem)},
    {SIP_MLNAME_CAST(sipName_topLevelItemCount), meth_QTreeWidget_topLevelItemCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_topLevelItemCount)},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QTreeWidget_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QTreeWidget_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QTreeWidget_updateGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QTreeWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QTreeWidget_verticalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QTreeWidget_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QTreeWidget_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QTreeWidget_viewOptions, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QTreeWidget_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QTreeWidget_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_visualItemRect), meth_QTreeWidget_visualItemRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidget_visualItemRect)},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QTreeWidget_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTreeWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTreeWidget[] = {
    {"itemSelectionChanged()", "\1QTreeWidget.itemSelectionChanged", 0, 0},
    {"currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)", "\1QTreeWidget.currentItemChanged[QTreeWidgetItem, QTreeWidgetItem]", 0, 0},
    {"itemCollapsed(QTreeWidgetItem*)", "\1QTreeWidget.itemCollapsed[QTreeWidgetItem]", 0, 0},
    {"itemExpanded(QTreeWidgetItem*)", "\1QTreeWidget.itemExpanded[QTreeWidgetItem]", 0, 0},
    {"itemChanged(QTreeWidgetItem*,int)", "\1QTreeWidget.itemChanged[QTreeWidgetItem, int]", 0, 0},
    {"itemEntered(QTreeWidgetItem*,int)", "\1QTreeWidget.itemEntered[QTreeWidgetItem, int]", 0, 0},
    {"itemActivated(QTreeWidgetItem*,int)", "\1QTreeWidget.itemActivated[QTreeWidgetItem, int]", 0, 0},
    {"itemDoubleClicked(QTreeWidgetItem*,int)", "\1QTreeWidget.itemDoubleClicked[QTreeWidgetItem, int]", 0, 0},
    {"itemClicked(QTreeWidgetItem*,int)", "\1QTreeWidget.itemClicked[QTreeWidgetItem, int]", 0, 0},
    {"itemPressed(QTreeWidgetItem*,int)", "\1QTreeWidget.itemPressed[QTreeWidgetItem, int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QTreeWidget, "\1QTreeWidget(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTreeWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTreeWidget,
        {0}
    },
    {
        sipNameNr_QTreeWidget,
        {0, 0, 1},
        142, methods_QTreeWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTreeWidget,
    -1,
    -1,
    supers_QTreeWidget,
    0,
    init_type_QTreeWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTreeWidget,
    0,
    0,
    0,
    release_QTreeWidget,
    cast_QTreeWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTreeWidget::staticMetaObject,
    0,
    signals_QTreeWidget,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 40655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 40659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreewidget.sip"
#include <qtreewidget.h>
#line 40662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 40668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 40671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 40674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 40677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 40680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 40683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 40686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 40689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 40692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTreeWidgetItem : public QTreeWidgetItem
{
public:
    sipQTreeWidgetItem(int);
    sipQTreeWidgetItem(const QStringList&,int);
    sipQTreeWidgetItem(QTreeWidget*,int);
    sipQTreeWidgetItem(QTreeWidget*,const QStringList&,int);
    sipQTreeWidgetItem(QTreeWidget*,QTreeWidgetItem*,int);
    sipQTreeWidgetItem(QTreeWidgetItem*,int);
    sipQTreeWidgetItem(QTreeWidgetItem*,const QStringList&,int);
    sipQTreeWidgetItem(QTreeWidgetItem*,QTreeWidgetItem*,int);
    sipQTreeWidgetItem(const QTreeWidgetItem&);
    virtual ~sipQTreeWidgetItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_emitDataChanged();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void write(QDataStream&) const;
    void read(QDataStream&);
    bool operator<(const QTreeWidgetItem&) const;
    void setData(int,int,const QVariant&);
    QVariant data(int,int) const;
    QTreeWidgetItem* clone() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTreeWidgetItem(const sipQTreeWidgetItem &);
    sipQTreeWidgetItem &operator = (const sipQTreeWidgetItem &);

    char sipPyMethods[6];
};

sipQTreeWidgetItem::sipQTreeWidgetItem(int a0): QTreeWidgetItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidgetItem::sipQTreeWidgetItem(const QStringList& a0,int a1): QTreeWidgetItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidgetItem::sipQTreeWidgetItem(QTreeWidget*a0,int a1): QTreeWidgetItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidgetItem::sipQTreeWidgetItem(QTreeWidget*a0,const QStringList& a1,int a2): QTreeWidgetItem(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidgetItem::sipQTreeWidgetItem(QTreeWidget*a0,QTreeWidgetItem*a1,int a2): QTreeWidgetItem(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidgetItem::sipQTreeWidgetItem(QTreeWidgetItem*a0,int a1): QTreeWidgetItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidgetItem::sipQTreeWidgetItem(QTreeWidgetItem*a0,const QStringList& a1,int a2): QTreeWidgetItem(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidgetItem::sipQTreeWidgetItem(QTreeWidgetItem*a0,QTreeWidgetItem*a1,int a2): QTreeWidgetItem(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidgetItem::sipQTreeWidgetItem(const QTreeWidgetItem& a0): QTreeWidgetItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeWidgetItem::~sipQTreeWidgetItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQTreeWidgetItem::write(QDataStream& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_write);

    if (!sipMeth)
    {
        QTreeWidgetItem::write(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDataStream&);

    ((sipVH_QtGui_24)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidgetItem::read(QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_read);

    if (!sipMeth)
    {
        QTreeWidgetItem::read(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDataStream&);

    ((sipVH_QtGui_24)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTreeWidgetItem::operator<(const QTreeWidgetItem& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName___lt__);

    if (!sipMeth)
        return QTreeWidgetItem::operator<(a0);

    extern bool sipVH_QtWidgets_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QTreeWidgetItem&);

    return sipVH_QtWidgets_19(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeWidgetItem::setData(int a0,int a1,const QVariant& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
    {
        QTreeWidgetItem::setData(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QVariant&);

    sipVH_QtWidgets_20(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipQTreeWidgetItem::data(int a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return QTreeWidgetItem::data(a0,a1);

    extern QVariant sipVH_QtWidgets_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    return sipVH_QtWidgets_21(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QTreeWidgetItem* sipQTreeWidgetItem::clone() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_clone);

    if (!sipMeth)
        return QTreeWidgetItem::clone();

    extern QTreeWidgetItem* sipVH_QtWidgets_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_22(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeWidgetItem::sipProtect_emitDataChanged()
{
    QTreeWidgetItem::emitDataChanged();
}


PyDoc_STRVAR(doc_QTreeWidgetItem_clone, "QTreeWidgetItem.clone() -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidgetItem_clone(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_clone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            QTreeWidgetItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QTreeWidgetItem::clone() : sipCpp->clone());

            return sipConvertFromNewType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_clone, doc_QTreeWidgetItem_clone);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_treeWidget, "QTreeWidgetItem.treeWidget() -> QTreeWidget");

extern "C" {static PyObject *meth_QTreeWidgetItem_treeWidget(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_treeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            QTreeWidget*sipRes;

            sipRes = sipCpp->treeWidget();

            return sipConvertFromType(sipRes,sipType_QTreeWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_treeWidget, doc_QTreeWidgetItem_treeWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_flags, "QTreeWidgetItem.flags() -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QTreeWidgetItem_flags(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            Qt::ItemFlags*sipRes;

            sipRes = new Qt::ItemFlags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_flags, doc_QTreeWidgetItem_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_text, "QTreeWidgetItem.text(int) -> str");

extern "C" {static PyObject *meth_QTreeWidgetItem_text(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_text, doc_QTreeWidgetItem_text);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_icon, "QTreeWidgetItem.icon(int) -> QIcon");

extern "C" {static PyObject *meth_QTreeWidgetItem_icon(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->icon(a0));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_icon, doc_QTreeWidgetItem_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_statusTip, "QTreeWidgetItem.statusTip(int) -> str");

extern "C" {static PyObject *meth_QTreeWidgetItem_statusTip(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_statusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->statusTip(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_statusTip, doc_QTreeWidgetItem_statusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_toolTip, "QTreeWidgetItem.toolTip(int) -> str");

extern "C" {static PyObject *meth_QTreeWidgetItem_toolTip(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_toolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toolTip(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_toolTip, doc_QTreeWidgetItem_toolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_whatsThis, "QTreeWidgetItem.whatsThis(int) -> str");

extern "C" {static PyObject *meth_QTreeWidgetItem_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_whatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->whatsThis(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_whatsThis, doc_QTreeWidgetItem_whatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_font, "QTreeWidgetItem.font(int) -> QFont");

extern "C" {static PyObject *meth_QTreeWidgetItem_font(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->font(a0));

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_font, doc_QTreeWidgetItem_font);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_textAlignment, "QTreeWidgetItem.textAlignment(int) -> int");

extern "C" {static PyObject *meth_QTreeWidgetItem_textAlignment(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_textAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->textAlignment(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_textAlignment, doc_QTreeWidgetItem_textAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setTextAlignment, "QTreeWidgetItem.setTextAlignment(int, int)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setTextAlignment(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setTextAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, &a1))
        {
            sipCpp->setTextAlignment(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setTextAlignment, doc_QTreeWidgetItem_setTextAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_checkState, "QTreeWidgetItem.checkState(int) -> Qt.CheckState");

extern "C" {static PyObject *meth_QTreeWidgetItem_checkState(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_checkState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            Qt::CheckState sipRes;

            sipRes = sipCpp->checkState(a0);

            return sipConvertFromEnum(sipRes,sipType_Qt_CheckState);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_checkState, doc_QTreeWidgetItem_checkState);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setCheckState, "QTreeWidgetItem.setCheckState(int, Qt.CheckState)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setCheckState(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setCheckState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::CheckState a1;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_Qt_CheckState, &a1))
        {
            sipCpp->setCheckState(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setCheckState, doc_QTreeWidgetItem_setCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_data, "QTreeWidgetItem.data(int, int) -> QVariant");

extern "C" {static PyObject *meth_QTreeWidgetItem_data(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, &a1))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QTreeWidgetItem::data(a0,a1) : sipCpp->data(a0,a1)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_data, doc_QTreeWidgetItem_data);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setData, "QTreeWidgetItem.setData(int, int, QVariant)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setData(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QVariant* a2;
        int a2State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ1", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, &a1, sipType_QVariant, &a2, &a2State))
        {
            (sipSelfWasArg ? sipCpp->QTreeWidgetItem::setData(a0,a1,*a2) : sipCpp->setData(a0,a1,*a2));
            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_QTreeWidgetItem, sipName_setData, doc_QTreeWidgetItem_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_read, "QTreeWidgetItem.read(QDataStream)");

extern "C" {static PyObject *meth_QTreeWidgetItem_read(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDataStream* a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QTreeWidgetItem::read(*a0) : sipCpp->read(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_read, doc_QTreeWidgetItem_read);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_write, "QTreeWidgetItem.write(QDataStream)");

extern "C" {static PyObject *meth_QTreeWidgetItem_write(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDataStream* a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QTreeWidgetItem::write(*a0) : sipCpp->write(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_write, doc_QTreeWidgetItem_write);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_parent, "QTreeWidgetItem.parent() -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidgetItem_parent(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->parent();

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_parent, doc_QTreeWidgetItem_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_child, "QTreeWidgetItem.child(int) -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidgetItem_child(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_child(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->child(a0);

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_child, doc_QTreeWidgetItem_child);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_childCount, "QTreeWidgetItem.childCount() -> int");

extern "C" {static PyObject *meth_QTreeWidgetItem_childCount(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_childCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->childCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_childCount, doc_QTreeWidgetItem_childCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_columnCount, "QTreeWidgetItem.columnCount() -> int");

extern "C" {static PyObject *meth_QTreeWidgetItem_columnCount(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->columnCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_columnCount, doc_QTreeWidgetItem_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_addChild, "QTreeWidgetItem.addChild(QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidgetItem_addChild(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_addChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            sipCpp->addChild(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_addChild, doc_QTreeWidgetItem_addChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_insertChild, "QTreeWidgetItem.insertChild(int, QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidgetItem_insertChild(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_insertChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeWidgetItem* a1;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QTreeWidgetItem, &a1))
        {
            sipCpp->insertChild(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_insertChild, doc_QTreeWidgetItem_insertChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_takeChild, "QTreeWidgetItem.takeChild(int) -> QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidgetItem_takeChild(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_takeChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QTreeWidgetItem*sipRes;

            sipRes = sipCpp->takeChild(a0);

            return sipConvertFromType(sipRes,sipType_QTreeWidgetItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_takeChild, doc_QTreeWidgetItem_takeChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_type, "QTreeWidgetItem.type() -> int");

extern "C" {static PyObject *meth_QTreeWidgetItem_type(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->type();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_type, doc_QTreeWidgetItem_type);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setFlags, "QTreeWidgetItem.setFlags(Qt.ItemFlags)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setFlags(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ItemFlags* a0;
        int a0State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, sipType_Qt_ItemFlags, &a0, &a0State))
        {
            sipCpp->setFlags(*a0);
            sipReleaseType(a0,sipType_Qt_ItemFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setFlags, doc_QTreeWidgetItem_setFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setText, "QTreeWidgetItem.setText(int, str)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setText(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setText(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setText, doc_QTreeWidgetItem_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setIcon, "QTreeWidgetItem.setIcon(int, QIcon)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setIcon(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QIcon* a1;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QIcon, &a1))
        {
            sipCpp->setIcon(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setIcon, doc_QTreeWidgetItem_setIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setStatusTip, "QTreeWidgetItem.setStatusTip(int, str)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setStatusTip(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setStatusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setStatusTip(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setStatusTip, doc_QTreeWidgetItem_setStatusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setToolTip, "QTreeWidgetItem.setToolTip(int, str)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setToolTip(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setToolTip, doc_QTreeWidgetItem_setToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setWhatsThis, "QTreeWidgetItem.setWhatsThis(int, str)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setWhatsThis(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setWhatsThis, doc_QTreeWidgetItem_setWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setFont, "QTreeWidgetItem.setFont(int, QFont)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setFont(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QFont* a1;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QFont, &a1))
        {
            sipCpp->setFont(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setFont, doc_QTreeWidgetItem_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_indexOfChild, "QTreeWidgetItem.indexOfChild(QTreeWidgetItem) -> int");

extern "C" {static PyObject *meth_QTreeWidgetItem_indexOfChild(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_indexOfChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOfChild(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_indexOfChild, doc_QTreeWidgetItem_indexOfChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_sizeHint, "QTreeWidgetItem.sizeHint(int) -> QSize");

extern "C" {static PyObject *meth_QTreeWidgetItem_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sizeHint(a0));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_sizeHint, doc_QTreeWidgetItem_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setSizeHint, "QTreeWidgetItem.setSizeHint(int, QSize)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QSize* a1;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QSize, &a1))
        {
            sipCpp->setSizeHint(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setSizeHint, doc_QTreeWidgetItem_setSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_addChildren, "QTreeWidgetItem.addChildren(list-of-QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidgetItem_addChildren(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_addChildren(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QTreeWidgetItem*>* a0;
        int a0State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ3", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, sipType_QList_0101QTreeWidgetItem,&a0, &a0State))
        {
            sipCpp->addChildren(*a0);
            sipReleaseType(const_cast<QList<QTreeWidgetItem*> *>(a0),sipType_QList_0101QTreeWidgetItem,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_addChildren, doc_QTreeWidgetItem_addChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_insertChildren, "QTreeWidgetItem.insertChildren(int, list-of-QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidgetItem_insertChildren(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_insertChildren(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QList<QTreeWidgetItem*>* a1;
        int a1State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ3", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QList_0101QTreeWidgetItem,&a1, &a1State))
        {
            sipCpp->insertChildren(a0,*a1);
            sipReleaseType(const_cast<QList<QTreeWidgetItem*> *>(a1),sipType_QList_0101QTreeWidgetItem,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_insertChildren, doc_QTreeWidgetItem_insertChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_takeChildren, "QTreeWidgetItem.takeChildren() -> list-of-QTreeWidgetItem");

extern "C" {static PyObject *meth_QTreeWidgetItem_takeChildren(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_takeChildren(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            QList<QTreeWidgetItem*>*sipRes;

            sipRes = new QList<QTreeWidgetItem*>(sipCpp->takeChildren());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QTreeWidgetItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_takeChildren, doc_QTreeWidgetItem_takeChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_background, "QTreeWidgetItem.background(int) -> QBrush");

extern "C" {static PyObject *meth_QTreeWidgetItem_background(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_background(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->background(a0));

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_background, doc_QTreeWidgetItem_background);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setBackground, "QTreeWidgetItem.setBackground(int, QBrush)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setBackground(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QBrush* a1;
        int a1State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QBrush, &a1, &a1State))
        {
            sipCpp->setBackground(a0,*a1);
            sipReleaseType(const_cast<QBrush *>(a1),sipType_QBrush,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setBackground, doc_QTreeWidgetItem_setBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_foreground, "QTreeWidgetItem.foreground(int) -> QBrush");

extern "C" {static PyObject *meth_QTreeWidgetItem_foreground(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_foreground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->foreground(a0));

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_foreground, doc_QTreeWidgetItem_foreground);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setForeground, "QTreeWidgetItem.setForeground(int, QBrush)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setForeground(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setForeground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QBrush* a1;
        int a1State = 0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_QBrush, &a1, &a1State))
        {
            sipCpp->setForeground(a0,*a1);
            sipReleaseType(const_cast<QBrush *>(a1),sipType_QBrush,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setForeground, doc_QTreeWidgetItem_setForeground);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_sortChildren, "QTreeWidgetItem.sortChildren(int, Qt.SortOrder)");

extern "C" {static PyObject *meth_QTreeWidgetItem_sortChildren(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_sortChildren(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::SortOrder a1;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            sipCpp->sortChildren(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_sortChildren, doc_QTreeWidgetItem_sortChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setSelected, "QTreeWidgetItem.setSelected(bool)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setSelected(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setSelected(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setSelected, doc_QTreeWidgetItem_setSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_isSelected, "QTreeWidgetItem.isSelected() -> bool");

extern "C" {static PyObject *meth_QTreeWidgetItem_isSelected(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_isSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSelected();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_isSelected, doc_QTreeWidgetItem_isSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setHidden, "QTreeWidgetItem.setHidden(bool)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setHidden(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setHidden(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setHidden, doc_QTreeWidgetItem_setHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_isHidden, "QTreeWidgetItem.isHidden() -> bool");

extern "C" {static PyObject *meth_QTreeWidgetItem_isHidden(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_isHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isHidden();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_isHidden, doc_QTreeWidgetItem_isHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setExpanded, "QTreeWidgetItem.setExpanded(bool)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setExpanded(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setExpanded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setExpanded(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setExpanded, doc_QTreeWidgetItem_setExpanded);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_isExpanded, "QTreeWidgetItem.isExpanded() -> bool");

extern "C" {static PyObject *meth_QTreeWidgetItem_isExpanded(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_isExpanded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isExpanded();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_isExpanded, doc_QTreeWidgetItem_isExpanded);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setChildIndicatorPolicy, "QTreeWidgetItem.setChildIndicatorPolicy(QTreeWidgetItem.ChildIndicatorPolicy)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setChildIndicatorPolicy(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setChildIndicatorPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem::ChildIndicatorPolicy a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, sipType_QTreeWidgetItem_ChildIndicatorPolicy, &a0))
        {
            sipCpp->setChildIndicatorPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setChildIndicatorPolicy, doc_QTreeWidgetItem_setChildIndicatorPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_childIndicatorPolicy, "QTreeWidgetItem.childIndicatorPolicy() -> QTreeWidgetItem.ChildIndicatorPolicy");

extern "C" {static PyObject *meth_QTreeWidgetItem_childIndicatorPolicy(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_childIndicatorPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            QTreeWidgetItem::ChildIndicatorPolicy sipRes;

            sipRes = sipCpp->childIndicatorPolicy();

            return sipConvertFromEnum(sipRes,sipType_QTreeWidgetItem_ChildIndicatorPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_childIndicatorPolicy, doc_QTreeWidgetItem_childIndicatorPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_removeChild, "QTreeWidgetItem.removeChild(QTreeWidgetItem)");

extern "C" {static PyObject *meth_QTreeWidgetItem_removeChild(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_removeChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeWidgetItem* a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, sipType_QTreeWidgetItem, &a0))
        {
            sipCpp->removeChild(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_removeChild, doc_QTreeWidgetItem_removeChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setFirstColumnSpanned, "QTreeWidgetItem.setFirstColumnSpanned(bool)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setFirstColumnSpanned(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setFirstColumnSpanned(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setFirstColumnSpanned(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setFirstColumnSpanned, doc_QTreeWidgetItem_setFirstColumnSpanned);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_isFirstColumnSpanned, "QTreeWidgetItem.isFirstColumnSpanned() -> bool");

extern "C" {static PyObject *meth_QTreeWidgetItem_isFirstColumnSpanned(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_isFirstColumnSpanned(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFirstColumnSpanned();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_isFirstColumnSpanned, doc_QTreeWidgetItem_isFirstColumnSpanned);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_setDisabled, "QTreeWidgetItem.setDisabled(bool)");

extern "C" {static PyObject *meth_QTreeWidgetItem_setDisabled(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_setDisabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setDisabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_setDisabled, doc_QTreeWidgetItem_setDisabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_isDisabled, "QTreeWidgetItem.isDisabled() -> bool");

extern "C" {static PyObject *meth_QTreeWidgetItem_isDisabled(PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_isDisabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDisabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_isDisabled, doc_QTreeWidgetItem_isDisabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeWidgetItem_emitDataChanged, "QTreeWidgetItem.emitDataChanged()");

extern "C" {static PyObject *meth_QTreeWidgetItem_emitDataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeWidgetItem_emitDataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeWidgetItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeWidgetItem, &sipCpp))
        {
            sipCpp->sipProtect_emitDataChanged();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeWidgetItem, sipName_emitDataChanged, doc_QTreeWidgetItem_emitDataChanged);

    return NULL;
}


extern "C" {static PyObject *slot_QTreeWidgetItem___ge__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItem___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    QTreeWidgetItem *sipCpp = reinterpret_cast<QTreeWidgetItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItem));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QTreeWidgetItem, &a0))
        {
            bool sipRes;

            sipRes = !sipCpp->QTreeWidgetItem::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ge_slot,sipType_QTreeWidgetItem,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QTreeWidgetItem___lt__(PyObject *,PyObject *);}
static PyObject *slot_QTreeWidgetItem___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    QTreeWidgetItem *sipCpp = reinterpret_cast<QTreeWidgetItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTreeWidgetItem));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QTreeWidgetItem* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QTreeWidgetItem, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->QTreeWidgetItem::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,lt_slot,sipType_QTreeWidgetItem,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTreeWidgetItem(void *, const sipTypeDef *);}
static void *cast_QTreeWidgetItem(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QTreeWidgetItem)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTreeWidgetItem(void *, int);}
static void release_QTreeWidgetItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQTreeWidgetItem *>(sipCppV);
    else
        delete reinterpret_cast<QTreeWidgetItem *>(sipCppV);
}


extern "C" {static void dealloc_QTreeWidgetItem(sipSimpleWrapper *);}
static void dealloc_QTreeWidgetItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTreeWidgetItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTreeWidgetItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTreeWidgetItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTreeWidgetItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTreeWidgetItem *sipCpp = 0;

    {
        int a0 = QTreeWidgetItem::Type;

        static const char *sipKwdList[] = {
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|i", &a0))
        {
            sipCpp = new sipQTreeWidgetItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QStringList* a0;
        int a0State = 0;
        int a1 = QTreeWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|i", sipType_QStringList,&a0, &a0State, &a1))
        {
            sipCpp = new sipQTreeWidgetItem(*a0,a1);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QTreeWidget* a0;
        int a1 = QTreeWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|i", sipType_QTreeWidget, &a0, sipOwner, &a1))
        {
            sipCpp = new sipQTreeWidgetItem(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QTreeWidget* a0;
        const QStringList* a1;
        int a1State = 0;
        int a2 = QTreeWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JHJ1|i", sipType_QTreeWidget, &a0, sipOwner, sipType_QStringList,&a1, &a1State, &a2))
        {
            sipCpp = new sipQTreeWidgetItem(a0,*a1,a2);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QTreeWidget* a0;
        QTreeWidgetItem* a1;
        int a2 = QTreeWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JHJ8|i", sipType_QTreeWidget, &a0, sipOwner, sipType_QTreeWidgetItem, &a1, &a2))
        {
            sipCpp = new sipQTreeWidgetItem(a0,a1,a2);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QTreeWidgetItem* a0;
        int a1 = QTreeWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|i", sipType_QTreeWidgetItem, &a0, sipOwner, &a1))
        {
            sipCpp = new sipQTreeWidgetItem(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QTreeWidgetItem* a0;
        const QStringList* a1;
        int a1State = 0;
        int a2 = QTreeWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JHJ1|i", sipType_QTreeWidgetItem, &a0, sipOwner, sipType_QStringList,&a1, &a1State, &a2))
        {
            sipCpp = new sipQTreeWidgetItem(a0,*a1,a2);
            sipReleaseType(const_cast<QStringList *>(a1),sipType_QStringList,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QTreeWidgetItem* a0;
        QTreeWidgetItem* a1;
        int a2 = QTreeWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JHJ8|i", sipType_QTreeWidgetItem, &a0, sipOwner, sipType_QTreeWidgetItem, &a1, &a2))
        {
            sipCpp = new sipQTreeWidgetItem(a0,a1,a2);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QTreeWidgetItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTreeWidgetItem, &a0))
        {
            sipCpp = new sipQTreeWidgetItem(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTreeWidgetItem[] = {
    {(void *)slot_QTreeWidgetItem___ge__, ge_slot},
    {(void *)slot_QTreeWidgetItem___lt__, lt_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QTreeWidgetItem[] = {
    {SIP_MLNAME_CAST(sipName_addChild), meth_QTreeWidgetItem_addChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_addChild)},
    {SIP_MLNAME_CAST(sipName_addChildren), meth_QTreeWidgetItem_addChildren, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_addChildren)},
    {SIP_MLNAME_CAST(sipName_background), meth_QTreeWidgetItem_background, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_background)},
    {SIP_MLNAME_CAST(sipName_checkState), meth_QTreeWidgetItem_checkState, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_checkState)},
    {SIP_MLNAME_CAST(sipName_child), meth_QTreeWidgetItem_child, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_child)},
    {SIP_MLNAME_CAST(sipName_childCount), meth_QTreeWidgetItem_childCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_childCount)},
    {SIP_MLNAME_CAST(sipName_childIndicatorPolicy), meth_QTreeWidgetItem_childIndicatorPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_childIndicatorPolicy)},
    {SIP_MLNAME_CAST(sipName_clone), meth_QTreeWidgetItem_clone, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_clone)},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_QTreeWidgetItem_columnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_columnCount)},
    {SIP_MLNAME_CAST(sipName_data), meth_QTreeWidgetItem_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_data)},
    {SIP_MLNAME_CAST(sipName_emitDataChanged), (PyCFunction)meth_QTreeWidgetItem_emitDataChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_emitDataChanged)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QTreeWidgetItem_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_flags)},
    {SIP_MLNAME_CAST(sipName_font), meth_QTreeWidgetItem_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_font)},
    {SIP_MLNAME_CAST(sipName_foreground), meth_QTreeWidgetItem_foreground, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_foreground)},
    {SIP_MLNAME_CAST(sipName_icon), meth_QTreeWidgetItem_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_icon)},
    {SIP_MLNAME_CAST(sipName_indexOfChild), meth_QTreeWidgetItem_indexOfChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_indexOfChild)},
    {SIP_MLNAME_CAST(sipName_insertChild), meth_QTreeWidgetItem_insertChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_insertChild)},
    {SIP_MLNAME_CAST(sipName_insertChildren), meth_QTreeWidgetItem_insertChildren, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_insertChildren)},
    {SIP_MLNAME_CAST(sipName_isDisabled), meth_QTreeWidgetItem_isDisabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_isDisabled)},
    {SIP_MLNAME_CAST(sipName_isExpanded), meth_QTreeWidgetItem_isExpanded, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_isExpanded)},
    {SIP_MLNAME_CAST(sipName_isFirstColumnSpanned), meth_QTreeWidgetItem_isFirstColumnSpanned, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_isFirstColumnSpanned)},
    {SIP_MLNAME_CAST(sipName_isHidden), meth_QTreeWidgetItem_isHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_isHidden)},
    {SIP_MLNAME_CAST(sipName_isSelected), meth_QTreeWidgetItem_isSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_isSelected)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QTreeWidgetItem_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_parent)},
    {SIP_MLNAME_CAST(sipName_read), meth_QTreeWidgetItem_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_read)},
    {SIP_MLNAME_CAST(sipName_removeChild), meth_QTreeWidgetItem_removeChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_removeChild)},
    {SIP_MLNAME_CAST(sipName_setBackground), meth_QTreeWidgetItem_setBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setBackground)},
    {SIP_MLNAME_CAST(sipName_setCheckState), meth_QTreeWidgetItem_setCheckState, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setCheckState)},
    {SIP_MLNAME_CAST(sipName_setChildIndicatorPolicy), meth_QTreeWidgetItem_setChildIndicatorPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setChildIndicatorPolicy)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QTreeWidgetItem_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setData)},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_QTreeWidgetItem_setDisabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setDisabled)},
    {SIP_MLNAME_CAST(sipName_setExpanded), meth_QTreeWidgetItem_setExpanded, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setExpanded)},
    {SIP_MLNAME_CAST(sipName_setFirstColumnSpanned), meth_QTreeWidgetItem_setFirstColumnSpanned, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setFirstColumnSpanned)},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_QTreeWidgetItem_setFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setFlags)},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QTreeWidgetItem_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setFont)},
    {SIP_MLNAME_CAST(sipName_setForeground), meth_QTreeWidgetItem_setForeground, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setForeground)},
    {SIP_MLNAME_CAST(sipName_setHidden), meth_QTreeWidgetItem_setHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setHidden)},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_QTreeWidgetItem_setIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setIcon)},
    {SIP_MLNAME_CAST(sipName_setSelected), meth_QTreeWidgetItem_setSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setSelected)},
    {SIP_MLNAME_CAST(sipName_setSizeHint), meth_QTreeWidgetItem_setSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setSizeHint)},
    {SIP_MLNAME_CAST(sipName_setStatusTip), meth_QTreeWidgetItem_setStatusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setStatusTip)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QTreeWidgetItem_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setText)},
    {SIP_MLNAME_CAST(sipName_setTextAlignment), meth_QTreeWidgetItem_setTextAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setTextAlignment)},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_QTreeWidgetItem_setToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setToolTip)},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_QTreeWidgetItem_setWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_setWhatsThis)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QTreeWidgetItem_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_sizeHint)},
    {SIP_MLNAME_CAST(sipName_sortChildren), meth_QTreeWidgetItem_sortChildren, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_sortChildren)},
    {SIP_MLNAME_CAST(sipName_statusTip), meth_QTreeWidgetItem_statusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_statusTip)},
    {SIP_MLNAME_CAST(sipName_takeChild), meth_QTreeWidgetItem_takeChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_takeChild)},
    {SIP_MLNAME_CAST(sipName_takeChildren), meth_QTreeWidgetItem_takeChildren, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_takeChildren)},
    {SIP_MLNAME_CAST(sipName_text), meth_QTreeWidgetItem_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_text)},
    {SIP_MLNAME_CAST(sipName_textAlignment), meth_QTreeWidgetItem_textAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_textAlignment)},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_QTreeWidgetItem_toolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_toolTip)},
    {SIP_MLNAME_CAST(sipName_treeWidget), meth_QTreeWidgetItem_treeWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_treeWidget)},
    {SIP_MLNAME_CAST(sipName_type), meth_QTreeWidgetItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_type)},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_QTreeWidgetItem_whatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_whatsThis)},
    {SIP_MLNAME_CAST(sipName_write), meth_QTreeWidgetItem_write, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeWidgetItem_write)}
};

static sipEnumMemberDef enummembers_QTreeWidgetItem[] = {
    {sipName_DontShowIndicator, static_cast<int>(QTreeWidgetItem::DontShowIndicator), 443},
    {sipName_DontShowIndicatorWhenChildless, static_cast<int>(QTreeWidgetItem::DontShowIndicatorWhenChildless), 443},
    {sipName_ShowIndicator, static_cast<int>(QTreeWidgetItem::ShowIndicator), 443},
    {sipName_Type, static_cast<int>(QTreeWidgetItem::Type), 444},
    {sipName_UserType, static_cast<int>(QTreeWidgetItem::UserType), 444},
};

PyDoc_STRVAR(doc_QTreeWidgetItem, "\1QTreeWidgetItem(int type=QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(list-of-str, int type=QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidget, int type=QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidget, list-of-str, int type=QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidget, QTreeWidgetItem, int type=QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidgetItem, int type=QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidgetItem, list-of-str, int type=QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidgetItem, QTreeWidgetItem, int type=QTreeWidgetItem.Type)\n"
    "QTreeWidgetItem(QTreeWidgetItem)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTreeWidgetItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTreeWidgetItem,
        {0}
    },
    {
        sipNameNr_QTreeWidgetItem,
        {0, 0, 1},
        57, methods_QTreeWidgetItem,
        5, enummembers_QTreeWidgetItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTreeWidgetItem,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_QTreeWidgetItem,
    init_type_QTreeWidgetItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTreeWidgetItem,
    0,
    0,
    0,
    release_QTreeWidgetItem,
    cast_QTreeWidgetItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtreeview.sip"
#include <qtreeview.h>
#line 42920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 42924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 42927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 42930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 42933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 42951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 42954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 42957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 42960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 42963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 42972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 42975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 42978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 42981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 42984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 42990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 42993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 42996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 42999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 43002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 43005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 43026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 43029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 43032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 43035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 43041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 43050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 43053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 43056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 43059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 43062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 43068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 43077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 43080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 43083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 43086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 43089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 43092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 43095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 43098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 43101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 43119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 43122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 43125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 43128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 43131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 43134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 43140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 43143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 43146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 43149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 43152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 43155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 43158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 43161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 43164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 43167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 43170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 43173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 43176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 43179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTreeView : public QTreeView
{
public:
    sipQTreeView(QWidget*);
    virtual ~sipQTreeView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_columnResized(int,int,int);
    void sipProtect_columnCountChanged(int,int);
    void sipProtect_columnMoved();
    void sipProtect_reexpand();
    void sipProtect_rowsRemoved(const QModelIndex&,int,int);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_drawRow(bool,QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void sipProtectVirt_drawBranches(bool,QPainter*,const QRect&,const QModelIndex&) const;
    void sipProtect_drawTree(QPainter*,const QRegion&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_updateGeometries(bool);
    int sipProtectVirt_sizeHintForColumn(bool,int) const;
    int sipProtect_indexRowSizeHint(const QModelIndex&) const;
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    int sipProtect_rowHeight(const QModelIndex&) const;
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);
    QSize sipProtectVirt_viewportSizeHint(bool) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void resizeEvent(QResizeEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    bool event(QEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    int sizeHintForRow(int) const;
    QSize viewportSizeHint() const;
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    bool viewportEvent(QEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    bool isIndexHidden(const QModelIndex&) const;
    void horizontalScrollbarAction(int);
    int sizeHintForColumn(int) const;
    void updateGeometries();
    void keyPressEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void drawBranches(QPainter*,const QRect&,const QModelIndex&) const;
    void drawRow(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void mouseReleaseEvent(QMouseEvent*);
    void timerEvent(QTimerEvent*);
    void paintEvent(QPaintEvent*);
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    int verticalOffset() const;
    int horizontalOffset() const;
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void scrollContentsBy(int,int);
    void selectAll();
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void reset();
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void keyboardSearch(const QString&);
    void setSelectionModel(QItemSelectionModel*);
    void setRootIndex(const QModelIndex&);
    void setModel(QAbstractItemModel*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTreeView(const sipQTreeView &);
    sipQTreeView &operator = (const sipQTreeView &);

    char sipPyMethods[89];
};

sipQTreeView::sipQTreeView(QWidget*a0): QTreeView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTreeView::~sipQTreeView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTreeView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTreeView);
}

int sipQTreeView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTreeView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTreeView,_c,_id,_a);

    return _id;
}

void *sipQTreeView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTreeView, _clname, &sipCpp) ? sipCpp : QTreeView::qt_metacast(_clname));
}

void sipQTreeView::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTreeView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTreeView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTreeView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTreeView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QTreeView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQTreeView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QTreeView::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTreeView::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QTreeView::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTreeView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QTreeView::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTreeView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QTreeView::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QTreeView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QTreeView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QTreeView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QTreeView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QTreeView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QTreeView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QTreeView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QTreeView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QTreeView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQTreeView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QTreeView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTreeView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QTreeView::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QTreeView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTreeView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QTreeView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QTreeView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QTreeView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTreeView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTreeView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTreeView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QTreeView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QTreeView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTreeView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QTreeView::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQTreeView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QTreeView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QTreeView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTreeView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QTreeView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQTreeView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QTreeView::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QTreeView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QTreeView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QTreeView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QTreeView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QTreeView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QTreeView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTreeView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTreeView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQTreeView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QTreeView::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QTreeView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQTreeView::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QTreeView::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTreeView::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QTreeView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeView::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QTreeView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QTreeView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QTreeView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTreeView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QTreeView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QTreeView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QTreeView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QTreeView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QTreeView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTreeView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QTreeView::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTreeView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QTreeView::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeView::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QTreeView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTreeView::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QTreeView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTreeView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QTreeView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QTreeView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTreeView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return QTreeView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QTreeView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTreeView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QTreeView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QTreeView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QTreeView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QTreeView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QTreeView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QTreeView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::drawBranches(QPainter*a0,const QRect& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[65]),sipPySelf,NULL,sipName_drawBranches);

    if (!sipMeth)
    {
        QTreeView::drawBranches(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,const QModelIndex&);

    sipVH_QtWidgets_25(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeView::drawRow(QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[66]),sipPySelf,NULL,sipName_drawRow);

    if (!sipMeth)
    {
        QTreeView::drawRow(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QModelIndex&);

    sipVH_QtWidgets_26(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QTreeView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTreeView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QTreeView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndexList sipQTreeView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[70]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QTreeView::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQTreeView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QTreeView::visualRegionForSelection(a0);

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        QTreeView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

int sipQTreeView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[73]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return QTreeView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTreeView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[74]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return QTreeView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndex sipQTreeView::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return QTreeView::moveCursor(a0,a1);

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

void sipQTreeView::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QTreeView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeView::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QTreeView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QTreeView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTreeView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QTreeView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTreeView::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QTreeView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTreeView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QTreeView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndex sipQTreeView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[82]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return QTreeView::indexAt(a0);

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        QTreeView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QRect sipQTreeView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return QTreeView::visualRect(a0);

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QTreeView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QTreeView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QTreeView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTreeView::setModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
        QTreeView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtCore_40)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtCore_40)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[40]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQTreeView::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTreeView::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTreeView::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTreeView::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTreeView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTreeView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTreeView::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTreeView::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQTreeView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQTreeView::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQTreeView::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQTreeView::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQTreeView::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQTreeView::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQTreeView::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQTreeView::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQTreeView::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQTreeView::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQTreeView::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQTreeView::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQTreeView::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQTreeView::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQTreeView::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQTreeView::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQTreeView::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQTreeView::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQTreeView::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQTreeView::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQTreeView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQTreeView::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQTreeView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQTreeView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQTreeView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQTreeView::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQTreeView::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQTreeView::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQTreeView::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQTreeView::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQTreeView::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQTreeView::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQTreeView::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQTreeView::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QItemSelectionModel::SelectionFlags sipQTreeView::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

void sipQTreeView::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QAbstractItemView::startDrag(a0) : startDrag(a0));
}

QStyleOptionViewItem sipQTreeView::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::viewOptions() : viewOptions());
}

int sipQTreeView::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQTreeView::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQTreeView::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQTreeView::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQTreeView::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQTreeView::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQTreeView::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

bool sipQTreeView::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::event(a0) : event(a0));
}

void sipQTreeView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQTreeView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQTreeView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dropEvent(a0) : dropEvent(a0));
}

void sipQTreeView::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQTreeView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQTreeView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::resizeEvent(a0) : resizeEvent(a0));
}

int sipQTreeView::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQTreeView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQTreeView::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQTreeView::sipProtect_columnResized(int a0,int a1,int a2)
{
    QTreeView::columnResized(a0,a1,a2);
}

void sipQTreeView::sipProtect_columnCountChanged(int a0,int a1)
{
    QTreeView::columnCountChanged(a0,a1);
}

void sipQTreeView::sipProtect_columnMoved()
{
    QTreeView::columnMoved();
}

void sipQTreeView::sipProtect_reexpand()
{
    QTreeView::reexpand();
}

void sipQTreeView::sipProtect_rowsRemoved(const QModelIndex& a0,int a1,int a2)
{
    QTreeView::rowsRemoved(a0,a1,a2);
}

void sipQTreeView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QTreeView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

void sipQTreeView::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QTreeView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipQTreeView::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QTreeView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

QModelIndex sipQTreeView::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0,Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ? QTreeView::moveCursor((QAbstractItemView::CursorAction)a0,a1) : moveCursor((QAbstractItemView::CursorAction)a0,a1));
}

int sipQTreeView::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::horizontalOffset() : horizontalOffset());
}

int sipQTreeView::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::verticalOffset() : verticalOffset());
}

void sipQTreeView::sipProtectVirt_setSelection(bool sipSelfWasArg,const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ? QTreeView::setSelection(a0,a1) : setSelection(a0,a1));
}

QRegion sipQTreeView::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const QItemSelection& a0) const
{
    return (sipSelfWasArg ? QTreeView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

QModelIndexList sipQTreeView::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::selectedIndexes() : selectedIndexes());
}

void sipQTreeView::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QTreeView::paintEvent(a0) : paintEvent(a0));
}

void sipQTreeView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QTreeView::timerEvent(a0) : timerEvent(a0));
}

void sipQTreeView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTreeView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQTreeView::sipProtectVirt_drawRow(bool sipSelfWasArg,QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    (sipSelfWasArg ? QTreeView::drawRow(a0,a1,a2) : drawRow(a0,a1,a2));
}

void sipQTreeView::sipProtectVirt_drawBranches(bool sipSelfWasArg,QPainter*a0,const QRect& a1,const QModelIndex& a2) const
{
    (sipSelfWasArg ? QTreeView::drawBranches(a0,a1,a2) : drawBranches(a0,a1,a2));
}

void sipQTreeView::sipProtect_drawTree(QPainter*a0,const QRegion& a1) const
{
    QTreeView::drawTree(a0,a1);
}

void sipQTreeView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTreeView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQTreeView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTreeView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQTreeView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTreeView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQTreeView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QTreeView::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQTreeView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QTreeView::updateGeometries() : updateGeometries());
}

int sipQTreeView::sipProtectVirt_sizeHintForColumn(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QTreeView::sizeHintForColumn(a0) : sizeHintForColumn(a0));
}

int sipQTreeView::sipProtect_indexRowSizeHint(const QModelIndex& a0) const
{
    return QTreeView::indexRowSizeHint(a0);
}

void sipQTreeView::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTreeView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

bool sipQTreeView::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QTreeView::isIndexHidden(a0) : isIndexHidden(a0));
}

void sipQTreeView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QTreeView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

bool sipQTreeView::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QTreeView::viewportEvent(a0) : viewportEvent(a0));
}

int sipQTreeView::sipProtect_rowHeight(const QModelIndex& a0) const
{
    return QTreeView::rowHeight(a0);
}

void sipQTreeView::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QTreeView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQTreeView::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QTreeView::currentChanged(a0,a1) : currentChanged(a0,a1));
}

QSize sipQTreeView::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTreeView::viewportSizeHint() : viewportSizeHint());
}


PyDoc_STRVAR(doc_QTreeView_sender, "QTreeView.sender() -> QObject");

extern "C" {static PyObject *meth_QTreeView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 45508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_sender, doc_QTreeView_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_receivers, "QTreeView.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTreeView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 45567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_receivers, doc_QTreeView_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_childEvent, "QTreeView.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTreeView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_childEvent, doc_QTreeView_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_customEvent, "QTreeView.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTreeView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_customEvent, doc_QTreeView_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_connectNotify, "QTreeView.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTreeView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_connectNotify, doc_QTreeView_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_disconnectNotify, "QTreeView.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTreeView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_disconnectNotify, doc_QTreeView_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_senderSignalIndex, "QTreeView.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTreeView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_senderSignalIndex, doc_QTreeView_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_isSignalConnected, "QTreeView.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTreeView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_isSignalConnected, doc_QTreeView_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_keyReleaseEvent, "QTreeView.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTreeView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_keyReleaseEvent, doc_QTreeView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_enterEvent, "QTreeView.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QTreeView_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_enterEvent, doc_QTreeView_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_leaveEvent, "QTreeView.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QTreeView_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_leaveEvent, doc_QTreeView_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_moveEvent, "QTreeView.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QTreeView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_moveEvent, doc_QTreeView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_closeEvent, "QTreeView.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QTreeView_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_closeEvent, doc_QTreeView_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_tabletEvent, "QTreeView.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QTreeView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_tabletEvent, doc_QTreeView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_actionEvent, "QTreeView.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QTreeView_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_actionEvent, doc_QTreeView_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_showEvent, "QTreeView.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QTreeView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_showEvent, doc_QTreeView_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_hideEvent, "QTreeView.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QTreeView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_hideEvent, doc_QTreeView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_metric, "QTreeView.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QTreeView_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_metric, doc_QTreeView_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_updateMicroFocus, "QTreeView.updateMicroFocus()");

extern "C" {static PyObject *meth_QTreeView_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_updateMicroFocus, doc_QTreeView_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_create, "QTreeView.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QTreeView_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQTreeView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QTreeView, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_create, doc_QTreeView_create);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_destroy, "QTreeView.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QTreeView_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQTreeView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_destroy, doc_QTreeView_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_focusNextChild, "QTreeView.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QTreeView_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_focusNextChild, doc_QTreeView_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_focusPreviousChild, "QTreeView.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QTreeView_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_focusPreviousChild, doc_QTreeView_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_nativeEvent, "QTreeView.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QTreeView_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_nativeEvent, doc_QTreeView_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_sharedPainter, "QTreeView.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QTreeView_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_sharedPainter, doc_QTreeView_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_initPainter, "QTreeView.initPainter(QPainter)");

extern "C" {static PyObject *meth_QTreeView_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_initPainter, doc_QTreeView_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_changeEvent, "QTreeView.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QTreeView_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_changeEvent, doc_QTreeView_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_drawFrame, "QTreeView.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QTreeView_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_drawFrame, doc_QTreeView_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setViewportMargins, "QTreeView.setViewportMargins(int, int, int, int)\n"
    "QTreeView.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QTreeView_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QTreeView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setViewportMargins, doc_QTreeView_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_wheelEvent, "QTreeView.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QTreeView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_wheelEvent, doc_QTreeView_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_contextMenuEvent, "QTreeView.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QTreeView_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_contextMenuEvent, doc_QTreeView_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_eventFilter, "QTreeView.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QTreeView_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_eventFilter, doc_QTreeView_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_edit, "QTreeView.edit(QModelIndex)\n"
    "QTreeView.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QTreeView_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_edit, doc_QTreeView_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_updateEditorData, "QTreeView.updateEditorData()");

extern "C" {static PyObject *meth_QTreeView_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_updateEditorData, doc_QTreeView_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_updateEditorGeometries, "QTreeView.updateEditorGeometries()");

extern "C" {static PyObject *meth_QTreeView_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_updateEditorGeometries, doc_QTreeView_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_verticalScrollbarAction, "QTreeView.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QTreeView_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_verticalScrollbarAction, doc_QTreeView_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_verticalScrollbarValueChanged, "QTreeView.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QTreeView_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_verticalScrollbarValueChanged, doc_QTreeView_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_horizontalScrollbarValueChanged, "QTreeView.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QTreeView_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_horizontalScrollbarValueChanged, doc_QTreeView_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_closeEditor, "QTreeView.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QTreeView_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_closeEditor, doc_QTreeView_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_commitData, "QTreeView.commitData(QWidget)");

extern "C" {static PyObject *meth_QTreeView_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_commitData, doc_QTreeView_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_editorDestroyed, "QTreeView.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QTreeView_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_editorDestroyed, doc_QTreeView_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_selectionCommand, "QTreeView.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QTreeView_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQTreeView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_selectionCommand, doc_QTreeView_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_startDrag, "QTreeView.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QTreeView_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTreeView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QTreeView, sipName_startDrag, doc_QTreeView_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_viewOptions, "QTreeView.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QTreeView_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_viewOptions, doc_QTreeView_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_state, "QTreeView.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QTreeView_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_state, doc_QTreeView_state);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setState, "QTreeView.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QTreeView_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setState, doc_QTreeView_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_scheduleDelayedItemsLayout, "QTreeView.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QTreeView_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_scheduleDelayedItemsLayout, doc_QTreeView_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_executeDelayedItemsLayout, "QTreeView.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QTreeView_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_executeDelayedItemsLayout, doc_QTreeView_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_scrollDirtyRegion, "QTreeView.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QTreeView_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTreeView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_scrollDirtyRegion, doc_QTreeView_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setDirtyRegion, "QTreeView.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QTreeView_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setDirtyRegion, doc_QTreeView_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_dirtyRegionOffset, "QTreeView.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QTreeView_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_dirtyRegionOffset, doc_QTreeView_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_event, "QTreeView.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QTreeView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_event, doc_QTreeView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_dragEnterEvent, "QTreeView.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QTreeView_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_dragEnterEvent, doc_QTreeView_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_dragLeaveEvent, "QTreeView.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QTreeView_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_dragLeaveEvent, doc_QTreeView_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_dropEvent, "QTreeView.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QTreeView_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_dropEvent, doc_QTreeView_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_focusInEvent, "QTreeView.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTreeView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_focusInEvent, doc_QTreeView_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_focusOutEvent, "QTreeView.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTreeView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_focusOutEvent, doc_QTreeView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_resizeEvent, "QTreeView.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QTreeView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_resizeEvent, doc_QTreeView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_dropIndicatorPosition, "QTreeView.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QTreeView_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_dropIndicatorPosition, doc_QTreeView_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_focusNextPrevChild, "QTreeView.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QTreeView_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_focusNextPrevChild, doc_QTreeView_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_inputMethodEvent, "QTreeView.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QTreeView_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_inputMethodEvent, doc_QTreeView_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setModel, "QTreeView.setModel(QAbstractItemModel)");

extern "C" {static PyObject *meth_QTreeView_setModel(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        PyObject *a0Keep;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QTreeView, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QTreeView::setModel(a0) : sipCpp->setModel(a0));

            sipKeepReference(sipSelf, -51, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setModel, doc_QTreeView_setModel);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setRootIndex, "QTreeView.setRootIndex(QModelIndex)");

extern "C" {static PyObject *meth_QTreeView_setRootIndex(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setRootIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            (sipSelfWasArg ? sipCpp->QTreeView::setRootIndex(*a0) : sipCpp->setRootIndex(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setRootIndex, doc_QTreeView_setRootIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setSelectionModel, "QTreeView.setSelectionModel(QItemSelectionModel)");

extern "C" {static PyObject *meth_QTreeView_setSelectionModel(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setSelectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QItemSelectionModel* a0;
        PyObject *a0Keep;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QTreeView, &sipCpp, &a0Keep, sipType_QItemSelectionModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QTreeView::setSelectionModel(a0) : sipCpp->setSelectionModel(a0));

            sipKeepReference(sipSelf, -52, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setSelectionModel, doc_QTreeView_setSelectionModel);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_header, "QTreeView.header() -> QHeaderView");

extern "C" {static PyObject *meth_QTreeView_header(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_header(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            QHeaderView*sipRes;

            sipRes = sipCpp->header();

            return sipConvertFromType(sipRes,sipType_QHeaderView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_header, doc_QTreeView_header);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setHeader, "QTreeView.setHeader(QHeaderView)");

extern "C" {static PyObject *meth_QTreeView_setHeader(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QHeaderView* a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QHeaderView, &a0))
        {
            sipCpp->setHeader(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setHeader, doc_QTreeView_setHeader);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_indentation, "QTreeView.indentation() -> int");

extern "C" {static PyObject *meth_QTreeView_indentation(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_indentation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->indentation();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_indentation, doc_QTreeView_indentation);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setIndentation, "QTreeView.setIndentation(int)");

extern "C" {static PyObject *meth_QTreeView_setIndentation(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setIndentation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setIndentation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setIndentation, doc_QTreeView_setIndentation);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_rootIsDecorated, "QTreeView.rootIsDecorated() -> bool");

extern "C" {static PyObject *meth_QTreeView_rootIsDecorated(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_rootIsDecorated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->rootIsDecorated();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_rootIsDecorated, doc_QTreeView_rootIsDecorated);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setRootIsDecorated, "QTreeView.setRootIsDecorated(bool)");

extern "C" {static PyObject *meth_QTreeView_setRootIsDecorated(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setRootIsDecorated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setRootIsDecorated(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setRootIsDecorated, doc_QTreeView_setRootIsDecorated);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_uniformRowHeights, "QTreeView.uniformRowHeights() -> bool");

extern "C" {static PyObject *meth_QTreeView_uniformRowHeights(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_uniformRowHeights(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->uniformRowHeights();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_uniformRowHeights, doc_QTreeView_uniformRowHeights);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setUniformRowHeights, "QTreeView.setUniformRowHeights(bool)");

extern "C" {static PyObject *meth_QTreeView_setUniformRowHeights(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setUniformRowHeights(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setUniformRowHeights(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setUniformRowHeights, doc_QTreeView_setUniformRowHeights);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_itemsExpandable, "QTreeView.itemsExpandable() -> bool");

extern "C" {static PyObject *meth_QTreeView_itemsExpandable(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_itemsExpandable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->itemsExpandable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_itemsExpandable, doc_QTreeView_itemsExpandable);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setItemsExpandable, "QTreeView.setItemsExpandable(bool)");

extern "C" {static PyObject *meth_QTreeView_setItemsExpandable(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setItemsExpandable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setItemsExpandable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setItemsExpandable, doc_QTreeView_setItemsExpandable);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_columnViewportPosition, "QTreeView.columnViewportPosition(int) -> int");

extern "C" {static PyObject *meth_QTreeView_columnViewportPosition(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_columnViewportPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->columnViewportPosition(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_columnViewportPosition, doc_QTreeView_columnViewportPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_columnWidth, "QTreeView.columnWidth(int) -> int");

extern "C" {static PyObject *meth_QTreeView_columnWidth(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_columnWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->columnWidth(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_columnWidth, doc_QTreeView_columnWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_columnAt, "QTreeView.columnAt(int) -> int");

extern "C" {static PyObject *meth_QTreeView_columnAt(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_columnAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->columnAt(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_columnAt, doc_QTreeView_columnAt);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_isColumnHidden, "QTreeView.isColumnHidden(int) -> bool");

extern "C" {static PyObject *meth_QTreeView_isColumnHidden(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_isColumnHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isColumnHidden(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_isColumnHidden, doc_QTreeView_isColumnHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setColumnHidden, "QTreeView.setColumnHidden(int, bool)");

extern "C" {static PyObject *meth_QTreeView_setColumnHidden(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setColumnHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QTreeView, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnHidden(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setColumnHidden, doc_QTreeView_setColumnHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_isRowHidden, "QTreeView.isRowHidden(int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QTreeView_isRowHidden(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_isRowHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QModelIndex* a1;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QTreeView, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->isRowHidden(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_isRowHidden, doc_QTreeView_isRowHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setRowHidden, "QTreeView.setRowHidden(int, QModelIndex, bool)");

extern "C" {static PyObject *meth_QTreeView_setRowHidden(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setRowHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QModelIndex* a1;
        bool a2;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9b", &sipSelf, sipType_QTreeView, &sipCpp, &a0, sipType_QModelIndex, &a1, &a2))
        {
            sipCpp->setRowHidden(a0,*a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setRowHidden, doc_QTreeView_setRowHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_isExpanded, "QTreeView.isExpanded(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QTreeView_isExpanded(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_isExpanded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isExpanded(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_isExpanded, doc_QTreeView_isExpanded);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setExpanded, "QTreeView.setExpanded(QModelIndex, bool)");

extern "C" {static PyObject *meth_QTreeView_setExpanded(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setExpanded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        bool a1;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9b", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            sipCpp->setExpanded(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setExpanded, doc_QTreeView_setExpanded);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_keyboardSearch, "QTreeView.keyboardSearch(str)");

extern "C" {static PyObject *meth_QTreeView_keyboardSearch(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_keyboardSearch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QString,&a0, &a0State))
        {
            (sipSelfWasArg ? sipCpp->QTreeView::keyboardSearch(*a0) : sipCpp->keyboardSearch(*a0));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_keyboardSearch, doc_QTreeView_keyboardSearch);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_visualRect, "QTreeView.visualRect(QModelIndex) -> QRect");

extern "C" {static PyObject *meth_QTreeView_visualRect(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_visualRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QTreeView::visualRect(*a0) : sipCpp->visualRect(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_visualRect, doc_QTreeView_visualRect);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_scrollTo, "QTreeView.scrollTo(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible)");

extern "C" {static PyObject *meth_QTreeView_scrollTo(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_scrollTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QAbstractItemView::ScrollHint a1 = QAbstractItemView::EnsureVisible;
        QTreeView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            (sipSelfWasArg ? sipCpp->QTreeView::scrollTo(*a0,a1) : sipCpp->scrollTo(*a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_scrollTo, doc_QTreeView_scrollTo);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_indexAt, "QTreeView.indexAt(QPoint) -> QModelIndex");

extern "C" {static PyObject *meth_QTreeView_indexAt(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_indexAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QPoint, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QTreeView::indexAt(*a0) : sipCpp->indexAt(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_indexAt, doc_QTreeView_indexAt);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_indexAbove, "QTreeView.indexAbove(QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QTreeView_indexAbove(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_indexAbove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->indexAbove(*a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_indexAbove, doc_QTreeView_indexAbove);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_indexBelow, "QTreeView.indexBelow(QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QTreeView_indexBelow(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_indexBelow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->indexBelow(*a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_indexBelow, doc_QTreeView_indexBelow);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_reset, "QTreeView.reset()");

extern "C" {static PyObject *meth_QTreeView_reset(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QTreeView::reset() : sipCpp->reset());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_reset, doc_QTreeView_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_dataChanged, "QTreeView.dataChanged(QModelIndex, QModelIndex, list-of-int roles=[])");

extern "C" {static PyObject *meth_QTreeView_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const QVector<int>& a2def = QVector<int>();
        const QVector<int>* a2 = &a2def;
        int a2State = 0;
        QTreeView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_roles,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|J1", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            (sipSelfWasArg ? sipCpp->QTreeView::dataChanged(*a0,*a1,*a2) : sipCpp->dataChanged(*a0,*a1,*a2));
            sipReleaseType(const_cast<QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_dataChanged, doc_QTreeView_dataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_hideColumn, "QTreeView.hideColumn(int)");

extern "C" {static PyObject *meth_QTreeView_hideColumn(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_hideColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->hideColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_hideColumn, doc_QTreeView_hideColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_showColumn, "QTreeView.showColumn(int)");

extern "C" {static PyObject *meth_QTreeView_showColumn(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_showColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->showColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_showColumn, doc_QTreeView_showColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_expand, "QTreeView.expand(QModelIndex)");

extern "C" {static PyObject *meth_QTreeView_expand(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_expand(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->expand(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_expand, doc_QTreeView_expand);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_expandAll, "QTreeView.expandAll()");

extern "C" {static PyObject *meth_QTreeView_expandAll(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_expandAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->expandAll();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_expandAll, doc_QTreeView_expandAll);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_collapse, "QTreeView.collapse(QModelIndex)");

extern "C" {static PyObject *meth_QTreeView_collapse(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_collapse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->collapse(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_collapse, doc_QTreeView_collapse);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_collapseAll, "QTreeView.collapseAll()");

extern "C" {static PyObject *meth_QTreeView_collapseAll(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_collapseAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->collapseAll();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_collapseAll, doc_QTreeView_collapseAll);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_resizeColumnToContents, "QTreeView.resizeColumnToContents(int)");

extern "C" {static PyObject *meth_QTreeView_resizeColumnToContents(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_resizeColumnToContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->resizeColumnToContents(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_resizeColumnToContents, doc_QTreeView_resizeColumnToContents);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_selectAll, "QTreeView.selectAll()");

extern "C" {static PyObject *meth_QTreeView_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QTreeView::selectAll() : sipCpp->selectAll());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_selectAll, doc_QTreeView_selectAll);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_columnResized, "QTreeView.columnResized(int, int, int)");

extern "C" {static PyObject *meth_QTreeView_columnResized(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_columnResized(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTreeView, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_columnResized(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_columnResized, doc_QTreeView_columnResized);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_columnCountChanged, "QTreeView.columnCountChanged(int, int)");

extern "C" {static PyObject *meth_QTreeView_columnCountChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_columnCountChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTreeView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_columnCountChanged(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_columnCountChanged, doc_QTreeView_columnCountChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_columnMoved, "QTreeView.columnMoved()");

extern "C" {static PyObject *meth_QTreeView_columnMoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_columnMoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->sipProtect_columnMoved();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_columnMoved, doc_QTreeView_columnMoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_reexpand, "QTreeView.reexpand()");

extern "C" {static PyObject *meth_QTreeView_reexpand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_reexpand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->sipProtect_reexpand();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_reexpand, doc_QTreeView_reexpand);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_rowsRemoved, "QTreeView.rowsRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTreeView_rowsRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_rowsRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_rowsRemoved(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_rowsRemoved, doc_QTreeView_rowsRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_scrollContentsBy, "QTreeView.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QTreeView_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTreeView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_scrollContentsBy, doc_QTreeView_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_rowsInserted, "QTreeView.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTreeView_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_rowsInserted, doc_QTreeView_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_rowsAboutToBeRemoved, "QTreeView.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTreeView_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_rowsAboutToBeRemoved, doc_QTreeView_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_moveCursor, "QTreeView.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QTreeView_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_moveCursor, doc_QTreeView_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_horizontalOffset, "QTreeView.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QTreeView_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_horizontalOffset, doc_QTreeView_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_verticalOffset, "QTreeView.verticalOffset() -> int");

extern "C" {static PyObject *meth_QTreeView_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_verticalOffset, doc_QTreeView_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setSelection, "QTreeView.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QTreeView_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setSelection, doc_QTreeView_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_visualRegionForSelection, "QTreeView.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QTreeView_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_visualRegionForSelection, doc_QTreeView_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_selectedIndexes, "QTreeView.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QTreeView_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_selectedIndexes, doc_QTreeView_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_paintEvent, "QTreeView.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QTreeView_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_paintEvent, doc_QTreeView_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_timerEvent, "QTreeView.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTreeView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_timerEvent, doc_QTreeView_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_mouseReleaseEvent, "QTreeView.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTreeView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_mouseReleaseEvent, doc_QTreeView_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_drawRow, "QTreeView.drawRow(QPainter, QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QTreeView_drawRow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_drawRow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            sipCpp->sipProtectVirt_drawRow(sipSelfWasArg,a0,*a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_drawRow, doc_QTreeView_drawRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_drawBranches, "QTreeView.drawBranches(QPainter, QRect, QModelIndex)");

extern "C" {static PyObject *meth_QTreeView_drawBranches(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_drawBranches(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRect* a1;
        const QModelIndex* a2;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QModelIndex, &a2))
        {
            sipCpp->sipProtectVirt_drawBranches(sipSelfWasArg,a0,*a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_drawBranches, doc_QTreeView_drawBranches);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_drawTree, "QTreeView.drawTree(QPainter, QRegion)");

extern "C" {static PyObject *meth_QTreeView_drawTree(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_drawTree(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        const QRegion* a1;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QPainter, &a0, sipType_QRegion, &a1))
        {
            sipCpp->sipProtect_drawTree(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_drawTree, doc_QTreeView_drawTree);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_mousePressEvent, "QTreeView.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTreeView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_mousePressEvent, doc_QTreeView_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_mouseMoveEvent, "QTreeView.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTreeView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_mouseMoveEvent, doc_QTreeView_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_mouseDoubleClickEvent, "QTreeView.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTreeView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_mouseDoubleClickEvent, doc_QTreeView_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_keyPressEvent, "QTreeView.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTreeView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_keyPressEvent, doc_QTreeView_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_updateGeometries, "QTreeView.updateGeometries()");

extern "C" {static PyObject *meth_QTreeView_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_updateGeometries, doc_QTreeView_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_sizeHintForColumn, "QTreeView.sizeHintForColumn(int) -> int");

extern "C" {static PyObject *meth_QTreeView_sizeHintForColumn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_sizeHintForColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_sizeHintForColumn(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_sizeHintForColumn, doc_QTreeView_sizeHintForColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_indexRowSizeHint, "QTreeView.indexRowSizeHint(QModelIndex) -> int");

extern "C" {static PyObject *meth_QTreeView_indexRowSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_indexRowSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_indexRowSizeHint(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_indexRowSizeHint, doc_QTreeView_indexRowSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_horizontalScrollbarAction, "QTreeView.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QTreeView_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_horizontalScrollbarAction, doc_QTreeView_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_isIndexHidden, "QTreeView.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QTreeView_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_isIndexHidden, doc_QTreeView_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setColumnWidth, "QTreeView.setColumnWidth(int, int)");

extern "C" {static PyObject *meth_QTreeView_setColumnWidth(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setColumnWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTreeView, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnWidth(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setColumnWidth, doc_QTreeView_setColumnWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setSortingEnabled, "QTreeView.setSortingEnabled(bool)");

extern "C" {static PyObject *meth_QTreeView_setSortingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setSortingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setSortingEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setSortingEnabled, doc_QTreeView_setSortingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_isSortingEnabled, "QTreeView.isSortingEnabled() -> bool");

extern "C" {static PyObject *meth_QTreeView_isSortingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_isSortingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSortingEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_isSortingEnabled, doc_QTreeView_isSortingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setAnimated, "QTreeView.setAnimated(bool)");

extern "C" {static PyObject *meth_QTreeView_setAnimated(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setAnimated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setAnimated(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setAnimated, doc_QTreeView_setAnimated);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_isAnimated, "QTreeView.isAnimated() -> bool");

extern "C" {static PyObject *meth_QTreeView_isAnimated(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_isAnimated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAnimated();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_isAnimated, doc_QTreeView_isAnimated);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setAllColumnsShowFocus, "QTreeView.setAllColumnsShowFocus(bool)");

extern "C" {static PyObject *meth_QTreeView_setAllColumnsShowFocus(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setAllColumnsShowFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setAllColumnsShowFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setAllColumnsShowFocus, doc_QTreeView_setAllColumnsShowFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_allColumnsShowFocus, "QTreeView.allColumnsShowFocus() -> bool");

extern "C" {static PyObject *meth_QTreeView_allColumnsShowFocus(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_allColumnsShowFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->allColumnsShowFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_allColumnsShowFocus, doc_QTreeView_allColumnsShowFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_sortByColumn, "QTreeView.sortByColumn(int, Qt.SortOrder)");

extern "C" {static PyObject *meth_QTreeView_sortByColumn(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_sortByColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::SortOrder a1;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QTreeView, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            sipCpp->sortByColumn(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_sortByColumn, doc_QTreeView_sortByColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_autoExpandDelay, "QTreeView.autoExpandDelay() -> int");

extern "C" {static PyObject *meth_QTreeView_autoExpandDelay(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_autoExpandDelay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->autoExpandDelay();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_autoExpandDelay, doc_QTreeView_autoExpandDelay);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setAutoExpandDelay, "QTreeView.setAutoExpandDelay(int)");

extern "C" {static PyObject *meth_QTreeView_setAutoExpandDelay(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setAutoExpandDelay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setAutoExpandDelay(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setAutoExpandDelay, doc_QTreeView_setAutoExpandDelay);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_isFirstColumnSpanned, "QTreeView.isFirstColumnSpanned(int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QTreeView_isFirstColumnSpanned(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_isFirstColumnSpanned(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QModelIndex* a1;
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QTreeView, &sipCpp, &a0, sipType_QModelIndex, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->isFirstColumnSpanned(a0,*a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_isFirstColumnSpanned, doc_QTreeView_isFirstColumnSpanned);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setFirstColumnSpanned, "QTreeView.setFirstColumnSpanned(int, QModelIndex, bool)");

extern "C" {static PyObject *meth_QTreeView_setFirstColumnSpanned(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setFirstColumnSpanned(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QModelIndex* a1;
        bool a2;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9b", &sipSelf, sipType_QTreeView, &sipCpp, &a0, sipType_QModelIndex, &a1, &a2))
        {
            sipCpp->setFirstColumnSpanned(a0,*a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setFirstColumnSpanned, doc_QTreeView_setFirstColumnSpanned);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setWordWrap, "QTreeView.setWordWrap(bool)");

extern "C" {static PyObject *meth_QTreeView_setWordWrap(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setWordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setWordWrap(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setWordWrap, doc_QTreeView_setWordWrap);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_wordWrap, "QTreeView.wordWrap() -> bool");

extern "C" {static PyObject *meth_QTreeView_wordWrap(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_wordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->wordWrap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_wordWrap, doc_QTreeView_wordWrap);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_expandToDepth, "QTreeView.expandToDepth(int)");

extern "C" {static PyObject *meth_QTreeView_expandToDepth(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_expandToDepth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->expandToDepth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_expandToDepth, doc_QTreeView_expandToDepth);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_dragMoveEvent, "QTreeView.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QTreeView_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_dragMoveEvent, doc_QTreeView_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_viewportEvent, "QTreeView.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QTreeView_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_viewportEvent, doc_QTreeView_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_rowHeight, "QTreeView.rowHeight(QModelIndex) -> int");

extern "C" {static PyObject *meth_QTreeView_rowHeight(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_rowHeight(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_rowHeight(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_rowHeight, doc_QTreeView_rowHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_selectionChanged, "QTreeView.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QTreeView_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_selectionChanged, doc_QTreeView_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_currentChanged, "QTreeView.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QTreeView_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QTreeView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_currentChanged, doc_QTreeView_currentChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_expandsOnDoubleClick, "QTreeView.expandsOnDoubleClick() -> bool");

extern "C" {static PyObject *meth_QTreeView_expandsOnDoubleClick(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_expandsOnDoubleClick(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->expandsOnDoubleClick();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_expandsOnDoubleClick, doc_QTreeView_expandsOnDoubleClick);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setExpandsOnDoubleClick, "QTreeView.setExpandsOnDoubleClick(bool)");

extern "C" {static PyObject *meth_QTreeView_setExpandsOnDoubleClick(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setExpandsOnDoubleClick(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setExpandsOnDoubleClick(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setExpandsOnDoubleClick, doc_QTreeView_setExpandsOnDoubleClick);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_isHeaderHidden, "QTreeView.isHeaderHidden() -> bool");

extern "C" {static PyObject *meth_QTreeView_isHeaderHidden(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_isHeaderHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isHeaderHidden();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_isHeaderHidden, doc_QTreeView_isHeaderHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setHeaderHidden, "QTreeView.setHeaderHidden(bool)");

extern "C" {static PyObject *meth_QTreeView_setHeaderHidden(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setHeaderHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setHeaderHidden(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setHeaderHidden, doc_QTreeView_setHeaderHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_setTreePosition, "QTreeView.setTreePosition(int)");

extern "C" {static PyObject *meth_QTreeView_setTreePosition(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_setTreePosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTreeView, &sipCpp, &a0))
        {
            sipCpp->setTreePosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_setTreePosition, doc_QTreeView_setTreePosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_treePosition, "QTreeView.treePosition() -> int");

extern "C" {static PyObject *meth_QTreeView_treePosition(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_treePosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->treePosition();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_treePosition, doc_QTreeView_treePosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_viewportSizeHint, "QTreeView.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QTreeView_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTreeView_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTreeView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_viewportSizeHint, doc_QTreeView_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTreeView_resetIndentation, "QTreeView.resetIndentation()");

extern "C" {static PyObject *meth_QTreeView_resetIndentation(PyObject *, PyObject *);}
static PyObject *meth_QTreeView_resetIndentation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTreeView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTreeView, &sipCpp))
        {
            sipCpp->resetIndentation();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTreeView, sipName_resetIndentation, doc_QTreeView_resetIndentation);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTreeView(void *, const sipTypeDef *);}
static void *cast_QTreeView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTreeView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemView)->ctd_cast((QAbstractItemView *)(QTreeView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTreeView(void *, int);}
static void release_QTreeView(void *sipCppV,int)
{
    QTreeView *sipCpp = reinterpret_cast<QTreeView *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTreeView(sipSimpleWrapper *);}
static void dealloc_QTreeView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTreeView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTreeView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTreeView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTreeView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTreeView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQTreeView(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTreeView[] = {{4, 255, 1}};


static PyMethodDef methods_QTreeView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QTreeView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_allColumnsShowFocus), meth_QTreeView_allColumnsShowFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_allColumnsShowFocus)},
    {SIP_MLNAME_CAST(sipName_autoExpandDelay), meth_QTreeView_autoExpandDelay, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_autoExpandDelay)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QTreeView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTreeView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QTreeView_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QTreeView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_collapse), meth_QTreeView_collapse, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_collapse)},
    {SIP_MLNAME_CAST(sipName_collapseAll), meth_QTreeView_collapseAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_collapseAll)},
    {SIP_MLNAME_CAST(sipName_columnAt), meth_QTreeView_columnAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_columnAt)},
    {SIP_MLNAME_CAST(sipName_columnCountChanged), (PyCFunction)meth_QTreeView_columnCountChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_columnCountChanged)},
    {SIP_MLNAME_CAST(sipName_columnMoved), (PyCFunction)meth_QTreeView_columnMoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_columnMoved)},
    {SIP_MLNAME_CAST(sipName_columnResized), (PyCFunction)meth_QTreeView_columnResized, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_columnResized)},
    {SIP_MLNAME_CAST(sipName_columnViewportPosition), meth_QTreeView_columnViewportPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_columnViewportPosition)},
    {SIP_MLNAME_CAST(sipName_columnWidth), meth_QTreeView_columnWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_columnWidth)},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QTreeView_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTreeView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QTreeView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QTreeView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QTreeView_currentChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_currentChanged)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTreeView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_QTreeView_dataChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_dataChanged)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QTreeView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QTreeView_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTreeView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QTreeView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QTreeView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QTreeView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_drawBranches), (PyCFunction)meth_QTreeView_drawBranches, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_drawBranches)},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QTreeView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawRow), (PyCFunction)meth_QTreeView_drawRow, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_drawRow)},
    {SIP_MLNAME_CAST(sipName_drawTree), (PyCFunction)meth_QTreeView_drawTree, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_drawTree)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QTreeView_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QTreeView_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QTreeView_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QTreeView_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QTreeView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QTreeView_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QTreeView_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QTreeView_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_expand), meth_QTreeView_expand, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_expand)},
    {SIP_MLNAME_CAST(sipName_expandAll), meth_QTreeView_expandAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_expandAll)},
    {SIP_MLNAME_CAST(sipName_expandToDepth), meth_QTreeView_expandToDepth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_expandToDepth)},
    {SIP_MLNAME_CAST(sipName_expandsOnDoubleClick), meth_QTreeView_expandsOnDoubleClick, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_expandsOnDoubleClick)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QTreeView_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QTreeView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QTreeView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QTreeView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QTreeView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_header), meth_QTreeView_header, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_header)},
    {SIP_MLNAME_CAST(sipName_hideColumn), meth_QTreeView_hideColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_hideColumn)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QTreeView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QTreeView_horizontalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_horizontalOffset)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QTreeView_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_horizontalScrollbarAction)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QTreeView_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indentation), meth_QTreeView_indentation, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_indentation)},
    {SIP_MLNAME_CAST(sipName_indexAbove), meth_QTreeView_indexAbove, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_indexAbove)},
    {SIP_MLNAME_CAST(sipName_indexAt), meth_QTreeView_indexAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_indexAt)},
    {SIP_MLNAME_CAST(sipName_indexBelow), meth_QTreeView_indexBelow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_indexBelow)},
    {SIP_MLNAME_CAST(sipName_indexRowSizeHint), (PyCFunction)meth_QTreeView_indexRowSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_indexRowSizeHint)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QTreeView_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QTreeView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isAnimated), meth_QTreeView_isAnimated, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_isAnimated)},
    {SIP_MLNAME_CAST(sipName_isColumnHidden), meth_QTreeView_isColumnHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_isColumnHidden)},
    {SIP_MLNAME_CAST(sipName_isExpanded), meth_QTreeView_isExpanded, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_isExpanded)},
    {SIP_MLNAME_CAST(sipName_isFirstColumnSpanned), meth_QTreeView_isFirstColumnSpanned, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_isFirstColumnSpanned)},
    {SIP_MLNAME_CAST(sipName_isHeaderHidden), meth_QTreeView_isHeaderHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_isHeaderHidden)},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QTreeView_isIndexHidden, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_isIndexHidden)},
    {SIP_MLNAME_CAST(sipName_isRowHidden), meth_QTreeView_isRowHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_isRowHidden)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTreeView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortingEnabled), meth_QTreeView_isSortingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_isSortingEnabled)},
    {SIP_MLNAME_CAST(sipName_itemsExpandable), meth_QTreeView_itemsExpandable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_itemsExpandable)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QTreeView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QTreeView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyboardSearch), meth_QTreeView_keyboardSearch, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_keyboardSearch)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QTreeView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QTreeView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QTreeView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QTreeView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QTreeView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QTreeView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QTreeView_moveCursor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_moveCursor)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QTreeView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QTreeView_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QTreeView_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTreeView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reexpand), (PyCFunction)meth_QTreeView_reexpand, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_reexpand)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QTreeView_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_reset)},
    {SIP_MLNAME_CAST(sipName_resetIndentation), meth_QTreeView_resetIndentation, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_resetIndentation)},
    {SIP_MLNAME_CAST(sipName_resizeColumnToContents), meth_QTreeView_resizeColumnToContents, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_resizeColumnToContents)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QTreeView_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rootIsDecorated), meth_QTreeView_rootIsDecorated, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_rootIsDecorated)},
    {SIP_MLNAME_CAST(sipName_rowHeight), (PyCFunction)meth_QTreeView_rowHeight, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_rowHeight)},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QTreeView_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_rowsAboutToBeRemoved)},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QTreeView_rowsInserted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_rowsInserted)},
    {SIP_MLNAME_CAST(sipName_rowsRemoved), (PyCFunction)meth_QTreeView_rowsRemoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_rowsRemoved)},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QTreeView_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QTreeView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QTreeView_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollTo), (PyCFunction)meth_QTreeView_scrollTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_scrollTo)},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_QTreeView_selectAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_selectAll)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QTreeView_selectedIndexes, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_selectedIndexes)},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QTreeView_selectionChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_selectionChanged)},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QTreeView_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTreeView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTreeView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllColumnsShowFocus), meth_QTreeView_setAllColumnsShowFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setAllColumnsShowFocus)},
    {SIP_MLNAME_CAST(sipName_setAnimated), meth_QTreeView_setAnimated, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setAnimated)},
    {SIP_MLNAME_CAST(sipName_setAutoExpandDelay), meth_QTreeView_setAutoExpandDelay, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setAutoExpandDelay)},
    {SIP_MLNAME_CAST(sipName_setColumnHidden), meth_QTreeView_setColumnHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setColumnHidden)},
    {SIP_MLNAME_CAST(sipName_setColumnWidth), meth_QTreeView_setColumnWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setColumnWidth)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QTreeView_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setExpanded), meth_QTreeView_setExpanded, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setExpanded)},
    {SIP_MLNAME_CAST(sipName_setExpandsOnDoubleClick), meth_QTreeView_setExpandsOnDoubleClick, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setExpandsOnDoubleClick)},
    {SIP_MLNAME_CAST(sipName_setFirstColumnSpanned), meth_QTreeView_setFirstColumnSpanned, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setFirstColumnSpanned)},
    {SIP_MLNAME_CAST(sipName_setHeader), meth_QTreeView_setHeader, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setHeader)},
    {SIP_MLNAME_CAST(sipName_setHeaderHidden), meth_QTreeView_setHeaderHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setHeaderHidden)},
    {SIP_MLNAME_CAST(sipName_setIndentation), meth_QTreeView_setIndentation, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setIndentation)},
    {SIP_MLNAME_CAST(sipName_setItemsExpandable), meth_QTreeView_setItemsExpandable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setItemsExpandable)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QTreeView_setModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setModel)},
    {SIP_MLNAME_CAST(sipName_setRootIndex), meth_QTreeView_setRootIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setRootIndex)},
    {SIP_MLNAME_CAST(sipName_setRootIsDecorated), meth_QTreeView_setRootIsDecorated, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setRootIsDecorated)},
    {SIP_MLNAME_CAST(sipName_setRowHidden), meth_QTreeView_setRowHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setRowHidden)},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QTreeView_setSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_setSelection)},
    {SIP_MLNAME_CAST(sipName_setSelectionModel), meth_QTreeView_setSelectionModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setSelectionModel)},
    {SIP_MLNAME_CAST(sipName_setSortingEnabled), meth_QTreeView_setSortingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setSortingEnabled)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QTreeView_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setTreePosition), meth_QTreeView_setTreePosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setTreePosition)},
    {SIP_MLNAME_CAST(sipName_setUniformRowHeights), meth_QTreeView_setUniformRowHeights, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setUniformRowHeights)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QTreeView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setWordWrap), meth_QTreeView_setWordWrap, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_setWordWrap)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QTreeView_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showColumn), meth_QTreeView_showColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_showColumn)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QTreeView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHintForColumn), (PyCFunction)meth_QTreeView_sizeHintForColumn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_sizeHintForColumn)},
    {SIP_MLNAME_CAST(sipName_sortByColumn), meth_QTreeView_sortByColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_sortByColumn)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QTreeView_startDrag, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QTreeView_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QTreeView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTreeView_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_timerEvent)},
    {SIP_MLNAME_CAST(sipName_treePosition), meth_QTreeView_treePosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_treePosition)},
    {SIP_MLNAME_CAST(sipName_uniformRowHeights), meth_QTreeView_uniformRowHeights, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_uniformRowHeights)},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QTreeView_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QTreeView_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QTreeView_updateGeometries, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_updateGeometries)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QTreeView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QTreeView_verticalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_verticalOffset)},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QTreeView_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QTreeView_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QTreeView_viewOptions, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QTreeView_viewportEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_viewportEvent)},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QTreeView_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_viewportSizeHint)},
    {SIP_MLNAME_CAST(sipName_visualRect), meth_QTreeView_visualRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_visualRect)},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QTreeView_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTreeView_visualRegionForSelection)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTreeView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wordWrap), meth_QTreeView_wordWrap, METH_VARARGS, SIP_MLDOC_CAST(doc_QTreeView_wordWrap)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTreeView[] = {
    {"collapsed(QModelIndex)", "\1QTreeView.collapsed[QModelIndex]", 0, 0},
    {"expanded(QModelIndex)", "\1QTreeView.expanded[QModelIndex]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QTreeView, "\1QTreeView(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTreeView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTreeView,
        {0}
    },
    {
        sipNameNr_QTreeView,
        {0, 0, 1},
        156, methods_QTreeView,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTreeView,
    -1,
    -1,
    supers_QTreeView,
    0,
    init_type_QTreeView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTreeView,
    0,
    0,
    0,
    release_QTreeView,
    cast_QTreeView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTreeView::staticMetaObject,
    0,
    signals_QTreeView,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtooltip.sip"
#include <qtooltip.h>
#line 50260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 50264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 50267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 50270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 50273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 50276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 50279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QToolTip_showText, "QToolTip.showText(QPoint, str, QWidget widget=None)\n"
    "QToolTip.showText(QPoint, str, QWidget, QRect)\n"
    "QToolTip.showText(QPoint, str, QWidget, QRect, int)");

extern "C" {static PyObject *meth_QToolTip_showText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolTip_showText(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9J1|J8", sipType_QPoint, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2))
        {
            QToolTip::showText(*a0,*a1,a2);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QPoint* a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2;
        const QRect* a3;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J9J1J8J9", sipType_QPoint, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QRect, &a3))
        {
            QToolTip::showText(*a0,*a1,a2,*a3);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QPoint* a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2;
        const QRect* a3;
        int a4;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "J9J1J8J9i", sipType_QPoint, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipType_QRect, &a3, &a4))
        {
            QToolTip::showText(*a0,*a1,a2,*a3,a4);
            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_QToolTip, sipName_showText, doc_QToolTip_showText);

    return NULL;
}


PyDoc_STRVAR(doc_QToolTip_palette, "QToolTip.palette() -> QPalette");

extern "C" {static PyObject *meth_QToolTip_palette(PyObject *, PyObject *);}
static PyObject *meth_QToolTip_palette(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QPalette*sipRes;

            sipRes = new QPalette(QToolTip::palette());

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolTip, sipName_palette, doc_QToolTip_palette);

    return NULL;
}


PyDoc_STRVAR(doc_QToolTip_hideText, "QToolTip.hideText()");

extern "C" {static PyObject *meth_QToolTip_hideText(PyObject *, PyObject *);}
static PyObject *meth_QToolTip_hideText(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QToolTip::hideText();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolTip, sipName_hideText, doc_QToolTip_hideText);

    return NULL;
}


PyDoc_STRVAR(doc_QToolTip_setPalette, "QToolTip.setPalette(QPalette)");

extern "C" {static PyObject *meth_QToolTip_setPalette(PyObject *, PyObject *);}
static PyObject *meth_QToolTip_setPalette(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPalette* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QPalette, &a0))
        {
            QToolTip::setPalette(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolTip, sipName_setPalette, doc_QToolTip_setPalette);

    return NULL;
}


PyDoc_STRVAR(doc_QToolTip_font, "QToolTip.font() -> QFont");

extern "C" {static PyObject *meth_QToolTip_font(PyObject *, PyObject *);}
static PyObject *meth_QToolTip_font(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QFont*sipRes;

            sipRes = new QFont(QToolTip::font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolTip, sipName_font, doc_QToolTip_font);

    return NULL;
}


PyDoc_STRVAR(doc_QToolTip_setFont, "QToolTip.setFont(QFont)");

extern "C" {static PyObject *meth_QToolTip_setFont(PyObject *, PyObject *);}
static PyObject *meth_QToolTip_setFont(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QFont, &a0))
        {
            QToolTip::setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolTip, sipName_setFont, doc_QToolTip_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QToolTip_isVisible, "QToolTip.isVisible() -> bool");

extern "C" {static PyObject *meth_QToolTip_isVisible(PyObject *, PyObject *);}
static PyObject *meth_QToolTip_isVisible(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes = QToolTip::isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolTip, sipName_isVisible, doc_QToolTip_isVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QToolTip_text, "QToolTip.text() -> str");

extern "C" {static PyObject *meth_QToolTip_text(PyObject *, PyObject *);}
static PyObject *meth_QToolTip_text(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QString*sipRes;

            sipRes = new QString(QToolTip::text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolTip, sipName_text, doc_QToolTip_text);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QToolTip(void *, const sipTypeDef *);}
static void *cast_QToolTip(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QToolTip)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QToolTip(void *, int);}
static void release_QToolTip(void *sipCppV,int)
{
    delete reinterpret_cast<QToolTip *>(sipCppV);
}


extern "C" {static void dealloc_QToolTip(sipSimpleWrapper *);}
static void dealloc_QToolTip(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QToolTip(sipGetAddress(sipSelf),0);
    }
}


static PyMethodDef methods_QToolTip[] = {
    {SIP_MLNAME_CAST(sipName_font), meth_QToolTip_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolTip_font)},
    {SIP_MLNAME_CAST(sipName_hideText), meth_QToolTip_hideText, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolTip_hideText)},
    {SIP_MLNAME_CAST(sipName_isVisible), meth_QToolTip_isVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolTip_isVisible)},
    {SIP_MLNAME_CAST(sipName_palette), meth_QToolTip_palette, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolTip_palette)},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QToolTip_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolTip_setFont)},
    {SIP_MLNAME_CAST(sipName_setPalette), meth_QToolTip_setPalette, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolTip_setPalette)},
    {SIP_MLNAME_CAST(sipName_showText), (PyCFunction)meth_QToolTip_showText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolTip_showText)},
    {SIP_MLNAME_CAST(sipName_text), meth_QToolTip_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolTip_text)}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QToolTip = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QToolTip,
        {0}
    },
    {
        sipNameNr_QToolTip,
        {0, 0, 1},
        8, methods_QToolTip,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QToolTip,
    0,
    0,
    0,
    release_QToolTip,
    cast_QToolTip,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtoolbutton.sip"
#include <qtoolbutton.h>
#line 50628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 50632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 50635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 50653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 50656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 50662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 50665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 50674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 50677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 50680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 50683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 50686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 50689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 50692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 50698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 50701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 50707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 50713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 50716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 50719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 50722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 50725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 50728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 50731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 50734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 50737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 50740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 50743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 50782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 50785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 50791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 50794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 50800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 50803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 50806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 50809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 50812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 50818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 50824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 50827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 50830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 50833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 50836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 50839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQToolButton : public QToolButton
{
public:
    sipQToolButton(QWidget*);
    virtual ~sipQToolButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_checkStateSet(bool);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtect_initStyleOption(QStyleOptionToolButton*) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_nextCheckState(bool);
    bool sipProtectVirt_hitButton(bool,const QPoint&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void checkStateSet();
    bool hitButton(const QPoint&) const;
    void nextCheckState();
    void mouseReleaseEvent(QMouseEvent*);
    void changeEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void actionEvent(QActionEvent*);
    void paintEvent(QPaintEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQToolButton(const sipQToolButton &);
    sipQToolButton &operator = (const sipQToolButton &);

    char sipPyMethods[49];
};

sipQToolButton::sipQToolButton(QWidget*a0): QToolButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQToolButton::~sipQToolButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQToolButton::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QToolButton);
}

int sipQToolButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QToolButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QToolButton,_c,_id,_a);

    return _id;
}

void *sipQToolButton::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QToolButton, _clname, &sipCpp) ? sipCpp : QToolButton::qt_metacast(_clname));
}

void sipQToolButton::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QToolButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QToolButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QToolButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QToolButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQToolButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QToolButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQToolButton::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QToolButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQToolButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QToolButton::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQToolButton::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QToolButton::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQToolButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QToolButton::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQToolButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QToolButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQToolButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QToolButton::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QToolButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQToolButton::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QToolButton::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QToolButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QToolButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QToolButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QToolButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QToolButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QToolButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QToolButton::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QToolButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QToolButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QToolButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QToolButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QToolButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QToolButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQToolButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QToolButton::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQToolButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QToolButton::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QToolButton::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQToolButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QToolButton::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQToolButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QToolButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QToolButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QToolButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QToolButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QToolButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        QToolButton::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQToolButton::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return QToolButton::hitButton(a0);

    extern bool sipVH_QtWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_36(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        QToolButton::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQToolButton::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QToolButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QToolButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QToolButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QToolButton::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QToolButton::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QToolButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QToolButton::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolButton::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QToolButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQToolButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QToolButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQToolButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QToolButton::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQToolButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QToolButton::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQToolButton::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQToolButton::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQToolButton::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQToolButton::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQToolButton::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQToolButton::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQToolButton::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQToolButton::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQToolButton::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQToolButton::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQToolButton::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQToolButton::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQToolButton::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQToolButton::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQToolButton::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQToolButton::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQToolButton::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQToolButton::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQToolButton::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQToolButton::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQToolButton::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQToolButton::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQToolButton::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQToolButton::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQToolButton::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQToolButton::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQToolButton::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQToolButton::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQToolButton::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQToolButton::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQToolButton::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQToolButton::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQToolButton::sipProtectVirt_checkStateSet(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractButton::checkStateSet() : checkStateSet());
}

void sipQToolButton::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQToolButton::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQToolButton::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQToolButton::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::focusInEvent(a0) : focusInEvent(a0));
}

void sipQToolButton::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQToolButton::sipProtect_initStyleOption(QStyleOptionToolButton*a0) const
{
    QToolButton::initStyleOption(a0);
}

bool sipQToolButton::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QToolButton::event(a0) : event(a0));
}

void sipQToolButton::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QToolButton::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQToolButton::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QToolButton::paintEvent(a0) : paintEvent(a0));
}

void sipQToolButton::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QToolButton::actionEvent(a0) : actionEvent(a0));
}

void sipQToolButton::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QToolButton::enterEvent(a0) : enterEvent(a0));
}

void sipQToolButton::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QToolButton::leaveEvent(a0) : leaveEvent(a0));
}

void sipQToolButton::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QToolButton::timerEvent(a0) : timerEvent(a0));
}

void sipQToolButton::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QToolButton::changeEvent(a0) : changeEvent(a0));
}

void sipQToolButton::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QToolButton::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQToolButton::sipProtectVirt_nextCheckState(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QToolButton::nextCheckState() : nextCheckState());
}

bool sipQToolButton::sipProtectVirt_hitButton(bool sipSelfWasArg,const QPoint& a0) const
{
    return (sipSelfWasArg ? QToolButton::hitButton(a0) : hitButton(a0));
}


PyDoc_STRVAR(doc_QToolButton_sender, "QToolButton.sender() -> QObject");

extern "C" {static PyObject *meth_QToolButton_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 52135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_sender, doc_QToolButton_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_receivers, "QToolButton.receivers(signal) -> int");

extern "C" {static PyObject *meth_QToolButton_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QToolButton, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 52194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_receivers, doc_QToolButton_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_childEvent, "QToolButton.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QToolButton_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_childEvent, doc_QToolButton_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_customEvent, "QToolButton.customEvent(QEvent)");

extern "C" {static PyObject *meth_QToolButton_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_customEvent, doc_QToolButton_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_connectNotify, "QToolButton.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QToolButton_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_connectNotify, doc_QToolButton_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_disconnectNotify, "QToolButton.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QToolButton_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_disconnectNotify, doc_QToolButton_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_senderSignalIndex, "QToolButton.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QToolButton_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_senderSignalIndex, doc_QToolButton_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_isSignalConnected, "QToolButton.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QToolButton_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_isSignalConnected, doc_QToolButton_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_mouseDoubleClickEvent, "QToolButton.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolButton_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_mouseDoubleClickEvent, doc_QToolButton_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_wheelEvent, "QToolButton.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QToolButton_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_wheelEvent, doc_QToolButton_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_moveEvent, "QToolButton.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QToolButton_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_moveEvent, doc_QToolButton_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_resizeEvent, "QToolButton.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QToolButton_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_resizeEvent, doc_QToolButton_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_closeEvent, "QToolButton.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QToolButton_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_closeEvent, doc_QToolButton_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_contextMenuEvent, "QToolButton.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QToolButton_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_contextMenuEvent, doc_QToolButton_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_tabletEvent, "QToolButton.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QToolButton_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_tabletEvent, doc_QToolButton_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_dragEnterEvent, "QToolButton.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QToolButton_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_dragEnterEvent, doc_QToolButton_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_dragMoveEvent, "QToolButton.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QToolButton_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_dragMoveEvent, doc_QToolButton_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_dragLeaveEvent, "QToolButton.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QToolButton_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_dragLeaveEvent, doc_QToolButton_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_dropEvent, "QToolButton.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QToolButton_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_dropEvent, doc_QToolButton_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_showEvent, "QToolButton.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QToolButton_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_showEvent, doc_QToolButton_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_hideEvent, "QToolButton.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QToolButton_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_hideEvent, doc_QToolButton_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_metric, "QToolButton.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QToolButton_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_metric, doc_QToolButton_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_inputMethodEvent, "QToolButton.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QToolButton_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_inputMethodEvent, doc_QToolButton_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_updateMicroFocus, "QToolButton.updateMicroFocus()");

extern "C" {static PyObject *meth_QToolButton_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_updateMicroFocus, doc_QToolButton_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_create, "QToolButton.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QToolButton_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQToolButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QToolButton, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_create, doc_QToolButton_create);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_destroy, "QToolButton.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QToolButton_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQToolButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QToolButton, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_destroy, doc_QToolButton_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_focusNextPrevChild, "QToolButton.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QToolButton_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QToolButton, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_focusNextPrevChild, doc_QToolButton_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_focusNextChild, "QToolButton.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QToolButton_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_focusNextChild, doc_QToolButton_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_focusPreviousChild, "QToolButton.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QToolButton_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_focusPreviousChild, doc_QToolButton_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_nativeEvent, "QToolButton.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QToolButton_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_nativeEvent, doc_QToolButton_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_sharedPainter, "QToolButton.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QToolButton_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_sharedPainter, doc_QToolButton_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_initPainter, "QToolButton.initPainter(QPainter)");

extern "C" {static PyObject *meth_QToolButton_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_initPainter, doc_QToolButton_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_checkStateSet, "QToolButton.checkStateSet()");

extern "C" {static PyObject *meth_QToolButton_checkStateSet(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_checkStateSet(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_checkStateSet(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_checkStateSet, doc_QToolButton_checkStateSet);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_keyPressEvent, "QToolButton.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QToolButton_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_keyPressEvent, doc_QToolButton_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_keyReleaseEvent, "QToolButton.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QToolButton_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_keyReleaseEvent, doc_QToolButton_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_mouseMoveEvent, "QToolButton.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolButton_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_mouseMoveEvent, doc_QToolButton_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_focusInEvent, "QToolButton.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QToolButton_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_focusInEvent, doc_QToolButton_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_focusOutEvent, "QToolButton.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QToolButton_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_focusOutEvent, doc_QToolButton_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_sizeHint, "QToolButton.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QToolButton_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QToolButton::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_sizeHint, doc_QToolButton_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_minimumSizeHint, "QToolButton.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QToolButton_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QToolButton::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_minimumSizeHint, doc_QToolButton_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_toolButtonStyle, "QToolButton.toolButtonStyle() -> Qt.ToolButtonStyle");

extern "C" {static PyObject *meth_QToolButton_toolButtonStyle(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_toolButtonStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            Qt::ToolButtonStyle sipRes;

            sipRes = sipCpp->toolButtonStyle();

            return sipConvertFromEnum(sipRes,sipType_Qt_ToolButtonStyle);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_toolButtonStyle, doc_QToolButton_toolButtonStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_arrowType, "QToolButton.arrowType() -> Qt.ArrowType");

extern "C" {static PyObject *meth_QToolButton_arrowType(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_arrowType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            Qt::ArrowType sipRes;

            sipRes = sipCpp->arrowType();

            return sipConvertFromEnum(sipRes,sipType_Qt_ArrowType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_arrowType, doc_QToolButton_arrowType);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_setArrowType, "QToolButton.setArrowType(Qt.ArrowType)");

extern "C" {static PyObject *meth_QToolButton_setArrowType(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_setArrowType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ArrowType a0;
        QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QToolButton, &sipCpp, sipType_Qt_ArrowType, &a0))
        {
            sipCpp->setArrowType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_setArrowType, doc_QToolButton_setArrowType);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_setMenu, "QToolButton.setMenu(QMenu)");

extern "C" {static PyObject *meth_QToolButton_setMenu(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_setMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        PyObject *a0Keep;
        QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QToolButton, &sipCpp, &a0Keep, sipType_QMenu, &a0))
        {
            sipCpp->setMenu(a0);

            sipKeepReference(sipSelf, -49, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_setMenu, doc_QToolButton_setMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_menu, "QToolButton.menu() -> QMenu");

extern "C" {static PyObject *meth_QToolButton_menu(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_menu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            QMenu*sipRes;

            sipRes = sipCpp->menu();

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_menu, doc_QToolButton_menu);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_setPopupMode, "QToolButton.setPopupMode(QToolButton.ToolButtonPopupMode)");

extern "C" {static PyObject *meth_QToolButton_setPopupMode(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_setPopupMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolButton::ToolButtonPopupMode a0;
        QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QToolButton_ToolButtonPopupMode, &a0))
        {
            sipCpp->setPopupMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_setPopupMode, doc_QToolButton_setPopupMode);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_popupMode, "QToolButton.popupMode() -> QToolButton.ToolButtonPopupMode");

extern "C" {static PyObject *meth_QToolButton_popupMode(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_popupMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            QToolButton::ToolButtonPopupMode sipRes;

            sipRes = sipCpp->popupMode();

            return sipConvertFromEnum(sipRes,sipType_QToolButton_ToolButtonPopupMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_popupMode, doc_QToolButton_popupMode);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_defaultAction, "QToolButton.defaultAction() -> QAction");

extern "C" {static PyObject *meth_QToolButton_defaultAction(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_defaultAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->defaultAction();

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_defaultAction, doc_QToolButton_defaultAction);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_setAutoRaise, "QToolButton.setAutoRaise(bool)");

extern "C" {static PyObject *meth_QToolButton_setAutoRaise(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_setAutoRaise(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QToolButton, &sipCpp, &a0))
        {
            sipCpp->setAutoRaise(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_setAutoRaise, doc_QToolButton_setAutoRaise);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_autoRaise, "QToolButton.autoRaise() -> bool");

extern "C" {static PyObject *meth_QToolButton_autoRaise(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_autoRaise(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoRaise();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_autoRaise, doc_QToolButton_autoRaise);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_showMenu, "QToolButton.showMenu()");

extern "C" {static PyObject *meth_QToolButton_showMenu(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_showMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            sipCpp->showMenu();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_showMenu, doc_QToolButton_showMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_setToolButtonStyle, "QToolButton.setToolButtonStyle(Qt.ToolButtonStyle)");

extern "C" {static PyObject *meth_QToolButton_setToolButtonStyle(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_setToolButtonStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ToolButtonStyle a0;
        QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QToolButton, &sipCpp, sipType_Qt_ToolButtonStyle, &a0))
        {
            sipCpp->setToolButtonStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_setToolButtonStyle, doc_QToolButton_setToolButtonStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_setDefaultAction, "QToolButton.setDefaultAction(QAction)");

extern "C" {static PyObject *meth_QToolButton_setDefaultAction(PyObject *, PyObject *);}
static PyObject *meth_QToolButton_setDefaultAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        PyObject *a0Keep;
        QToolButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QToolButton, &sipCpp, &a0Keep, sipType_QAction, &a0))
        {
            sipCpp->setDefaultAction(a0);

            sipKeepReference(sipSelf, -50, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_setDefaultAction, doc_QToolButton_setDefaultAction);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_initStyleOption, "QToolButton.initStyleOption(QStyleOptionToolButton)");

extern "C" {static PyObject *meth_QToolButton_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolButton* a0;
        const sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QStyleOptionToolButton, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_initStyleOption, doc_QToolButton_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_event, "QToolButton.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QToolButton_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_event, doc_QToolButton_event);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_mousePressEvent, "QToolButton.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolButton_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_mousePressEvent, doc_QToolButton_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_paintEvent, "QToolButton.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QToolButton_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_paintEvent, doc_QToolButton_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_actionEvent, "QToolButton.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QToolButton_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_actionEvent, doc_QToolButton_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_enterEvent, "QToolButton.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QToolButton_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_enterEvent, doc_QToolButton_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_leaveEvent, "QToolButton.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QToolButton_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_leaveEvent, doc_QToolButton_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_timerEvent, "QToolButton.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QToolButton_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_timerEvent, doc_QToolButton_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_changeEvent, "QToolButton.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QToolButton_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_changeEvent, doc_QToolButton_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_mouseReleaseEvent, "QToolButton.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolButton_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_mouseReleaseEvent, doc_QToolButton_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_nextCheckState, "QToolButton.nextCheckState()");

extern "C" {static PyObject *meth_QToolButton_nextCheckState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_nextCheckState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_nextCheckState(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_nextCheckState, doc_QToolButton_nextCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QToolButton_hitButton, "QToolButton.hitButton(QPoint) -> bool");

extern "C" {static PyObject *meth_QToolButton_hitButton(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolButton_hitButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const sipQToolButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolButton, &sipCpp, sipType_QPoint, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_hitButton(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolButton, sipName_hitButton, doc_QToolButton_hitButton);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QToolButton(void *, const sipTypeDef *);}
static void *cast_QToolButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QToolButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractButton)->ctd_cast((QAbstractButton *)(QToolButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QToolButton(void *, int);}
static void release_QToolButton(void *sipCppV,int)
{
    QToolButton *sipCpp = reinterpret_cast<QToolButton *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QToolButton(sipSimpleWrapper *);}
static void dealloc_QToolButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQToolButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QToolButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QToolButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QToolButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQToolButton *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQToolButton(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QToolButton[] = {{0, 255, 1}};


static PyMethodDef methods_QToolButton[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QToolButton_actionEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_actionEvent)},
    {SIP_MLNAME_CAST(sipName_arrowType), meth_QToolButton_arrowType, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_arrowType)},
    {SIP_MLNAME_CAST(sipName_autoRaise), meth_QToolButton_autoRaise, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_autoRaise)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QToolButton_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_changeEvent)},
    {SIP_MLNAME_CAST(sipName_checkStateSet), (PyCFunction)meth_QToolButton_checkStateSet, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QToolButton_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QToolButton_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QToolButton_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QToolButton_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QToolButton_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QToolButton_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultAction), meth_QToolButton_defaultAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_defaultAction)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QToolButton_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QToolButton_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QToolButton_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QToolButton_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QToolButton_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QToolButton_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QToolButton_enterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_enterEvent)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QToolButton_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QToolButton_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QToolButton_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QToolButton_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QToolButton_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QToolButton_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QToolButton_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hitButton), (PyCFunction)meth_QToolButton_hitButton, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_hitButton)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QToolButton_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QToolButton_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QToolButton_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QToolButton_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QToolButton_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QToolButton_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QToolButton_leaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_leaveEvent)},
    {SIP_MLNAME_CAST(sipName_menu), meth_QToolButton_menu, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_menu)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QToolButton_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QToolButton_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QToolButton_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QToolButton_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QToolButton_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QToolButton_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QToolButton_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QToolButton_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nextCheckState), (PyCFunction)meth_QToolButton_nextCheckState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_nextCheckState)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QToolButton_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_paintEvent)},
    {SIP_MLNAME_CAST(sipName_popupMode), meth_QToolButton_popupMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_popupMode)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QToolButton_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QToolButton_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QToolButton_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QToolButton_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setArrowType), meth_QToolButton_setArrowType, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_setArrowType)},
    {SIP_MLNAME_CAST(sipName_setAutoRaise), meth_QToolButton_setAutoRaise, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_setAutoRaise)},
    {SIP_MLNAME_CAST(sipName_setDefaultAction), meth_QToolButton_setDefaultAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_setDefaultAction)},
    {SIP_MLNAME_CAST(sipName_setMenu), meth_QToolButton_setMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_setMenu)},
    {SIP_MLNAME_CAST(sipName_setPopupMode), meth_QToolButton_setPopupMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_setPopupMode)},
    {SIP_MLNAME_CAST(sipName_setToolButtonStyle), meth_QToolButton_setToolButtonStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_setToolButtonStyle)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QToolButton_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QToolButton_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showMenu), meth_QToolButton_showMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_showMenu)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QToolButton_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QToolButton_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QToolButton_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolButton_timerEvent)},
    {SIP_MLNAME_CAST(sipName_toolButtonStyle), meth_QToolButton_toolButtonStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolButton_toolButtonStyle)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QToolButton_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QToolButton_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QToolButton[] = {
    {sipName_DelayedPopup, static_cast<int>(QToolButton::DelayedPopup), 438},
    {sipName_InstantPopup, static_cast<int>(QToolButton::InstantPopup), 438},
    {sipName_MenuButtonPopup, static_cast<int>(QToolButton::MenuButtonPopup), 438},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QToolButton[] = {
    {"triggered(QAction*)", "\1QToolButton.triggered[QAction]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QToolButton, "\1QToolButton(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QToolButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QToolButton,
        {0}
    },
    {
        sipNameNr_QToolButton,
        {0, 0, 1},
        65, methods_QToolButton,
        3, enummembers_QToolButton,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QToolButton,
    -1,
    -1,
    supers_QToolButton,
    0,
    init_type_QToolButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QToolButton,
    0,
    0,
    0,
    release_QToolButton,
    cast_QToolButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QToolButton::staticMetaObject,
    0,
    signals_QToolButton,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtoolbox.sip"
#include <qtoolbox.h>
#line 54200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 54204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 54210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 54216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 54219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 54222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 54228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 54231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 54234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 54237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 54240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 54243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 54249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 54258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 54261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 54264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 54267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 54270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 54273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 54276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 54279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 54282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 54285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 54288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 54291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 54339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 54342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 54345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 54348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 54351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 54354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 54360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 54363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 54366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 54369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 54372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 54375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 54378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 54381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 54384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 54387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 54390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 54393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 54396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 54399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 54402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 54405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQToolBox : public QToolBox
{
public:
    sipQToolBox(QWidget*,Qt::WindowFlags);
    virtual ~sipQToolBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtectVirt_itemInserted(bool,int);
    void sipProtectVirt_itemRemoved(bool,int);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    void paintEvent(QPaintEvent*);
    QSize sizeHint() const;
    void changeEvent(QEvent*);
    void showEvent(QShowEvent*);
    bool event(QEvent*);
    void itemRemoved(int);
    void itemInserted(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQToolBox(const sipQToolBox &);
    sipQToolBox &operator = (const sipQToolBox &);

    char sipPyMethods[48];
};

sipQToolBox::sipQToolBox(QWidget*a0,Qt::WindowFlags a1): QToolBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQToolBox::~sipQToolBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQToolBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QToolBox);
}

int sipQToolBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QToolBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QToolBox,_c,_id,_a);

    return _id;
}

void *sipQToolBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QToolBox, _clname, &sipCpp) ? sipCpp : QToolBox::qt_metacast(_clname));
}

void sipQToolBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QToolBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QToolBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QToolBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QToolBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QToolBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQToolBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QToolBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQToolBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QToolBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQToolBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QToolBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQToolBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QToolBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQToolBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QToolBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQToolBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QToolBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQToolBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QToolBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QToolBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQToolBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QToolBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QToolBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QToolBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QToolBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QToolBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QToolBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QToolBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QToolBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QToolBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QToolBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QToolBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QToolBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QToolBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QToolBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QToolBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QToolBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QToolBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QToolBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QToolBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QToolBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QToolBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QToolBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QToolBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQToolBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QToolBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQToolBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QToolBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQToolBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QToolBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQToolBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QToolBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQToolBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QToolBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQToolBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QToolBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQToolBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QToolBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQToolBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QToolBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QToolBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQToolBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QToolBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::itemRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_itemRemoved);

    if (!sipMeth)
    {
        QToolBox::itemRemoved(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBox::itemInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_itemInserted);

    if (!sipMeth)
    {
        QToolBox::itemInserted(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQToolBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQToolBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQToolBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQToolBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQToolBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQToolBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQToolBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQToolBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQToolBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQToolBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQToolBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQToolBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQToolBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQToolBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQToolBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQToolBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQToolBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQToolBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQToolBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQToolBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQToolBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQToolBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQToolBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQToolBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQToolBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQToolBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQToolBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQToolBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQToolBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQToolBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQToolBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQToolBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQToolBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQToolBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQToolBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQToolBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQToolBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQToolBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQToolBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQToolBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQToolBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQToolBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQToolBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QFrame::paintEvent(a0) : paintEvent(a0));
}

void sipQToolBox::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQToolBox::sipProtectVirt_itemInserted(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QToolBox::itemInserted(a0) : itemInserted(a0));
}

void sipQToolBox::sipProtectVirt_itemRemoved(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QToolBox::itemRemoved(a0) : itemRemoved(a0));
}

bool sipQToolBox::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QToolBox::event(a0) : event(a0));
}

void sipQToolBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QToolBox::showEvent(a0) : showEvent(a0));
}

void sipQToolBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QToolBox::changeEvent(a0) : changeEvent(a0));
}


PyDoc_STRVAR(doc_QToolBox_sender, "QToolBox.sender() -> QObject");

extern "C" {static PyObject *meth_QToolBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 55679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_sender, doc_QToolBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_receivers, "QToolBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QToolBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 55738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_receivers, doc_QToolBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_timerEvent, "QToolBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QToolBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_timerEvent, doc_QToolBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_childEvent, "QToolBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QToolBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_childEvent, doc_QToolBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_customEvent, "QToolBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QToolBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_customEvent, doc_QToolBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_connectNotify, "QToolBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QToolBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_connectNotify, doc_QToolBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_disconnectNotify, "QToolBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QToolBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_disconnectNotify, doc_QToolBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_senderSignalIndex, "QToolBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QToolBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_senderSignalIndex, doc_QToolBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_isSignalConnected, "QToolBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QToolBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_isSignalConnected, doc_QToolBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_mousePressEvent, "QToolBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_mousePressEvent, doc_QToolBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_mouseReleaseEvent, "QToolBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_mouseReleaseEvent, doc_QToolBox_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_mouseDoubleClickEvent, "QToolBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_mouseDoubleClickEvent, doc_QToolBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_mouseMoveEvent, "QToolBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_mouseMoveEvent, doc_QToolBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_wheelEvent, "QToolBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QToolBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_wheelEvent, doc_QToolBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_keyPressEvent, "QToolBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QToolBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_keyPressEvent, doc_QToolBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_keyReleaseEvent, "QToolBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QToolBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_keyReleaseEvent, doc_QToolBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_focusInEvent, "QToolBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QToolBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_focusInEvent, doc_QToolBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_focusOutEvent, "QToolBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QToolBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_focusOutEvent, doc_QToolBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_enterEvent, "QToolBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QToolBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_enterEvent, doc_QToolBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_leaveEvent, "QToolBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QToolBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_leaveEvent, doc_QToolBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_moveEvent, "QToolBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QToolBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_moveEvent, doc_QToolBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_resizeEvent, "QToolBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QToolBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_resizeEvent, doc_QToolBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_closeEvent, "QToolBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QToolBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_closeEvent, doc_QToolBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_contextMenuEvent, "QToolBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QToolBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_contextMenuEvent, doc_QToolBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_tabletEvent, "QToolBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QToolBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_tabletEvent, doc_QToolBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_actionEvent, "QToolBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QToolBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_actionEvent, doc_QToolBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_dragEnterEvent, "QToolBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QToolBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_dragEnterEvent, doc_QToolBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_dragMoveEvent, "QToolBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QToolBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_dragMoveEvent, doc_QToolBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_dragLeaveEvent, "QToolBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QToolBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_dragLeaveEvent, doc_QToolBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_dropEvent, "QToolBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QToolBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_dropEvent, doc_QToolBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_hideEvent, "QToolBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QToolBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_hideEvent, doc_QToolBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_metric, "QToolBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QToolBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_metric, doc_QToolBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_inputMethodEvent, "QToolBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QToolBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_inputMethodEvent, doc_QToolBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_updateMicroFocus, "QToolBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QToolBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_updateMicroFocus, doc_QToolBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_create, "QToolBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QToolBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQToolBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QToolBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_create, doc_QToolBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_destroy, "QToolBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QToolBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQToolBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QToolBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_destroy, doc_QToolBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_focusNextPrevChild, "QToolBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QToolBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_focusNextPrevChild, doc_QToolBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_focusNextChild, "QToolBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QToolBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_focusNextChild, doc_QToolBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_focusPreviousChild, "QToolBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QToolBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_focusPreviousChild, doc_QToolBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_nativeEvent, "QToolBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QToolBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_nativeEvent, doc_QToolBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_sharedPainter, "QToolBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QToolBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_sharedPainter, doc_QToolBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_initPainter, "QToolBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QToolBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_initPainter, doc_QToolBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_paintEvent, "QToolBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QToolBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_paintEvent, doc_QToolBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_drawFrame, "QToolBox.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QToolBox_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_drawFrame, doc_QToolBox_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_addItem, "QToolBox.addItem(QWidget, str) -> int\n"
    "QToolBox.addItem(QWidget, QIcon, str) -> int");

extern "C" {static PyObject *meth_QToolBox_addItem(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J1", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QWidget, &a0, sipType_QString,&a1, &a1State))
        {
            int sipRes;

            sipRes = sipCpp->addItem(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        QWidget* a0;
        const QIcon* a1;
        const QString* a2;
        int a2State = 0;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J9J1", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QWidget, &a0, sipType_QIcon, &a1, sipType_QString,&a2, &a2State))
        {
            int sipRes;

            sipRes = sipCpp->addItem(a0,*a1,*a2);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_addItem, doc_QToolBox_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_insertItem, "QToolBox.insertItem(int, QWidget, str) -> int\n"
    "QToolBox.insertItem(int, QWidget, QIcon, str) -> int");

extern "C" {static PyObject *meth_QToolBox_insertItem(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_insertItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget* a1;
        const QString* a2;
        int a2State = 0;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:J1", &sipSelf, sipType_QToolBox, &sipCpp, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            int sipRes;

            sipRes = sipCpp->insertItem(a0,a1,*a2);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        QWidget* a1;
        const QIcon* a2;
        const QString* a3;
        int a3State = 0;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:J9J1", &sipSelf, sipType_QToolBox, &sipCpp, &a0, sipType_QWidget, &a1, sipType_QIcon, &a2, sipType_QString,&a3, &a3State))
        {
            int sipRes;

            sipRes = sipCpp->insertItem(a0,a1,*a2,*a3);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_insertItem, doc_QToolBox_insertItem);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_removeItem, "QToolBox.removeItem(int)");

extern "C" {static PyObject *meth_QToolBox_removeItem(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_removeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            sipCpp->removeItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_removeItem, doc_QToolBox_removeItem);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_setItemEnabled, "QToolBox.setItemEnabled(int, bool)");

extern "C" {static PyObject *meth_QToolBox_setItemEnabled(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_setItemEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QToolBox, &sipCpp, &a0, &a1))
        {
            sipCpp->setItemEnabled(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_setItemEnabled, doc_QToolBox_setItemEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_isItemEnabled, "QToolBox.isItemEnabled(int) -> bool");

extern "C" {static PyObject *meth_QToolBox_isItemEnabled(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_isItemEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isItemEnabled(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_isItemEnabled, doc_QToolBox_isItemEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_setItemText, "QToolBox.setItemText(int, str)");

extern "C" {static PyObject *meth_QToolBox_setItemText(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_setItemText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QToolBox, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setItemText(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_setItemText, doc_QToolBox_setItemText);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_itemText, "QToolBox.itemText(int) -> str");

extern "C" {static PyObject *meth_QToolBox_itemText(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_itemText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->itemText(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_itemText, doc_QToolBox_itemText);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_setItemIcon, "QToolBox.setItemIcon(int, QIcon)");

extern "C" {static PyObject *meth_QToolBox_setItemIcon(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_setItemIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QIcon* a1;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QToolBox, &sipCpp, &a0, sipType_QIcon, &a1))
        {
            sipCpp->setItemIcon(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_setItemIcon, doc_QToolBox_setItemIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_itemIcon, "QToolBox.itemIcon(int) -> QIcon");

extern "C" {static PyObject *meth_QToolBox_itemIcon(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_itemIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->itemIcon(a0));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_itemIcon, doc_QToolBox_itemIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_setItemToolTip, "QToolBox.setItemToolTip(int, str)");

extern "C" {static PyObject *meth_QToolBox_setItemToolTip(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_setItemToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QToolBox, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setItemToolTip(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_setItemToolTip, doc_QToolBox_setItemToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_itemToolTip, "QToolBox.itemToolTip(int) -> str");

extern "C" {static PyObject *meth_QToolBox_itemToolTip(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_itemToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->itemToolTip(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_itemToolTip, doc_QToolBox_itemToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_currentIndex, "QToolBox.currentIndex() -> int");

extern "C" {static PyObject *meth_QToolBox_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_currentIndex, doc_QToolBox_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_currentWidget, "QToolBox.currentWidget() -> QWidget");

extern "C" {static PyObject *meth_QToolBox_currentWidget(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_currentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBox, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->currentWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_currentWidget, doc_QToolBox_currentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_widget, "QToolBox.widget(int) -> QWidget");

extern "C" {static PyObject *meth_QToolBox_widget(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_widget, doc_QToolBox_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_indexOf, "QToolBox.indexOf(QWidget) -> int");

extern "C" {static PyObject *meth_QToolBox_indexOf(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_indexOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QWidget, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOf(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_indexOf, doc_QToolBox_indexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_count, "QToolBox.count() -> int");

extern "C" {static PyObject *meth_QToolBox_count(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_count, doc_QToolBox_count);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_setCurrentIndex, "QToolBox.setCurrentIndex(int)");

extern "C" {static PyObject *meth_QToolBox_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            sipCpp->setCurrentIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_setCurrentIndex, doc_QToolBox_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_setCurrentWidget, "QToolBox.setCurrentWidget(QWidget)");

extern "C" {static PyObject *meth_QToolBox_setCurrentWidget(PyObject *, PyObject *);}
static PyObject *meth_QToolBox_setCurrentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QToolBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setCurrentWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_setCurrentWidget, doc_QToolBox_setCurrentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_itemInserted, "QToolBox.itemInserted(int)");

extern "C" {static PyObject *meth_QToolBox_itemInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_itemInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_itemInserted(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_itemInserted, doc_QToolBox_itemInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_itemRemoved, "QToolBox.itemRemoved(int)");

extern "C" {static PyObject *meth_QToolBox_itemRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_itemRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QToolBox, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_itemRemoved(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_itemRemoved, doc_QToolBox_itemRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_event, "QToolBox.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QToolBox_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_event, doc_QToolBox_event);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_showEvent, "QToolBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QToolBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_showEvent, doc_QToolBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBox_changeEvent, "QToolBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QToolBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBox, sipName_changeEvent, doc_QToolBox_changeEvent);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QToolBox___len__(PyObject *);}
static SIP_SSIZE_T slot_QToolBox___len__(PyObject *sipSelf)
{
    QToolBox *sipCpp = reinterpret_cast<QToolBox *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QToolBox));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 57655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QToolBox(void *, const sipTypeDef *);}
static void *cast_QToolBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QToolBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFrame)->ctd_cast((QFrame *)(QToolBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QToolBox(void *, int);}
static void release_QToolBox(void *sipCppV,int)
{
    QToolBox *sipCpp = reinterpret_cast<QToolBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QToolBox(sipSimpleWrapper *);}
static void dealloc_QToolBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQToolBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QToolBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QToolBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QToolBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQToolBox *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQToolBox(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QToolBox[] = {{98, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QToolBox[] = {
    {(void *)slot_QToolBox___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QToolBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QToolBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), meth_QToolBox_addItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_addItem)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QToolBox_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBox_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QToolBox_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QToolBox_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QToolBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QToolBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QToolBox_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_count)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QToolBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QToolBox_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_currentIndex)},
    {SIP_MLNAME_CAST(sipName_currentWidget), meth_QToolBox_currentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_currentWidget)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QToolBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QToolBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QToolBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QToolBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QToolBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QToolBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QToolBox_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QToolBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QToolBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QToolBox_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBox_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QToolBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QToolBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QToolBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QToolBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QToolBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QToolBox_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexOf), meth_QToolBox_indexOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_indexOf)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QToolBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QToolBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertItem), meth_QToolBox_insertItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_insertItem)},
    {SIP_MLNAME_CAST(sipName_isItemEnabled), meth_QToolBox_isItemEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_isItemEnabled)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QToolBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemIcon), meth_QToolBox_itemIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_itemIcon)},
    {SIP_MLNAME_CAST(sipName_itemInserted), (PyCFunction)meth_QToolBox_itemInserted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBox_itemInserted)},
    {SIP_MLNAME_CAST(sipName_itemRemoved), (PyCFunction)meth_QToolBox_itemRemoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBox_itemRemoved)},
    {SIP_MLNAME_CAST(sipName_itemText), meth_QToolBox_itemText, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_itemText)},
    {SIP_MLNAME_CAST(sipName_itemToolTip), meth_QToolBox_itemToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_itemToolTip)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QToolBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QToolBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QToolBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QToolBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QToolBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QToolBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QToolBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QToolBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QToolBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QToolBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QToolBox_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QToolBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_QToolBox_removeItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_removeItem)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QToolBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QToolBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QToolBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QToolBox_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setCurrentWidget), meth_QToolBox_setCurrentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_setCurrentWidget)},
    {SIP_MLNAME_CAST(sipName_setItemEnabled), meth_QToolBox_setItemEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_setItemEnabled)},
    {SIP_MLNAME_CAST(sipName_setItemIcon), meth_QToolBox_setItemIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_setItemIcon)},
    {SIP_MLNAME_CAST(sipName_setItemText), meth_QToolBox_setItemText, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_setItemText)},
    {SIP_MLNAME_CAST(sipName_setItemToolTip), meth_QToolBox_setItemToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_setItemToolTip)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QToolBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QToolBox_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBox_showEvent)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QToolBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QToolBox_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QToolBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QToolBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QToolBox_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBox_widget)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QToolBox[] = {
    {"currentChanged(int)", "\1QToolBox.currentChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QToolBox, "\1QToolBox(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QToolBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QToolBox,
        {0}
    },
    {
        sipNameNr_QToolBox,
        {0, 0, 1},
        67, methods_QToolBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QToolBox,
    -1,
    -1,
    supers_QToolBox,
    slots_QToolBox,
    init_type_QToolBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QToolBox,
    0,
    0,
    0,
    release_QToolBox,
    cast_QToolBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QToolBox::staticMetaObject,
    0,
    signals_QToolBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtoolbar.sip"
#include <qtoolbar.h>
#line 57886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 57890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 57893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 57896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 57899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 57902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 57905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 57908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 57911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 57914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 57917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 57920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 57923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 57926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 57929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 57932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 57935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 57938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 57941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 57944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 57947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 57950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 57953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 57956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 57959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 57962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 57965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 57968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 57971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 57974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 57977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 57980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 57983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 57986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 57989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 57992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 57995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 57998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 58031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 58034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 58037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 58040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 58043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 58046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 58049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 58052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 58055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 58058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 58061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 58064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 58070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 58073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 58076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 58079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 58082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 58085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 58088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 58091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 58094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQToolBar : public QToolBar
{
public:
    sipQToolBar(const QString&,QWidget*);
    sipQToolBar(QWidget*);
    virtual ~sipQToolBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionToolBar*) const;
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool event(QEvent*);
    void paintEvent(QPaintEvent*);
    void changeEvent(QEvent*);
    void actionEvent(QActionEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQToolBar(const sipQToolBar &);
    sipQToolBar &operator = (const sipQToolBar &);

    char sipPyMethods[46];
};

sipQToolBar::sipQToolBar(const QString& a0,QWidget*a1): QToolBar(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQToolBar::sipQToolBar(QWidget*a0): QToolBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQToolBar::~sipQToolBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQToolBar::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QToolBar);
}

int sipQToolBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QToolBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QToolBar,_c,_id,_a);

    return _id;
}

void *sipQToolBar::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QToolBar, _clname, &sipCpp) ? sipCpp : QToolBar::qt_metacast(_clname));
}

void sipQToolBar::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QToolBar::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QToolBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QToolBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QToolBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QToolBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQToolBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QToolBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQToolBar::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QToolBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQToolBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QToolBar::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQToolBar::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QToolBar::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQToolBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QToolBar::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQToolBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QToolBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQToolBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QToolBar::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QToolBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQToolBar::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QToolBar::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QToolBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QToolBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QToolBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QToolBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QToolBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QToolBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QToolBar::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QToolBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QToolBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QToolBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QToolBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QToolBar::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QToolBar::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QToolBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QToolBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QToolBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QToolBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QToolBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QToolBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QToolBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QToolBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QToolBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQToolBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QToolBar::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQToolBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QToolBar::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQToolBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QToolBar::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQToolBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QToolBar::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQToolBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QToolBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQToolBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QToolBar::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQToolBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QToolBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QToolBar::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QToolBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQToolBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QToolBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQToolBar::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQToolBar::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQToolBar::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQToolBar::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQToolBar::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQToolBar::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQToolBar::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQToolBar::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQToolBar::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQToolBar::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQToolBar::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQToolBar::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQToolBar::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQToolBar::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQToolBar::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQToolBar::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQToolBar::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQToolBar::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQToolBar::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQToolBar::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQToolBar::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQToolBar::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQToolBar::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQToolBar::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQToolBar::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQToolBar::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQToolBar::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQToolBar::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQToolBar::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQToolBar::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQToolBar::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQToolBar::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQToolBar::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQToolBar::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQToolBar::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQToolBar::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQToolBar::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQToolBar::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQToolBar::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQToolBar::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQToolBar::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQToolBar::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQToolBar::sipProtect_initStyleOption(QStyleOptionToolBar*a0) const
{
    QToolBar::initStyleOption(a0);
}

void sipQToolBar::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QToolBar::actionEvent(a0) : actionEvent(a0));
}

void sipQToolBar::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QToolBar::changeEvent(a0) : changeEvent(a0));
}

void sipQToolBar::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QToolBar::paintEvent(a0) : paintEvent(a0));
}

bool sipQToolBar::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QToolBar::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QToolBar_sender, "QToolBar.sender() -> QObject");

extern "C" {static PyObject *meth_QToolBar_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 59324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_sender, doc_QToolBar_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_receivers, "QToolBar.receivers(signal) -> int");

extern "C" {static PyObject *meth_QToolBar_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QToolBar, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 59383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_receivers, doc_QToolBar_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_timerEvent, "QToolBar.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QToolBar_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_timerEvent, doc_QToolBar_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_childEvent, "QToolBar.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QToolBar_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_childEvent, doc_QToolBar_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_customEvent, "QToolBar.customEvent(QEvent)");

extern "C" {static PyObject *meth_QToolBar_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_customEvent, doc_QToolBar_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_connectNotify, "QToolBar.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QToolBar_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_connectNotify, doc_QToolBar_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_disconnectNotify, "QToolBar.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QToolBar_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_disconnectNotify, doc_QToolBar_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_senderSignalIndex, "QToolBar.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QToolBar_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_senderSignalIndex, doc_QToolBar_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_isSignalConnected, "QToolBar.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QToolBar_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_isSignalConnected, doc_QToolBar_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_mousePressEvent, "QToolBar.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolBar_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_mousePressEvent, doc_QToolBar_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_mouseReleaseEvent, "QToolBar.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolBar_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_mouseReleaseEvent, doc_QToolBar_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_mouseDoubleClickEvent, "QToolBar.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolBar_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_mouseDoubleClickEvent, doc_QToolBar_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_mouseMoveEvent, "QToolBar.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QToolBar_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_mouseMoveEvent, doc_QToolBar_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_wheelEvent, "QToolBar.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QToolBar_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_wheelEvent, doc_QToolBar_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_keyPressEvent, "QToolBar.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QToolBar_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_keyPressEvent, doc_QToolBar_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_keyReleaseEvent, "QToolBar.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QToolBar_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_keyReleaseEvent, doc_QToolBar_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_focusInEvent, "QToolBar.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QToolBar_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_focusInEvent, doc_QToolBar_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_focusOutEvent, "QToolBar.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QToolBar_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_focusOutEvent, doc_QToolBar_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_enterEvent, "QToolBar.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QToolBar_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_enterEvent, doc_QToolBar_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_leaveEvent, "QToolBar.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QToolBar_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_leaveEvent, doc_QToolBar_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_moveEvent, "QToolBar.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QToolBar_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_moveEvent, doc_QToolBar_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_resizeEvent, "QToolBar.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QToolBar_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_resizeEvent, doc_QToolBar_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_closeEvent, "QToolBar.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QToolBar_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_closeEvent, doc_QToolBar_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_contextMenuEvent, "QToolBar.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QToolBar_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_contextMenuEvent, doc_QToolBar_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_tabletEvent, "QToolBar.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QToolBar_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_tabletEvent, doc_QToolBar_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_dragEnterEvent, "QToolBar.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QToolBar_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_dragEnterEvent, doc_QToolBar_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_dragMoveEvent, "QToolBar.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QToolBar_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_dragMoveEvent, doc_QToolBar_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_dragLeaveEvent, "QToolBar.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QToolBar_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_dragLeaveEvent, doc_QToolBar_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_dropEvent, "QToolBar.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QToolBar_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_dropEvent, doc_QToolBar_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_showEvent, "QToolBar.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QToolBar_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_showEvent, doc_QToolBar_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_hideEvent, "QToolBar.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QToolBar_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_hideEvent, doc_QToolBar_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_metric, "QToolBar.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QToolBar_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_metric, doc_QToolBar_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_inputMethodEvent, "QToolBar.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QToolBar_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_inputMethodEvent, doc_QToolBar_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_updateMicroFocus, "QToolBar.updateMicroFocus()");

extern "C" {static PyObject *meth_QToolBar_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_updateMicroFocus, doc_QToolBar_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_create, "QToolBar.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QToolBar_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQToolBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QToolBar, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_create, doc_QToolBar_create);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_destroy, "QToolBar.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QToolBar_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQToolBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QToolBar, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_destroy, doc_QToolBar_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_focusNextPrevChild, "QToolBar.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QToolBar_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QToolBar, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_focusNextPrevChild, doc_QToolBar_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_focusNextChild, "QToolBar.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QToolBar_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_focusNextChild, doc_QToolBar_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_focusPreviousChild, "QToolBar.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QToolBar_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_focusPreviousChild, doc_QToolBar_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_nativeEvent, "QToolBar.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QToolBar_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_nativeEvent, doc_QToolBar_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_sharedPainter, "QToolBar.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QToolBar_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_sharedPainter, doc_QToolBar_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_initPainter, "QToolBar.initPainter(QPainter)");

extern "C" {static PyObject *meth_QToolBar_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_initPainter, doc_QToolBar_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_setMovable, "QToolBar.setMovable(bool)");

extern "C" {static PyObject *meth_QToolBar_setMovable(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_setMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QToolBar, &sipCpp, &a0))
        {
            sipCpp->setMovable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_setMovable, doc_QToolBar_setMovable);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_isMovable, "QToolBar.isMovable() -> bool");

extern "C" {static PyObject *meth_QToolBar_isMovable(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_isMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMovable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_isMovable, doc_QToolBar_isMovable);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_setAllowedAreas, "QToolBar.setAllowedAreas(Qt.ToolBarAreas)");

extern "C" {static PyObject *meth_QToolBar_setAllowedAreas(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_setAllowedAreas(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ToolBarAreas* a0;
        int a0State = 0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QToolBar, &sipCpp, sipType_Qt_ToolBarAreas, &a0, &a0State))
        {
            sipCpp->setAllowedAreas(*a0);
            sipReleaseType(a0,sipType_Qt_ToolBarAreas,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_setAllowedAreas, doc_QToolBar_setAllowedAreas);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_allowedAreas, "QToolBar.allowedAreas() -> Qt.ToolBarAreas");

extern "C" {static PyObject *meth_QToolBar_allowedAreas(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_allowedAreas(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            Qt::ToolBarAreas*sipRes;

            sipRes = new Qt::ToolBarAreas(sipCpp->allowedAreas());

            return sipConvertFromNewType(sipRes,sipType_Qt_ToolBarAreas,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_allowedAreas, doc_QToolBar_allowedAreas);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_isAreaAllowed, "QToolBar.isAreaAllowed(Qt.ToolBarArea) -> bool");

extern "C" {static PyObject *meth_QToolBar_isAreaAllowed(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_isAreaAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ToolBarArea a0;
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QToolBar, &sipCpp, sipType_Qt_ToolBarArea, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isAreaAllowed(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_isAreaAllowed, doc_QToolBar_isAreaAllowed);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_setOrientation, "QToolBar.setOrientation(Qt.Orientation)");

extern "C" {static PyObject *meth_QToolBar_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QToolBar, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            sipCpp->setOrientation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_setOrientation, doc_QToolBar_setOrientation);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_orientation, "QToolBar.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QToolBar_orientation(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_orientation, doc_QToolBar_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_clear, "QToolBar.clear()");

extern "C" {static PyObject *meth_QToolBar_clear(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_clear, doc_QToolBar_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_addAction, "QToolBar.addAction(QAction)\n"
    "QToolBar.addAction(str) -> QAction\n"
    "QToolBar.addAction(QIcon, str) -> QAction\n"
    "QToolBar.addAction(str, slot) -> QAction\n"
    "QToolBar.addAction(QIcon, str, slot) -> QAction");

extern "C" {static PyObject *meth_QToolBar_addAction(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->addAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAction*sipRes;

            sipRes = sipCpp->addAction(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State))
        {
            QAction*sipRes;

            sipRes = sipCpp->addAction(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        PyObject * a1;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1P0", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QAction*sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 46 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtoolbar.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a1, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->addAction(*a0, receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(1, a1);
        }
#line 60839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        PyObject * a2;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1P0", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            QAction*sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 61 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtoolbar.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a2, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->addAction(*a0, *a1, receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(2, a2);
        }
#line 60878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_addAction, doc_QToolBar_addAction);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_addSeparator, "QToolBar.addSeparator() -> QAction");

extern "C" {static PyObject *meth_QToolBar_addSeparator(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_addSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->addSeparator();

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_addSeparator, doc_QToolBar_addSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_insertSeparator, "QToolBar.insertSeparator(QAction) -> QAction");

extern "C" {static PyObject *meth_QToolBar_insertSeparator(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_insertSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QAction, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->insertSeparator(a0);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_insertSeparator, doc_QToolBar_insertSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_addWidget, "QToolBar.addWidget(QWidget) -> QAction");

extern "C" {static PyObject *meth_QToolBar_addWidget(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_addWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QWidget, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->addWidget(a0);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_addWidget, doc_QToolBar_addWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_insertWidget, "QToolBar.insertWidget(QAction, QWidget) -> QAction");

extern "C" {static PyObject *meth_QToolBar_insertWidget(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_insertWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QWidget* a1;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J:", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QAction, &a0, sipType_QWidget, &a1))
        {
            QAction*sipRes;

            sipRes = sipCpp->insertWidget(a0,a1);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_insertWidget, doc_QToolBar_insertWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_actionGeometry, "QToolBar.actionGeometry(QAction) -> QRect");

extern "C" {static PyObject *meth_QToolBar_actionGeometry(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_actionGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QAction, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->actionGeometry(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_actionGeometry, doc_QToolBar_actionGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_actionAt, "QToolBar.actionAt(QPoint) -> QAction\n"
    "QToolBar.actionAt(int, int) -> QAction");

extern "C" {static PyObject *meth_QToolBar_actionAt(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_actionAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QPoint, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->actionAt(*a0);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        int a0;
        int a1;
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QToolBar, &sipCpp, &a0, &a1))
        {
            QAction*sipRes;

            sipRes = sipCpp->actionAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_actionAt, doc_QToolBar_actionAt);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_toggleViewAction, "QToolBar.toggleViewAction() -> QAction");

extern "C" {static PyObject *meth_QToolBar_toggleViewAction(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_toggleViewAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->toggleViewAction();

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_toggleViewAction, doc_QToolBar_toggleViewAction);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_iconSize, "QToolBar.iconSize() -> QSize");

extern "C" {static PyObject *meth_QToolBar_iconSize(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->iconSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_iconSize, doc_QToolBar_iconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_toolButtonStyle, "QToolBar.toolButtonStyle() -> Qt.ToolButtonStyle");

extern "C" {static PyObject *meth_QToolBar_toolButtonStyle(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_toolButtonStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            Qt::ToolButtonStyle sipRes;

            sipRes = sipCpp->toolButtonStyle();

            return sipConvertFromEnum(sipRes,sipType_Qt_ToolButtonStyle);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_toolButtonStyle, doc_QToolBar_toolButtonStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_widgetForAction, "QToolBar.widgetForAction(QAction) -> QWidget");

extern "C" {static PyObject *meth_QToolBar_widgetForAction(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_widgetForAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QAction, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widgetForAction(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_widgetForAction, doc_QToolBar_widgetForAction);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_setIconSize, "QToolBar.setIconSize(QSize)");

extern "C" {static PyObject *meth_QToolBar_setIconSize(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_setIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setIconSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_setIconSize, doc_QToolBar_setIconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_setToolButtonStyle, "QToolBar.setToolButtonStyle(Qt.ToolButtonStyle)");

extern "C" {static PyObject *meth_QToolBar_setToolButtonStyle(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_setToolButtonStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ToolButtonStyle a0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QToolBar, &sipCpp, sipType_Qt_ToolButtonStyle, &a0))
        {
            sipCpp->setToolButtonStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_setToolButtonStyle, doc_QToolBar_setToolButtonStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_initStyleOption, "QToolBar.initStyleOption(QStyleOptionToolBar)");

extern "C" {static PyObject *meth_QToolBar_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolBar* a0;
        const sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QStyleOptionToolBar, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_initStyleOption, doc_QToolBar_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_actionEvent, "QToolBar.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QToolBar_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_actionEvent, doc_QToolBar_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_changeEvent, "QToolBar.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QToolBar_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_changeEvent, doc_QToolBar_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_paintEvent, "QToolBar.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QToolBar_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_paintEvent, doc_QToolBar_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_event, "QToolBar.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QToolBar_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QToolBar_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQToolBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QToolBar, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_event, doc_QToolBar_event);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_isFloatable, "QToolBar.isFloatable() -> bool");

extern "C" {static PyObject *meth_QToolBar_isFloatable(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_isFloatable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFloatable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_isFloatable, doc_QToolBar_isFloatable);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_setFloatable, "QToolBar.setFloatable(bool)");

extern "C" {static PyObject *meth_QToolBar_setFloatable(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_setFloatable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QToolBar, &sipCpp, &a0))
        {
            sipCpp->setFloatable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_setFloatable, doc_QToolBar_setFloatable);

    return NULL;
}


PyDoc_STRVAR(doc_QToolBar_isFloating, "QToolBar.isFloating() -> bool");

extern "C" {static PyObject *meth_QToolBar_isFloating(PyObject *, PyObject *);}
static PyObject *meth_QToolBar_isFloating(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QToolBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QToolBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFloating();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QToolBar, sipName_isFloating, doc_QToolBar_isFloating);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QToolBar(void *, const sipTypeDef *);}
static void *cast_QToolBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QToolBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QToolBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QToolBar(void *, int);}
static void release_QToolBar(void *sipCppV,int)
{
    QToolBar *sipCpp = reinterpret_cast<QToolBar *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QToolBar(sipSimpleWrapper *);}
static void dealloc_QToolBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQToolBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QToolBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QToolBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QToolBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQToolBar *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQToolBar(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQToolBar(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QToolBar[] = {{454, 255, 1}};


static PyMethodDef methods_QToolBar[] = {
    {SIP_MLNAME_CAST(sipName_actionAt), meth_QToolBar_actionAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_actionAt)},
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QToolBar_actionEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBar_actionEvent)},
    {SIP_MLNAME_CAST(sipName_actionGeometry), meth_QToolBar_actionGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_actionGeometry)},
    {SIP_MLNAME_CAST(sipName_addAction), meth_QToolBar_addAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_addAction)},
    {SIP_MLNAME_CAST(sipName_addSeparator), meth_QToolBar_addSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_addSeparator)},
    {SIP_MLNAME_CAST(sipName_addWidget), meth_QToolBar_addWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_addWidget)},
    {SIP_MLNAME_CAST(sipName_allowedAreas), meth_QToolBar_allowedAreas, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_allowedAreas)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QToolBar_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBar_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QToolBar_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QToolBar_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QToolBar_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QToolBar_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QToolBar_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QToolBar_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QToolBar_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QToolBar_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QToolBar_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QToolBar_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QToolBar_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QToolBar_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QToolBar_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QToolBar_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QToolBar_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBar_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QToolBar_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QToolBar_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QToolBar_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QToolBar_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QToolBar_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QToolBar_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_QToolBar_iconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_iconSize)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QToolBar_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QToolBar_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBar_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QToolBar_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertSeparator), meth_QToolBar_insertSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_insertSeparator)},
    {SIP_MLNAME_CAST(sipName_insertWidget), meth_QToolBar_insertWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_insertWidget)},
    {SIP_MLNAME_CAST(sipName_isAreaAllowed), meth_QToolBar_isAreaAllowed, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_isAreaAllowed)},
    {SIP_MLNAME_CAST(sipName_isFloatable), meth_QToolBar_isFloatable, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_isFloatable)},
    {SIP_MLNAME_CAST(sipName_isFloating), meth_QToolBar_isFloating, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_isFloating)},
    {SIP_MLNAME_CAST(sipName_isMovable), meth_QToolBar_isMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_isMovable)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QToolBar_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QToolBar_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QToolBar_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QToolBar_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QToolBar_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QToolBar_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QToolBar_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QToolBar_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QToolBar_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QToolBar_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QToolBar_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QToolBar_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_orientation)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QToolBar_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QToolBar_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QToolBar_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QToolBar_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QToolBar_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QToolBar_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllowedAreas), meth_QToolBar_setAllowedAreas, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_setAllowedAreas)},
    {SIP_MLNAME_CAST(sipName_setFloatable), meth_QToolBar_setFloatable, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_setFloatable)},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_QToolBar_setIconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_setIconSize)},
    {SIP_MLNAME_CAST(sipName_setMovable), meth_QToolBar_setMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_setMovable)},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_QToolBar_setOrientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_setOrientation)},
    {SIP_MLNAME_CAST(sipName_setToolButtonStyle), meth_QToolBar_setToolButtonStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_setToolButtonStyle)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QToolBar_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QToolBar_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QToolBar_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QToolBar_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toggleViewAction), meth_QToolBar_toggleViewAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_toggleViewAction)},
    {SIP_MLNAME_CAST(sipName_toolButtonStyle), meth_QToolBar_toolButtonStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_toolButtonStyle)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QToolBar_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QToolBar_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widgetForAction), meth_QToolBar_widgetForAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QToolBar_widgetForAction)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QToolBar[] = {
    {"visibilityChanged(bool)", "\1QToolBar.visibilityChanged[bool]", 0, 0},
    {"topLevelChanged(bool)", "\1QToolBar.topLevelChanged[bool]", 0, 0},
    {"toolButtonStyleChanged(Qt::ToolButtonStyle)", "\1QToolBar.toolButtonStyleChanged[Qt.ToolButtonStyle]", 0, 0},
    {"iconSizeChanged(QSize)", "\1QToolBar.iconSizeChanged[QSize]", 0, 0},
    {"orientationChanged(Qt::Orientation)", "\1QToolBar.orientationChanged[Qt.Orientation]", 0, 0},
    {"allowedAreasChanged(Qt::ToolBarAreas)", "\1QToolBar.allowedAreasChanged[Qt.ToolBarAreas]", 0, 0},
    {"movableChanged(bool)", "\1QToolBar.movableChanged[bool]", 0, 0},
    {"actionTriggered(QAction*)", "\1QToolBar.actionTriggered[QAction]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QToolBar, "\1QToolBar(str, QWidget parent=None)\n"
    "QToolBar(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QToolBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QToolBar,
        {0}
    },
    {
        sipNameNr_QToolBar,
        {0, 0, 1},
        71, methods_QToolBar,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QToolBar,
    -1,
    -1,
    supers_QToolBar,
    0,
    init_type_QToolBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QToolBar,
    0,
    0,
    0,
    release_QToolBar,
    cast_QToolBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QToolBar::staticMetaObject,
    0,
    signals_QToolBar,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 61710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 61714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QTextEdit_AutoFormatting___bool__(PyObject *);}
static int slot_QTextEdit_AutoFormatting___bool__(PyObject *sipSelf)
{
    QTextEdit::AutoFormatting *sipCpp = reinterpret_cast<QTextEdit::AutoFormatting *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextEdit_AutoFormatting));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextEdit::AutoFormatting::Int() != 0);
#line 61732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___ne__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QTextEdit::AutoFormatting *sipCpp = reinterpret_cast<QTextEdit::AutoFormatting *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextEdit_AutoFormatting));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QTextEdit::AutoFormatting* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextEdit_AutoFormatting, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextEdit::AutoFormatting::Int() != a0->operator QTextEdit::AutoFormatting::Int());
#line 61762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QTextEdit::AutoFormatting *>(a0),sipType_QTextEdit_AutoFormatting,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QTextEdit_AutoFormatting,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___eq__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QTextEdit::AutoFormatting *sipCpp = reinterpret_cast<QTextEdit::AutoFormatting *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextEdit_AutoFormatting));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QTextEdit::AutoFormatting* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextEdit_AutoFormatting, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QTextEdit::AutoFormatting::Int() == a0->operator QTextEdit::AutoFormatting::Int());
#line 61798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QTextEdit::AutoFormatting *>(a0),sipType_QTextEdit_AutoFormatting,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QTextEdit_AutoFormatting,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___invert__(PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___invert__(PyObject *sipSelf)
{
    QTextEdit::AutoFormatting *sipCpp = reinterpret_cast<QTextEdit::AutoFormatting *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextEdit_AutoFormatting));

    if (!sipCpp)
        return 0;


    {
        {
            QTextEdit::AutoFormatting*sipRes;

            sipRes = new QTextEdit::AutoFormatting(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QTextEdit_AutoFormatting,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___and__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextEdit_AutoFormatting, &a0, &a0State, &a1))
        {
            QTextEdit::AutoFormatting*sipRes;

            sipRes = new QTextEdit::AutoFormatting((*a0 & a1));
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextEdit_AutoFormatting,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___xor__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;
        QTextEdit::AutoFormatting* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QTextEdit_AutoFormatting, &a0, &a0State, sipType_QTextEdit_AutoFormatting, &a1, &a1State))
        {
            QTextEdit::AutoFormatting*sipRes;

            sipRes = new QTextEdit::AutoFormatting((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,a0State);
            sipReleaseType(a1,sipType_QTextEdit_AutoFormatting,a1State);

            return sipConvertFromNewType(sipRes,sipType_QTextEdit_AutoFormatting,NULL);
        }
    }

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextEdit_AutoFormatting, &a0, &a0State, &a1))
        {
            QTextEdit::AutoFormatting*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QTextEdit::AutoFormatting(*a0 ^ a1);
#line 61901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextEdit_AutoFormatting,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___or__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;
        QTextEdit::AutoFormatting* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QTextEdit_AutoFormatting, &a0, &a0State, sipType_QTextEdit_AutoFormatting, &a1, &a1State))
        {
            QTextEdit::AutoFormatting*sipRes;

            sipRes = new QTextEdit::AutoFormatting((*a0 | *a1));
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,a0State);
            sipReleaseType(a1,sipType_QTextEdit_AutoFormatting,a1State);

            return sipConvertFromNewType(sipRes,sipType_QTextEdit_AutoFormatting,NULL);
        }
    }

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QTextEdit_AutoFormatting, &a0, &a0State, &a1))
        {
            QTextEdit::AutoFormatting*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QTextEdit::AutoFormatting(*a0 | a1);
#line 61951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextEdit_AutoFormatting,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___int__(PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___int__(PyObject *sipSelf)
{
    QTextEdit::AutoFormatting *sipCpp = reinterpret_cast<QTextEdit::AutoFormatting *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextEdit_AutoFormatting));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QTextEdit_AutoFormatting___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextEdit_AutoFormatting)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QTextEdit::AutoFormatting *sipCpp = reinterpret_cast<QTextEdit::AutoFormatting *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextEdit_AutoFormatting));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextEdit_AutoFormatting, &a0, &a0State))
        {
            sipCpp->QTextEdit::AutoFormatting::operator^=(*a0);
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,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_QTextEdit_AutoFormatting___ior__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextEdit_AutoFormatting)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QTextEdit::AutoFormatting *sipCpp = reinterpret_cast<QTextEdit::AutoFormatting *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextEdit_AutoFormatting));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QTextEdit_AutoFormatting, &a0, &a0State))
        {
            sipCpp->QTextEdit::AutoFormatting::operator|=(*a0);
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,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_QTextEdit_AutoFormatting___iand__(PyObject *,PyObject *);}
static PyObject *slot_QTextEdit_AutoFormatting___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QTextEdit_AutoFormatting)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QTextEdit::AutoFormatting *sipCpp = reinterpret_cast<QTextEdit::AutoFormatting *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTextEdit_AutoFormatting));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QTextEdit::AutoFormatting::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTextEdit_AutoFormatting(void *, const sipTypeDef *);}
static void *cast_QTextEdit_AutoFormatting(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QTextEdit_AutoFormatting)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextEdit_AutoFormatting(void *, int);}
static void release_QTextEdit_AutoFormatting(void *sipCppV,int)
{
    delete reinterpret_cast<QTextEdit::AutoFormatting *>(sipCppV);
}


extern "C" {static void assign_QTextEdit_AutoFormatting(void *, SIP_SSIZE_T, const void *);}
static void assign_QTextEdit_AutoFormatting(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QTextEdit::AutoFormatting *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QTextEdit::AutoFormatting *>(sipSrc);
}


extern "C" {static void *array_QTextEdit_AutoFormatting(SIP_SSIZE_T);}
static void *array_QTextEdit_AutoFormatting(SIP_SSIZE_T sipNrElem)
{
    return new QTextEdit::AutoFormatting[sipNrElem];
}


extern "C" {static void *copy_QTextEdit_AutoFormatting(const void *, SIP_SSIZE_T);}
static void *copy_QTextEdit_AutoFormatting(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QTextEdit::AutoFormatting(reinterpret_cast<const QTextEdit::AutoFormatting *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTextEdit_AutoFormatting(sipSimpleWrapper *);}
static void dealloc_QTextEdit_AutoFormatting(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QTextEdit_AutoFormatting(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QTextEdit_AutoFormatting(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextEdit_AutoFormatting(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QTextEdit::AutoFormatting *sipCpp = 0;

    {
        const QTextEdit::AutoFormatting* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QTextEdit_AutoFormatting, &a0, &a0State))
        {
            sipCpp = new QTextEdit::AutoFormatting(*a0);
            sipReleaseType(const_cast<QTextEdit::AutoFormatting *>(a0),sipType_QTextEdit_AutoFormatting,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QTextEdit::AutoFormatting(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QTextEdit::AutoFormatting();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QTextEdit_AutoFormatting(PyObject *, void **, int *, PyObject *);}
static int convertTo_QTextEdit_AutoFormatting(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QTextEdit::AutoFormatting **sipCppPtr = reinterpret_cast<QTextEdit::AutoFormatting **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QTextEdit::AutoFormatting is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTextEdit_AutoFormattingFlag)) ||
            sipCanConvertToType(sipPy, sipType_QTextEdit_AutoFormatting, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QTextEdit_AutoFormattingFlag)))
{
    *sipCppPtr = new QTextEdit::AutoFormatting(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QTextEdit::AutoFormatting *>(sipConvertToType(sipPy, sipType_QTextEdit_AutoFormatting, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 62228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTextEdit_AutoFormatting[] = {
    {(void *)slot_QTextEdit_AutoFormatting___bool__, bool_slot},
    {(void *)slot_QTextEdit_AutoFormatting___ne__, ne_slot},
    {(void *)slot_QTextEdit_AutoFormatting___eq__, eq_slot},
    {(void *)slot_QTextEdit_AutoFormatting___invert__, invert_slot},
    {(void *)slot_QTextEdit_AutoFormatting___and__, and_slot},
    {(void *)slot_QTextEdit_AutoFormatting___xor__, xor_slot},
    {(void *)slot_QTextEdit_AutoFormatting___or__, or_slot},
    {(void *)slot_QTextEdit_AutoFormatting___int__, int_slot},
    {(void *)slot_QTextEdit_AutoFormatting___ixor__, ixor_slot},
    {(void *)slot_QTextEdit_AutoFormatting___ior__, ior_slot},
    {(void *)slot_QTextEdit_AutoFormatting___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QTextEdit_AutoFormatting, "\1QTextEdit.AutoFormatting(QTextEdit.AutoFormatting)\n"
    "QTextEdit.AutoFormatting(int)\n"
    "QTextEdit.AutoFormatting()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTextEdit_AutoFormatting = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextEdit__AutoFormatting,
        {0}
    },
    {
        sipNameNr_AutoFormatting,
        {429, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextEdit_AutoFormatting,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QTextEdit_AutoFormatting,
    init_type_QTextEdit_AutoFormatting,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextEdit_AutoFormatting,
    assign_QTextEdit_AutoFormatting,
    array_QTextEdit_AutoFormatting,
    copy_QTextEdit_AutoFormatting,
    release_QTextEdit_AutoFormatting,
    cast_QTextEdit_AutoFormatting,
    convertTo_QTextEdit_AutoFormatting,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 37 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 62312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 62316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 62319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTextEdit_ExtraSelection(void *, const sipTypeDef *);}
static void *cast_QTextEdit_ExtraSelection(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QTextEdit_ExtraSelection)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextEdit_ExtraSelection(void *, int);}
static void release_QTextEdit_ExtraSelection(void *sipCppV,int)
{
    delete reinterpret_cast<QTextEdit::ExtraSelection *>(sipCppV);
}


extern "C" {static void assign_QTextEdit_ExtraSelection(void *, SIP_SSIZE_T, const void *);}
static void assign_QTextEdit_ExtraSelection(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QTextEdit::ExtraSelection *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QTextEdit::ExtraSelection *>(sipSrc);
}


extern "C" {static void *array_QTextEdit_ExtraSelection(SIP_SSIZE_T);}
static void *array_QTextEdit_ExtraSelection(SIP_SSIZE_T sipNrElem)
{
    return new QTextEdit::ExtraSelection[sipNrElem];
}


extern "C" {static void *copy_QTextEdit_ExtraSelection(const void *, SIP_SSIZE_T);}
static void *copy_QTextEdit_ExtraSelection(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QTextEdit::ExtraSelection(reinterpret_cast<const QTextEdit::ExtraSelection *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTextEdit_ExtraSelection(sipSimpleWrapper *);}
static void dealloc_QTextEdit_ExtraSelection(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QTextEdit_ExtraSelection(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QTextEdit_ExtraSelection(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextEdit_ExtraSelection(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QTextEdit::ExtraSelection *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QTextEdit::ExtraSelection();

            return sipCpp;
        }
    }

    {
        const QTextEdit::ExtraSelection* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTextEdit_ExtraSelection, &a0))
        {
            sipCpp = new QTextEdit::ExtraSelection(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_QTextEdit_ExtraSelection_cursor(void *, PyObject *, PyObject *);}
static PyObject *varget_QTextEdit_ExtraSelection_cursor(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QTextCursor*sipVal;
    QTextEdit::ExtraSelection *sipCpp = reinterpret_cast<QTextEdit::ExtraSelection *>(sipSelf);

    sipVal = &sipCpp->cursor;

    sipPy = sipGetReference(sipPySelf, -59);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QTextCursor, NULL);
    sipKeepReference(sipPySelf, -59, sipPy);

    return sipPy;
}


extern "C" {static int varset_QTextEdit_ExtraSelection_cursor(void *, PyObject *, PyObject *);}
static int varset_QTextEdit_ExtraSelection_cursor(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QTextCursor*sipVal;
    QTextEdit::ExtraSelection *sipCpp = reinterpret_cast<QTextEdit::ExtraSelection *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QTextCursor *>(sipForceConvertToType(sipPy,sipType_QTextCursor,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->cursor = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QTextEdit_ExtraSelection_format(void *, PyObject *, PyObject *);}
static PyObject *varget_QTextEdit_ExtraSelection_format(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QTextCharFormat*sipVal;
    QTextEdit::ExtraSelection *sipCpp = reinterpret_cast<QTextEdit::ExtraSelection *>(sipSelf);

    sipVal = &sipCpp->format;

    sipPy = sipGetReference(sipPySelf, -60);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QTextCharFormat, NULL);
    sipKeepReference(sipPySelf, -60, sipPy);

    return sipPy;
}


extern "C" {static int varset_QTextEdit_ExtraSelection_format(void *, PyObject *, PyObject *);}
static int varset_QTextEdit_ExtraSelection_format(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QTextCharFormat*sipVal;
    QTextEdit::ExtraSelection *sipCpp = reinterpret_cast<QTextEdit::ExtraSelection *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QTextCharFormat *>(sipForceConvertToType(sipPy,sipType_QTextCharFormat,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->format = *sipVal;

    return 0;
}

sipVariableDef variables_QTextEdit_ExtraSelection[] = {
    {InstanceVariable, sipName_cursor, (PyMethodDef *)varget_QTextEdit_ExtraSelection_cursor, (PyMethodDef *)varset_QTextEdit_ExtraSelection_cursor, NULL, NULL},
    {InstanceVariable, sipName_format, (PyMethodDef *)varget_QTextEdit_ExtraSelection_format, (PyMethodDef *)varset_QTextEdit_ExtraSelection_format, NULL, NULL},
};

PyDoc_STRVAR(doc_QTextEdit_ExtraSelection, "\1QTextEdit.ExtraSelection()\n"
    "QTextEdit.ExtraSelection(QTextEdit.ExtraSelection)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTextEdit_ExtraSelection = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextEdit__ExtraSelection,
        {0}
    },
    {
        sipNameNr_ExtraSelection,
        {429, 255, 0},
        0, 0,
        0, 0,
        2, variables_QTextEdit_ExtraSelection,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextEdit_ExtraSelection,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QTextEdit_ExtraSelection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextEdit_ExtraSelection,
    assign_QTextEdit_ExtraSelection,
    array_QTextEdit_ExtraSelection,
    copy_QTextEdit_ExtraSelection,
    release_QTextEdit_ExtraSelection,
    cast_QTextEdit_ExtraSelection,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextbrowser.sip"
#include <qtextbrowser.h>
#line 62544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 62548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 62551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 62554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 62572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 62575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 62578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 62587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 62617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 62623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpagedpaintdevice.sip"
#include <qpagedpaintdevice.h>
#line 62626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 62629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 37 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 62637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 62643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 62646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 62649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 40 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 62652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 62655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 62658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 62661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 62664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 40 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 62667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 62670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 62676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 62679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 62682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 62685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 62688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 62691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 62694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 62697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 62700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 62706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 62715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 62718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 62721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 62724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 62727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 62730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 62733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 62736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 62739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 62754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 62757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 62763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 62766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 62769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 62775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 62778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 62781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 62784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 62787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 62790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 62799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 62802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 62805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 62808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 62811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTextBrowser : public QTextBrowser
{
public:
    sipQTextBrowser(QWidget*);
    virtual ~sipQTextBrowser();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    QMimeData* sipProtectVirt_createMimeDataFromSelection(bool) const;
    bool sipProtectVirt_canInsertFromMimeData(bool,const QMimeData*) const;
    void sipProtectVirt_insertFromMimeData(bool,const QMimeData*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    bool viewportEvent(QEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void scrollContentsBy(int,int);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void insertFromMimeData(const QMimeData*);
    bool canInsertFromMimeData(const QMimeData*) const;
    QMimeData* createMimeDataFromSelection() const;
    void wheelEvent(QWheelEvent*);
    void changeEvent(QEvent*);
    void showEvent(QShowEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void resizeEvent(QResizeEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void timerEvent(QTimerEvent*);
    void paintEvent(QPaintEvent*);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    void reload();
    void home();
    void forward();
    void backward();
    void setSource(const QUrl&);
    QVariant loadResource(int,const QUrl&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTextBrowser(const sipQTextBrowser &);
    sipQTextBrowser &operator = (const sipQTextBrowser &);

    char sipPyMethods[58];
};

sipQTextBrowser::sipQTextBrowser(QWidget*a0): QTextBrowser(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTextBrowser::~sipQTextBrowser()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTextBrowser::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTextBrowser);
}

int sipQTextBrowser::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTextBrowser::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTextBrowser,_c,_id,_a);

    return _id;
}

void *sipQTextBrowser::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTextBrowser, _clname, &sipCpp) ? sipCpp : QTextBrowser::qt_metacast(_clname));
}

void sipQTextBrowser::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTextBrowser::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTextBrowser::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTextBrowser::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTextBrowser::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QTextBrowser::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQTextBrowser::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QTextBrowser::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTextBrowser::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QTextBrowser::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTextBrowser::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QTextBrowser::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTextBrowser::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QTextBrowser::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QTextBrowser::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QTextBrowser::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QTextBrowser::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QTextBrowser::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QTextBrowser::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QTextBrowser::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QTextBrowser::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQTextBrowser::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QTextBrowser::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTextBrowser::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QTextBrowser::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QTextBrowser::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTextBrowser::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QTextBrowser::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextBrowser::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QTextBrowser::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTextBrowser::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTextBrowser::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTextBrowser::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QTextBrowser::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTextBrowser::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QTextBrowser::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQTextBrowser::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QTextBrowser::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextBrowser::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QTextBrowser::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQTextBrowser::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QTextBrowser::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QTextBrowser::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::insertFromMimeData(const QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_insertFromMimeData);

    if (!sipMeth)
    {
        QTextBrowser::insertFromMimeData(a0);
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    sipVH_QtWidgets_37(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTextBrowser::canInsertFromMimeData(const QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_canInsertFromMimeData);

    if (!sipMeth)
        return QTextBrowser::canInsertFromMimeData(a0);

    extern bool sipVH_QtWidgets_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    return sipVH_QtWidgets_38(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QMimeData* sipQTextBrowser::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_createMimeDataFromSelection);

    if (!sipMeth)
        return QTextBrowser::createMimeDataFromSelection();

    extern QMimeData* sipVH_QtWidgets_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_39(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextBrowser::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QTextBrowser::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QTextBrowser::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QTextBrowser::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QTextBrowser::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QTextBrowser::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QTextBrowser::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QTextBrowser::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QTextBrowser::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QTextBrowser::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QTextBrowser::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QTextBrowser::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QTextBrowser::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTextBrowser::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QTextBrowser::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTextBrowser::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QTextBrowser::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QTextBrowser::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QTextBrowser::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QTextBrowser::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QTextBrowser::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QTextBrowser::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTextBrowser::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTextBrowser::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextBrowser::reload()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_reload);

    if (!sipMeth)
    {
        QTextBrowser::reload();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextBrowser::home()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_home);

    if (!sipMeth)
    {
        QTextBrowser::home();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextBrowser::forward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_forward);

    if (!sipMeth)
    {
        QTextBrowser::forward();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextBrowser::backward()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_backward);

    if (!sipMeth)
    {
        QTextBrowser::backward();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextBrowser::setSource(const QUrl& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_setSource);

    if (!sipMeth)
    {
        QTextBrowser::setSource(a0);
        return;
    }

    extern void sipVH_QtWidgets_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QUrl&);

    sipVH_QtWidgets_40(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQTextBrowser::loadResource(int a0,const QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_loadResource);

    if (!sipMeth)
        return QTextBrowser::loadResource(a0,a1);

    typedef QVariant (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QUrl&);

    return ((sipVH_QtGui_20)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QObject* sipQTextBrowser::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTextBrowser::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTextBrowser::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTextBrowser::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTextBrowser::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTextBrowser::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQTextBrowser::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQTextBrowser::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQTextBrowser::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQTextBrowser::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQTextBrowser::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQTextBrowser::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQTextBrowser::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQTextBrowser::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQTextBrowser::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQTextBrowser::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQTextBrowser::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQTextBrowser::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQTextBrowser::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

bool sipQTextBrowser::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractScrollArea::viewportEvent(a0) : viewportEvent(a0));
}

bool sipQTextBrowser::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQTextBrowser::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::timerEvent(a0) : timerEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::resizeEvent(a0) : resizeEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::dropEvent(a0) : dropEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::focusInEvent(a0) : focusInEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::showEvent(a0) : showEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::changeEvent(a0) : changeEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::wheelEvent(a0) : wheelEvent(a0));
}

QMimeData* sipQTextBrowser::sipProtectVirt_createMimeDataFromSelection(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTextEdit::createMimeDataFromSelection() : createMimeDataFromSelection());
}

bool sipQTextBrowser::sipProtectVirt_canInsertFromMimeData(bool sipSelfWasArg,const QMimeData*a0) const
{
    return (sipSelfWasArg ? QTextEdit::canInsertFromMimeData(a0) : canInsertFromMimeData(a0));
}

void sipQTextBrowser::sipProtectVirt_insertFromMimeData(bool sipSelfWasArg,const QMimeData*a0)
{
    (sipSelfWasArg ? QTextEdit::insertFromMimeData(a0) : insertFromMimeData(a0));
}

void sipQTextBrowser::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QTextEdit::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

bool sipQTextBrowser::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QTextBrowser::event(a0) : event(a0));
}

void sipQTextBrowser::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QTextBrowser::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTextBrowser::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTextBrowser::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTextBrowser::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQTextBrowser::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QTextBrowser::focusOutEvent(a0) : focusOutEvent(a0));
}

bool sipQTextBrowser::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QTextBrowser::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQTextBrowser::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QTextBrowser::paintEvent(a0) : paintEvent(a0));
}


PyDoc_STRVAR(doc_QTextBrowser_sender, "QTextBrowser.sender() -> QObject");

extern "C" {static PyObject *meth_QTextBrowser_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 64299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_sender, doc_QTextBrowser_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_receivers, "QTextBrowser.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTextBrowser_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 64358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_receivers, doc_QTextBrowser_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_childEvent, "QTextBrowser.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTextBrowser_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_childEvent, doc_QTextBrowser_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_customEvent, "QTextBrowser.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTextBrowser_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_customEvent, doc_QTextBrowser_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_connectNotify, "QTextBrowser.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTextBrowser_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_connectNotify, doc_QTextBrowser_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_disconnectNotify, "QTextBrowser.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTextBrowser_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_disconnectNotify, doc_QTextBrowser_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_senderSignalIndex, "QTextBrowser.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTextBrowser_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_senderSignalIndex, doc_QTextBrowser_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_isSignalConnected, "QTextBrowser.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTextBrowser_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_isSignalConnected, doc_QTextBrowser_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_enterEvent, "QTextBrowser.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QTextBrowser_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_enterEvent, doc_QTextBrowser_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_leaveEvent, "QTextBrowser.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QTextBrowser_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_leaveEvent, doc_QTextBrowser_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_moveEvent, "QTextBrowser.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QTextBrowser_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_moveEvent, doc_QTextBrowser_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_closeEvent, "QTextBrowser.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QTextBrowser_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_closeEvent, doc_QTextBrowser_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_tabletEvent, "QTextBrowser.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QTextBrowser_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_tabletEvent, doc_QTextBrowser_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_actionEvent, "QTextBrowser.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QTextBrowser_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_actionEvent, doc_QTextBrowser_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_hideEvent, "QTextBrowser.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QTextBrowser_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_hideEvent, doc_QTextBrowser_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_metric, "QTextBrowser.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QTextBrowser_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_metric, doc_QTextBrowser_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_updateMicroFocus, "QTextBrowser.updateMicroFocus()");

extern "C" {static PyObject *meth_QTextBrowser_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_updateMicroFocus, doc_QTextBrowser_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_create, "QTextBrowser.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QTextBrowser_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQTextBrowser *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_create, doc_QTextBrowser_create);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_destroy, "QTextBrowser.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QTextBrowser_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQTextBrowser *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_destroy, doc_QTextBrowser_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_focusNextChild, "QTextBrowser.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QTextBrowser_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_focusNextChild, doc_QTextBrowser_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_focusPreviousChild, "QTextBrowser.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QTextBrowser_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_focusPreviousChild, doc_QTextBrowser_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_nativeEvent, "QTextBrowser.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QTextBrowser_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_nativeEvent, doc_QTextBrowser_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_sharedPainter, "QTextBrowser.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QTextBrowser_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_sharedPainter, doc_QTextBrowser_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_initPainter, "QTextBrowser.initPainter(QPainter)");

extern "C" {static PyObject *meth_QTextBrowser_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_initPainter, doc_QTextBrowser_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_drawFrame, "QTextBrowser.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QTextBrowser_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_drawFrame, doc_QTextBrowser_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_setViewportMargins, "QTextBrowser.setViewportMargins(int, int, int, int)\n"
    "QTextBrowser.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QTextBrowser_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_setViewportMargins, doc_QTextBrowser_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_viewportEvent, "QTextBrowser.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QTextBrowser_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_viewportEvent, doc_QTextBrowser_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_eventFilter, "QTextBrowser.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QTextBrowser_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_eventFilter, doc_QTextBrowser_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_timerEvent, "QTextBrowser.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTextBrowser_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_timerEvent, doc_QTextBrowser_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_keyReleaseEvent, "QTextBrowser.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTextBrowser_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_keyReleaseEvent, doc_QTextBrowser_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_resizeEvent, "QTextBrowser.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QTextBrowser_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_resizeEvent, doc_QTextBrowser_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_mouseDoubleClickEvent, "QTextBrowser.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTextBrowser_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_mouseDoubleClickEvent, doc_QTextBrowser_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_contextMenuEvent, "QTextBrowser.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QTextBrowser_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_contextMenuEvent, doc_QTextBrowser_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_dragEnterEvent, "QTextBrowser.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QTextBrowser_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_dragEnterEvent, doc_QTextBrowser_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_dragLeaveEvent, "QTextBrowser.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QTextBrowser_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_dragLeaveEvent, doc_QTextBrowser_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_dragMoveEvent, "QTextBrowser.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QTextBrowser_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_dragMoveEvent, doc_QTextBrowser_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_dropEvent, "QTextBrowser.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QTextBrowser_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_dropEvent, doc_QTextBrowser_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_focusInEvent, "QTextBrowser.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTextBrowser_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_focusInEvent, doc_QTextBrowser_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_showEvent, "QTextBrowser.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QTextBrowser_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_showEvent, doc_QTextBrowser_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_changeEvent, "QTextBrowser.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QTextBrowser_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_changeEvent, doc_QTextBrowser_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_wheelEvent, "QTextBrowser.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QTextBrowser_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_wheelEvent, doc_QTextBrowser_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_createMimeDataFromSelection, "QTextBrowser.createMimeDataFromSelection() -> QMimeData");

extern "C" {static PyObject *meth_QTextBrowser_createMimeDataFromSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_createMimeDataFromSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            QMimeData*sipRes;

            sipRes = sipCpp->sipProtectVirt_createMimeDataFromSelection(sipSelfWasArg);

            return sipConvertFromNewType(sipRes,sipType_QMimeData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_createMimeDataFromSelection, doc_QTextBrowser_createMimeDataFromSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_canInsertFromMimeData, "QTextBrowser.canInsertFromMimeData(QMimeData) -> bool");

extern "C" {static PyObject *meth_QTextBrowser_canInsertFromMimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_canInsertFromMimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        const sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMimeData, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_canInsertFromMimeData(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_canInsertFromMimeData, doc_QTextBrowser_canInsertFromMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_insertFromMimeData, "QTextBrowser.insertFromMimeData(QMimeData)");

extern "C" {static PyObject *meth_QTextBrowser_insertFromMimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_insertFromMimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMimeData, &a0))
        {
            sipCpp->sipProtectVirt_insertFromMimeData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_insertFromMimeData, doc_QTextBrowser_insertFromMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_inputMethodEvent, "QTextBrowser.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QTextBrowser_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_inputMethodEvent, doc_QTextBrowser_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_scrollContentsBy, "QTextBrowser.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QTextBrowser_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_scrollContentsBy, doc_QTextBrowser_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_source, "QTextBrowser.source() -> QUrl");

extern "C" {static PyObject *meth_QTextBrowser_source(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_source(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            QUrl*sipRes;

            sipRes = new QUrl(sipCpp->source());

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_source, doc_QTextBrowser_source);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_searchPaths, "QTextBrowser.searchPaths() -> list-of-str");

extern "C" {static PyObject *meth_QTextBrowser_searchPaths(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_searchPaths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->searchPaths());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_searchPaths, doc_QTextBrowser_searchPaths);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_setSearchPaths, "QTextBrowser.setSearchPaths(list-of-str)");

extern "C" {static PyObject *meth_QTextBrowser_setSearchPaths(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_setSearchPaths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setSearchPaths(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_setSearchPaths, doc_QTextBrowser_setSearchPaths);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_loadResource, "QTextBrowser.loadResource(int, QUrl) -> QVariant");

extern "C" {static PyObject *meth_QTextBrowser_loadResource(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_loadResource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QUrl* a1;
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0, sipType_QUrl, &a1))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QTextBrowser::loadResource(a0,*a1) : sipCpp->loadResource(a0,*a1)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_loadResource, doc_QTextBrowser_loadResource);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_setSource, "QTextBrowser.setSource(QUrl)");

extern "C" {static PyObject *meth_QTextBrowser_setSource(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_setSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QUrl* a0;
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QUrl, &a0))
        {
            (sipSelfWasArg ? sipCpp->QTextBrowser::setSource(*a0) : sipCpp->setSource(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_setSource, doc_QTextBrowser_setSource);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_backward, "QTextBrowser.backward()");

extern "C" {static PyObject *meth_QTextBrowser_backward(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_backward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QTextBrowser::backward() : sipCpp->backward());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_backward, doc_QTextBrowser_backward);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_forward, "QTextBrowser.forward()");

extern "C" {static PyObject *meth_QTextBrowser_forward(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_forward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QTextBrowser::forward() : sipCpp->forward());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_forward, doc_QTextBrowser_forward);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_home, "QTextBrowser.home()");

extern "C" {static PyObject *meth_QTextBrowser_home(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_home(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QTextBrowser::home() : sipCpp->home());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_home, doc_QTextBrowser_home);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_reload, "QTextBrowser.reload()");

extern "C" {static PyObject *meth_QTextBrowser_reload(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_reload(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QTextBrowser::reload() : sipCpp->reload());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_reload, doc_QTextBrowser_reload);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_event, "QTextBrowser.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QTextBrowser_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_event, doc_QTextBrowser_event);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_keyPressEvent, "QTextBrowser.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTextBrowser_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_keyPressEvent, doc_QTextBrowser_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_mouseMoveEvent, "QTextBrowser.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTextBrowser_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_mouseMoveEvent, doc_QTextBrowser_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_mousePressEvent, "QTextBrowser.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTextBrowser_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_mousePressEvent, doc_QTextBrowser_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_mouseReleaseEvent, "QTextBrowser.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTextBrowser_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_mouseReleaseEvent, doc_QTextBrowser_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_focusOutEvent, "QTextBrowser.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTextBrowser_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_focusOutEvent, doc_QTextBrowser_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_focusNextPrevChild, "QTextBrowser.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QTextBrowser_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_focusNextPrevChild, doc_QTextBrowser_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_paintEvent, "QTextBrowser.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QTextBrowser_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQTextBrowser *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextBrowser, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_paintEvent, doc_QTextBrowser_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_isBackwardAvailable, "QTextBrowser.isBackwardAvailable() -> bool");

extern "C" {static PyObject *meth_QTextBrowser_isBackwardAvailable(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_isBackwardAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isBackwardAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_isBackwardAvailable, doc_QTextBrowser_isBackwardAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_isForwardAvailable, "QTextBrowser.isForwardAvailable() -> bool");

extern "C" {static PyObject *meth_QTextBrowser_isForwardAvailable(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_isForwardAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isForwardAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_isForwardAvailable, doc_QTextBrowser_isForwardAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_clearHistory, "QTextBrowser.clearHistory()");

extern "C" {static PyObject *meth_QTextBrowser_clearHistory(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_clearHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            sipCpp->clearHistory();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_clearHistory, doc_QTextBrowser_clearHistory);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_openExternalLinks, "QTextBrowser.openExternalLinks() -> bool");

extern "C" {static PyObject *meth_QTextBrowser_openExternalLinks(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_openExternalLinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->openExternalLinks();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_openExternalLinks, doc_QTextBrowser_openExternalLinks);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_setOpenExternalLinks, "QTextBrowser.setOpenExternalLinks(bool)");

extern "C" {static PyObject *meth_QTextBrowser_setOpenExternalLinks(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_setOpenExternalLinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0))
        {
            sipCpp->setOpenExternalLinks(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_setOpenExternalLinks, doc_QTextBrowser_setOpenExternalLinks);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_openLinks, "QTextBrowser.openLinks() -> bool");

extern "C" {static PyObject *meth_QTextBrowser_openLinks(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_openLinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->openLinks();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_openLinks, doc_QTextBrowser_openLinks);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_setOpenLinks, "QTextBrowser.setOpenLinks(bool)");

extern "C" {static PyObject *meth_QTextBrowser_setOpenLinks(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_setOpenLinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0))
        {
            sipCpp->setOpenLinks(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_setOpenLinks, doc_QTextBrowser_setOpenLinks);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_historyTitle, "QTextBrowser.historyTitle(int) -> str");

extern "C" {static PyObject *meth_QTextBrowser_historyTitle(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_historyTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->historyTitle(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_historyTitle, doc_QTextBrowser_historyTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_historyUrl, "QTextBrowser.historyUrl(int) -> QUrl");

extern "C" {static PyObject *meth_QTextBrowser_historyUrl(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_historyUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextBrowser, &sipCpp, &a0))
        {
            QUrl*sipRes;

            sipRes = new QUrl(sipCpp->historyUrl(a0));

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_historyUrl, doc_QTextBrowser_historyUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_backwardHistoryCount, "QTextBrowser.backwardHistoryCount() -> int");

extern "C" {static PyObject *meth_QTextBrowser_backwardHistoryCount(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_backwardHistoryCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->backwardHistoryCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_backwardHistoryCount, doc_QTextBrowser_backwardHistoryCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTextBrowser_forwardHistoryCount, "QTextBrowser.forwardHistoryCount() -> int");

extern "C" {static PyObject *meth_QTextBrowser_forwardHistoryCount(PyObject *, PyObject *);}
static PyObject *meth_QTextBrowser_forwardHistoryCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBrowser *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextBrowser, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->forwardHistoryCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextBrowser, sipName_forwardHistoryCount, doc_QTextBrowser_forwardHistoryCount);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTextBrowser(void *, const sipTypeDef *);}
static void *cast_QTextBrowser(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTextBrowser)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QTextEdit)->ctd_cast((QTextEdit *)(QTextBrowser *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextBrowser(void *, int);}
static void release_QTextBrowser(void *sipCppV,int)
{
    QTextBrowser *sipCpp = reinterpret_cast<QTextBrowser *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTextBrowser(sipSimpleWrapper *);}
static void dealloc_QTextBrowser(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTextBrowser *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTextBrowser(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTextBrowser(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextBrowser(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTextBrowser *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQTextBrowser(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTextBrowser[] = {{429, 255, 1}};


static PyMethodDef methods_QTextBrowser[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QTextBrowser_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_backward), meth_QTextBrowser_backward, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_backward)},
    {SIP_MLNAME_CAST(sipName_backwardHistoryCount), meth_QTextBrowser_backwardHistoryCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_backwardHistoryCount)},
    {SIP_MLNAME_CAST(sipName_canInsertFromMimeData), (PyCFunction)meth_QTextBrowser_canInsertFromMimeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QTextBrowser_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTextBrowser_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearHistory), meth_QTextBrowser_clearHistory, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_clearHistory)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QTextBrowser_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTextBrowser_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QTextBrowser_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QTextBrowser_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createMimeDataFromSelection), (PyCFunction)meth_QTextBrowser_createMimeDataFromSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTextBrowser_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QTextBrowser_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTextBrowser_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QTextBrowser_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QTextBrowser_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QTextBrowser_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QTextBrowser_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QTextBrowser_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QTextBrowser_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QTextBrowser_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextBrowser_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QTextBrowser_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QTextBrowser_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QTextBrowser_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QTextBrowser_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextBrowser_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QTextBrowser_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextBrowser_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QTextBrowser_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_forward), meth_QTextBrowser_forward, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_forward)},
    {SIP_MLNAME_CAST(sipName_forwardHistoryCount), meth_QTextBrowser_forwardHistoryCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_forwardHistoryCount)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QTextBrowser_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_historyTitle), meth_QTextBrowser_historyTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_historyTitle)},
    {SIP_MLNAME_CAST(sipName_historyUrl), meth_QTextBrowser_historyUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_historyUrl)},
    {SIP_MLNAME_CAST(sipName_home), meth_QTextBrowser_home, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_home)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QTextBrowser_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QTextBrowser_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertFromMimeData), (PyCFunction)meth_QTextBrowser_insertFromMimeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isBackwardAvailable), meth_QTextBrowser_isBackwardAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_isBackwardAvailable)},
    {SIP_MLNAME_CAST(sipName_isForwardAvailable), meth_QTextBrowser_isForwardAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_isForwardAvailable)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTextBrowser_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QTextBrowser_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextBrowser_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QTextBrowser_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QTextBrowser_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_loadResource), meth_QTextBrowser_loadResource, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_loadResource)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QTextBrowser_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QTextBrowser_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QTextBrowser_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextBrowser_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QTextBrowser_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextBrowser_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QTextBrowser_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextBrowser_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QTextBrowser_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QTextBrowser_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_openExternalLinks), meth_QTextBrowser_openExternalLinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_openExternalLinks)},
    {SIP_MLNAME_CAST(sipName_openLinks), meth_QTextBrowser_openLinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_openLinks)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QTextBrowser_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextBrowser_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTextBrowser_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reload), meth_QTextBrowser_reload, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_reload)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QTextBrowser_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QTextBrowser_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_searchPaths), meth_QTextBrowser_searchPaths, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_searchPaths)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTextBrowser_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTextBrowser_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setOpenExternalLinks), meth_QTextBrowser_setOpenExternalLinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_setOpenExternalLinks)},
    {SIP_MLNAME_CAST(sipName_setOpenLinks), meth_QTextBrowser_setOpenLinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_setOpenLinks)},
    {SIP_MLNAME_CAST(sipName_setSearchPaths), meth_QTextBrowser_setSearchPaths, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_setSearchPaths)},
    {SIP_MLNAME_CAST(sipName_setSource), meth_QTextBrowser_setSource, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_setSource)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QTextBrowser_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QTextBrowser_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QTextBrowser_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_source), meth_QTextBrowser_source, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextBrowser_source)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QTextBrowser_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTextBrowser_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QTextBrowser_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QTextBrowser_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTextBrowser_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTextBrowser[] = {
    {"historyChanged()", "\1QTextBrowser.historyChanged", 0, 0},
    {"anchorClicked(QUrl)", "\1QTextBrowser.anchorClicked[QUrl]", 0, 0},
    {"highlighted(QUrl)", "\1QTextBrowser.highlighted[QUrl]", 0, 0},
    {"highlighted(QString)", "\1QTextBrowser.highlighted[str]", 0, 0},
    {"sourceChanged(QUrl)", "\1QTextBrowser.sourceChanged[QUrl]", 0, 0},
    {"forwardAvailable(bool)", "\1QTextBrowser.forwardAvailable[bool]", 0, 0},
    {"backwardAvailable(bool)", "\1QTextBrowser.backwardAvailable[bool]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QTextBrowser, "\1QTextBrowser(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTextBrowser = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextBrowser,
        {0}
    },
    {
        sipNameNr_QTextBrowser,
        {0, 0, 1},
        74, methods_QTextBrowser,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextBrowser,
    -1,
    -1,
    supers_QTextBrowser,
    0,
    init_type_QTextBrowser,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextBrowser,
    0,
    0,
    0,
    release_QTextBrowser,
    cast_QTextBrowser,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTextBrowser::staticMetaObject,
    0,
    signals_QTextBrowser,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 66642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 66646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 66649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 66652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 66655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 66664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 66670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 66706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 66709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 66715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpagedpaintdevice.sip"
#include <qpagedpaintdevice.h>
#line 66718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 66721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 66724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 37 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 66729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 66735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 66738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 66741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 66744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 40 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 66747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 66750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 66753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 66756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 40 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 66759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 66762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 66765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 66768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 66771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 66774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 66777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 66780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 66783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 66786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 66789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 66792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 66798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 66807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 66810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 66813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 66816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 66819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 66822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 66825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 66828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 66831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 66846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 66849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 66852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 66855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 66858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 66861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 66867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 66870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 66873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 66876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 66879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 66882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 66885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 66888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 66891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 66894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 66897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 66900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 66903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTextEdit : public QTextEdit
{
public:
    sipQTextEdit(QWidget*);
    sipQTextEdit(const QString&,QWidget*);
    virtual ~sipQTextEdit();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    QMimeData* sipProtectVirt_createMimeDataFromSelection(bool) const;
    bool sipProtectVirt_canInsertFromMimeData(bool,const QMimeData*) const;
    void sipProtectVirt_insertFromMimeData(bool,const QMimeData*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    bool viewportEvent(QEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void scrollContentsBy(int,int);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void insertFromMimeData(const QMimeData*);
    bool canInsertFromMimeData(const QMimeData*) const;
    QMimeData* createMimeDataFromSelection() const;
    void wheelEvent(QWheelEvent*);
    void changeEvent(QEvent*);
    void showEvent(QShowEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    bool focusNextPrevChild(bool);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    QVariant loadResource(int,const QUrl&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTextEdit(const sipQTextEdit &);
    sipQTextEdit &operator = (const sipQTextEdit &);

    char sipPyMethods[53];
};

sipQTextEdit::sipQTextEdit(QWidget*a0): QTextEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTextEdit::sipQTextEdit(const QString& a0,QWidget*a1): QTextEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTextEdit::~sipQTextEdit()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTextEdit::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTextEdit);
}

int sipQTextEdit::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTextEdit::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTextEdit,_c,_id,_a);

    return _id;
}

void *sipQTextEdit::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTextEdit, _clname, &sipCpp) ? sipCpp : QTextEdit::qt_metacast(_clname));
}

void sipQTextEdit::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTextEdit::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTextEdit::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTextEdit::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTextEdit::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QTextEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQTextEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QTextEdit::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTextEdit::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QTextEdit::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTextEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QTextEdit::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTextEdit::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QTextEdit::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QTextEdit::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QTextEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QTextEdit::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QTextEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QTextEdit::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QTextEdit::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QTextEdit::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQTextEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QTextEdit::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTextEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QTextEdit::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QTextEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTextEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QTextEdit::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextEdit::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QTextEdit::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTextEdit::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTextEdit::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTextEdit::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QTextEdit::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTextEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QTextEdit::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQTextEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QTextEdit::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextEdit::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QTextEdit::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQTextEdit::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QTextEdit::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QTextEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::insertFromMimeData(const QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_insertFromMimeData);

    if (!sipMeth)
    {
        QTextEdit::insertFromMimeData(a0);
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    sipVH_QtWidgets_37(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTextEdit::canInsertFromMimeData(const QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_canInsertFromMimeData);

    if (!sipMeth)
        return QTextEdit::canInsertFromMimeData(a0);

    extern bool sipVH_QtWidgets_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    return sipVH_QtWidgets_38(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QMimeData* sipQTextEdit::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_createMimeDataFromSelection);

    if (!sipMeth)
        return QTextEdit::createMimeDataFromSelection();

    extern QMimeData* sipVH_QtWidgets_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_39(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTextEdit::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QTextEdit::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QTextEdit::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QTextEdit::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QTextEdit::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QTextEdit::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QTextEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QTextEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QTextEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QTextEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QTextEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTextEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QTextEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QTextEdit::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QTextEdit::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QTextEdit::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QTextEdit::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QTextEdit::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QTextEdit::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QTextEdit::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QTextEdit::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTextEdit::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTextEdit::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTextEdit::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTextEdit::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQTextEdit::loadResource(int a0,const QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_loadResource);

    if (!sipMeth)
        return QTextEdit::loadResource(a0,a1);

    typedef QVariant (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QUrl&);

    return ((sipVH_QtGui_20)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QObject* sipQTextEdit::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTextEdit::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTextEdit::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTextEdit::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTextEdit::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTextEdit::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTextEdit::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTextEdit::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQTextEdit::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQTextEdit::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQTextEdit::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQTextEdit::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQTextEdit::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQTextEdit::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQTextEdit::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQTextEdit::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQTextEdit::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQTextEdit::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQTextEdit::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQTextEdit::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQTextEdit::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQTextEdit::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQTextEdit::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQTextEdit::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQTextEdit::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQTextEdit::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQTextEdit::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

bool sipQTextEdit::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractScrollArea::viewportEvent(a0) : viewportEvent(a0));
}

bool sipQTextEdit::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQTextEdit::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QTextEdit::event(a0) : event(a0));
}

void sipQTextEdit::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::timerEvent(a0) : timerEvent(a0));
}

void sipQTextEdit::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQTextEdit::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQTextEdit::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::resizeEvent(a0) : resizeEvent(a0));
}

void sipQTextEdit::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::paintEvent(a0) : paintEvent(a0));
}

void sipQTextEdit::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQTextEdit::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQTextEdit::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQTextEdit::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

bool sipQTextEdit::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QTextEdit::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQTextEdit::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQTextEdit::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQTextEdit::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQTextEdit::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQTextEdit::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::dropEvent(a0) : dropEvent(a0));
}

void sipQTextEdit::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::focusInEvent(a0) : focusInEvent(a0));
}

void sipQTextEdit::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQTextEdit::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::showEvent(a0) : showEvent(a0));
}

void sipQTextEdit::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::changeEvent(a0) : changeEvent(a0));
}

void sipQTextEdit::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::wheelEvent(a0) : wheelEvent(a0));
}

QMimeData* sipQTextEdit::sipProtectVirt_createMimeDataFromSelection(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTextEdit::createMimeDataFromSelection() : createMimeDataFromSelection());
}

bool sipQTextEdit::sipProtectVirt_canInsertFromMimeData(bool sipSelfWasArg,const QMimeData*a0) const
{
    return (sipSelfWasArg ? QTextEdit::canInsertFromMimeData(a0) : canInsertFromMimeData(a0));
}

void sipQTextEdit::sipProtectVirt_insertFromMimeData(bool sipSelfWasArg,const QMimeData*a0)
{
    (sipSelfWasArg ? QTextEdit::insertFromMimeData(a0) : insertFromMimeData(a0));
}

void sipQTextEdit::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QTextEdit::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQTextEdit::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QTextEdit::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}


PyDoc_STRVAR(doc_QTextEdit_sender, "QTextEdit.sender() -> QObject");

extern "C" {static PyObject *meth_QTextEdit_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 68302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_sender, doc_QTextEdit_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_receivers, "QTextEdit.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTextEdit_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 68361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_receivers, doc_QTextEdit_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_childEvent, "QTextEdit.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTextEdit_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_childEvent, doc_QTextEdit_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_customEvent, "QTextEdit.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTextEdit_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_customEvent, doc_QTextEdit_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_connectNotify, "QTextEdit.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTextEdit_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_connectNotify, doc_QTextEdit_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_disconnectNotify, "QTextEdit.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTextEdit_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_disconnectNotify, doc_QTextEdit_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_senderSignalIndex, "QTextEdit.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTextEdit_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_senderSignalIndex, doc_QTextEdit_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_isSignalConnected, "QTextEdit.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTextEdit_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_isSignalConnected, doc_QTextEdit_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_enterEvent, "QTextEdit.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QTextEdit_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_enterEvent, doc_QTextEdit_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_leaveEvent, "QTextEdit.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QTextEdit_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_leaveEvent, doc_QTextEdit_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_moveEvent, "QTextEdit.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QTextEdit_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_moveEvent, doc_QTextEdit_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_closeEvent, "QTextEdit.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QTextEdit_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_closeEvent, doc_QTextEdit_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_tabletEvent, "QTextEdit.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QTextEdit_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_tabletEvent, doc_QTextEdit_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_actionEvent, "QTextEdit.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QTextEdit_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_actionEvent, doc_QTextEdit_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_hideEvent, "QTextEdit.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QTextEdit_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_hideEvent, doc_QTextEdit_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_metric, "QTextEdit.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QTextEdit_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_metric, doc_QTextEdit_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_updateMicroFocus, "QTextEdit.updateMicroFocus()");

extern "C" {static PyObject *meth_QTextEdit_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_updateMicroFocus, doc_QTextEdit_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_create, "QTextEdit.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QTextEdit_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_create, doc_QTextEdit_create);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_destroy, "QTextEdit.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QTextEdit_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QTextEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_destroy, doc_QTextEdit_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_focusNextChild, "QTextEdit.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QTextEdit_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_focusNextChild, doc_QTextEdit_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_focusPreviousChild, "QTextEdit.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QTextEdit_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_focusPreviousChild, doc_QTextEdit_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_nativeEvent, "QTextEdit.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QTextEdit_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_nativeEvent, doc_QTextEdit_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_sharedPainter, "QTextEdit.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QTextEdit_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_sharedPainter, doc_QTextEdit_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_initPainter, "QTextEdit.initPainter(QPainter)");

extern "C" {static PyObject *meth_QTextEdit_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_initPainter, doc_QTextEdit_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_drawFrame, "QTextEdit.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QTextEdit_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_drawFrame, doc_QTextEdit_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setViewportMargins, "QTextEdit.setViewportMargins(int, int, int, int)\n"
    "QTextEdit.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QTextEdit_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QTextEdit, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setViewportMargins, doc_QTextEdit_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_viewportEvent, "QTextEdit.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QTextEdit_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_viewportEvent, doc_QTextEdit_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_eventFilter, "QTextEdit.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QTextEdit_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_eventFilter, doc_QTextEdit_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setDocument, "QTextEdit.setDocument(QTextDocument)");

extern "C" {static PyObject *meth_QTextEdit_setDocument(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setDocument(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextDocument* a0;
        PyObject *a0Keep;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QTextEdit, &sipCpp, &a0Keep, sipType_QTextDocument, &a0))
        {
            sipCpp->setDocument(a0);

            sipKeepReference(sipSelf, -48, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setDocument, doc_QTextEdit_setDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_document, "QTextEdit.document() -> QTextDocument");

extern "C" {static PyObject *meth_QTextEdit_document(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_document(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QTextDocument*sipRes;

            sipRes = sipCpp->document();

            return sipConvertFromType(sipRes,sipType_QTextDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_document, doc_QTextEdit_document);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setTextCursor, "QTextEdit.setTextCursor(QTextCursor)");

extern "C" {static PyObject *meth_QTextEdit_setTextCursor(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setTextCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCursor* a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTextCursor, &a0))
        {
            sipCpp->setTextCursor(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setTextCursor, doc_QTextEdit_setTextCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_textCursor, "QTextEdit.textCursor() -> QTextCursor");

extern "C" {static PyObject *meth_QTextEdit_textCursor(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_textCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QTextCursor*sipRes;

            sipRes = new QTextCursor(sipCpp->textCursor());

            return sipConvertFromNewType(sipRes,sipType_QTextCursor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_textCursor, doc_QTextEdit_textCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_isReadOnly, "QTextEdit.isReadOnly() -> bool");

extern "C" {static PyObject *meth_QTextEdit_isReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_isReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadOnly();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_isReadOnly, doc_QTextEdit_isReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setReadOnly, "QTextEdit.setReadOnly(bool)");

extern "C" {static PyObject *meth_QTextEdit_setReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setReadOnly(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setReadOnly, doc_QTextEdit_setReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_fontPointSize, "QTextEdit.fontPointSize() -> float");

extern "C" {static PyObject *meth_QTextEdit_fontPointSize(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_fontPointSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->fontPointSize();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_fontPointSize, doc_QTextEdit_fontPointSize);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_fontFamily, "QTextEdit.fontFamily() -> str");

extern "C" {static PyObject *meth_QTextEdit_fontFamily(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_fontFamily(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->fontFamily());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_fontFamily, doc_QTextEdit_fontFamily);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_fontWeight, "QTextEdit.fontWeight() -> int");

extern "C" {static PyObject *meth_QTextEdit_fontWeight(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_fontWeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->fontWeight();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_fontWeight, doc_QTextEdit_fontWeight);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_fontUnderline, "QTextEdit.fontUnderline() -> bool");

extern "C" {static PyObject *meth_QTextEdit_fontUnderline(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_fontUnderline(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->fontUnderline();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_fontUnderline, doc_QTextEdit_fontUnderline);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_fontItalic, "QTextEdit.fontItalic() -> bool");

extern "C" {static PyObject *meth_QTextEdit_fontItalic(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_fontItalic(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->fontItalic();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_fontItalic, doc_QTextEdit_fontItalic);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_textColor, "QTextEdit.textColor() -> QColor");

extern "C" {static PyObject *meth_QTextEdit_textColor(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_textColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QColor*sipRes;

            sipRes = new QColor(sipCpp->textColor());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_textColor, doc_QTextEdit_textColor);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_currentFont, "QTextEdit.currentFont() -> QFont");

extern "C" {static PyObject *meth_QTextEdit_currentFont(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_currentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->currentFont());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_currentFont, doc_QTextEdit_currentFont);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_alignment, "QTextEdit.alignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QTextEdit_alignment(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_alignment, doc_QTextEdit_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_mergeCurrentCharFormat, "QTextEdit.mergeCurrentCharFormat(QTextCharFormat)");

extern "C" {static PyObject *meth_QTextEdit_mergeCurrentCharFormat(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_mergeCurrentCharFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCharFormat* a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTextCharFormat, &a0))
        {
            sipCpp->mergeCurrentCharFormat(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_mergeCurrentCharFormat, doc_QTextEdit_mergeCurrentCharFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setCurrentCharFormat, "QTextEdit.setCurrentCharFormat(QTextCharFormat)");

extern "C" {static PyObject *meth_QTextEdit_setCurrentCharFormat(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setCurrentCharFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCharFormat* a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTextCharFormat, &a0))
        {
            sipCpp->setCurrentCharFormat(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setCurrentCharFormat, doc_QTextEdit_setCurrentCharFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_currentCharFormat, "QTextEdit.currentCharFormat() -> QTextCharFormat");

extern "C" {static PyObject *meth_QTextEdit_currentCharFormat(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_currentCharFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QTextCharFormat*sipRes;

            sipRes = new QTextCharFormat(sipCpp->currentCharFormat());

            return sipConvertFromNewType(sipRes,sipType_QTextCharFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_currentCharFormat, doc_QTextEdit_currentCharFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_autoFormatting, "QTextEdit.autoFormatting() -> QTextEdit.AutoFormatting");

extern "C" {static PyObject *meth_QTextEdit_autoFormatting(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_autoFormatting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QTextEdit::AutoFormatting*sipRes;

            sipRes = new QTextEdit::AutoFormatting(sipCpp->autoFormatting());

            return sipConvertFromNewType(sipRes,sipType_QTextEdit_AutoFormatting,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_autoFormatting, doc_QTextEdit_autoFormatting);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setAutoFormatting, "QTextEdit.setAutoFormatting(QTextEdit.AutoFormatting)");

extern "C" {static PyObject *meth_QTextEdit_setAutoFormatting(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setAutoFormatting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit::AutoFormatting* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTextEdit_AutoFormatting, &a0, &a0State))
        {
            sipCpp->setAutoFormatting(*a0);
            sipReleaseType(a0,sipType_QTextEdit_AutoFormatting,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setAutoFormatting, doc_QTextEdit_setAutoFormatting);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_tabChangesFocus, "QTextEdit.tabChangesFocus() -> bool");

extern "C" {static PyObject *meth_QTextEdit_tabChangesFocus(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_tabChangesFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tabChangesFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_tabChangesFocus, doc_QTextEdit_tabChangesFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setTabChangesFocus, "QTextEdit.setTabChangesFocus(bool)");

extern "C" {static PyObject *meth_QTextEdit_setTabChangesFocus(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setTabChangesFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setTabChangesFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setTabChangesFocus, doc_QTextEdit_setTabChangesFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setDocumentTitle, "QTextEdit.setDocumentTitle(str)");

extern "C" {static PyObject *meth_QTextEdit_setDocumentTitle(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setDocumentTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDocumentTitle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setDocumentTitle, doc_QTextEdit_setDocumentTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_documentTitle, "QTextEdit.documentTitle() -> str");

extern "C" {static PyObject *meth_QTextEdit_documentTitle(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_documentTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->documentTitle());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_documentTitle, doc_QTextEdit_documentTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_isUndoRedoEnabled, "QTextEdit.isUndoRedoEnabled() -> bool");

extern "C" {static PyObject *meth_QTextEdit_isUndoRedoEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_isUndoRedoEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isUndoRedoEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_isUndoRedoEnabled, doc_QTextEdit_isUndoRedoEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setUndoRedoEnabled, "QTextEdit.setUndoRedoEnabled(bool)");

extern "C" {static PyObject *meth_QTextEdit_setUndoRedoEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setUndoRedoEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setUndoRedoEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setUndoRedoEnabled, doc_QTextEdit_setUndoRedoEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_lineWrapMode, "QTextEdit.lineWrapMode() -> QTextEdit.LineWrapMode");

extern "C" {static PyObject *meth_QTextEdit_lineWrapMode(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_lineWrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QTextEdit::LineWrapMode sipRes;

            sipRes = sipCpp->lineWrapMode();

            return sipConvertFromEnum(sipRes,sipType_QTextEdit_LineWrapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_lineWrapMode, doc_QTextEdit_lineWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setLineWrapMode, "QTextEdit.setLineWrapMode(QTextEdit.LineWrapMode)");

extern "C" {static PyObject *meth_QTextEdit_setLineWrapMode(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setLineWrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit::LineWrapMode a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTextEdit_LineWrapMode, &a0))
        {
            sipCpp->setLineWrapMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setLineWrapMode, doc_QTextEdit_setLineWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_lineWrapColumnOrWidth, "QTextEdit.lineWrapColumnOrWidth() -> int");

extern "C" {static PyObject *meth_QTextEdit_lineWrapColumnOrWidth(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_lineWrapColumnOrWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->lineWrapColumnOrWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_lineWrapColumnOrWidth, doc_QTextEdit_lineWrapColumnOrWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setLineWrapColumnOrWidth, "QTextEdit.setLineWrapColumnOrWidth(int)");

extern "C" {static PyObject *meth_QTextEdit_setLineWrapColumnOrWidth(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setLineWrapColumnOrWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setLineWrapColumnOrWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setLineWrapColumnOrWidth, doc_QTextEdit_setLineWrapColumnOrWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_wordWrapMode, "QTextEdit.wordWrapMode() -> QTextOption.WrapMode");

extern "C" {static PyObject *meth_QTextEdit_wordWrapMode(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_wordWrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QTextOption::WrapMode sipRes;

            sipRes = sipCpp->wordWrapMode();

            return sipConvertFromEnum(sipRes,sipType_QTextOption_WrapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_wordWrapMode, doc_QTextEdit_wordWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setWordWrapMode, "QTextEdit.setWordWrapMode(QTextOption.WrapMode)");

extern "C" {static PyObject *meth_QTextEdit_setWordWrapMode(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setWordWrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextOption::WrapMode a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTextOption_WrapMode, &a0))
        {
            sipCpp->setWordWrapMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setWordWrapMode, doc_QTextEdit_setWordWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_find, "QTextEdit.find(str, QTextDocument.FindFlags options=0) -> bool\n"
    "QTextEdit.find(QRegExp, QTextDocument.FindFlags options=0) -> bool");

extern "C" {static PyObject *meth_QTextEdit_find(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_find(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextDocument::FindFlags a1def = 0;
        QTextDocument::FindFlags* a1 = &a1def;
        int a1State = 0;
        QTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State, sipType_QTextDocument_FindFlags, &a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->find(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QTextDocument_FindFlags,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QRegExp* a0;
        QTextDocument::FindFlags a1def = 0;
        QTextDocument::FindFlags* a1 = &a1def;
        int a1State = 0;
        QTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QRegExp, &a0, sipType_QTextDocument_FindFlags, &a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->find(*a0,*a1);
            sipReleaseType(a1,sipType_QTextDocument_FindFlags,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_find, doc_QTextEdit_find);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_toPlainText, "QTextEdit.toPlainText() -> str");

extern "C" {static PyObject *meth_QTextEdit_toPlainText(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_toPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toPlainText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_toPlainText, doc_QTextEdit_toPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_toHtml, "QTextEdit.toHtml() -> str");

extern "C" {static PyObject *meth_QTextEdit_toHtml(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_toHtml(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toHtml());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_toHtml, doc_QTextEdit_toHtml);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_append, "QTextEdit.append(str)");

extern "C" {static PyObject *meth_QTextEdit_append(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_append(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->append(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_append, doc_QTextEdit_append);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_ensureCursorVisible, "QTextEdit.ensureCursorVisible()");

extern "C" {static PyObject *meth_QTextEdit_ensureCursorVisible(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_ensureCursorVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            sipCpp->ensureCursorVisible();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_ensureCursorVisible, doc_QTextEdit_ensureCursorVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_loadResource, "QTextEdit.loadResource(int, QUrl) -> QVariant");

extern "C" {static PyObject *meth_QTextEdit_loadResource(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_loadResource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QUrl* a1;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QTextEdit, &sipCpp, &a0, sipType_QUrl, &a1))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QTextEdit::loadResource(a0,*a1) : sipCpp->loadResource(a0,*a1)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_loadResource, doc_QTextEdit_loadResource);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_createStandardContextMenu, "QTextEdit.createStandardContextMenu() -> QMenu\n"
    "QTextEdit.createStandardContextMenu(QPoint) -> QMenu");

extern "C" {static PyObject *meth_QTextEdit_createStandardContextMenu(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_createStandardContextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QMenu*sipRes;

            sipRes = sipCpp->createStandardContextMenu();

            return sipConvertFromNewType(sipRes,sipType_QMenu,NULL);
        }
    }

    {
        const QPoint* a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QPoint, &a0))
        {
            QMenu*sipRes;

            sipRes = sipCpp->createStandardContextMenu(*a0);

            return sipConvertFromNewType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_createStandardContextMenu, doc_QTextEdit_createStandardContextMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_cursorForPosition, "QTextEdit.cursorForPosition(QPoint) -> QTextCursor");

extern "C" {static PyObject *meth_QTextEdit_cursorForPosition(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_cursorForPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QPoint, &a0))
        {
            QTextCursor*sipRes;

            sipRes = new QTextCursor(sipCpp->cursorForPosition(*a0));

            return sipConvertFromNewType(sipRes,sipType_QTextCursor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_cursorForPosition, doc_QTextEdit_cursorForPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_cursorRect, "QTextEdit.cursorRect(QTextCursor) -> QRect\n"
    "QTextEdit.cursorRect() -> QRect");

extern "C" {static PyObject *meth_QTextEdit_cursorRect(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_cursorRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCursor* a0;
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTextCursor, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->cursorRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->cursorRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_cursorRect, doc_QTextEdit_cursorRect);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_anchorAt, "QTextEdit.anchorAt(QPoint) -> str");

extern "C" {static PyObject *meth_QTextEdit_anchorAt(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_anchorAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QPoint, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->anchorAt(*a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_anchorAt, doc_QTextEdit_anchorAt);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_overwriteMode, "QTextEdit.overwriteMode() -> bool");

extern "C" {static PyObject *meth_QTextEdit_overwriteMode(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_overwriteMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->overwriteMode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_overwriteMode, doc_QTextEdit_overwriteMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setOverwriteMode, "QTextEdit.setOverwriteMode(bool)");

extern "C" {static PyObject *meth_QTextEdit_setOverwriteMode(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setOverwriteMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setOverwriteMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setOverwriteMode, doc_QTextEdit_setOverwriteMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_tabStopWidth, "QTextEdit.tabStopWidth() -> int");

extern "C" {static PyObject *meth_QTextEdit_tabStopWidth(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_tabStopWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->tabStopWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_tabStopWidth, doc_QTextEdit_tabStopWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setTabStopWidth, "QTextEdit.setTabStopWidth(int)");

extern "C" {static PyObject *meth_QTextEdit_setTabStopWidth(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setTabStopWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setTabStopWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setTabStopWidth, doc_QTextEdit_setTabStopWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_acceptRichText, "QTextEdit.acceptRichText() -> bool");

extern "C" {static PyObject *meth_QTextEdit_acceptRichText(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_acceptRichText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->acceptRichText();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_acceptRichText, doc_QTextEdit_acceptRichText);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setAcceptRichText, "QTextEdit.setAcceptRichText(bool)");

extern "C" {static PyObject *meth_QTextEdit_setAcceptRichText(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setAcceptRichText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setAcceptRichText(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setAcceptRichText, doc_QTextEdit_setAcceptRichText);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setTextInteractionFlags, "QTextEdit.setTextInteractionFlags(Qt.TextInteractionFlags)");

extern "C" {static PyObject *meth_QTextEdit_setTextInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setTextInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            sipCpp->setTextInteractionFlags(*a0);
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setTextInteractionFlags, doc_QTextEdit_setTextInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_textInteractionFlags, "QTextEdit.textInteractionFlags() -> Qt.TextInteractionFlags");

extern "C" {static PyObject *meth_QTextEdit_textInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_textInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            Qt::TextInteractionFlags*sipRes;

            sipRes = new Qt::TextInteractionFlags(sipCpp->textInteractionFlags());

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_textInteractionFlags, doc_QTextEdit_textInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setCursorWidth, "QTextEdit.setCursorWidth(int)");

extern "C" {static PyObject *meth_QTextEdit_setCursorWidth(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setCursorWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setCursorWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setCursorWidth, doc_QTextEdit_setCursorWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_cursorWidth, "QTextEdit.cursorWidth() -> int");

extern "C" {static PyObject *meth_QTextEdit_cursorWidth(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_cursorWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->cursorWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_cursorWidth, doc_QTextEdit_cursorWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setExtraSelections, "QTextEdit.setExtraSelections(list-of-QTextEdit.ExtraSelection)");

extern "C" {static PyObject *meth_QTextEdit_setExtraSelections(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setExtraSelections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QTextEdit::ExtraSelection>* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QList_0100QTextEdit_ExtraSelection,&a0, &a0State))
        {
            sipCpp->setExtraSelections(*a0);
            sipReleaseType(const_cast<QList<QTextEdit::ExtraSelection> *>(a0),sipType_QList_0100QTextEdit_ExtraSelection,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setExtraSelections, doc_QTextEdit_setExtraSelections);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_extraSelections, "QTextEdit.extraSelections() -> list-of-QTextEdit.ExtraSelection");

extern "C" {static PyObject *meth_QTextEdit_extraSelections(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_extraSelections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QList<QTextEdit::ExtraSelection>*sipRes;

            sipRes = new QList<QTextEdit::ExtraSelection>(sipCpp->extraSelections());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QTextEdit_ExtraSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_extraSelections, doc_QTextEdit_extraSelections);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_canPaste, "QTextEdit.canPaste() -> bool");

extern "C" {static PyObject *meth_QTextEdit_canPaste(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_canPaste(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->canPaste();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_canPaste, doc_QTextEdit_canPaste);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_moveCursor, "QTextEdit.moveCursor(QTextCursor.MoveOperation, QTextCursor.MoveMode mode=QTextCursor.MoveAnchor)");

extern "C" {static PyObject *meth_QTextEdit_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QTextCursor::MoveOperation a0;
        QTextCursor::MoveMode a1 = QTextCursor::MoveAnchor;
        QTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|E", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTextCursor_MoveOperation, &a0, sipType_QTextCursor_MoveMode, &a1))
        {
            sipCpp->moveCursor(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_moveCursor, doc_QTextEdit_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_print_, "QTextEdit.print_(QPagedPaintDevice)");

extern "C" {static PyObject *meth_QTextEdit_print_(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_print_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPagedPaintDevice* a0;
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QPagedPaintDevice, &a0))
        {
            sipCpp->print(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_print_, doc_QTextEdit_print_);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setFontPointSize, "QTextEdit.setFontPointSize(float)");

extern "C" {static PyObject *meth_QTextEdit_setFontPointSize(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setFontPointSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setFontPointSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setFontPointSize, doc_QTextEdit_setFontPointSize);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setFontFamily, "QTextEdit.setFontFamily(str)");

extern "C" {static PyObject *meth_QTextEdit_setFontFamily(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setFontFamily(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFontFamily(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setFontFamily, doc_QTextEdit_setFontFamily);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setFontWeight, "QTextEdit.setFontWeight(int)");

extern "C" {static PyObject *meth_QTextEdit_setFontWeight(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setFontWeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setFontWeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setFontWeight, doc_QTextEdit_setFontWeight);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setFontUnderline, "QTextEdit.setFontUnderline(bool)");

extern "C" {static PyObject *meth_QTextEdit_setFontUnderline(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setFontUnderline(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setFontUnderline(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setFontUnderline, doc_QTextEdit_setFontUnderline);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setFontItalic, "QTextEdit.setFontItalic(bool)");

extern "C" {static PyObject *meth_QTextEdit_setFontItalic(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setFontItalic(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->setFontItalic(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setFontItalic, doc_QTextEdit_setFontItalic);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setText, "QTextEdit.setText(str)");

extern "C" {static PyObject *meth_QTextEdit_setText(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setText, doc_QTextEdit_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setTextColor, "QTextEdit.setTextColor(QColor)");

extern "C" {static PyObject *meth_QTextEdit_setTextColor(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setTextColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setTextColor(*a0);
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setTextColor, doc_QTextEdit_setTextColor);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setCurrentFont, "QTextEdit.setCurrentFont(QFont)");

extern "C" {static PyObject *meth_QTextEdit_setCurrentFont(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setCurrentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setCurrentFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setCurrentFont, doc_QTextEdit_setCurrentFont);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setAlignment, "QTextEdit.setAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QTextEdit_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setAlignment, doc_QTextEdit_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setPlainText, "QTextEdit.setPlainText(str)");

extern "C" {static PyObject *meth_QTextEdit_setPlainText(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPlainText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setPlainText, doc_QTextEdit_setPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setHtml, "QTextEdit.setHtml(str)");

extern "C" {static PyObject *meth_QTextEdit_setHtml(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setHtml(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setHtml(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setHtml, doc_QTextEdit_setHtml);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_cut, "QTextEdit.cut()");

extern "C" {static PyObject *meth_QTextEdit_cut(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_cut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            sipCpp->cut();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_cut, doc_QTextEdit_cut);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_copy, "QTextEdit.copy()");

extern "C" {static PyObject *meth_QTextEdit_copy(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_copy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            sipCpp->copy();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_copy, doc_QTextEdit_copy);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_paste, "QTextEdit.paste()");

extern "C" {static PyObject *meth_QTextEdit_paste(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_paste(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            sipCpp->paste();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_paste, doc_QTextEdit_paste);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_clear, "QTextEdit.clear()");

extern "C" {static PyObject *meth_QTextEdit_clear(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_clear, doc_QTextEdit_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_selectAll, "QTextEdit.selectAll()");

extern "C" {static PyObject *meth_QTextEdit_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            sipCpp->selectAll();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_selectAll, doc_QTextEdit_selectAll);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_insertPlainText, "QTextEdit.insertPlainText(str)");

extern "C" {static PyObject *meth_QTextEdit_insertPlainText(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_insertPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->insertPlainText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_insertPlainText, doc_QTextEdit_insertPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_insertHtml, "QTextEdit.insertHtml(str)");

extern "C" {static PyObject *meth_QTextEdit_insertHtml(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_insertHtml(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->insertHtml(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_insertHtml, doc_QTextEdit_insertHtml);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_scrollToAnchor, "QTextEdit.scrollToAnchor(str)");

extern "C" {static PyObject *meth_QTextEdit_scrollToAnchor(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_scrollToAnchor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->scrollToAnchor(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_scrollToAnchor, doc_QTextEdit_scrollToAnchor);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_redo, "QTextEdit.redo()");

extern "C" {static PyObject *meth_QTextEdit_redo(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_redo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            sipCpp->redo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_redo, doc_QTextEdit_redo);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_undo, "QTextEdit.undo()");

extern "C" {static PyObject *meth_QTextEdit_undo(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_undo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            sipCpp->undo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_undo, doc_QTextEdit_undo);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_zoomIn, "QTextEdit.zoomIn(int range=1)");

extern "C" {static PyObject *meth_QTextEdit_zoomIn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_zoomIn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        QTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_range,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->zoomIn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_zoomIn, doc_QTextEdit_zoomIn);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_zoomOut, "QTextEdit.zoomOut(int range=1)");

extern "C" {static PyObject *meth_QTextEdit_zoomOut(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_zoomOut(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        QTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_range,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            sipCpp->zoomOut(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_zoomOut, doc_QTextEdit_zoomOut);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_event, "QTextEdit.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QTextEdit_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_event, doc_QTextEdit_event);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_timerEvent, "QTextEdit.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTextEdit_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_timerEvent, doc_QTextEdit_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_keyPressEvent, "QTextEdit.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTextEdit_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_keyPressEvent, doc_QTextEdit_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_keyReleaseEvent, "QTextEdit.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTextEdit_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_keyReleaseEvent, doc_QTextEdit_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_resizeEvent, "QTextEdit.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QTextEdit_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_resizeEvent, doc_QTextEdit_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_paintEvent, "QTextEdit.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QTextEdit_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_paintEvent, doc_QTextEdit_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_mousePressEvent, "QTextEdit.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTextEdit_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_mousePressEvent, doc_QTextEdit_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_mouseMoveEvent, "QTextEdit.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTextEdit_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_mouseMoveEvent, doc_QTextEdit_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_mouseReleaseEvent, "QTextEdit.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTextEdit_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_mouseReleaseEvent, doc_QTextEdit_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_mouseDoubleClickEvent, "QTextEdit.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTextEdit_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_mouseDoubleClickEvent, doc_QTextEdit_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_focusNextPrevChild, "QTextEdit.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QTextEdit_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QTextEdit, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_focusNextPrevChild, doc_QTextEdit_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_contextMenuEvent, "QTextEdit.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QTextEdit_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_contextMenuEvent, doc_QTextEdit_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_dragEnterEvent, "QTextEdit.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QTextEdit_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_dragEnterEvent, doc_QTextEdit_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_dragLeaveEvent, "QTextEdit.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QTextEdit_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_dragLeaveEvent, doc_QTextEdit_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_dragMoveEvent, "QTextEdit.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QTextEdit_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_dragMoveEvent, doc_QTextEdit_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_dropEvent, "QTextEdit.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QTextEdit_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_dropEvent, doc_QTextEdit_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_focusInEvent, "QTextEdit.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTextEdit_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_focusInEvent, doc_QTextEdit_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_focusOutEvent, "QTextEdit.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTextEdit_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_focusOutEvent, doc_QTextEdit_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_showEvent, "QTextEdit.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QTextEdit_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_showEvent, doc_QTextEdit_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_changeEvent, "QTextEdit.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QTextEdit_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_changeEvent, doc_QTextEdit_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_wheelEvent, "QTextEdit.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QTextEdit_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_wheelEvent, doc_QTextEdit_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_createMimeDataFromSelection, "QTextEdit.createMimeDataFromSelection() -> QMimeData");

extern "C" {static PyObject *meth_QTextEdit_createMimeDataFromSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_createMimeDataFromSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QMimeData*sipRes;

            sipRes = sipCpp->sipProtectVirt_createMimeDataFromSelection(sipSelfWasArg);

            return sipConvertFromNewType(sipRes,sipType_QMimeData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_createMimeDataFromSelection, doc_QTextEdit_createMimeDataFromSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_canInsertFromMimeData, "QTextEdit.canInsertFromMimeData(QMimeData) -> bool");

extern "C" {static PyObject *meth_QTextEdit_canInsertFromMimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_canInsertFromMimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        const sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMimeData, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_canInsertFromMimeData(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_canInsertFromMimeData, doc_QTextEdit_canInsertFromMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_insertFromMimeData, "QTextEdit.insertFromMimeData(QMimeData)");

extern "C" {static PyObject *meth_QTextEdit_insertFromMimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_insertFromMimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QMimeData, &a0))
        {
            sipCpp->sipProtectVirt_insertFromMimeData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_insertFromMimeData, doc_QTextEdit_insertFromMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_inputMethodEvent, "QTextEdit.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QTextEdit_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_inputMethodEvent, doc_QTextEdit_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_inputMethodQuery, "QTextEdit.inputMethodQuery(Qt.InputMethodQuery) -> QVariant\n"
    "QTextEdit.inputMethodQuery(Qt.InputMethodQuery, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QTextEdit_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QTextEdit::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    {
        Qt::InputMethodQuery a0;
        QVariant* a1;
        int a1State = 0;
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_Qt_InputMethodQuery, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->inputMethodQuery(a0,*a1));
            sipReleaseType(a1,sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_inputMethodQuery, doc_QTextEdit_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_scrollContentsBy, "QTextEdit.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QTextEdit_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTextEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_scrollContentsBy, doc_QTextEdit_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_textBackgroundColor, "QTextEdit.textBackgroundColor() -> QColor");

extern "C" {static PyObject *meth_QTextEdit_textBackgroundColor(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_textBackgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QColor*sipRes;

            sipRes = new QColor(sipCpp->textBackgroundColor());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_textBackgroundColor, doc_QTextEdit_textBackgroundColor);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setTextBackgroundColor, "QTextEdit.setTextBackgroundColor(QColor)");

extern "C" {static PyObject *meth_QTextEdit_setTextBackgroundColor(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setTextBackgroundColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setTextBackgroundColor(*a0);
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setTextBackgroundColor, doc_QTextEdit_setTextBackgroundColor);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_setPlaceholderText, "QTextEdit.setPlaceholderText(str)");

extern "C" {static PyObject *meth_QTextEdit_setPlaceholderText(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_setPlaceholderText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPlaceholderText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_setPlaceholderText, doc_QTextEdit_setPlaceholderText);

    return NULL;
}


PyDoc_STRVAR(doc_QTextEdit_placeholderText, "QTextEdit.placeholderText() -> str");

extern "C" {static PyObject *meth_QTextEdit_placeholderText(PyObject *, PyObject *);}
static PyObject *meth_QTextEdit_placeholderText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTextEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->placeholderText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTextEdit, sipName_placeholderText, doc_QTextEdit_placeholderText);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTextEdit(void *, const sipTypeDef *);}
static void *cast_QTextEdit(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTextEdit)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractScrollArea)->ctd_cast((QAbstractScrollArea *)(QTextEdit *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTextEdit(void *, int);}
static void release_QTextEdit(void *sipCppV,int)
{
    QTextEdit *sipCpp = reinterpret_cast<QTextEdit *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTextEdit(sipSimpleWrapper *);}
static void dealloc_QTextEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTextEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTextEdit(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTextEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTextEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTextEdit *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQTextEdit(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQTextEdit(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTextEdit[] = {{15, 255, 1}};


static PyMethodDef methods_QTextEdit[] = {
    {SIP_MLNAME_CAST(sipName_acceptRichText), meth_QTextEdit_acceptRichText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_acceptRichText)},
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QTextEdit_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QTextEdit_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_alignment)},
    {SIP_MLNAME_CAST(sipName_anchorAt), meth_QTextEdit_anchorAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_anchorAt)},
    {SIP_MLNAME_CAST(sipName_append), meth_QTextEdit_append, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_append)},
    {SIP_MLNAME_CAST(sipName_autoFormatting), meth_QTextEdit_autoFormatting, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_autoFormatting)},
    {SIP_MLNAME_CAST(sipName_canInsertFromMimeData), (PyCFunction)meth_QTextEdit_canInsertFromMimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_canInsertFromMimeData)},
    {SIP_MLNAME_CAST(sipName_canPaste), meth_QTextEdit_canPaste, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_canPaste)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QTextEdit_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTextEdit_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QTextEdit_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QTextEdit_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTextEdit_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QTextEdit_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_copy), meth_QTextEdit_copy, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_copy)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QTextEdit_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createMimeDataFromSelection), (PyCFunction)meth_QTextEdit_createMimeDataFromSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_createMimeDataFromSelection)},
    {SIP_MLNAME_CAST(sipName_createStandardContextMenu), meth_QTextEdit_createStandardContextMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_createStandardContextMenu)},
    {SIP_MLNAME_CAST(sipName_currentCharFormat), meth_QTextEdit_currentCharFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_currentCharFormat)},
    {SIP_MLNAME_CAST(sipName_currentFont), meth_QTextEdit_currentFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_currentFont)},
    {SIP_MLNAME_CAST(sipName_cursorForPosition), meth_QTextEdit_cursorForPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_cursorForPosition)},
    {SIP_MLNAME_CAST(sipName_cursorRect), meth_QTextEdit_cursorRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_cursorRect)},
    {SIP_MLNAME_CAST(sipName_cursorWidth), meth_QTextEdit_cursorWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_cursorWidth)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTextEdit_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cut), meth_QTextEdit_cut, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_cut)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QTextEdit_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTextEdit_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_document), meth_QTextEdit_document, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_document)},
    {SIP_MLNAME_CAST(sipName_documentTitle), meth_QTextEdit_documentTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_documentTitle)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QTextEdit_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QTextEdit_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QTextEdit_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QTextEdit_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QTextEdit_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_dropEvent)},
    {SIP_MLNAME_CAST(sipName_ensureCursorVisible), meth_QTextEdit_ensureCursorVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_ensureCursorVisible)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QTextEdit_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QTextEdit_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QTextEdit_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_extraSelections), meth_QTextEdit_extraSelections, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_extraSelections)},
    {SIP_MLNAME_CAST(sipName_find), (PyCFunction)meth_QTextEdit_find, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_find)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QTextEdit_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QTextEdit_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QTextEdit_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QTextEdit_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QTextEdit_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fontFamily), meth_QTextEdit_fontFamily, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_fontFamily)},
    {SIP_MLNAME_CAST(sipName_fontItalic), meth_QTextEdit_fontItalic, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_fontItalic)},
    {SIP_MLNAME_CAST(sipName_fontPointSize), meth_QTextEdit_fontPointSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_fontPointSize)},
    {SIP_MLNAME_CAST(sipName_fontUnderline), meth_QTextEdit_fontUnderline, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_fontUnderline)},
    {SIP_MLNAME_CAST(sipName_fontWeight), meth_QTextEdit_fontWeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_fontWeight)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QTextEdit_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QTextEdit_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QTextEdit_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QTextEdit_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_insertFromMimeData), (PyCFunction)meth_QTextEdit_insertFromMimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_insertFromMimeData)},
    {SIP_MLNAME_CAST(sipName_insertHtml), meth_QTextEdit_insertHtml, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_insertHtml)},
    {SIP_MLNAME_CAST(sipName_insertPlainText), meth_QTextEdit_insertPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_insertPlainText)},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_QTextEdit_isReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_isReadOnly)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTextEdit_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isUndoRedoEnabled), meth_QTextEdit_isUndoRedoEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_isUndoRedoEnabled)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QTextEdit_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QTextEdit_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QTextEdit_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineWrapColumnOrWidth), meth_QTextEdit_lineWrapColumnOrWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_lineWrapColumnOrWidth)},
    {SIP_MLNAME_CAST(sipName_lineWrapMode), meth_QTextEdit_lineWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_lineWrapMode)},
    {SIP_MLNAME_CAST(sipName_loadResource), meth_QTextEdit_loadResource, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_loadResource)},
    {SIP_MLNAME_CAST(sipName_mergeCurrentCharFormat), meth_QTextEdit_mergeCurrentCharFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_mergeCurrentCharFormat)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QTextEdit_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QTextEdit_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QTextEdit_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QTextEdit_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QTextEdit_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QTextEdit_moveCursor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_moveCursor)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QTextEdit_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QTextEdit_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_overwriteMode), meth_QTextEdit_overwriteMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_overwriteMode)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QTextEdit_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_paintEvent)},
    {SIP_MLNAME_CAST(sipName_paste), meth_QTextEdit_paste, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_paste)},
    {SIP_MLNAME_CAST(sipName_placeholderText), meth_QTextEdit_placeholderText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_placeholderText)},
    {SIP_MLNAME_CAST(sipName_print_), meth_QTextEdit_print_, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_print_)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTextEdit_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_redo), meth_QTextEdit_redo, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_redo)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QTextEdit_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QTextEdit_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_scrollToAnchor), meth_QTextEdit_scrollToAnchor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_scrollToAnchor)},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_QTextEdit_selectAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_selectAll)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTextEdit_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTextEdit_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptRichText), meth_QTextEdit_setAcceptRichText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setAcceptRichText)},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QTextEdit_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setAutoFormatting), meth_QTextEdit_setAutoFormatting, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setAutoFormatting)},
    {SIP_MLNAME_CAST(sipName_setCurrentCharFormat), meth_QTextEdit_setCurrentCharFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setCurrentCharFormat)},
    {SIP_MLNAME_CAST(sipName_setCurrentFont), meth_QTextEdit_setCurrentFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setCurrentFont)},
    {SIP_MLNAME_CAST(sipName_setCursorWidth), meth_QTextEdit_setCursorWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setCursorWidth)},
    {SIP_MLNAME_CAST(sipName_setDocument), meth_QTextEdit_setDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setDocument)},
    {SIP_MLNAME_CAST(sipName_setDocumentTitle), meth_QTextEdit_setDocumentTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setDocumentTitle)},
    {SIP_MLNAME_CAST(sipName_setExtraSelections), meth_QTextEdit_setExtraSelections, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setExtraSelections)},
    {SIP_MLNAME_CAST(sipName_setFontFamily), meth_QTextEdit_setFontFamily, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setFontFamily)},
    {SIP_MLNAME_CAST(sipName_setFontItalic), meth_QTextEdit_setFontItalic, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setFontItalic)},
    {SIP_MLNAME_CAST(sipName_setFontPointSize), meth_QTextEdit_setFontPointSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setFontPointSize)},
    {SIP_MLNAME_CAST(sipName_setFontUnderline), meth_QTextEdit_setFontUnderline, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setFontUnderline)},
    {SIP_MLNAME_CAST(sipName_setFontWeight), meth_QTextEdit_setFontWeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setFontWeight)},
    {SIP_MLNAME_CAST(sipName_setHtml), meth_QTextEdit_setHtml, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setHtml)},
    {SIP_MLNAME_CAST(sipName_setLineWrapColumnOrWidth), meth_QTextEdit_setLineWrapColumnOrWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setLineWrapColumnOrWidth)},
    {SIP_MLNAME_CAST(sipName_setLineWrapMode), meth_QTextEdit_setLineWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setLineWrapMode)},
    {SIP_MLNAME_CAST(sipName_setOverwriteMode), meth_QTextEdit_setOverwriteMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setOverwriteMode)},
    {SIP_MLNAME_CAST(sipName_setPlaceholderText), meth_QTextEdit_setPlaceholderText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setPlaceholderText)},
    {SIP_MLNAME_CAST(sipName_setPlainText), meth_QTextEdit_setPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setPlainText)},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_QTextEdit_setReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setReadOnly)},
    {SIP_MLNAME_CAST(sipName_setTabChangesFocus), meth_QTextEdit_setTabChangesFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setTabChangesFocus)},
    {SIP_MLNAME_CAST(sipName_setTabStopWidth), meth_QTextEdit_setTabStopWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setTabStopWidth)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QTextEdit_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setText)},
    {SIP_MLNAME_CAST(sipName_setTextBackgroundColor), meth_QTextEdit_setTextBackgroundColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setTextBackgroundColor)},
    {SIP_MLNAME_CAST(sipName_setTextColor), meth_QTextEdit_setTextColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setTextColor)},
    {SIP_MLNAME_CAST(sipName_setTextCursor), meth_QTextEdit_setTextCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setTextCursor)},
    {SIP_MLNAME_CAST(sipName_setTextInteractionFlags), meth_QTextEdit_setTextInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setTextInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_setUndoRedoEnabled), meth_QTextEdit_setUndoRedoEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setUndoRedoEnabled)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QTextEdit_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setWordWrapMode), meth_QTextEdit_setWordWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_setWordWrapMode)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QTextEdit_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QTextEdit_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_showEvent)},
    {SIP_MLNAME_CAST(sipName_tabChangesFocus), meth_QTextEdit_tabChangesFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_tabChangesFocus)},
    {SIP_MLNAME_CAST(sipName_tabStopWidth), meth_QTextEdit_tabStopWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_tabStopWidth)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QTextEdit_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textBackgroundColor), meth_QTextEdit_textBackgroundColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_textBackgroundColor)},
    {SIP_MLNAME_CAST(sipName_textColor), meth_QTextEdit_textColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_textColor)},
    {SIP_MLNAME_CAST(sipName_textCursor), meth_QTextEdit_textCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_textCursor)},
    {SIP_MLNAME_CAST(sipName_textInteractionFlags), meth_QTextEdit_textInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_textInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTextEdit_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_timerEvent)},
    {SIP_MLNAME_CAST(sipName_toHtml), meth_QTextEdit_toHtml, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_toHtml)},
    {SIP_MLNAME_CAST(sipName_toPlainText), meth_QTextEdit_toPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_toPlainText)},
    {SIP_MLNAME_CAST(sipName_undo), meth_QTextEdit_undo, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_undo)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QTextEdit_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QTextEdit_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTextEdit_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_wheelEvent)},
    {SIP_MLNAME_CAST(sipName_wordWrapMode), meth_QTextEdit_wordWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTextEdit_wordWrapMode)},
    {SIP_MLNAME_CAST(sipName_zoomIn), (PyCFunction)meth_QTextEdit_zoomIn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_zoomIn)},
    {SIP_MLNAME_CAST(sipName_zoomOut), (PyCFunction)meth_QTextEdit_zoomOut, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTextEdit_zoomOut)}
};

static sipEnumMemberDef enummembers_QTextEdit[] = {
    {sipName_AutoAll, static_cast<int>(QTextEdit::AutoAll), 431},
    {sipName_AutoBulletList, static_cast<int>(QTextEdit::AutoBulletList), 431},
    {sipName_AutoNone, static_cast<int>(QTextEdit::AutoNone), 431},
    {sipName_FixedColumnWidth, static_cast<int>(QTextEdit::FixedColumnWidth), 433},
    {sipName_FixedPixelWidth, static_cast<int>(QTextEdit::FixedPixelWidth), 433},
    {sipName_NoWrap, static_cast<int>(QTextEdit::NoWrap), 433},
    {sipName_WidgetWidth, static_cast<int>(QTextEdit::WidgetWidth), 433},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTextEdit[] = {
    {"cursorPositionChanged()", "\1QTextEdit.cursorPositionChanged", 0, 0},
    {"selectionChanged()", "\1QTextEdit.selectionChanged", 0, 0},
    {"copyAvailable(bool)", "\1QTextEdit.copyAvailable[bool]", 0, 0},
    {"currentCharFormatChanged(QTextCharFormat)", "\1QTextEdit.currentCharFormatChanged[QTextCharFormat]", 0, 0},
    {"redoAvailable(bool)", "\1QTextEdit.redoAvailable[bool]", 0, 0},
    {"undoAvailable(bool)", "\1QTextEdit.undoAvailable[bool]", 0, 0},
    {"textChanged()", "\1QTextEdit.textChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QTextEdit, "\1QTextEdit(QWidget parent=None)\n"
    "QTextEdit(str, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTextEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTextEdit,
        {0}
    },
    {
        sipNameNr_QTextEdit,
        {0, 0, 1},
        138, methods_QTextEdit,
        7, enummembers_QTextEdit,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTextEdit,
    -1,
    -1,
    supers_QTextEdit,
    0,
    init_type_QTextEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTextEdit,
    0,
    0,
    0,
    release_QTextEdit,
    cast_QTextEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTextEdit::staticMetaObject,
    0,
    signals_QTextEdit,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtabwidget.sip"
#include <qtabwidget.h>
#line 72594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 72598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 72601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 72604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 72607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 72610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 72625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 72628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 72631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 72634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 72637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 72640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 72643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 72646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 72649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 72652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 72655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 72658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 72661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 72664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 72667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 72670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 72673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 72676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 72679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 72682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 72685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 72688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 72691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 72694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 72736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 72739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 72742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 72745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 72748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 72751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 72754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 72757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 72760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 72763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 72766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 72769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 72772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 72775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 72778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 72781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 72784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 72787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 72790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 72793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 72796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 72799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 72802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTabWidget : public QTabWidget
{
public:
    sipQTabWidget(QWidget*);
    virtual ~sipQTabWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionTabWidgetFrame*) const;
    void sipProtectVirt_tabInserted(bool,int);
    void sipProtectVirt_tabRemoved(bool,int);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtect_setTabBar(QTabBar*);
    void sipProtectVirt_changeEvent(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    void setVisible(bool);
    int devType() const;
    bool hasHeightForWidth() const;
    int heightForWidth(int) const;
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    void keyPressEvent(QKeyEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    bool event(QEvent*);
    void tabRemoved(int);
    void tabInserted(int);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTabWidget(const sipQTabWidget &);
    sipQTabWidget &operator = (const sipQTabWidget &);

    char sipPyMethods[48];
};

sipQTabWidget::sipQTabWidget(QWidget*a0): QTabWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTabWidget::~sipQTabWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTabWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTabWidget);
}

int sipQTabWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTabWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTabWidget,_c,_id,_a);

    return _id;
}

void *sipQTabWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTabWidget, _clname, &sipCpp) ? sipCpp : QTabWidget::qt_metacast(_clname));
}

void sipQTabWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTabWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTabWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTabWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTabWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTabWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTabWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTabWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTabWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QTabWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQTabWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QTabWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTabWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QTabWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTabWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QTabWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQTabWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QTabWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QTabWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTabWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QTabWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QTabWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QTabWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QTabWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QTabWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QTabWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QTabWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QTabWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QTabWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QTabWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QTabWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QTabWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QTabWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QTabWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QTabWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QTabWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QTabWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QTabWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QTabWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QTabWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QTabWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQTabWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QTabWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTabWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QTabWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTabWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QTabWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTabWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QTabWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTabWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QTabWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QTabWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QTabWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QTabWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QTabWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QTabWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTabWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTabWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::tabRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_tabRemoved);

    if (!sipMeth)
    {
        QTabWidget::tabRemoved(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabWidget::tabInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_tabInserted);

    if (!sipMeth)
    {
        QTabWidget::tabInserted(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTabWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QTabWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQTabWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QTabWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQTabWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTabWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTabWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQTabWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTabWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTabWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTabWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTabWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTabWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQTabWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQTabWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQTabWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQTabWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQTabWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQTabWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQTabWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQTabWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQTabWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQTabWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQTabWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQTabWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQTabWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQTabWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQTabWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQTabWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQTabWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQTabWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQTabWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQTabWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQTabWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQTabWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQTabWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQTabWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQTabWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQTabWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQTabWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQTabWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQTabWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQTabWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQTabWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQTabWidget::sipProtect_initStyleOption(QStyleOptionTabWidgetFrame*a0) const
{
    QTabWidget::initStyleOption(a0);
}

void sipQTabWidget::sipProtectVirt_tabInserted(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTabWidget::tabInserted(a0) : tabInserted(a0));
}

void sipQTabWidget::sipProtectVirt_tabRemoved(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTabWidget::tabRemoved(a0) : tabRemoved(a0));
}

bool sipQTabWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QTabWidget::event(a0) : event(a0));
}

void sipQTabWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QTabWidget::showEvent(a0) : showEvent(a0));
}

void sipQTabWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QTabWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQTabWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QTabWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQTabWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QTabWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQTabWidget::sipProtect_setTabBar(QTabBar*a0)
{
    QTabWidget::setTabBar(a0);
}

void sipQTabWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QTabWidget::changeEvent(a0) : changeEvent(a0));
}


PyDoc_STRVAR(doc_QTabWidget_sender, "QTabWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QTabWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 74082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_sender, doc_QTabWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_receivers, "QTabWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTabWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 74141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_receivers, doc_QTabWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_timerEvent, "QTabWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTabWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_timerEvent, doc_QTabWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_childEvent, "QTabWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTabWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_childEvent, doc_QTabWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_customEvent, "QTabWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTabWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_customEvent, doc_QTabWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_connectNotify, "QTabWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTabWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_connectNotify, doc_QTabWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_disconnectNotify, "QTabWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTabWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_disconnectNotify, doc_QTabWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_senderSignalIndex, "QTabWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTabWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_senderSignalIndex, doc_QTabWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_isSignalConnected, "QTabWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTabWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_isSignalConnected, doc_QTabWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_mousePressEvent, "QTabWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTabWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_mousePressEvent, doc_QTabWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_mouseReleaseEvent, "QTabWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTabWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_mouseReleaseEvent, doc_QTabWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_mouseDoubleClickEvent, "QTabWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTabWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_mouseDoubleClickEvent, doc_QTabWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_mouseMoveEvent, "QTabWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTabWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_mouseMoveEvent, doc_QTabWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_wheelEvent, "QTabWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QTabWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_wheelEvent, doc_QTabWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_keyReleaseEvent, "QTabWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTabWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_keyReleaseEvent, doc_QTabWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_focusInEvent, "QTabWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTabWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_focusInEvent, doc_QTabWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_focusOutEvent, "QTabWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTabWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_focusOutEvent, doc_QTabWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_enterEvent, "QTabWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QTabWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_enterEvent, doc_QTabWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_leaveEvent, "QTabWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QTabWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_leaveEvent, doc_QTabWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_moveEvent, "QTabWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QTabWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_moveEvent, doc_QTabWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_closeEvent, "QTabWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QTabWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_closeEvent, doc_QTabWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_contextMenuEvent, "QTabWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QTabWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_contextMenuEvent, doc_QTabWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabletEvent, "QTabWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QTabWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabletEvent, doc_QTabWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_actionEvent, "QTabWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QTabWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_actionEvent, doc_QTabWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_dragEnterEvent, "QTabWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QTabWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_dragEnterEvent, doc_QTabWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_dragMoveEvent, "QTabWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QTabWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_dragMoveEvent, doc_QTabWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_dragLeaveEvent, "QTabWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QTabWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_dragLeaveEvent, doc_QTabWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_dropEvent, "QTabWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QTabWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_dropEvent, doc_QTabWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_hideEvent, "QTabWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QTabWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_hideEvent, doc_QTabWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_metric, "QTabWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QTabWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_metric, doc_QTabWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_inputMethodEvent, "QTabWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QTabWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_inputMethodEvent, doc_QTabWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_updateMicroFocus, "QTabWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QTabWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_updateMicroFocus, doc_QTabWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_create, "QTabWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QTabWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQTabWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_create, doc_QTabWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_destroy, "QTabWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QTabWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQTabWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QTabWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_destroy, doc_QTabWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_focusNextPrevChild, "QTabWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QTabWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_focusNextPrevChild, doc_QTabWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_focusNextChild, "QTabWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QTabWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_focusNextChild, doc_QTabWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_focusPreviousChild, "QTabWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QTabWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_focusPreviousChild, doc_QTabWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_nativeEvent, "QTabWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QTabWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_nativeEvent, doc_QTabWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_sharedPainter, "QTabWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QTabWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_sharedPainter, doc_QTabWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_initPainter, "QTabWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QTabWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_initPainter, doc_QTabWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_clear, "QTabWidget.clear()");

extern "C" {static PyObject *meth_QTabWidget_clear(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_clear, doc_QTabWidget_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_addTab, "QTabWidget.addTab(QWidget, str) -> int\n"
    "QTabWidget.addTab(QWidget, QIcon, str) -> int");

extern "C" {static PyObject *meth_QTabWidget_addTab(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_addTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J1", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QWidget, &a0, sipType_QString,&a1, &a1State))
        {
            int sipRes;

            sipRes = sipCpp->addTab(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        QWidget* a0;
        const QIcon* a1;
        const QString* a2;
        int a2State = 0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J9J1", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QWidget, &a0, sipType_QIcon, &a1, sipType_QString,&a2, &a2State))
        {
            int sipRes;

            sipRes = sipCpp->addTab(a0,*a1,*a2);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_addTab, doc_QTabWidget_addTab);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_insertTab, "QTabWidget.insertTab(int, QWidget, str) -> int\n"
    "QTabWidget.insertTab(int, QWidget, QIcon, str) -> int");

extern "C" {static PyObject *meth_QTabWidget_insertTab(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_insertTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget* a1;
        const QString* a2;
        int a2State = 0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:J1", &sipSelf, sipType_QTabWidget, &sipCpp, &a0, sipType_QWidget, &a1, sipType_QString,&a2, &a2State))
        {
            int sipRes;

            sipRes = sipCpp->insertTab(a0,a1,*a2);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        QWidget* a1;
        const QIcon* a2;
        const QString* a3;
        int a3State = 0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:J9J1", &sipSelf, sipType_QTabWidget, &sipCpp, &a0, sipType_QWidget, &a1, sipType_QIcon, &a2, sipType_QString,&a3, &a3State))
        {
            int sipRes;

            sipRes = sipCpp->insertTab(a0,a1,*a2,*a3);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_insertTab, doc_QTabWidget_insertTab);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_removeTab, "QTabWidget.removeTab(int)");

extern "C" {static PyObject *meth_QTabWidget_removeTab(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_removeTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            sipCpp->removeTab(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_removeTab, doc_QTabWidget_removeTab);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_isTabEnabled, "QTabWidget.isTabEnabled(int) -> bool");

extern "C" {static PyObject *meth_QTabWidget_isTabEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_isTabEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isTabEnabled(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_isTabEnabled, doc_QTabWidget_isTabEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabEnabled, "QTabWidget.setTabEnabled(int, bool)");

extern "C" {static PyObject *meth_QTabWidget_setTabEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QTabWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setTabEnabled(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabEnabled, doc_QTabWidget_setTabEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabText, "QTabWidget.tabText(int) -> str");

extern "C" {static PyObject *meth_QTabWidget_tabText(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->tabText(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabText, doc_QTabWidget_tabText);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabText, "QTabWidget.setTabText(int, str)");

extern "C" {static PyObject *meth_QTabWidget_setTabText(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTabWidget, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setTabText(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabText, doc_QTabWidget_setTabText);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabIcon, "QTabWidget.tabIcon(int) -> QIcon");

extern "C" {static PyObject *meth_QTabWidget_tabIcon(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->tabIcon(a0));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabIcon, doc_QTabWidget_tabIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabIcon, "QTabWidget.setTabIcon(int, QIcon)");

extern "C" {static PyObject *meth_QTabWidget_setTabIcon(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QIcon* a1;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QTabWidget, &sipCpp, &a0, sipType_QIcon, &a1))
        {
            sipCpp->setTabIcon(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabIcon, doc_QTabWidget_setTabIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabToolTip, "QTabWidget.setTabToolTip(int, str)");

extern "C" {static PyObject *meth_QTabWidget_setTabToolTip(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTabWidget, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setTabToolTip(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabToolTip, doc_QTabWidget_setTabToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabToolTip, "QTabWidget.tabToolTip(int) -> str");

extern "C" {static PyObject *meth_QTabWidget_tabToolTip(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->tabToolTip(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabToolTip, doc_QTabWidget_tabToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabWhatsThis, "QTabWidget.setTabWhatsThis(int, str)");

extern "C" {static PyObject *meth_QTabWidget_setTabWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTabWidget, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setTabWhatsThis(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabWhatsThis, doc_QTabWidget_setTabWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabWhatsThis, "QTabWidget.tabWhatsThis(int) -> str");

extern "C" {static PyObject *meth_QTabWidget_tabWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->tabWhatsThis(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabWhatsThis, doc_QTabWidget_tabWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_currentIndex, "QTabWidget.currentIndex() -> int");

extern "C" {static PyObject *meth_QTabWidget_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_currentIndex, doc_QTabWidget_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_currentWidget, "QTabWidget.currentWidget() -> QWidget");

extern "C" {static PyObject *meth_QTabWidget_currentWidget(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_currentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->currentWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_currentWidget, doc_QTabWidget_currentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_widget, "QTabWidget.widget(int) -> QWidget");

extern "C" {static PyObject *meth_QTabWidget_widget(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_widget, doc_QTabWidget_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_indexOf, "QTabWidget.indexOf(QWidget) -> int");

extern "C" {static PyObject *meth_QTabWidget_indexOf(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_indexOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QWidget, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOf(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_indexOf, doc_QTabWidget_indexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_count, "QTabWidget.count() -> int");

extern "C" {static PyObject *meth_QTabWidget_count(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_count, doc_QTabWidget_count);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabPosition, "QTabWidget.tabPosition() -> QTabWidget.TabPosition");

extern "C" {static PyObject *meth_QTabWidget_tabPosition(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            QTabWidget::TabPosition sipRes;

            sipRes = sipCpp->tabPosition();

            return sipConvertFromEnum(sipRes,sipType_QTabWidget_TabPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabPosition, doc_QTabWidget_tabPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabPosition, "QTabWidget.setTabPosition(QTabWidget.TabPosition)");

extern "C" {static PyObject *meth_QTabWidget_setTabPosition(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTabWidget::TabPosition a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QTabWidget_TabPosition, &a0))
        {
            sipCpp->setTabPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabPosition, doc_QTabWidget_setTabPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabShape, "QTabWidget.tabShape() -> QTabWidget.TabShape");

extern "C" {static PyObject *meth_QTabWidget_tabShape(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            QTabWidget::TabShape sipRes;

            sipRes = sipCpp->tabShape();

            return sipConvertFromEnum(sipRes,sipType_QTabWidget_TabShape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabShape, doc_QTabWidget_tabShape);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabShape, "QTabWidget.setTabShape(QTabWidget.TabShape)");

extern "C" {static PyObject *meth_QTabWidget_setTabShape(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTabWidget::TabShape a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QTabWidget_TabShape, &a0))
        {
            sipCpp->setTabShape(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabShape, doc_QTabWidget_setTabShape);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_sizeHint, "QTabWidget.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QTabWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QTabWidget::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_sizeHint, doc_QTabWidget_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_minimumSizeHint, "QTabWidget.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QTabWidget_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QTabWidget::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_minimumSizeHint, doc_QTabWidget_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setCornerWidget, "QTabWidget.setCornerWidget(QWidget, Qt.Corner corner=Qt.TopRightCorner)");

extern "C" {static PyObject *meth_QTabWidget_setCornerWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setCornerWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        Qt::Corner a1 = Qt::TopRightCorner;
        QTabWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_corner,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:|E", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QWidget, &a0, sipType_Qt_Corner, &a1))
        {
            sipCpp->setCornerWidget(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setCornerWidget, doc_QTabWidget_setCornerWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_cornerWidget, "QTabWidget.cornerWidget(Qt.Corner corner=Qt.TopRightCorner) -> QWidget");

extern "C" {static PyObject *meth_QTabWidget_cornerWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_cornerWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Corner a0 = Qt::TopRightCorner;
        const QTabWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_corner,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_Qt_Corner, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->cornerWidget(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_cornerWidget, doc_QTabWidget_cornerWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setCurrentIndex, "QTabWidget.setCurrentIndex(int)");

extern "C" {static PyObject *meth_QTabWidget_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            sipCpp->setCurrentIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setCurrentIndex, doc_QTabWidget_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setCurrentWidget, "QTabWidget.setCurrentWidget(QWidget)");

extern "C" {static PyObject *meth_QTabWidget_setCurrentWidget(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setCurrentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setCurrentWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setCurrentWidget, doc_QTabWidget_setCurrentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_initStyleOption, "QTabWidget.initStyleOption(QStyleOptionTabWidgetFrame)");

extern "C" {static PyObject *meth_QTabWidget_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTabWidgetFrame* a0;
        const sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QStyleOptionTabWidgetFrame, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_initStyleOption, doc_QTabWidget_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabInserted, "QTabWidget.tabInserted(int)");

extern "C" {static PyObject *meth_QTabWidget_tabInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_tabInserted(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabInserted, doc_QTabWidget_tabInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabRemoved, "QTabWidget.tabRemoved(int)");

extern "C" {static PyObject *meth_QTabWidget_tabRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_tabRemoved(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabRemoved, doc_QTabWidget_tabRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_event, "QTabWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QTabWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_event, doc_QTabWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_showEvent, "QTabWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QTabWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_showEvent, doc_QTabWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_resizeEvent, "QTabWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QTabWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_resizeEvent, doc_QTabWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_keyPressEvent, "QTabWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTabWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_keyPressEvent, doc_QTabWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_paintEvent, "QTabWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QTabWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_paintEvent, doc_QTabWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabBar, "QTabWidget.setTabBar(QTabBar)");

extern "C" {static PyObject *meth_QTabWidget_setTabBar(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabBar(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QTabBar* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QTabBar, &a0))
        {
            sipCpp->sipProtect_setTabBar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabBar, doc_QTabWidget_setTabBar);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabBar, "QTabWidget.tabBar() -> QTabBar");

extern "C" {static PyObject *meth_QTabWidget_tabBar(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            QTabBar*sipRes;

            sipRes = sipCpp->tabBar();

            return sipConvertFromType(sipRes,sipType_QTabBar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabBar, doc_QTabWidget_tabBar);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_changeEvent, "QTabWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QTabWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_changeEvent, doc_QTabWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_elideMode, "QTabWidget.elideMode() -> Qt.TextElideMode");

extern "C" {static PyObject *meth_QTabWidget_elideMode(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_elideMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            Qt::TextElideMode sipRes;

            sipRes = sipCpp->elideMode();

            return sipConvertFromEnum(sipRes,sipType_Qt_TextElideMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_elideMode, doc_QTabWidget_elideMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setElideMode, "QTabWidget.setElideMode(Qt.TextElideMode)");

extern "C" {static PyObject *meth_QTabWidget_setElideMode(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setElideMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextElideMode a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_Qt_TextElideMode, &a0))
        {
            sipCpp->setElideMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setElideMode, doc_QTabWidget_setElideMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_iconSize, "QTabWidget.iconSize() -> QSize");

extern "C" {static PyObject *meth_QTabWidget_iconSize(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->iconSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_iconSize, doc_QTabWidget_iconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setIconSize, "QTabWidget.setIconSize(QSize)");

extern "C" {static PyObject *meth_QTabWidget_setIconSize(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTabWidget, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setIconSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setIconSize, doc_QTabWidget_setIconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_usesScrollButtons, "QTabWidget.usesScrollButtons() -> bool");

extern "C" {static PyObject *meth_QTabWidget_usesScrollButtons(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_usesScrollButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->usesScrollButtons();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_usesScrollButtons, doc_QTabWidget_usesScrollButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setUsesScrollButtons, "QTabWidget.setUsesScrollButtons(bool)");

extern "C" {static PyObject *meth_QTabWidget_setUsesScrollButtons(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setUsesScrollButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            sipCpp->setUsesScrollButtons(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setUsesScrollButtons, doc_QTabWidget_setUsesScrollButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabsClosable, "QTabWidget.tabsClosable() -> bool");

extern "C" {static PyObject *meth_QTabWidget_tabsClosable(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabsClosable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tabsClosable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabsClosable, doc_QTabWidget_tabsClosable);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabsClosable, "QTabWidget.setTabsClosable(bool)");

extern "C" {static PyObject *meth_QTabWidget_setTabsClosable(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabsClosable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            sipCpp->setTabsClosable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabsClosable, doc_QTabWidget_setTabsClosable);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_isMovable, "QTabWidget.isMovable() -> bool");

extern "C" {static PyObject *meth_QTabWidget_isMovable(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_isMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMovable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_isMovable, doc_QTabWidget_isMovable);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setMovable, "QTabWidget.setMovable(bool)");

extern "C" {static PyObject *meth_QTabWidget_setMovable(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            sipCpp->setMovable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setMovable, doc_QTabWidget_setMovable);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_documentMode, "QTabWidget.documentMode() -> bool");

extern "C" {static PyObject *meth_QTabWidget_documentMode(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_documentMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->documentMode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_documentMode, doc_QTabWidget_documentMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setDocumentMode, "QTabWidget.setDocumentMode(bool)");

extern "C" {static PyObject *meth_QTabWidget_setDocumentMode(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setDocumentMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            sipCpp->setDocumentMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setDocumentMode, doc_QTabWidget_setDocumentMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_heightForWidth, "QTabWidget.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QTabWidget_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QTabWidget::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_heightForWidth, doc_QTabWidget_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_hasHeightForWidth, "QTabWidget.hasHeightForWidth() -> bool");

extern "C" {static PyObject *meth_QTabWidget_hasHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_hasHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QTabWidget::hasHeightForWidth() : sipCpp->hasHeightForWidth());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_hasHeightForWidth, doc_QTabWidget_hasHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_tabBarAutoHide, "QTabWidget.tabBarAutoHide() -> bool");

extern "C" {static PyObject *meth_QTabWidget_tabBarAutoHide(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_tabBarAutoHide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tabBarAutoHide();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_tabBarAutoHide, doc_QTabWidget_tabBarAutoHide);

    return NULL;
}


PyDoc_STRVAR(doc_QTabWidget_setTabBarAutoHide, "QTabWidget.setTabBarAutoHide(bool)");

extern "C" {static PyObject *meth_QTabWidget_setTabBarAutoHide(PyObject *, PyObject *);}
static PyObject *meth_QTabWidget_setTabBarAutoHide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabWidget, &sipCpp, &a0))
        {
            sipCpp->setTabBarAutoHide(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabWidget, sipName_setTabBarAutoHide, doc_QTabWidget_setTabBarAutoHide);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QTabWidget___len__(PyObject *);}
static SIP_SSIZE_T slot_QTabWidget___len__(PyObject *sipSelf)
{
    QTabWidget *sipCpp = reinterpret_cast<QTabWidget *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTabWidget));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 76860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTabWidget(void *, const sipTypeDef *);}
static void *cast_QTabWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTabWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QTabWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTabWidget(void *, int);}
static void release_QTabWidget(void *sipCppV,int)
{
    QTabWidget *sipCpp = reinterpret_cast<QTabWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTabWidget(sipSimpleWrapper *);}
static void dealloc_QTabWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTabWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTabWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTabWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTabWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTabWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQTabWidget(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTabWidget[] = {{454, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QTabWidget[] = {
    {(void *)slot_QTabWidget___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QTabWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QTabWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addTab), meth_QTabWidget_addTab, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_addTab)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QTabWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTabWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QTabWidget_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QTabWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTabWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QTabWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cornerWidget), (PyCFunction)meth_QTabWidget_cornerWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_cornerWidget)},
    {SIP_MLNAME_CAST(sipName_count), meth_QTabWidget_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_count)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QTabWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QTabWidget_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_currentIndex)},
    {SIP_MLNAME_CAST(sipName_currentWidget), meth_QTabWidget_currentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_currentWidget)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTabWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QTabWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTabWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_documentMode), meth_QTabWidget_documentMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_documentMode)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QTabWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QTabWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QTabWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QTabWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_elideMode), meth_QTabWidget_elideMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_elideMode)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QTabWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QTabWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QTabWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QTabWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QTabWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QTabWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QTabWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hasHeightForWidth), meth_QTabWidget_hasHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_hasHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QTabWidget_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QTabWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_QTabWidget_iconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_iconSize)},
    {SIP_MLNAME_CAST(sipName_indexOf), meth_QTabWidget_indexOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_indexOf)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QTabWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QTabWidget_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QTabWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertTab), meth_QTabWidget_insertTab, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_insertTab)},
    {SIP_MLNAME_CAST(sipName_isMovable), meth_QTabWidget_isMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_isMovable)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTabWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTabEnabled), meth_QTabWidget_isTabEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_isTabEnabled)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QTabWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QTabWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QTabWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QTabWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QTabWidget_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QTabWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QTabWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QTabWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QTabWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QTabWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QTabWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QTabWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTabWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeTab), meth_QTabWidget_removeTab, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_removeTab)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QTabWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTabWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTabWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCornerWidget), (PyCFunction)meth_QTabWidget_setCornerWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_setCornerWidget)},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QTabWidget_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setCurrentWidget), meth_QTabWidget_setCurrentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setCurrentWidget)},
    {SIP_MLNAME_CAST(sipName_setDocumentMode), meth_QTabWidget_setDocumentMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setDocumentMode)},
    {SIP_MLNAME_CAST(sipName_setElideMode), meth_QTabWidget_setElideMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setElideMode)},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_QTabWidget_setIconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setIconSize)},
    {SIP_MLNAME_CAST(sipName_setMovable), meth_QTabWidget_setMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setMovable)},
    {SIP_MLNAME_CAST(sipName_setTabBar), (PyCFunction)meth_QTabWidget_setTabBar, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_setTabBar)},
    {SIP_MLNAME_CAST(sipName_setTabBarAutoHide), meth_QTabWidget_setTabBarAutoHide, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setTabBarAutoHide)},
    {SIP_MLNAME_CAST(sipName_setTabEnabled), meth_QTabWidget_setTabEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setTabEnabled)},
    {SIP_MLNAME_CAST(sipName_setTabIcon), meth_QTabWidget_setTabIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setTabIcon)},
    {SIP_MLNAME_CAST(sipName_setTabPosition), meth_QTabWidget_setTabPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setTabPosition)},
    {SIP_MLNAME_CAST(sipName_setTabShape), meth_QTabWidget_setTabShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setTabShape)},
    {SIP_MLNAME_CAST(sipName_setTabText), meth_QTabWidget_setTabText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setTabText)},
    {SIP_MLNAME_CAST(sipName_setTabToolTip), meth_QTabWidget_setTabToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setTabToolTip)},
    {SIP_MLNAME_CAST(sipName_setTabWhatsThis), meth_QTabWidget_setTabWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setTabWhatsThis)},
    {SIP_MLNAME_CAST(sipName_setTabsClosable), meth_QTabWidget_setTabsClosable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setTabsClosable)},
    {SIP_MLNAME_CAST(sipName_setUsesScrollButtons), meth_QTabWidget_setUsesScrollButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_setUsesScrollButtons)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QTabWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QTabWidget_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QTabWidget_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabBar), meth_QTabWidget_tabBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_tabBar)},
    {SIP_MLNAME_CAST(sipName_tabBarAutoHide), meth_QTabWidget_tabBarAutoHide, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_tabBarAutoHide)},
    {SIP_MLNAME_CAST(sipName_tabIcon), meth_QTabWidget_tabIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_tabIcon)},
    {SIP_MLNAME_CAST(sipName_tabInserted), (PyCFunction)meth_QTabWidget_tabInserted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_tabInserted)},
    {SIP_MLNAME_CAST(sipName_tabPosition), meth_QTabWidget_tabPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_tabPosition)},
    {SIP_MLNAME_CAST(sipName_tabRemoved), (PyCFunction)meth_QTabWidget_tabRemoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabWidget_tabRemoved)},
    {SIP_MLNAME_CAST(sipName_tabShape), meth_QTabWidget_tabShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_tabShape)},
    {SIP_MLNAME_CAST(sipName_tabText), meth_QTabWidget_tabText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_tabText)},
    {SIP_MLNAME_CAST(sipName_tabToolTip), meth_QTabWidget_tabToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_tabToolTip)},
    {SIP_MLNAME_CAST(sipName_tabWhatsThis), meth_QTabWidget_tabWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_tabWhatsThis)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QTabWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabsClosable), meth_QTabWidget_tabsClosable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_tabsClosable)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTabWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QTabWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_usesScrollButtons), meth_QTabWidget_usesScrollButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_usesScrollButtons)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTabWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QTabWidget_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabWidget_widget)}
};

static sipEnumMemberDef enummembers_QTabWidget[] = {
    {sipName_East, static_cast<int>(QTabWidget::East), 419},
    {sipName_North, static_cast<int>(QTabWidget::North), 419},
    {sipName_Rounded, static_cast<int>(QTabWidget::Rounded), 420},
    {sipName_South, static_cast<int>(QTabWidget::South), 419},
    {sipName_Triangular, static_cast<int>(QTabWidget::Triangular), 420},
    {sipName_West, static_cast<int>(QTabWidget::West), 419},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTabWidget[] = {
    {"tabBarDoubleClicked(int)", "\1QTabWidget.tabBarDoubleClicked[int]", 0, 0},
    {"tabBarClicked(int)", "\1QTabWidget.tabBarClicked[int]", 0, 0},
    {"tabCloseRequested(int)", "\1QTabWidget.tabCloseRequested[int]", 0, 0},
    {"currentChanged(int)", "\1QTabWidget.currentChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QTabWidget, "\1QTabWidget(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTabWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTabWidget,
        {0}
    },
    {
        sipNameNr_QTabWidget,
        {0, 0, 1},
        96, methods_QTabWidget,
        6, enummembers_QTabWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTabWidget,
    -1,
    -1,
    supers_QTabWidget,
    slots_QTabWidget,
    init_type_QTabWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTabWidget,
    0,
    0,
    0,
    release_QTabWidget,
    cast_QTabWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTabWidget::staticMetaObject,
    0,
    signals_QTabWidget,
    0
};

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 77127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 77131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 77134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 49 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 77143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 77146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 77152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 77161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 77164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 77167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 77170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 77173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 77182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 77185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 77188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 77191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 77197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 77209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 77212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 77215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 77221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 77224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 77248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 77251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 77254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 77257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 77266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 77275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 77278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 77281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 77284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 77287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 77290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 77296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 77305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 77308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 77311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 77314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 77317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 77320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 77323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 77326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 77329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 77347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 77350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 77356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 77359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 77362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 77368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 77371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 77374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 77377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 77380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 77383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 77386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 77395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 77398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 77401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 77404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 77407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTableWidget : public QTableWidget
{
public:
    sipQTableWidget(QWidget*);
    sipQTableWidget(int,int,QWidget*);
    virtual ~sipQTableWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_dataChanged(bool,const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_rowMoved(int,int,int);
    void sipProtect_columnMoved(int,int,int);
    void sipProtect_rowResized(int,int,int);
    void sipProtect_columnResized(int,int,int);
    void sipProtect_rowCountChanged(int,int);
    void sipProtect_columnCountChanged(int,int);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    void sipProtectVirt_updateGeometries(bool);
    int sipProtectVirt_sizeHintForRow(bool,int) const;
    int sipProtectVirt_sizeHintForColumn(bool,int) const;
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    QSize sipProtectVirt_viewportSizeHint(bool) const;
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);
    QStringList sipProtectVirt_mimeTypes(bool) const;
    QMimeData* sipProtectVirt_mimeData(bool,const QList<QTableWidgetItem*>) const;
    bool sipProtectVirt_dropMimeData(bool,int,int,const QMimeData*,Qt::DropAction);
    Qt::DropActions sipProtectVirt_supportedDropActions(bool) const;
    QList<QTableWidgetItem*> sipProtect_items(const QMimeData*) const;
    QModelIndex sipProtect_indexFromItem(QTableWidgetItem*) const;
    QTableWidgetItem* sipProtect_itemFromIndex(const QModelIndex&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void resizeEvent(QResizeEvent*);
    void keyPressEvent(QKeyEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool viewportEvent(QEvent*);
    void startDrag(Qt::DropActions);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void updateEditorGeometries();
    void updateEditorData();
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void selectAll();
    void reset();
    void keyboardSearch(const QString&);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    QSize viewportSizeHint() const;
    bool isIndexHidden(const QModelIndex&) const;
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void updateGeometries();
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    int verticalOffset() const;
    int horizontalOffset() const;
    void timerEvent(QTimerEvent*);
    void paintEvent(QPaintEvent*);
    QStyleOptionViewItem viewOptions() const;
    void scrollContentsBy(int,int);
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void setSelectionModel(QItemSelectionModel*);
    void setRootIndex(const QModelIndex&);
    void dropEvent(QDropEvent*);
    bool event(QEvent*);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(int,int,const QMimeData*,Qt::DropAction);
    QMimeData* mimeData(const QList<QTableWidgetItem*>) const;
    QStringList mimeTypes() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTableWidget(const sipQTableWidget &);
    sipQTableWidget &operator = (const sipQTableWidget &);

    char sipPyMethods[90];
};

sipQTableWidget::sipQTableWidget(QWidget*a0): QTableWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTableWidget::sipQTableWidget(int a0,int a1,QWidget*a2): QTableWidget(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTableWidget::~sipQTableWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTableWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTableWidget);
}

int sipQTableWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTableWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTableWidget,_c,_id,_a);

    return _id;
}

void *sipQTableWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTableWidget, _clname, &sipCpp) ? sipCpp : QTableWidget::qt_metacast(_clname));
}

void sipQTableWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTableWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTableWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTableWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTableWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QTableWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQTableWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QTableWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTableWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QTableWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTableWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QTableWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTableWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QTableWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QTableWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QTableWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QTableWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QTableWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QTableWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QTableWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QTableWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QTableWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QTableWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQTableWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QTableWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTableWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QTableWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QTableWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTableWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QTableWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QTableWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QTableWidget::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTableWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTableWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTableWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QTableWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QTableWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTableWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QTableWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQTableWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QTableWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QTableWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTableWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QTableWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQTableWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QTableWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QTableWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QTableWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QTableWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QTableWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QTableWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QTableWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QTableWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QTableWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QTableWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QTableWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QTableWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTableWidget::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QTableWidget::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QTableWidget::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQTableWidget::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QTableWidget::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTableWidget::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QTableWidget::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableWidget::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QTableWidget::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QTableWidget::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QTableWidget::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTableWidget::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QTableWidget::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QTableWidget::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QTableWidget::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableWidget::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QTableWidget::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableWidget::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QTableWidget::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableWidget::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QTableWidget::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableWidget::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QTableWidget::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableWidget::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QTableWidget::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableWidget::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QTableWidget::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableWidget::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QTableWidget::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QTableWidget::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTableWidget::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QTableWidget::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QSize sipQTableWidget::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[62]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QTableWidget::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTableWidget::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[63]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return QTableWidget::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QTableWidget::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QTableWidget::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTableWidget::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[66]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QTableWidget::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTableWidget::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[67]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QTableWidget::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QTableWidget::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndexList sipQTableWidget::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[69]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QTableWidget::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQTableWidget::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[70]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QTableWidget::visualRegionForSelection(a0);

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        QTableWidget::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipQTableWidget::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return QTableWidget::moveCursor(a0,a1);

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

int sipQTableWidget::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[73]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return QTableWidget::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTableWidget::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[74]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return QTableWidget::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTableWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QTableWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQTableWidget::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QTableWidget::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableWidget::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QTableWidget::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipQTableWidget::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return QTableWidget::indexAt(a0);

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        QTableWidget::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QRect sipQTableWidget::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[81]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return QTableWidget::visualRect(a0);

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QTableWidget::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QTableWidget::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QTableWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTableWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTableWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

Qt::DropActions sipQTableWidget::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QTableWidget::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTableWidget::dropMimeData(int a0,int a1,const QMimeData*a2,Qt::DropAction a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QTableWidget::dropMimeData(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QMimeData*,Qt::DropAction);

    return sipVH_QtWidgets_41(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QMimeData* sipQTableWidget::mimeData(const QList<QTableWidgetItem*> a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[88]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QTableWidget::mimeData(a0);

    extern QMimeData* sipVH_QtWidgets_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QTableWidgetItem*>);

    return sipVH_QtWidgets_42(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStringList sipQTableWidget::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[89]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QTableWidget::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[27]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQTableWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTableWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTableWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTableWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTableWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTableWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTableWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTableWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQTableWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQTableWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQTableWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQTableWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQTableWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQTableWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQTableWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQTableWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQTableWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQTableWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQTableWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQTableWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQTableWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQTableWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQTableWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQTableWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQTableWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQTableWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQTableWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQTableWidget::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQTableWidget::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQTableWidget::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQTableWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQTableWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQTableWidget::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQTableWidget::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQTableWidget::sipProtectVirt_dataChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    (sipSelfWasArg ? QAbstractItemView::dataChanged(a0,a1,a2) : dataChanged(a0,a1,a2));
}

void sipQTableWidget::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QAbstractItemView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipQTableWidget::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QAbstractItemView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

void sipQTableWidget::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQTableWidget::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQTableWidget::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQTableWidget::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQTableWidget::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQTableWidget::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQTableWidget::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QItemSelectionModel::SelectionFlags sipQTableWidget::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

void sipQTableWidget::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QAbstractItemView::startDrag(a0) : startDrag(a0));
}

int sipQTableWidget::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQTableWidget::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQTableWidget::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQTableWidget::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQTableWidget::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQTableWidget::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQTableWidget::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

bool sipQTableWidget::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQTableWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQTableWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQTableWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQTableWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQTableWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQTableWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQTableWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQTableWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQTableWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQTableWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQTableWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::resizeEvent(a0) : resizeEvent(a0));
}

int sipQTableWidget::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQTableWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQTableWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQTableWidget::sipProtect_rowMoved(int a0,int a1,int a2)
{
    QTableView::rowMoved(a0,a1,a2);
}

void sipQTableWidget::sipProtect_columnMoved(int a0,int a1,int a2)
{
    QTableView::columnMoved(a0,a1,a2);
}

void sipQTableWidget::sipProtect_rowResized(int a0,int a1,int a2)
{
    QTableView::rowResized(a0,a1,a2);
}

void sipQTableWidget::sipProtect_columnResized(int a0,int a1,int a2)
{
    QTableView::columnResized(a0,a1,a2);
}

void sipQTableWidget::sipProtect_rowCountChanged(int a0,int a1)
{
    QTableView::rowCountChanged(a0,a1);
}

void sipQTableWidget::sipProtect_columnCountChanged(int a0,int a1)
{
    QTableView::columnCountChanged(a0,a1);
}

void sipQTableWidget::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QTableView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

QStyleOptionViewItem sipQTableWidget::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::viewOptions() : viewOptions());
}

void sipQTableWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QTableView::paintEvent(a0) : paintEvent(a0));
}

void sipQTableWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QTableView::timerEvent(a0) : timerEvent(a0));
}

int sipQTableWidget::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::horizontalOffset() : horizontalOffset());
}

int sipQTableWidget::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::verticalOffset() : verticalOffset());
}

QModelIndex sipQTableWidget::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0,Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ? QTableView::moveCursor((QAbstractItemView::CursorAction)a0,a1) : moveCursor((QAbstractItemView::CursorAction)a0,a1));
}

void sipQTableWidget::sipProtectVirt_setSelection(bool sipSelfWasArg,const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ? QTableView::setSelection(a0,a1) : setSelection(a0,a1));
}

QRegion sipQTableWidget::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const QItemSelection& a0) const
{
    return (sipSelfWasArg ? QTableView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

QModelIndexList sipQTableWidget::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::selectedIndexes() : selectedIndexes());
}

void sipQTableWidget::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QTableView::updateGeometries() : updateGeometries());
}

int sipQTableWidget::sipProtectVirt_sizeHintForRow(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QTableView::sizeHintForRow(a0) : sizeHintForRow(a0));
}

int sipQTableWidget::sipProtectVirt_sizeHintForColumn(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QTableView::sizeHintForColumn(a0) : sizeHintForColumn(a0));
}

void sipQTableWidget::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTableView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQTableWidget::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTableView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

bool sipQTableWidget::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QTableView::isIndexHidden(a0) : isIndexHidden(a0));
}

QSize sipQTableWidget::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::viewportSizeHint() : viewportSizeHint());
}

void sipQTableWidget::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QTableView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQTableWidget::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QTableView::currentChanged(a0,a1) : currentChanged(a0,a1));
}

QStringList sipQTableWidget::sipProtectVirt_mimeTypes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableWidget::mimeTypes() : mimeTypes());
}

QMimeData* sipQTableWidget::sipProtectVirt_mimeData(bool sipSelfWasArg,const QList<QTableWidgetItem*> a0) const
{
    return (sipSelfWasArg ? QTableWidget::mimeData(a0) : mimeData(a0));
}

bool sipQTableWidget::sipProtectVirt_dropMimeData(bool sipSelfWasArg,int a0,int a1,const QMimeData*a2,Qt::DropAction a3)
{
    return (sipSelfWasArg ? QTableWidget::dropMimeData(a0,a1,a2,a3) : dropMimeData(a0,a1,a2,a3));
}

Qt::DropActions sipQTableWidget::sipProtectVirt_supportedDropActions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableWidget::supportedDropActions() : supportedDropActions());
}

QList<QTableWidgetItem*> sipQTableWidget::sipProtect_items(const QMimeData*a0) const
{
    return QTableWidget::items(a0);
}

QModelIndex sipQTableWidget::sipProtect_indexFromItem(QTableWidgetItem*a0) const
{
    return QTableWidget::indexFromItem(a0);
}

QTableWidgetItem* sipQTableWidget::sipProtect_itemFromIndex(const QModelIndex& a0) const
{
    return QTableWidget::itemFromIndex(a0);
}

bool sipQTableWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QTableWidget::event(a0) : event(a0));
}

void sipQTableWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QTableWidget::dropEvent(a0) : dropEvent(a0));
}


PyDoc_STRVAR(doc_QTableWidget_sender, "QTableWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QTableWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 79779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_sender, doc_QTableWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_receivers, "QTableWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTableWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 79838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_receivers, doc_QTableWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_childEvent, "QTableWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTableWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_childEvent, doc_QTableWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_customEvent, "QTableWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTableWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_customEvent, doc_QTableWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_connectNotify, "QTableWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTableWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_connectNotify, doc_QTableWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_disconnectNotify, "QTableWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTableWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_disconnectNotify, doc_QTableWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_senderSignalIndex, "QTableWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTableWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_senderSignalIndex, doc_QTableWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_isSignalConnected, "QTableWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTableWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_isSignalConnected, doc_QTableWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_keyReleaseEvent, "QTableWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTableWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_keyReleaseEvent, doc_QTableWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_enterEvent, "QTableWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QTableWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_enterEvent, doc_QTableWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_leaveEvent, "QTableWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QTableWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_leaveEvent, doc_QTableWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_moveEvent, "QTableWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QTableWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_moveEvent, doc_QTableWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_closeEvent, "QTableWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QTableWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_closeEvent, doc_QTableWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_tabletEvent, "QTableWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QTableWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_tabletEvent, doc_QTableWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_actionEvent, "QTableWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QTableWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_actionEvent, doc_QTableWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_showEvent, "QTableWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QTableWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_showEvent, doc_QTableWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_hideEvent, "QTableWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QTableWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_hideEvent, doc_QTableWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_metric, "QTableWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QTableWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_metric, doc_QTableWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_updateMicroFocus, "QTableWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QTableWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_updateMicroFocus, doc_QTableWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_create, "QTableWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QTableWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQTableWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_create, doc_QTableWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_destroy, "QTableWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QTableWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQTableWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_destroy, doc_QTableWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_focusNextChild, "QTableWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QTableWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_focusNextChild, doc_QTableWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_focusPreviousChild, "QTableWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QTableWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_focusPreviousChild, doc_QTableWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_nativeEvent, "QTableWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QTableWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_nativeEvent, doc_QTableWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_sharedPainter, "QTableWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QTableWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_sharedPainter, doc_QTableWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_initPainter, "QTableWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QTableWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_initPainter, doc_QTableWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_changeEvent, "QTableWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QTableWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_changeEvent, doc_QTableWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_drawFrame, "QTableWidget.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QTableWidget_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_drawFrame, doc_QTableWidget_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setViewportMargins, "QTableWidget.setViewportMargins(int, int, int, int)\n"
    "QTableWidget.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QTableWidget_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setViewportMargins, doc_QTableWidget_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_wheelEvent, "QTableWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QTableWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_wheelEvent, doc_QTableWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_contextMenuEvent, "QTableWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QTableWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_contextMenuEvent, doc_QTableWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_eventFilter, "QTableWidget.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QTableWidget_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_eventFilter, doc_QTableWidget_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_edit, "QTableWidget.edit(QModelIndex)\n"
    "QTableWidget.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QTableWidget_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_edit, doc_QTableWidget_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_dataChanged, "QTableWidget.dataChanged(QModelIndex, QModelIndex, list-of-int roles=[])");

extern "C" {static PyObject *meth_QTableWidget_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const QVector<int>& a2def = QVector<int>();
        const QVector<int>* a2 = &a2def;
        int a2State = 0;
        sipQTableWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_roles,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|J1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1,*a2);
            sipReleaseType(const_cast<QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dataChanged, doc_QTableWidget_dataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_rowsInserted, "QTableWidget.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTableWidget_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_rowsInserted, doc_QTableWidget_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_rowsAboutToBeRemoved, "QTableWidget.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTableWidget_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_rowsAboutToBeRemoved, doc_QTableWidget_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_updateEditorData, "QTableWidget.updateEditorData()");

extern "C" {static PyObject *meth_QTableWidget_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_updateEditorData, doc_QTableWidget_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_updateEditorGeometries, "QTableWidget.updateEditorGeometries()");

extern "C" {static PyObject *meth_QTableWidget_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_updateEditorGeometries, doc_QTableWidget_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_verticalScrollbarValueChanged, "QTableWidget.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QTableWidget_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_verticalScrollbarValueChanged, doc_QTableWidget_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_horizontalScrollbarValueChanged, "QTableWidget.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QTableWidget_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_horizontalScrollbarValueChanged, doc_QTableWidget_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_closeEditor, "QTableWidget.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QTableWidget_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_closeEditor, doc_QTableWidget_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_commitData, "QTableWidget.commitData(QWidget)");

extern "C" {static PyObject *meth_QTableWidget_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_commitData, doc_QTableWidget_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_editorDestroyed, "QTableWidget.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QTableWidget_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_editorDestroyed, doc_QTableWidget_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_selectionCommand, "QTableWidget.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QTableWidget_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQTableWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_selectionCommand, doc_QTableWidget_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_startDrag, "QTableWidget.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QTableWidget_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QTableWidget, sipName_startDrag, doc_QTableWidget_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_state, "QTableWidget.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QTableWidget_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_state, doc_QTableWidget_state);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setState, "QTableWidget.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QTableWidget_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setState, doc_QTableWidget_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_scheduleDelayedItemsLayout, "QTableWidget.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QTableWidget_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_scheduleDelayedItemsLayout, doc_QTableWidget_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_executeDelayedItemsLayout, "QTableWidget.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QTableWidget_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_executeDelayedItemsLayout, doc_QTableWidget_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_scrollDirtyRegion, "QTableWidget.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QTableWidget_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_scrollDirtyRegion, doc_QTableWidget_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setDirtyRegion, "QTableWidget.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QTableWidget_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setDirtyRegion, doc_QTableWidget_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_dirtyRegionOffset, "QTableWidget.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QTableWidget_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dirtyRegionOffset, doc_QTableWidget_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_viewportEvent, "QTableWidget.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QTableWidget_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_viewportEvent, doc_QTableWidget_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_mousePressEvent, "QTableWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTableWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_mousePressEvent, doc_QTableWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_mouseMoveEvent, "QTableWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTableWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_mouseMoveEvent, doc_QTableWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_mouseReleaseEvent, "QTableWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTableWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_mouseReleaseEvent, doc_QTableWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_mouseDoubleClickEvent, "QTableWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTableWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_mouseDoubleClickEvent, doc_QTableWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_dragEnterEvent, "QTableWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QTableWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dragEnterEvent, doc_QTableWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_dragMoveEvent, "QTableWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QTableWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dragMoveEvent, doc_QTableWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_dragLeaveEvent, "QTableWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QTableWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dragLeaveEvent, doc_QTableWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_focusInEvent, "QTableWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTableWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_focusInEvent, doc_QTableWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_focusOutEvent, "QTableWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTableWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_focusOutEvent, doc_QTableWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_keyPressEvent, "QTableWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTableWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_keyPressEvent, doc_QTableWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_resizeEvent, "QTableWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QTableWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_resizeEvent, doc_QTableWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_dropIndicatorPosition, "QTableWidget.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QTableWidget_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dropIndicatorPosition, doc_QTableWidget_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_focusNextPrevChild, "QTableWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QTableWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_focusNextPrevChild, doc_QTableWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_inputMethodEvent, "QTableWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QTableWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_inputMethodEvent, doc_QTableWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_rowMoved, "QTableWidget.rowMoved(int, int, int)");

extern "C" {static PyObject *meth_QTableWidget_rowMoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_rowMoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_rowMoved(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_rowMoved, doc_QTableWidget_rowMoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_columnMoved, "QTableWidget.columnMoved(int, int, int)");

extern "C" {static PyObject *meth_QTableWidget_columnMoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_columnMoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_columnMoved(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_columnMoved, doc_QTableWidget_columnMoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_rowResized, "QTableWidget.rowResized(int, int, int)");

extern "C" {static PyObject *meth_QTableWidget_rowResized(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_rowResized(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_rowResized(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_rowResized, doc_QTableWidget_rowResized);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_columnResized, "QTableWidget.columnResized(int, int, int)");

extern "C" {static PyObject *meth_QTableWidget_columnResized(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_columnResized(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_columnResized(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_columnResized, doc_QTableWidget_columnResized);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_rowCountChanged, "QTableWidget.rowCountChanged(int, int)");

extern "C" {static PyObject *meth_QTableWidget_rowCountChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_rowCountChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_rowCountChanged(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_rowCountChanged, doc_QTableWidget_rowCountChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_columnCountChanged, "QTableWidget.columnCountChanged(int, int)");

extern "C" {static PyObject *meth_QTableWidget_columnCountChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_columnCountChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_columnCountChanged(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_columnCountChanged, doc_QTableWidget_columnCountChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_scrollContentsBy, "QTableWidget.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QTableWidget_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_scrollContentsBy, doc_QTableWidget_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_viewOptions, "QTableWidget.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QTableWidget_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_viewOptions, doc_QTableWidget_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_paintEvent, "QTableWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QTableWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_paintEvent, doc_QTableWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_timerEvent, "QTableWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTableWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_timerEvent, doc_QTableWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_horizontalOffset, "QTableWidget.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QTableWidget_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_horizontalOffset, doc_QTableWidget_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_verticalOffset, "QTableWidget.verticalOffset() -> int");

extern "C" {static PyObject *meth_QTableWidget_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_verticalOffset, doc_QTableWidget_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_moveCursor, "QTableWidget.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QTableWidget_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_moveCursor, doc_QTableWidget_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setSelection, "QTableWidget.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QTableWidget_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setSelection, doc_QTableWidget_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_visualRegionForSelection, "QTableWidget.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QTableWidget_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_visualRegionForSelection, doc_QTableWidget_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_selectedIndexes, "QTableWidget.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QTableWidget_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_selectedIndexes, doc_QTableWidget_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_updateGeometries, "QTableWidget.updateGeometries()");

extern "C" {static PyObject *meth_QTableWidget_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_updateGeometries, doc_QTableWidget_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_sizeHintForRow, "QTableWidget.sizeHintForRow(int) -> int");

extern "C" {static PyObject *meth_QTableWidget_sizeHintForRow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_sizeHintForRow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_sizeHintForRow(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_sizeHintForRow, doc_QTableWidget_sizeHintForRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_sizeHintForColumn, "QTableWidget.sizeHintForColumn(int) -> int");

extern "C" {static PyObject *meth_QTableWidget_sizeHintForColumn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_sizeHintForColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_sizeHintForColumn(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_sizeHintForColumn, doc_QTableWidget_sizeHintForColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_verticalScrollbarAction, "QTableWidget.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QTableWidget_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_verticalScrollbarAction, doc_QTableWidget_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_horizontalScrollbarAction, "QTableWidget.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QTableWidget_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_horizontalScrollbarAction, doc_QTableWidget_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_isIndexHidden, "QTableWidget.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QTableWidget_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_isIndexHidden, doc_QTableWidget_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_viewportSizeHint, "QTableWidget.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QTableWidget_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_viewportSizeHint, doc_QTableWidget_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_selectionChanged, "QTableWidget.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QTableWidget_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_selectionChanged, doc_QTableWidget_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_currentChanged, "QTableWidget.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QTableWidget_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_currentChanged, doc_QTableWidget_currentChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setRowCount, "QTableWidget.setRowCount(int)");

extern "C" {static PyObject *meth_QTableWidget_setRowCount(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setRowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->setRowCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setRowCount, doc_QTableWidget_setRowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_rowCount, "QTableWidget.rowCount() -> int");

extern "C" {static PyObject *meth_QTableWidget_rowCount(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->rowCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_rowCount, doc_QTableWidget_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setColumnCount, "QTableWidget.setColumnCount(int)");

extern "C" {static PyObject *meth_QTableWidget_setColumnCount(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setColumnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->setColumnCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setColumnCount, doc_QTableWidget_setColumnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_columnCount, "QTableWidget.columnCount() -> int");

extern "C" {static PyObject *meth_QTableWidget_columnCount(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->columnCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_columnCount, doc_QTableWidget_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_row, "QTableWidget.row(QTableWidgetItem) -> int");

extern "C" {static PyObject *meth_QTableWidget_row(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_row(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem* a0;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            int sipRes;

            sipRes = sipCpp->row(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_row, doc_QTableWidget_row);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_column, "QTableWidget.column(QTableWidgetItem) -> int");

extern "C" {static PyObject *meth_QTableWidget_column(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_column(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem* a0;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            int sipRes;

            sipRes = sipCpp->column(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_column, doc_QTableWidget_column);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_item, "QTableWidget.item(int, int) -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_item(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_item(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->item(a0,a1);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_item, doc_QTableWidget_item);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setItem, "QTableWidget.setItem(int, int, QTableWidgetItem)");

extern "C" {static PyObject *meth_QTableWidget_setItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QTableWidgetItem* a2;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ:", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, sipType_QTableWidgetItem, &a2))
        {
            sipCpp->setItem(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setItem, doc_QTableWidget_setItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_takeItem, "QTableWidget.takeItem(int, int) -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_takeItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_takeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->takeItem(a0,a1);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_takeItem, doc_QTableWidget_takeItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_verticalHeaderItem, "QTableWidget.verticalHeaderItem(int) -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_verticalHeaderItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_verticalHeaderItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->verticalHeaderItem(a0);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_verticalHeaderItem, doc_QTableWidget_verticalHeaderItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setVerticalHeaderItem, "QTableWidget.setVerticalHeaderItem(int, QTableWidgetItem)");

extern "C" {static PyObject *meth_QTableWidget_setVerticalHeaderItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setVerticalHeaderItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidgetItem* a1;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, sipType_QTableWidgetItem, &a1))
        {
            sipCpp->setVerticalHeaderItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setVerticalHeaderItem, doc_QTableWidget_setVerticalHeaderItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_takeVerticalHeaderItem, "QTableWidget.takeVerticalHeaderItem(int) -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_takeVerticalHeaderItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_takeVerticalHeaderItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->takeVerticalHeaderItem(a0);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_takeVerticalHeaderItem, doc_QTableWidget_takeVerticalHeaderItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_horizontalHeaderItem, "QTableWidget.horizontalHeaderItem(int) -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_horizontalHeaderItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_horizontalHeaderItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->horizontalHeaderItem(a0);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_horizontalHeaderItem, doc_QTableWidget_horizontalHeaderItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setHorizontalHeaderItem, "QTableWidget.setHorizontalHeaderItem(int, QTableWidgetItem)");

extern "C" {static PyObject *meth_QTableWidget_setHorizontalHeaderItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setHorizontalHeaderItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidgetItem* a1;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, sipType_QTableWidgetItem, &a1))
        {
            sipCpp->setHorizontalHeaderItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setHorizontalHeaderItem, doc_QTableWidget_setHorizontalHeaderItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_takeHorizontalHeaderItem, "QTableWidget.takeHorizontalHeaderItem(int) -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_takeHorizontalHeaderItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_takeHorizontalHeaderItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->takeHorizontalHeaderItem(a0);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_takeHorizontalHeaderItem, doc_QTableWidget_takeHorizontalHeaderItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setVerticalHeaderLabels, "QTableWidget.setVerticalHeaderLabels(list-of-str)");

extern "C" {static PyObject *meth_QTableWidget_setVerticalHeaderLabels(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setVerticalHeaderLabels(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setVerticalHeaderLabels(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setVerticalHeaderLabels, doc_QTableWidget_setVerticalHeaderLabels);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setHorizontalHeaderLabels, "QTableWidget.setHorizontalHeaderLabels(list-of-str)");

extern "C" {static PyObject *meth_QTableWidget_setHorizontalHeaderLabels(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setHorizontalHeaderLabels(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setHorizontalHeaderLabels(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setHorizontalHeaderLabels, doc_QTableWidget_setHorizontalHeaderLabels);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_currentRow, "QTableWidget.currentRow() -> int");

extern "C" {static PyObject *meth_QTableWidget_currentRow(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_currentRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentRow();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_currentRow, doc_QTableWidget_currentRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_currentColumn, "QTableWidget.currentColumn() -> int");

extern "C" {static PyObject *meth_QTableWidget_currentColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_currentColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_currentColumn, doc_QTableWidget_currentColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_currentItem, "QTableWidget.currentItem() -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_currentItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_currentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->currentItem();

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_currentItem, doc_QTableWidget_currentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setCurrentItem, "QTableWidget.setCurrentItem(QTableWidgetItem)\n"
    "QTableWidget.setCurrentItem(QTableWidgetItem, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QTableWidget_setCurrentItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setCurrentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTableWidgetItem* a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            sipCpp->setCurrentItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QTableWidgetItem* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->setCurrentItem(a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setCurrentItem, doc_QTableWidget_setCurrentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setCurrentCell, "QTableWidget.setCurrentCell(int, int)\n"
    "QTableWidget.setCurrentCell(int, int, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QTableWidget_setCurrentCell(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setCurrentCell(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setCurrentCell(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        QItemSelectionModel::SelectionFlags* a2;
        int a2State = 0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ1", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, sipType_QItemSelectionModel_SelectionFlags, &a2, &a2State))
        {
            sipCpp->setCurrentCell(a0,a1,*a2);
            sipReleaseType(a2,sipType_QItemSelectionModel_SelectionFlags,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setCurrentCell, doc_QTableWidget_setCurrentCell);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_sortItems, "QTableWidget.sortItems(int, Qt.SortOrder order=Qt.AscendingOrder)");

extern "C" {static PyObject *meth_QTableWidget_sortItems(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_sortItems(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::SortOrder a1 = Qt::AscendingOrder;
        QTableWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            sipCpp->sortItems(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_sortItems, doc_QTableWidget_sortItems);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setSortingEnabled, "QTableWidget.setSortingEnabled(bool)");

extern "C" {static PyObject *meth_QTableWidget_setSortingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setSortingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->setSortingEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setSortingEnabled, doc_QTableWidget_setSortingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_isSortingEnabled, "QTableWidget.isSortingEnabled() -> bool");

extern "C" {static PyObject *meth_QTableWidget_isSortingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_isSortingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSortingEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_isSortingEnabled, doc_QTableWidget_isSortingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_editItem, "QTableWidget.editItem(QTableWidgetItem)");

extern "C" {static PyObject *meth_QTableWidget_editItem(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_editItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTableWidgetItem* a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            sipCpp->editItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_editItem, doc_QTableWidget_editItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_openPersistentEditor, "QTableWidget.openPersistentEditor(QTableWidgetItem)");

extern "C" {static PyObject *meth_QTableWidget_openPersistentEditor(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_openPersistentEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTableWidgetItem* a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            sipCpp->openPersistentEditor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_openPersistentEditor, doc_QTableWidget_openPersistentEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_closePersistentEditor, "QTableWidget.closePersistentEditor(QTableWidgetItem)");

extern "C" {static PyObject *meth_QTableWidget_closePersistentEditor(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_closePersistentEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTableWidgetItem* a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            sipCpp->closePersistentEditor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_closePersistentEditor, doc_QTableWidget_closePersistentEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_cellWidget, "QTableWidget.cellWidget(int, int) -> QWidget");

extern "C" {static PyObject *meth_QTableWidget_cellWidget(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_cellWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            QWidget*sipRes;

            sipRes = sipCpp->cellWidget(a0,a1);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_cellWidget, doc_QTableWidget_cellWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setCellWidget, "QTableWidget.setCellWidget(int, int, QWidget)");

extern "C" {static PyObject *meth_QTableWidget_setCellWidget(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setCellWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QWidget* a2;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ:", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, sipType_QWidget, &a2))
        {
#line 151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
        // We have to break the association with any existing widget.
        QWidget *w = sipCpp->cellWidget(a0, a1);
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QWidget);
        
            if (wo)
                sipTransferTo(wo, 0);
        }
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->setCellWidget(a0, a1, a2);
        Py_END_ALLOW_THREADS
#line 83337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setCellWidget, doc_QTableWidget_setCellWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_removeCellWidget, "QTableWidget.removeCellWidget(int, int)");

extern "C" {static PyObject *meth_QTableWidget_removeCellWidget(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_removeCellWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
#line 169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
        // We have to break the association with any existing widget.
        QWidget *w = sipCpp->cellWidget(a0, a1);
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QWidget);
        
            if (wo)
                sipTransferTo(wo, 0);
        }
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->removeCellWidget(a0, a1);
        Py_END_ALLOW_THREADS
#line 83380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_removeCellWidget, doc_QTableWidget_removeCellWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setRangeSelected, "QTableWidget.setRangeSelected(QTableWidgetSelectionRange, bool)");

extern "C" {static PyObject *meth_QTableWidget_setRangeSelected(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setRangeSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetSelectionRange* a0;
        bool a1;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9b", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetSelectionRange, &a0, &a1))
        {
            sipCpp->setRangeSelected(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setRangeSelected, doc_QTableWidget_setRangeSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_selectedRanges, "QTableWidget.selectedRanges() -> list-of-QTableWidgetSelectionRange");

extern "C" {static PyObject *meth_QTableWidget_selectedRanges(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_selectedRanges(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QList<QTableWidgetSelectionRange>*sipRes;

            sipRes = new QList<QTableWidgetSelectionRange>(sipCpp->selectedRanges());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QTableWidgetSelectionRange,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_selectedRanges, doc_QTableWidget_selectedRanges);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_selectedItems, "QTableWidget.selectedItems() -> list-of-QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_selectedItems(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_selectedItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QList<QTableWidgetItem*>*sipRes;

            sipRes = new QList<QTableWidgetItem*>(sipCpp->selectedItems());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_selectedItems, doc_QTableWidget_selectedItems);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_findItems, "QTableWidget.findItems(str, Qt.MatchFlags) -> list-of-QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_findItems(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_findItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Qt::MatchFlags* a1;
        int a1State = 0;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_MatchFlags, &a1, &a1State))
        {
            QList<QTableWidgetItem*>*sipRes;

            sipRes = new QList<QTableWidgetItem*>(sipCpp->findItems(*a0,*a1));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_Qt_MatchFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0101QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_findItems, doc_QTableWidget_findItems);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_visualRow, "QTableWidget.visualRow(int) -> int");

extern "C" {static PyObject *meth_QTableWidget_visualRow(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_visualRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->visualRow(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_visualRow, doc_QTableWidget_visualRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_visualColumn, "QTableWidget.visualColumn(int) -> int");

extern "C" {static PyObject *meth_QTableWidget_visualColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_visualColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->visualColumn(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_visualColumn, doc_QTableWidget_visualColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_itemAt, "QTableWidget.itemAt(QPoint) -> QTableWidgetItem\n"
    "QTableWidget.itemAt(int, int) -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->itemAt(*a0);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,NULL);
        }
    }

    {
        int a0;
        int a1;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->itemAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_itemAt, doc_QTableWidget_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_visualItemRect, "QTableWidget.visualItemRect(QTableWidgetItem) -> QRect");

extern "C" {static PyObject *meth_QTableWidget_visualItemRect(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_visualItemRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem* a0;
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->visualItemRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_visualItemRect, doc_QTableWidget_visualItemRect);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_itemPrototype, "QTableWidget.itemPrototype() -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_itemPrototype(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_itemPrototype(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            const QTableWidgetItem*sipRes;

            sipRes = sipCpp->itemPrototype();

            return sipConvertFromType(const_cast<QTableWidgetItem *>(sipRes),sipType_QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_itemPrototype, doc_QTableWidget_itemPrototype);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_setItemPrototype, "QTableWidget.setItemPrototype(QTableWidgetItem)");

extern "C" {static PyObject *meth_QTableWidget_setItemPrototype(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setItemPrototype(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem* a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            sipCpp->setItemPrototype(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_setItemPrototype, doc_QTableWidget_setItemPrototype);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_scrollToItem, "QTableWidget.scrollToItem(QTableWidgetItem, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible)");

extern "C" {static PyObject *meth_QTableWidget_scrollToItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_scrollToItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem* a0;
        QAbstractItemView::ScrollHint a1 = QAbstractItemView::EnsureVisible;
        QTableWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|E", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            sipCpp->scrollToItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_scrollToItem, doc_QTableWidget_scrollToItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_insertRow, "QTableWidget.insertRow(int)");

extern "C" {static PyObject *meth_QTableWidget_insertRow(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_insertRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->insertRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_insertRow, doc_QTableWidget_insertRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_insertColumn, "QTableWidget.insertColumn(int)");

extern "C" {static PyObject *meth_QTableWidget_insertColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_insertColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->insertColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_insertColumn, doc_QTableWidget_insertColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_removeRow, "QTableWidget.removeRow(int)");

extern "C" {static PyObject *meth_QTableWidget_removeRow(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_removeRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->removeRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_removeRow, doc_QTableWidget_removeRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_removeColumn, "QTableWidget.removeColumn(int)");

extern "C" {static PyObject *meth_QTableWidget_removeColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_removeColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidget, &sipCpp, &a0))
        {
            sipCpp->removeColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_removeColumn, doc_QTableWidget_removeColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_clear, "QTableWidget.clear()");

extern "C" {static PyObject *meth_QTableWidget_clear(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_clear, doc_QTableWidget_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_clearContents, "QTableWidget.clearContents()");

extern "C" {static PyObject *meth_QTableWidget_clearContents(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_clearContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTableWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            sipCpp->clearContents();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_clearContents, doc_QTableWidget_clearContents);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_mimeTypes, "QTableWidget.mimeTypes() -> list-of-str");

extern "C" {static PyObject *meth_QTableWidget_mimeTypes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_mimeTypes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->sipProtectVirt_mimeTypes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_mimeTypes, doc_QTableWidget_mimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_mimeData, "QTableWidget.mimeData(list-of-QTableWidgetItem) -> QMimeData");

extern "C" {static PyObject *meth_QTableWidget_mimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_mimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QList<QTableWidgetItem*>* a0;
        int a0State = 0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QList_0101QTableWidgetItem,&a0, &a0State))
        {
            QMimeData*sipRes;

            sipRes = sipCpp->sipProtectVirt_mimeData(sipSelfWasArg,*a0);
            sipReleaseType(const_cast<QList<QTableWidgetItem*> *>(a0),sipType_QList_0101QTableWidgetItem,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_mimeData, doc_QTableWidget_mimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_dropMimeData, "QTableWidget.dropMimeData(int, int, QMimeData, Qt.DropAction) -> bool");

extern "C" {static PyObject *meth_QTableWidget_dropMimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dropMimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QMimeData* a2;
        Qt::DropAction a3;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ8E", &sipSelf, sipType_QTableWidget, &sipCpp, &a0, &a1, sipType_QMimeData, &a2, sipType_Qt_DropAction, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_dropMimeData(sipSelfWasArg,a0,a1,a2,a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dropMimeData, doc_QTableWidget_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_supportedDropActions, "QTableWidget.supportedDropActions() -> Qt.DropActions");

extern "C" {static PyObject *meth_QTableWidget_supportedDropActions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableWidget, &sipCpp))
        {
            Qt::DropActions*sipRes;

            sipRes = new Qt::DropActions(sipCpp->sipProtectVirt_supportedDropActions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_supportedDropActions, doc_QTableWidget_supportedDropActions);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_items, "QTableWidget.items(QMimeData) -> list-of-QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_items(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_items(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMimeData* a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QMimeData, &a0))
        {
            QList<QTableWidgetItem*>*sipRes;

            sipRes = new QList<QTableWidgetItem*>(sipCpp->sipProtect_items(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_items, doc_QTableWidget_items);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_indexFromItem, "QTableWidget.indexFromItem(QTableWidgetItem) -> QModelIndex");

extern "C" {static PyObject *meth_QTableWidget_indexFromItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_indexFromItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QTableWidgetItem* a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QTableWidgetItem, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtect_indexFromItem(a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_indexFromItem, doc_QTableWidget_indexFromItem);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_itemFromIndex, "QTableWidget.itemFromIndex(QModelIndex) -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidget_itemFromIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_itemFromIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            QTableWidgetItem*sipRes;

            sipRes = sipCpp->sipProtect_itemFromIndex(*a0);

            return sipConvertFromType(sipRes,sipType_QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_itemFromIndex, doc_QTableWidget_itemFromIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_event, "QTableWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QTableWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_event, doc_QTableWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidget_dropEvent, "QTableWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QTableWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQTableWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidget, sipName_dropEvent, doc_QTableWidget_dropEvent);

    return NULL;
}


extern "C" {static PyObject *meth_QTableWidget_setModel(PyObject *, PyObject *);}
static PyObject *meth_QTableWidget_setModel(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_QTableWidget, sipName_setModel, NULL);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTableWidget(void *, const sipTypeDef *);}
static void *cast_QTableWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTableWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QTableView)->ctd_cast((QTableView *)(QTableWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTableWidget(void *, int);}
static void release_QTableWidget(void *sipCppV,int)
{
    QTableWidget *sipCpp = reinterpret_cast<QTableWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTableWidget(sipSimpleWrapper *);}
static void dealloc_QTableWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTableWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTableWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTableWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTableWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTableWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQTableWidget(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        QWidget* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "ii|JH", &a0, &a1, sipType_QWidget, &a2, sipOwner))
        {
            sipCpp = new sipQTableWidget(a0,a1,a2);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTableWidget[] = {{421, 255, 1}};


static PyMethodDef methods_QTableWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QTableWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cellWidget), meth_QTableWidget_cellWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_cellWidget)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QTableWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTableWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QTableWidget_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_clear)},
    {SIP_MLNAME_CAST(sipName_clearContents), meth_QTableWidget_clearContents, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_clearContents)},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QTableWidget_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QTableWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closePersistentEditor), meth_QTableWidget_closePersistentEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_closePersistentEditor)},
    {SIP_MLNAME_CAST(sipName_column), meth_QTableWidget_column, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_column)},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_QTableWidget_columnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_columnCount)},
    {SIP_MLNAME_CAST(sipName_columnCountChanged), (PyCFunction)meth_QTableWidget_columnCountChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnMoved), (PyCFunction)meth_QTableWidget_columnMoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnResized), (PyCFunction)meth_QTableWidget_columnResized, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QTableWidget_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTableWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QTableWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QTableWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QTableWidget_currentChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentColumn), meth_QTableWidget_currentColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_currentColumn)},
    {SIP_MLNAME_CAST(sipName_currentItem), meth_QTableWidget_currentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_currentItem)},
    {SIP_MLNAME_CAST(sipName_currentRow), meth_QTableWidget_currentRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_currentRow)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTableWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_QTableWidget_dataChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QTableWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QTableWidget_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTableWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QTableWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QTableWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QTableWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QTableWidget_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QTableWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_dropEvent)},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QTableWidget_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), (PyCFunction)meth_QTableWidget_dropMimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QTableWidget_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editItem), meth_QTableWidget_editItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_editItem)},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QTableWidget_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QTableWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QTableWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QTableWidget_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QTableWidget_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_findItems), meth_QTableWidget_findItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_findItems)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QTableWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QTableWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QTableWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QTableWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QTableWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QTableWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalHeaderItem), meth_QTableWidget_horizontalHeaderItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_horizontalHeaderItem)},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QTableWidget_horizontalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QTableWidget_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QTableWidget_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexFromItem), (PyCFunction)meth_QTableWidget_indexFromItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_indexFromItem)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QTableWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QTableWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertColumn), meth_QTableWidget_insertColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_insertColumn)},
    {SIP_MLNAME_CAST(sipName_insertRow), meth_QTableWidget_insertRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_insertRow)},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QTableWidget_isIndexHidden, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTableWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortingEnabled), meth_QTableWidget_isSortingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_isSortingEnabled)},
    {SIP_MLNAME_CAST(sipName_item), meth_QTableWidget_item, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_item)},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QTableWidget_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_itemAt)},
    {SIP_MLNAME_CAST(sipName_itemFromIndex), (PyCFunction)meth_QTableWidget_itemFromIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_itemFromIndex)},
    {SIP_MLNAME_CAST(sipName_itemPrototype), meth_QTableWidget_itemPrototype, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_itemPrototype)},
    {SIP_MLNAME_CAST(sipName_items), (PyCFunction)meth_QTableWidget_items, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_items)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QTableWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QTableWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QTableWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QTableWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeData), (PyCFunction)meth_QTableWidget_mimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_mimeData)},
    {SIP_MLNAME_CAST(sipName_mimeTypes), (PyCFunction)meth_QTableWidget_mimeTypes, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_mimeTypes)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QTableWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QTableWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QTableWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QTableWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QTableWidget_moveCursor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QTableWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QTableWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_openPersistentEditor), meth_QTableWidget_openPersistentEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_openPersistentEditor)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QTableWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTableWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeCellWidget), meth_QTableWidget_removeCellWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_removeCellWidget)},
    {SIP_MLNAME_CAST(sipName_removeColumn), meth_QTableWidget_removeColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_removeColumn)},
    {SIP_MLNAME_CAST(sipName_removeRow), meth_QTableWidget_removeRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_removeRow)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QTableWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_row), meth_QTableWidget_row, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_row)},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_QTableWidget_rowCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_rowCount)},
    {SIP_MLNAME_CAST(sipName_rowCountChanged), (PyCFunction)meth_QTableWidget_rowCountChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowMoved), (PyCFunction)meth_QTableWidget_rowMoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowResized), (PyCFunction)meth_QTableWidget_rowResized, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QTableWidget_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QTableWidget_rowsInserted, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QTableWidget_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QTableWidget_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QTableWidget_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollToItem), (PyCFunction)meth_QTableWidget_scrollToItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_scrollToItem)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QTableWidget_selectedIndexes, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedItems), meth_QTableWidget_selectedItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_selectedItems)},
    {SIP_MLNAME_CAST(sipName_selectedRanges), meth_QTableWidget_selectedRanges, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_selectedRanges)},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QTableWidget_selectionChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QTableWidget_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTableWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTableWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCellWidget), meth_QTableWidget_setCellWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setCellWidget)},
    {SIP_MLNAME_CAST(sipName_setColumnCount), meth_QTableWidget_setColumnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setColumnCount)},
    {SIP_MLNAME_CAST(sipName_setCurrentCell), meth_QTableWidget_setCurrentCell, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setCurrentCell)},
    {SIP_MLNAME_CAST(sipName_setCurrentItem), meth_QTableWidget_setCurrentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setCurrentItem)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QTableWidget_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setHorizontalHeaderItem), meth_QTableWidget_setHorizontalHeaderItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setHorizontalHeaderItem)},
    {SIP_MLNAME_CAST(sipName_setHorizontalHeaderLabels), meth_QTableWidget_setHorizontalHeaderLabels, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setHorizontalHeaderLabels)},
    {SIP_MLNAME_CAST(sipName_setItem), meth_QTableWidget_setItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setItem)},
    {SIP_MLNAME_CAST(sipName_setItemPrototype), meth_QTableWidget_setItemPrototype, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setItemPrototype)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QTableWidget_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setRangeSelected), meth_QTableWidget_setRangeSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setRangeSelected)},
    {SIP_MLNAME_CAST(sipName_setRowCount), meth_QTableWidget_setRowCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setRowCount)},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QTableWidget_setSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSortingEnabled), meth_QTableWidget_setSortingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setSortingEnabled)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QTableWidget_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setVerticalHeaderItem), meth_QTableWidget_setVerticalHeaderItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setVerticalHeaderItem)},
    {SIP_MLNAME_CAST(sipName_setVerticalHeaderLabels), meth_QTableWidget_setVerticalHeaderLabels, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_setVerticalHeaderLabels)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QTableWidget_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QTableWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QTableWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHintForColumn), (PyCFunction)meth_QTableWidget_sizeHintForColumn, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHintForRow), (PyCFunction)meth_QTableWidget_sizeHintForRow, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sortItems), (PyCFunction)meth_QTableWidget_sortItems, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_sortItems)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QTableWidget_startDrag, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QTableWidget_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), (PyCFunction)meth_QTableWidget_supportedDropActions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableWidget_supportedDropActions)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QTableWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_takeHorizontalHeaderItem), meth_QTableWidget_takeHorizontalHeaderItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_takeHorizontalHeaderItem)},
    {SIP_MLNAME_CAST(sipName_takeItem), meth_QTableWidget_takeItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_takeItem)},
    {SIP_MLNAME_CAST(sipName_takeVerticalHeaderItem), meth_QTableWidget_takeVerticalHeaderItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_takeVerticalHeaderItem)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTableWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QTableWidget_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QTableWidget_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QTableWidget_updateGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QTableWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalHeaderItem), meth_QTableWidget_verticalHeaderItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_verticalHeaderItem)},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QTableWidget_verticalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QTableWidget_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QTableWidget_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QTableWidget_viewOptions, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QTableWidget_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QTableWidget_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_visualColumn), meth_QTableWidget_visualColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_visualColumn)},
    {SIP_MLNAME_CAST(sipName_visualItemRect), meth_QTableWidget_visualItemRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_visualItemRect)},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QTableWidget_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_visualRow), meth_QTableWidget_visualRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidget_visualRow)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTableWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTableWidget[] = {
    {"currentCellChanged(int,int,int,int)", "\1QTableWidget.currentCellChanged[int, int, int, int]", 0, 0},
    {"cellChanged(int,int)", "\1QTableWidget.cellChanged[int, int]", 0, 0},
    {"cellEntered(int,int)", "\1QTableWidget.cellEntered[int, int]", 0, 0},
    {"cellActivated(int,int)", "\1QTableWidget.cellActivated[int, int]", 0, 0},
    {"cellDoubleClicked(int,int)", "\1QTableWidget.cellDoubleClicked[int, int]", 0, 0},
    {"cellClicked(int,int)", "\1QTableWidget.cellClicked[int, int]", 0, 0},
    {"cellPressed(int,int)", "\1QTableWidget.cellPressed[int, int]", 0, 0},
    {"itemSelectionChanged()", "\1QTableWidget.itemSelectionChanged", 0, 0},
    {"currentItemChanged(QTableWidgetItem*,QTableWidgetItem*)", "\1QTableWidget.currentItemChanged[QTableWidgetItem, QTableWidgetItem]", 0, 0},
    {"itemChanged(QTableWidgetItem*)", "\1QTableWidget.itemChanged[QTableWidgetItem]", 0, 0},
    {"itemEntered(QTableWidgetItem*)", "\1QTableWidget.itemEntered[QTableWidgetItem]", 0, 0},
    {"itemActivated(QTableWidgetItem*)", "\1QTableWidget.itemActivated[QTableWidgetItem]", 0, 0},
    {"itemDoubleClicked(QTableWidgetItem*)", "\1QTableWidget.itemDoubleClicked[QTableWidgetItem]", 0, 0},
    {"itemClicked(QTableWidgetItem*)", "\1QTableWidget.itemClicked[QTableWidgetItem]", 0, 0},
    {"itemPressed(QTableWidgetItem*)", "\1QTableWidget.itemPressed[QTableWidgetItem]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QTableWidget, "\1QTableWidget(QWidget parent=None)\n"
    "QTableWidget(int, int, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTableWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTableWidget,
        {0}
    },
    {
        sipNameNr_QTableWidget,
        {0, 0, 1},
        150, methods_QTableWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTableWidget,
    -1,
    -1,
    supers_QTableWidget,
    0,
    init_type_QTableWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTableWidget,
    0,
    0,
    0,
    release_QTableWidget,
    cast_QTableWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTableWidget::staticMetaObject,
    0,
    signals_QTableWidget,
    0
};

#line 49 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 84483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 84487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 84490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 84493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 84496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 84499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 84502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 84505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 84508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 84511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 84514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTableWidgetItem : public QTableWidgetItem
{
public:
    sipQTableWidgetItem(int);
    sipQTableWidgetItem(const QString&,int);
    sipQTableWidgetItem(const QIcon&,const QString&,int);
    sipQTableWidgetItem(const QTableWidgetItem&);
    virtual ~sipQTableWidgetItem();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void write(QDataStream&) const;
    void read(QDataStream&);
    bool operator<(const QTableWidgetItem&) const;
    void setData(int,const QVariant&);
    QVariant data(int) const;
    QTableWidgetItem* clone() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTableWidgetItem(const sipQTableWidgetItem &);
    sipQTableWidgetItem &operator = (const sipQTableWidgetItem &);

    char sipPyMethods[6];
};

sipQTableWidgetItem::sipQTableWidgetItem(int a0): QTableWidgetItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTableWidgetItem::sipQTableWidgetItem(const QString& a0,int a1): QTableWidgetItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTableWidgetItem::sipQTableWidgetItem(const QIcon& a0,const QString& a1,int a2): QTableWidgetItem(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTableWidgetItem::sipQTableWidgetItem(const QTableWidgetItem& a0): QTableWidgetItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTableWidgetItem::~sipQTableWidgetItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQTableWidgetItem::write(QDataStream& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_write);

    if (!sipMeth)
    {
        QTableWidgetItem::write(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDataStream&);

    ((sipVH_QtGui_24)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidgetItem::read(QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_read);

    if (!sipMeth)
    {
        QTableWidgetItem::read(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDataStream&);

    ((sipVH_QtGui_24)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTableWidgetItem::operator<(const QTableWidgetItem& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName___lt__);

    if (!sipMeth)
        return QTableWidgetItem::operator<(a0);

    extern bool sipVH_QtWidgets_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QTableWidgetItem&);

    return sipVH_QtWidgets_43(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableWidgetItem::setData(int a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
    {
        QTableWidgetItem::setData(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QVariant&);

    sipVH_QtWidgets_44(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQTableWidgetItem::data(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return QTableWidgetItem::data(a0);

    typedef QVariant (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_27)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[27]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QTableWidgetItem* sipQTableWidgetItem::clone() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_clone);

    if (!sipMeth)
        return QTableWidgetItem::clone();

    extern QTableWidgetItem* sipVH_QtWidgets_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_45(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QTableWidgetItem_clone, "QTableWidgetItem.clone() -> QTableWidgetItem");

extern "C" {static PyObject *meth_QTableWidgetItem_clone(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_clone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QTableWidgetItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QTableWidgetItem::clone() : sipCpp->clone());

            return sipConvertFromNewType(sipRes,sipType_QTableWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_clone, doc_QTableWidgetItem_clone);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_tableWidget, "QTableWidgetItem.tableWidget() -> QTableWidget");

extern "C" {static PyObject *meth_QTableWidgetItem_tableWidget(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_tableWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QTableWidget*sipRes;

            sipRes = sipCpp->tableWidget();

            return sipConvertFromType(sipRes,sipType_QTableWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_tableWidget, doc_QTableWidgetItem_tableWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_flags, "QTableWidgetItem.flags() -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QTableWidgetItem_flags(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            Qt::ItemFlags*sipRes;

            sipRes = new Qt::ItemFlags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_flags, doc_QTableWidgetItem_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_text, "QTableWidgetItem.text() -> str");

extern "C" {static PyObject *meth_QTableWidgetItem_text(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_text, doc_QTableWidgetItem_text);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_icon, "QTableWidgetItem.icon() -> QIcon");

extern "C" {static PyObject *meth_QTableWidgetItem_icon(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->icon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_icon, doc_QTableWidgetItem_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_statusTip, "QTableWidgetItem.statusTip() -> str");

extern "C" {static PyObject *meth_QTableWidgetItem_statusTip(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_statusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->statusTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_statusTip, doc_QTableWidgetItem_statusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_toolTip, "QTableWidgetItem.toolTip() -> str");

extern "C" {static PyObject *meth_QTableWidgetItem_toolTip(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_toolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toolTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_toolTip, doc_QTableWidgetItem_toolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_whatsThis, "QTableWidgetItem.whatsThis() -> str");

extern "C" {static PyObject *meth_QTableWidgetItem_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_whatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->whatsThis());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_whatsThis, doc_QTableWidgetItem_whatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_font, "QTableWidgetItem.font() -> QFont");

extern "C" {static PyObject *meth_QTableWidgetItem_font(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_font, doc_QTableWidgetItem_font);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_textAlignment, "QTableWidgetItem.textAlignment() -> int");

extern "C" {static PyObject *meth_QTableWidgetItem_textAlignment(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_textAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->textAlignment();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_textAlignment, doc_QTableWidgetItem_textAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setTextAlignment, "QTableWidgetItem.setTextAlignment(int)");

extern "C" {static PyObject *meth_QTableWidgetItem_setTextAlignment(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setTextAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setTextAlignment(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setTextAlignment, doc_QTableWidgetItem_setTextAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_checkState, "QTableWidgetItem.checkState() -> Qt.CheckState");

extern "C" {static PyObject *meth_QTableWidgetItem_checkState(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_checkState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            Qt::CheckState sipRes;

            sipRes = sipCpp->checkState();

            return sipConvertFromEnum(sipRes,sipType_Qt_CheckState);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_checkState, doc_QTableWidgetItem_checkState);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setCheckState, "QTableWidgetItem.setCheckState(Qt.CheckState)");

extern "C" {static PyObject *meth_QTableWidgetItem_setCheckState(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setCheckState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CheckState a0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_Qt_CheckState, &a0))
        {
            sipCpp->setCheckState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setCheckState, doc_QTableWidgetItem_setCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_data, "QTableWidgetItem.data(int) -> QVariant");

extern "C" {static PyObject *meth_QTableWidgetItem_data(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableWidgetItem, &sipCpp, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QTableWidgetItem::data(a0) : sipCpp->data(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_data, doc_QTableWidgetItem_data);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setData, "QTableWidgetItem.setData(int, QVariant)");

extern "C" {static PyObject *meth_QTableWidgetItem_setData(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QVariant* a1;
        int a1State = 0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTableWidgetItem, &sipCpp, &a0, sipType_QVariant, &a1, &a1State))
        {
            (sipSelfWasArg ? sipCpp->QTableWidgetItem::setData(a0,*a1) : sipCpp->setData(a0,*a1));
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setData, doc_QTableWidgetItem_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_read, "QTableWidgetItem.read(QDataStream)");

extern "C" {static PyObject *meth_QTableWidgetItem_read(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDataStream* a0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QTableWidgetItem::read(*a0) : sipCpp->read(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_read, doc_QTableWidgetItem_read);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_write, "QTableWidgetItem.write(QDataStream)");

extern "C" {static PyObject *meth_QTableWidgetItem_write(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDataStream* a0;
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QTableWidgetItem::write(*a0) : sipCpp->write(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_write, doc_QTableWidgetItem_write);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_type, "QTableWidgetItem.type() -> int");

extern "C" {static PyObject *meth_QTableWidgetItem_type(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->type();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_type, doc_QTableWidgetItem_type);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setFlags, "QTableWidgetItem.setFlags(Qt.ItemFlags)");

extern "C" {static PyObject *meth_QTableWidgetItem_setFlags(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ItemFlags* a0;
        int a0State = 0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_Qt_ItemFlags, &a0, &a0State))
        {
            sipCpp->setFlags(*a0);
            sipReleaseType(a0,sipType_Qt_ItemFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setFlags, doc_QTableWidgetItem_setFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setText, "QTableWidgetItem.setText(str)");

extern "C" {static PyObject *meth_QTableWidgetItem_setText(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setText, doc_QTableWidgetItem_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setIcon, "QTableWidgetItem.setIcon(QIcon)");

extern "C" {static PyObject *meth_QTableWidgetItem_setIcon(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QIcon, &a0))
        {
            sipCpp->setIcon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setIcon, doc_QTableWidgetItem_setIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setStatusTip, "QTableWidgetItem.setStatusTip(str)");

extern "C" {static PyObject *meth_QTableWidgetItem_setStatusTip(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setStatusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setStatusTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setStatusTip, doc_QTableWidgetItem_setStatusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setToolTip, "QTableWidgetItem.setToolTip(str)");

extern "C" {static PyObject *meth_QTableWidgetItem_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setToolTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setToolTip, doc_QTableWidgetItem_setToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setWhatsThis, "QTableWidgetItem.setWhatsThis(str)");

extern "C" {static PyObject *meth_QTableWidgetItem_setWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWhatsThis(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setWhatsThis, doc_QTableWidgetItem_setWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setFont, "QTableWidgetItem.setFont(QFont)");

extern "C" {static PyObject *meth_QTableWidgetItem_setFont(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setFont, doc_QTableWidgetItem_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_sizeHint, "QTableWidgetItem.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QTableWidgetItem_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sizeHint());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_sizeHint, doc_QTableWidgetItem_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setSizeHint, "QTableWidgetItem.setSizeHint(QSize)");

extern "C" {static PyObject *meth_QTableWidgetItem_setSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setSizeHint(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setSizeHint, doc_QTableWidgetItem_setSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_background, "QTableWidgetItem.background() -> QBrush");

extern "C" {static PyObject *meth_QTableWidgetItem_background(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_background(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->background());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_background, doc_QTableWidgetItem_background);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setBackground, "QTableWidgetItem.setBackground(QBrush)");

extern "C" {static PyObject *meth_QTableWidgetItem_setBackground(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setBackground(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setBackground, doc_QTableWidgetItem_setBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_foreground, "QTableWidgetItem.foreground() -> QBrush");

extern "C" {static PyObject *meth_QTableWidgetItem_foreground(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_foreground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->foreground());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_foreground, doc_QTableWidgetItem_foreground);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setForeground, "QTableWidgetItem.setForeground(QBrush)");

extern "C" {static PyObject *meth_QTableWidgetItem_setForeground(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setForeground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTableWidgetItem, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setForeground(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setForeground, doc_QTableWidgetItem_setForeground);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_row, "QTableWidgetItem.row() -> int");

extern "C" {static PyObject *meth_QTableWidgetItem_row(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_row(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->row();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_row, doc_QTableWidgetItem_row);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_column, "QTableWidgetItem.column() -> int");

extern "C" {static PyObject *meth_QTableWidgetItem_column(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_column(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->column();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_column, doc_QTableWidgetItem_column);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_setSelected, "QTableWidgetItem.setSelected(bool)");

extern "C" {static PyObject *meth_QTableWidgetItem_setSelected(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_setSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTableWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setSelected(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_setSelected, doc_QTableWidgetItem_setSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetItem_isSelected, "QTableWidgetItem.isSelected() -> bool");

extern "C" {static PyObject *meth_QTableWidgetItem_isSelected(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetItem_isSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSelected();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetItem, sipName_isSelected, doc_QTableWidgetItem_isSelected);

    return NULL;
}


extern "C" {static PyObject *slot_QTableWidgetItem___ge__(PyObject *,PyObject *);}
static PyObject *slot_QTableWidgetItem___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    QTableWidgetItem *sipCpp = reinterpret_cast<QTableWidgetItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTableWidgetItem));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QTableWidgetItem, &a0))
        {
            bool sipRes;

            sipRes = !sipCpp->QTableWidgetItem::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ge_slot,sipType_QTableWidgetItem,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QTableWidgetItem___lt__(PyObject *,PyObject *);}
static PyObject *slot_QTableWidgetItem___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    QTableWidgetItem *sipCpp = reinterpret_cast<QTableWidgetItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTableWidgetItem));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetItem* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QTableWidgetItem, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->QTableWidgetItem::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,lt_slot,sipType_QTableWidgetItem,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTableWidgetItem(void *, const sipTypeDef *);}
static void *cast_QTableWidgetItem(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QTableWidgetItem)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTableWidgetItem(void *, int);}
static void release_QTableWidgetItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQTableWidgetItem *>(sipCppV);
    else
        delete reinterpret_cast<QTableWidgetItem *>(sipCppV);
}


extern "C" {static void dealloc_QTableWidgetItem(sipSimpleWrapper *);}
static void dealloc_QTableWidgetItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTableWidgetItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTableWidgetItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTableWidgetItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTableWidgetItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQTableWidgetItem *sipCpp = 0;

    {
        int a0 = QTableWidgetItem::Type;

        static const char *sipKwdList[] = {
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|i", &a0))
        {
            sipCpp = new sipQTableWidgetItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        int a1 = QTableWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|i", sipType_QString,&a0, &a0State, &a1))
        {
            sipCpp = new sipQTableWidgetItem(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        int a2 = QTableWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9J1|i", sipType_QIcon, &a0, sipType_QString,&a1, &a1State, &a2))
        {
            sipCpp = new sipQTableWidgetItem(*a0,*a1,a2);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QTableWidgetItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTableWidgetItem, &a0))
        {
            sipCpp = new sipQTableWidgetItem(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QTableWidgetItem[] = {
    {(void *)slot_QTableWidgetItem___ge__, ge_slot},
    {(void *)slot_QTableWidgetItem___lt__, lt_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QTableWidgetItem[] = {
    {SIP_MLNAME_CAST(sipName_background), meth_QTableWidgetItem_background, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_background)},
    {SIP_MLNAME_CAST(sipName_checkState), meth_QTableWidgetItem_checkState, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_checkState)},
    {SIP_MLNAME_CAST(sipName_clone), meth_QTableWidgetItem_clone, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_clone)},
    {SIP_MLNAME_CAST(sipName_column), meth_QTableWidgetItem_column, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_column)},
    {SIP_MLNAME_CAST(sipName_data), meth_QTableWidgetItem_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_data)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QTableWidgetItem_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_flags)},
    {SIP_MLNAME_CAST(sipName_font), meth_QTableWidgetItem_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_font)},
    {SIP_MLNAME_CAST(sipName_foreground), meth_QTableWidgetItem_foreground, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_foreground)},
    {SIP_MLNAME_CAST(sipName_icon), meth_QTableWidgetItem_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_icon)},
    {SIP_MLNAME_CAST(sipName_isSelected), meth_QTableWidgetItem_isSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_isSelected)},
    {SIP_MLNAME_CAST(sipName_read), meth_QTableWidgetItem_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_read)},
    {SIP_MLNAME_CAST(sipName_row), meth_QTableWidgetItem_row, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_row)},
    {SIP_MLNAME_CAST(sipName_setBackground), meth_QTableWidgetItem_setBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setBackground)},
    {SIP_MLNAME_CAST(sipName_setCheckState), meth_QTableWidgetItem_setCheckState, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setCheckState)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QTableWidgetItem_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setData)},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_QTableWidgetItem_setFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setFlags)},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QTableWidgetItem_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setFont)},
    {SIP_MLNAME_CAST(sipName_setForeground), meth_QTableWidgetItem_setForeground, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setForeground)},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_QTableWidgetItem_setIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setIcon)},
    {SIP_MLNAME_CAST(sipName_setSelected), meth_QTableWidgetItem_setSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setSelected)},
    {SIP_MLNAME_CAST(sipName_setSizeHint), meth_QTableWidgetItem_setSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setSizeHint)},
    {SIP_MLNAME_CAST(sipName_setStatusTip), meth_QTableWidgetItem_setStatusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setStatusTip)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QTableWidgetItem_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setText)},
    {SIP_MLNAME_CAST(sipName_setTextAlignment), meth_QTableWidgetItem_setTextAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setTextAlignment)},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_QTableWidgetItem_setToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setToolTip)},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_QTableWidgetItem_setWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_setWhatsThis)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QTableWidgetItem_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_sizeHint)},
    {SIP_MLNAME_CAST(sipName_statusTip), meth_QTableWidgetItem_statusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_statusTip)},
    {SIP_MLNAME_CAST(sipName_tableWidget), meth_QTableWidgetItem_tableWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_tableWidget)},
    {SIP_MLNAME_CAST(sipName_text), meth_QTableWidgetItem_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_text)},
    {SIP_MLNAME_CAST(sipName_textAlignment), meth_QTableWidgetItem_textAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_textAlignment)},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_QTableWidgetItem_toolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_toolTip)},
    {SIP_MLNAME_CAST(sipName_type), meth_QTableWidgetItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_type)},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_QTableWidgetItem_whatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_whatsThis)},
    {SIP_MLNAME_CAST(sipName_write), meth_QTableWidgetItem_write, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetItem_write)}
};

static sipEnumMemberDef enummembers_QTableWidgetItem[] = {
    {sipName_Type, static_cast<int>(QTableWidgetItem::Type), 424},
    {sipName_UserType, static_cast<int>(QTableWidgetItem::UserType), 424},
};

PyDoc_STRVAR(doc_QTableWidgetItem, "\1QTableWidgetItem(int type=QTableWidgetItem.Type)\n"
    "QTableWidgetItem(str, int type=QTableWidgetItem.Type)\n"
    "QTableWidgetItem(QIcon, str, int type=QTableWidgetItem.Type)\n"
    "QTableWidgetItem(QTableWidgetItem)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTableWidgetItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTableWidgetItem,
        {0}
    },
    {
        sipNameNr_QTableWidgetItem,
        {0, 0, 1},
        35, methods_QTableWidgetItem,
        2, enummembers_QTableWidgetItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTableWidgetItem,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_QTableWidgetItem,
    init_type_QTableWidgetItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTableWidgetItem,
    0,
    0,
    0,
    release_QTableWidgetItem,
    cast_QTableWidgetItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtablewidget.sip"
#include <qtablewidget.h>
#line 85941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"



PyDoc_STRVAR(doc_QTableWidgetSelectionRange_topRow, "QTableWidgetSelectionRange.topRow() -> int");

extern "C" {static PyObject *meth_QTableWidgetSelectionRange_topRow(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetSelectionRange_topRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->topRow();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetSelectionRange, sipName_topRow, doc_QTableWidgetSelectionRange_topRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetSelectionRange_bottomRow, "QTableWidgetSelectionRange.bottomRow() -> int");

extern "C" {static PyObject *meth_QTableWidgetSelectionRange_bottomRow(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetSelectionRange_bottomRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bottomRow();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetSelectionRange, sipName_bottomRow, doc_QTableWidgetSelectionRange_bottomRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetSelectionRange_leftColumn, "QTableWidgetSelectionRange.leftColumn() -> int");

extern "C" {static PyObject *meth_QTableWidgetSelectionRange_leftColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetSelectionRange_leftColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->leftColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetSelectionRange, sipName_leftColumn, doc_QTableWidgetSelectionRange_leftColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetSelectionRange_rightColumn, "QTableWidgetSelectionRange.rightColumn() -> int");

extern "C" {static PyObject *meth_QTableWidgetSelectionRange_rightColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetSelectionRange_rightColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->rightColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetSelectionRange, sipName_rightColumn, doc_QTableWidgetSelectionRange_rightColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetSelectionRange_rowCount, "QTableWidgetSelectionRange.rowCount() -> int");

extern "C" {static PyObject *meth_QTableWidgetSelectionRange_rowCount(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetSelectionRange_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->rowCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetSelectionRange, sipName_rowCount, doc_QTableWidgetSelectionRange_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QTableWidgetSelectionRange_columnCount, "QTableWidgetSelectionRange.columnCount() -> int");

extern "C" {static PyObject *meth_QTableWidgetSelectionRange_columnCount(PyObject *, PyObject *);}
static PyObject *meth_QTableWidgetSelectionRange_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableWidgetSelectionRange *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableWidgetSelectionRange, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->columnCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableWidgetSelectionRange, sipName_columnCount, doc_QTableWidgetSelectionRange_columnCount);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTableWidgetSelectionRange(void *, const sipTypeDef *);}
static void *cast_QTableWidgetSelectionRange(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QTableWidgetSelectionRange)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTableWidgetSelectionRange(void *, int);}
static void release_QTableWidgetSelectionRange(void *sipCppV,int)
{
    delete reinterpret_cast<QTableWidgetSelectionRange *>(sipCppV);
}


extern "C" {static void assign_QTableWidgetSelectionRange(void *, SIP_SSIZE_T, const void *);}
static void assign_QTableWidgetSelectionRange(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QTableWidgetSelectionRange *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QTableWidgetSelectionRange *>(sipSrc);
}


extern "C" {static void *array_QTableWidgetSelectionRange(SIP_SSIZE_T);}
static void *array_QTableWidgetSelectionRange(SIP_SSIZE_T sipNrElem)
{
    return new QTableWidgetSelectionRange[sipNrElem];
}


extern "C" {static void *copy_QTableWidgetSelectionRange(const void *, SIP_SSIZE_T);}
static void *copy_QTableWidgetSelectionRange(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QTableWidgetSelectionRange(reinterpret_cast<const QTableWidgetSelectionRange *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QTableWidgetSelectionRange(sipSimpleWrapper *);}
static void dealloc_QTableWidgetSelectionRange(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QTableWidgetSelectionRange(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QTableWidgetSelectionRange(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTableWidgetSelectionRange(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QTableWidgetSelectionRange *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QTableWidgetSelectionRange();

            return sipCpp;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "iiii", &a0, &a1, &a2, &a3))
        {
            sipCpp = new QTableWidgetSelectionRange(a0,a1,a2,a3);

            return sipCpp;
        }
    }

    {
        const QTableWidgetSelectionRange* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QTableWidgetSelectionRange, &a0))
        {
            sipCpp = new QTableWidgetSelectionRange(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QTableWidgetSelectionRange[] = {
    {SIP_MLNAME_CAST(sipName_bottomRow), meth_QTableWidgetSelectionRange_bottomRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetSelectionRange_bottomRow)},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_QTableWidgetSelectionRange_columnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetSelectionRange_columnCount)},
    {SIP_MLNAME_CAST(sipName_leftColumn), meth_QTableWidgetSelectionRange_leftColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetSelectionRange_leftColumn)},
    {SIP_MLNAME_CAST(sipName_rightColumn), meth_QTableWidgetSelectionRange_rightColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetSelectionRange_rightColumn)},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_QTableWidgetSelectionRange_rowCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetSelectionRange_rowCount)},
    {SIP_MLNAME_CAST(sipName_topRow), meth_QTableWidgetSelectionRange_topRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableWidgetSelectionRange_topRow)}
};

PyDoc_STRVAR(doc_QTableWidgetSelectionRange, "\1QTableWidgetSelectionRange()\n"
    "QTableWidgetSelectionRange(int, int, int, int)\n"
    "QTableWidgetSelectionRange(QTableWidgetSelectionRange)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTableWidgetSelectionRange = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTableWidgetSelectionRange,
        {0}
    },
    {
        sipNameNr_QTableWidgetSelectionRange,
        {0, 0, 1},
        6, methods_QTableWidgetSelectionRange,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTableWidgetSelectionRange,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QTableWidgetSelectionRange,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTableWidgetSelectionRange,
    assign_QTableWidgetSelectionRange,
    array_QTableWidgetSelectionRange,
    copy_QTableWidgetSelectionRange,
    release_QTableWidgetSelectionRange,
    cast_QTableWidgetSelectionRange,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtableview.sip"
#include <qtableview.h>
#line 86271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 86275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 86278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 86281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 86287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 86290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 86293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 86296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 86299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 86302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 86308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 86314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 86317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 86320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 86323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 86326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 86332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 86335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 86362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 86368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 86371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 86374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 86377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 86380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 86383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 86389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 86398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 86401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 86404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 86407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 86410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 86413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 86419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 86428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 86431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 86434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 86437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 86440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 86443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 86446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 86449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 86452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 86470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 86473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 86476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 86479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 86482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 86485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 86491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 86494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 86497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 86500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 86503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 86506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 86509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 86512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 86515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 86518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 86521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 86524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 86527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 86530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTableView : public QTableView
{
public:
    sipQTableView(QWidget*);
    virtual ~sipQTableView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_dataChanged(bool,const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_rowMoved(int,int,int);
    void sipProtect_columnMoved(int,int,int);
    void sipProtect_rowResized(int,int,int);
    void sipProtect_columnResized(int,int,int);
    void sipProtect_rowCountChanged(int,int);
    void sipProtect_columnCountChanged(int,int);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    void sipProtectVirt_updateGeometries(bool);
    int sipProtectVirt_sizeHintForRow(bool,int) const;
    int sipProtectVirt_sizeHintForColumn(bool,int) const;
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    QSize sipProtectVirt_viewportSizeHint(bool) const;
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void resizeEvent(QResizeEvent*);
    void keyPressEvent(QKeyEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool viewportEvent(QEvent*);
    bool event(QEvent*);
    void startDrag(Qt::DropActions);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void updateEditorGeometries();
    void updateEditorData();
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void selectAll();
    void reset();
    void keyboardSearch(const QString&);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    QSize viewportSizeHint() const;
    bool isIndexHidden(const QModelIndex&) const;
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void updateGeometries();
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    int verticalOffset() const;
    int horizontalOffset() const;
    void timerEvent(QTimerEvent*);
    void paintEvent(QPaintEvent*);
    QStyleOptionViewItem viewOptions() const;
    void scrollContentsBy(int,int);
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void setSelectionModel(QItemSelectionModel*);
    void setRootIndex(const QModelIndex&);
    void setModel(QAbstractItemModel*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTableView(const sipQTableView &);
    sipQTableView &operator = (const sipQTableView &);

    char sipPyMethods[87];
};

sipQTableView::sipQTableView(QWidget*a0): QTableView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTableView::~sipQTableView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTableView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTableView);
}

int sipQTableView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTableView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTableView,_c,_id,_a);

    return _id;
}

void *sipQTableView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTableView, _clname, &sipCpp) ? sipCpp : QTableView::qt_metacast(_clname));
}

void sipQTableView::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTableView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTableView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTableView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTableView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QTableView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQTableView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QTableView::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTableView::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QTableView::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTableView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QTableView::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTableView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QTableView::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QTableView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QTableView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QTableView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QTableView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QTableView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QTableView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QTableView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QTableView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QTableView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQTableView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QTableView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTableView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QTableView::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QTableView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTableView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QTableView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QTableView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QTableView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTableView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTableView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTableView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QTableView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QTableView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTableView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QTableView::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQTableView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QTableView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QTableView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTableView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QTableView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQTableView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QTableView::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QTableView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QTableView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QTableView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QTableView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QTableView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QTableView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QTableView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QTableView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QTableView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QTableView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QTableView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QTableView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTableView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QTableView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTableView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTableView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QTableView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQTableView::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QTableView::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTableView::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QTableView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableView::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QTableView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QTableView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QTableView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTableView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QTableView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QTableView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QTableView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QTableView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableView::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QTableView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableView::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QTableView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableView::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QTableView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQTableView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QTableView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QTableView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QTableView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QTableView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTableView::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QTableView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QSize sipQTableView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[64]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QTableView::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTableView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[65]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return QTableView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QTableView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QTableView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTableView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[68]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QTableView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTableView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[69]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QTableView::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QTableView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndexList sipQTableView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[71]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QTableView::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQTableView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[72]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QTableView::visualRegionForSelection(a0);

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        QTableView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipQTableView::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return QTableView::moveCursor(a0,a1);

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

int sipQTableView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[75]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return QTableView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTableView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[76]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return QTableView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTableView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QTableView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQTableView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QTableView::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTableView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QTableView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipQTableView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[81]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return QTableView::indexAt(a0);

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        QTableView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QRect sipQTableView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return QTableView::visualRect(a0);

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QTableView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QTableView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTableView::setModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
        QTableView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtCore_40)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtCore_40)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[40]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQTableView::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTableView::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTableView::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTableView::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTableView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTableView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTableView::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTableView::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQTableView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQTableView::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQTableView::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQTableView::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQTableView::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQTableView::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQTableView::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQTableView::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQTableView::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQTableView::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQTableView::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQTableView::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQTableView::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQTableView::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQTableView::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQTableView::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQTableView::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQTableView::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQTableView::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQTableView::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQTableView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQTableView::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQTableView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQTableView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQTableView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQTableView::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQTableView::sipProtectVirt_dataChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    (sipSelfWasArg ? QAbstractItemView::dataChanged(a0,a1,a2) : dataChanged(a0,a1,a2));
}

void sipQTableView::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QAbstractItemView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipQTableView::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QAbstractItemView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

void sipQTableView::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQTableView::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQTableView::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQTableView::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQTableView::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQTableView::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQTableView::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QItemSelectionModel::SelectionFlags sipQTableView::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

void sipQTableView::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QAbstractItemView::startDrag(a0) : startDrag(a0));
}

int sipQTableView::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQTableView::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQTableView::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQTableView::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQTableView::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQTableView::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQTableView::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

bool sipQTableView::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::event(a0) : event(a0));
}

bool sipQTableView::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQTableView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQTableView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQTableView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQTableView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQTableView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQTableView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQTableView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQTableView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dropEvent(a0) : dropEvent(a0));
}

void sipQTableView::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQTableView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQTableView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQTableView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::resizeEvent(a0) : resizeEvent(a0));
}

int sipQTableView::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQTableView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQTableView::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQTableView::sipProtect_rowMoved(int a0,int a1,int a2)
{
    QTableView::rowMoved(a0,a1,a2);
}

void sipQTableView::sipProtect_columnMoved(int a0,int a1,int a2)
{
    QTableView::columnMoved(a0,a1,a2);
}

void sipQTableView::sipProtect_rowResized(int a0,int a1,int a2)
{
    QTableView::rowResized(a0,a1,a2);
}

void sipQTableView::sipProtect_columnResized(int a0,int a1,int a2)
{
    QTableView::columnResized(a0,a1,a2);
}

void sipQTableView::sipProtect_rowCountChanged(int a0,int a1)
{
    QTableView::rowCountChanged(a0,a1);
}

void sipQTableView::sipProtect_columnCountChanged(int a0,int a1)
{
    QTableView::columnCountChanged(a0,a1);
}

void sipQTableView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QTableView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

QStyleOptionViewItem sipQTableView::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::viewOptions() : viewOptions());
}

void sipQTableView::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QTableView::paintEvent(a0) : paintEvent(a0));
}

void sipQTableView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QTableView::timerEvent(a0) : timerEvent(a0));
}

int sipQTableView::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::horizontalOffset() : horizontalOffset());
}

int sipQTableView::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::verticalOffset() : verticalOffset());
}

QModelIndex sipQTableView::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0,Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ? QTableView::moveCursor((QAbstractItemView::CursorAction)a0,a1) : moveCursor((QAbstractItemView::CursorAction)a0,a1));
}

void sipQTableView::sipProtectVirt_setSelection(bool sipSelfWasArg,const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ? QTableView::setSelection(a0,a1) : setSelection(a0,a1));
}

QRegion sipQTableView::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const QItemSelection& a0) const
{
    return (sipSelfWasArg ? QTableView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

QModelIndexList sipQTableView::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::selectedIndexes() : selectedIndexes());
}

void sipQTableView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QTableView::updateGeometries() : updateGeometries());
}

int sipQTableView::sipProtectVirt_sizeHintForRow(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QTableView::sizeHintForRow(a0) : sizeHintForRow(a0));
}

int sipQTableView::sipProtectVirt_sizeHintForColumn(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QTableView::sizeHintForColumn(a0) : sizeHintForColumn(a0));
}

void sipQTableView::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTableView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQTableView::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTableView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

bool sipQTableView::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QTableView::isIndexHidden(a0) : isIndexHidden(a0));
}

QSize sipQTableView::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QTableView::viewportSizeHint() : viewportSizeHint());
}

void sipQTableView::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QTableView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQTableView::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QTableView::currentChanged(a0,a1) : currentChanged(a0,a1));
}


PyDoc_STRVAR(doc_QTableView_sender, "QTableView.sender() -> QObject");

extern "C" {static PyObject *meth_QTableView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 88809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_sender, doc_QTableView_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_receivers, "QTableView.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTableView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 88868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_receivers, doc_QTableView_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_childEvent, "QTableView.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTableView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_childEvent, doc_QTableView_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_customEvent, "QTableView.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTableView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_customEvent, doc_QTableView_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_connectNotify, "QTableView.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTableView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_connectNotify, doc_QTableView_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_disconnectNotify, "QTableView.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTableView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_disconnectNotify, doc_QTableView_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_senderSignalIndex, "QTableView.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTableView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_senderSignalIndex, doc_QTableView_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_isSignalConnected, "QTableView.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTableView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_isSignalConnected, doc_QTableView_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_keyReleaseEvent, "QTableView.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTableView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_keyReleaseEvent, doc_QTableView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_enterEvent, "QTableView.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QTableView_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_enterEvent, doc_QTableView_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_leaveEvent, "QTableView.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QTableView_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_leaveEvent, doc_QTableView_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_moveEvent, "QTableView.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QTableView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_moveEvent, doc_QTableView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_closeEvent, "QTableView.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QTableView_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_closeEvent, doc_QTableView_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_tabletEvent, "QTableView.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QTableView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_tabletEvent, doc_QTableView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_actionEvent, "QTableView.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QTableView_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_actionEvent, doc_QTableView_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_showEvent, "QTableView.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QTableView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_showEvent, doc_QTableView_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_hideEvent, "QTableView.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QTableView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_hideEvent, doc_QTableView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_metric, "QTableView.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QTableView_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTableView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_metric, doc_QTableView_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_updateMicroFocus, "QTableView.updateMicroFocus()");

extern "C" {static PyObject *meth_QTableView_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_updateMicroFocus, doc_QTableView_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_create, "QTableView.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QTableView_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQTableView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QTableView, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_create, doc_QTableView_create);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_destroy, "QTableView.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QTableView_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQTableView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_destroy, doc_QTableView_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_focusNextChild, "QTableView.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QTableView_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_focusNextChild, doc_QTableView_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_focusPreviousChild, "QTableView.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QTableView_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_focusPreviousChild, doc_QTableView_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_nativeEvent, "QTableView.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QTableView_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QTableView, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_nativeEvent, doc_QTableView_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_sharedPainter, "QTableView.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QTableView_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_sharedPainter, doc_QTableView_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_initPainter, "QTableView.initPainter(QPainter)");

extern "C" {static PyObject *meth_QTableView_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_initPainter, doc_QTableView_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_changeEvent, "QTableView.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QTableView_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_changeEvent, doc_QTableView_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_drawFrame, "QTableView.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QTableView_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_drawFrame, doc_QTableView_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setViewportMargins, "QTableView.setViewportMargins(int, int, int, int)\n"
    "QTableView.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QTableView_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setViewportMargins, doc_QTableView_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_wheelEvent, "QTableView.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QTableView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_wheelEvent, doc_QTableView_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_contextMenuEvent, "QTableView.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QTableView_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_contextMenuEvent, doc_QTableView_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_eventFilter, "QTableView.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QTableView_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_eventFilter, doc_QTableView_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_edit, "QTableView.edit(QModelIndex)\n"
    "QTableView.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QTableView_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_edit, doc_QTableView_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_dataChanged, "QTableView.dataChanged(QModelIndex, QModelIndex, list-of-int roles=[])");

extern "C" {static PyObject *meth_QTableView_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const QVector<int>& a2def = QVector<int>();
        const QVector<int>* a2 = &a2def;
        int a2State = 0;
        sipQTableView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_roles,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|J1", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1,*a2);
            sipReleaseType(const_cast<QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_dataChanged, doc_QTableView_dataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_rowsInserted, "QTableView.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTableView_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_rowsInserted, doc_QTableView_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_rowsAboutToBeRemoved, "QTableView.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QTableView_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_rowsAboutToBeRemoved, doc_QTableView_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_updateEditorData, "QTableView.updateEditorData()");

extern "C" {static PyObject *meth_QTableView_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_updateEditorData, doc_QTableView_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_updateEditorGeometries, "QTableView.updateEditorGeometries()");

extern "C" {static PyObject *meth_QTableView_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_updateEditorGeometries, doc_QTableView_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_verticalScrollbarValueChanged, "QTableView.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QTableView_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_verticalScrollbarValueChanged, doc_QTableView_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_horizontalScrollbarValueChanged, "QTableView.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QTableView_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_horizontalScrollbarValueChanged, doc_QTableView_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_closeEditor, "QTableView.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QTableView_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QTableView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_closeEditor, doc_QTableView_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_commitData, "QTableView.commitData(QWidget)");

extern "C" {static PyObject *meth_QTableView_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_commitData, doc_QTableView_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_editorDestroyed, "QTableView.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QTableView_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_editorDestroyed, doc_QTableView_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_selectionCommand, "QTableView.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QTableView_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQTableView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_selectionCommand, doc_QTableView_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_startDrag, "QTableView.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QTableView_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTableView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QTableView, sipName_startDrag, doc_QTableView_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_state, "QTableView.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QTableView_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_state, doc_QTableView_state);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setState, "QTableView.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QTableView_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTableView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setState, doc_QTableView_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_scheduleDelayedItemsLayout, "QTableView.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QTableView_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_scheduleDelayedItemsLayout, doc_QTableView_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_executeDelayedItemsLayout, "QTableView.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QTableView_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_executeDelayedItemsLayout, doc_QTableView_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_scrollDirtyRegion, "QTableView.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QTableView_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_scrollDirtyRegion, doc_QTableView_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setDirtyRegion, "QTableView.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QTableView_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setDirtyRegion, doc_QTableView_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_dirtyRegionOffset, "QTableView.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QTableView_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_dirtyRegionOffset, doc_QTableView_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_event, "QTableView.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QTableView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_event, doc_QTableView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_viewportEvent, "QTableView.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QTableView_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_viewportEvent, doc_QTableView_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_mousePressEvent, "QTableView.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTableView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_mousePressEvent, doc_QTableView_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_mouseMoveEvent, "QTableView.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTableView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_mouseMoveEvent, doc_QTableView_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_mouseReleaseEvent, "QTableView.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTableView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_mouseReleaseEvent, doc_QTableView_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_mouseDoubleClickEvent, "QTableView.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTableView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_mouseDoubleClickEvent, doc_QTableView_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_dragEnterEvent, "QTableView.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QTableView_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_dragEnterEvent, doc_QTableView_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_dragMoveEvent, "QTableView.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QTableView_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_dragMoveEvent, doc_QTableView_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_dragLeaveEvent, "QTableView.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QTableView_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_dragLeaveEvent, doc_QTableView_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_dropEvent, "QTableView.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QTableView_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_dropEvent, doc_QTableView_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_focusInEvent, "QTableView.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTableView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_focusInEvent, doc_QTableView_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_focusOutEvent, "QTableView.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTableView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_focusOutEvent, doc_QTableView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_keyPressEvent, "QTableView.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTableView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_keyPressEvent, doc_QTableView_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_resizeEvent, "QTableView.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QTableView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_resizeEvent, doc_QTableView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_dropIndicatorPosition, "QTableView.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QTableView_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_dropIndicatorPosition, doc_QTableView_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_focusNextPrevChild, "QTableView.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QTableView_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_focusNextPrevChild, doc_QTableView_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_inputMethodEvent, "QTableView.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QTableView_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_inputMethodEvent, doc_QTableView_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setModel, "QTableView.setModel(QAbstractItemModel)");

extern "C" {static PyObject *meth_QTableView_setModel(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        PyObject *a0Keep;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QTableView, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QTableView::setModel(a0) : sipCpp->setModel(a0));

            sipKeepReference(sipSelf, -45, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setModel, doc_QTableView_setModel);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setRootIndex, "QTableView.setRootIndex(QModelIndex)");

extern "C" {static PyObject *meth_QTableView_setRootIndex(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setRootIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0))
        {
            (sipSelfWasArg ? sipCpp->QTableView::setRootIndex(*a0) : sipCpp->setRootIndex(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setRootIndex, doc_QTableView_setRootIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setSelectionModel, "QTableView.setSelectionModel(QItemSelectionModel)");

extern "C" {static PyObject *meth_QTableView_setSelectionModel(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setSelectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QItemSelectionModel* a0;
        PyObject *a0Keep;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QTableView, &sipCpp, &a0Keep, sipType_QItemSelectionModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QTableView::setSelectionModel(a0) : sipCpp->setSelectionModel(a0));

            sipKeepReference(sipSelf, -46, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setSelectionModel, doc_QTableView_setSelectionModel);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_horizontalHeader, "QTableView.horizontalHeader() -> QHeaderView");

extern "C" {static PyObject *meth_QTableView_horizontalHeader(PyObject *, PyObject *);}
static PyObject *meth_QTableView_horizontalHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            QHeaderView*sipRes;

            sipRes = sipCpp->horizontalHeader();

            return sipConvertFromType(sipRes,sipType_QHeaderView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_horizontalHeader, doc_QTableView_horizontalHeader);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_verticalHeader, "QTableView.verticalHeader() -> QHeaderView");

extern "C" {static PyObject *meth_QTableView_verticalHeader(PyObject *, PyObject *);}
static PyObject *meth_QTableView_verticalHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            QHeaderView*sipRes;

            sipRes = sipCpp->verticalHeader();

            return sipConvertFromType(sipRes,sipType_QHeaderView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_verticalHeader, doc_QTableView_verticalHeader);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setHorizontalHeader, "QTableView.setHorizontalHeader(QHeaderView)");

extern "C" {static PyObject *meth_QTableView_setHorizontalHeader(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setHorizontalHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QHeaderView* a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QTableView, &sipCpp, sipType_QHeaderView, &a0))
        {
            sipCpp->setHorizontalHeader(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setHorizontalHeader, doc_QTableView_setHorizontalHeader);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setVerticalHeader, "QTableView.setVerticalHeader(QHeaderView)");

extern "C" {static PyObject *meth_QTableView_setVerticalHeader(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setVerticalHeader(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QHeaderView* a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QTableView, &sipCpp, sipType_QHeaderView, &a0))
        {
            sipCpp->setVerticalHeader(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setVerticalHeader, doc_QTableView_setVerticalHeader);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_rowViewportPosition, "QTableView.rowViewportPosition(int) -> int");

extern "C" {static PyObject *meth_QTableView_rowViewportPosition(PyObject *, PyObject *);}
static PyObject *meth_QTableView_rowViewportPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->rowViewportPosition(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_rowViewportPosition, doc_QTableView_rowViewportPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setRowHeight, "QTableView.setRowHeight(int, int)");

extern "C" {static PyObject *meth_QTableView_setRowHeight(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setRowHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowHeight(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setRowHeight, doc_QTableView_setRowHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_rowHeight, "QTableView.rowHeight(int) -> int");

extern "C" {static PyObject *meth_QTableView_rowHeight(PyObject *, PyObject *);}
static PyObject *meth_QTableView_rowHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->rowHeight(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_rowHeight, doc_QTableView_rowHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_rowAt, "QTableView.rowAt(int) -> int");

extern "C" {static PyObject *meth_QTableView_rowAt(PyObject *, PyObject *);}
static PyObject *meth_QTableView_rowAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->rowAt(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_rowAt, doc_QTableView_rowAt);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_columnViewportPosition, "QTableView.columnViewportPosition(int) -> int");

extern "C" {static PyObject *meth_QTableView_columnViewportPosition(PyObject *, PyObject *);}
static PyObject *meth_QTableView_columnViewportPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->columnViewportPosition(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_columnViewportPosition, doc_QTableView_columnViewportPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setColumnWidth, "QTableView.setColumnWidth(int, int)");

extern "C" {static PyObject *meth_QTableView_setColumnWidth(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setColumnWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnWidth(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setColumnWidth, doc_QTableView_setColumnWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_columnWidth, "QTableView.columnWidth(int) -> int");

extern "C" {static PyObject *meth_QTableView_columnWidth(PyObject *, PyObject *);}
static PyObject *meth_QTableView_columnWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->columnWidth(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_columnWidth, doc_QTableView_columnWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_columnAt, "QTableView.columnAt(int) -> int");

extern "C" {static PyObject *meth_QTableView_columnAt(PyObject *, PyObject *);}
static PyObject *meth_QTableView_columnAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->columnAt(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_columnAt, doc_QTableView_columnAt);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_isRowHidden, "QTableView.isRowHidden(int) -> bool");

extern "C" {static PyObject *meth_QTableView_isRowHidden(PyObject *, PyObject *);}
static PyObject *meth_QTableView_isRowHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isRowHidden(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_isRowHidden, doc_QTableView_isRowHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setRowHidden, "QTableView.setRowHidden(int, bool)");

extern "C" {static PyObject *meth_QTableView_setRowHidden(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setRowHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowHidden(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setRowHidden, doc_QTableView_setRowHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_isColumnHidden, "QTableView.isColumnHidden(int) -> bool");

extern "C" {static PyObject *meth_QTableView_isColumnHidden(PyObject *, PyObject *);}
static PyObject *meth_QTableView_isColumnHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isColumnHidden(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_isColumnHidden, doc_QTableView_isColumnHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setColumnHidden, "QTableView.setColumnHidden(int, bool)");

extern "C" {static PyObject *meth_QTableView_setColumnHidden(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setColumnHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnHidden(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setColumnHidden, doc_QTableView_setColumnHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_showGrid, "QTableView.showGrid() -> bool");

extern "C" {static PyObject *meth_QTableView_showGrid(PyObject *, PyObject *);}
static PyObject *meth_QTableView_showGrid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->showGrid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_showGrid, doc_QTableView_showGrid);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setShowGrid, "QTableView.setShowGrid(bool)");

extern "C" {static PyObject *meth_QTableView_setShowGrid(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setShowGrid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->setShowGrid(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setShowGrid, doc_QTableView_setShowGrid);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_gridStyle, "QTableView.gridStyle() -> Qt.PenStyle");

extern "C" {static PyObject *meth_QTableView_gridStyle(PyObject *, PyObject *);}
static PyObject *meth_QTableView_gridStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            Qt::PenStyle sipRes;

            sipRes = sipCpp->gridStyle();

            return sipConvertFromEnum(sipRes,sipType_Qt_PenStyle);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_gridStyle, doc_QTableView_gridStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setGridStyle, "QTableView.setGridStyle(Qt.PenStyle)");

extern "C" {static PyObject *meth_QTableView_setGridStyle(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setGridStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::PenStyle a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTableView, &sipCpp, sipType_Qt_PenStyle, &a0))
        {
            sipCpp->setGridStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setGridStyle, doc_QTableView_setGridStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_visualRect, "QTableView.visualRect(QModelIndex) -> QRect");

extern "C" {static PyObject *meth_QTableView_visualRect(PyObject *, PyObject *);}
static PyObject *meth_QTableView_visualRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QTableView::visualRect(*a0) : sipCpp->visualRect(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_visualRect, doc_QTableView_visualRect);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_scrollTo, "QTableView.scrollTo(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible)");

extern "C" {static PyObject *meth_QTableView_scrollTo(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_scrollTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QAbstractItemView::ScrollHint a1 = QAbstractItemView::EnsureVisible;
        QTableView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            (sipSelfWasArg ? sipCpp->QTableView::scrollTo(*a0,a1) : sipCpp->scrollTo(*a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_scrollTo, doc_QTableView_scrollTo);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_indexAt, "QTableView.indexAt(QPoint) -> QModelIndex");

extern "C" {static PyObject *meth_QTableView_indexAt(PyObject *, PyObject *);}
static PyObject *meth_QTableView_indexAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QPoint, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QTableView::indexAt(*a0) : sipCpp->indexAt(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_indexAt, doc_QTableView_indexAt);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_selectRow, "QTableView.selectRow(int)");

extern "C" {static PyObject *meth_QTableView_selectRow(PyObject *, PyObject *);}
static PyObject *meth_QTableView_selectRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->selectRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_selectRow, doc_QTableView_selectRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_selectColumn, "QTableView.selectColumn(int)");

extern "C" {static PyObject *meth_QTableView_selectColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableView_selectColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->selectColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_selectColumn, doc_QTableView_selectColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_hideRow, "QTableView.hideRow(int)");

extern "C" {static PyObject *meth_QTableView_hideRow(PyObject *, PyObject *);}
static PyObject *meth_QTableView_hideRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->hideRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_hideRow, doc_QTableView_hideRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_hideColumn, "QTableView.hideColumn(int)");

extern "C" {static PyObject *meth_QTableView_hideColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableView_hideColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->hideColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_hideColumn, doc_QTableView_hideColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_showRow, "QTableView.showRow(int)");

extern "C" {static PyObject *meth_QTableView_showRow(PyObject *, PyObject *);}
static PyObject *meth_QTableView_showRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->showRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_showRow, doc_QTableView_showRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_showColumn, "QTableView.showColumn(int)");

extern "C" {static PyObject *meth_QTableView_showColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableView_showColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->showColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_showColumn, doc_QTableView_showColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_resizeRowToContents, "QTableView.resizeRowToContents(int)");

extern "C" {static PyObject *meth_QTableView_resizeRowToContents(PyObject *, PyObject *);}
static PyObject *meth_QTableView_resizeRowToContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->resizeRowToContents(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_resizeRowToContents, doc_QTableView_resizeRowToContents);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_resizeRowsToContents, "QTableView.resizeRowsToContents()");

extern "C" {static PyObject *meth_QTableView_resizeRowsToContents(PyObject *, PyObject *);}
static PyObject *meth_QTableView_resizeRowsToContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            sipCpp->resizeRowsToContents();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_resizeRowsToContents, doc_QTableView_resizeRowsToContents);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_resizeColumnToContents, "QTableView.resizeColumnToContents(int)");

extern "C" {static PyObject *meth_QTableView_resizeColumnToContents(PyObject *, PyObject *);}
static PyObject *meth_QTableView_resizeColumnToContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->resizeColumnToContents(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_resizeColumnToContents, doc_QTableView_resizeColumnToContents);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_resizeColumnsToContents, "QTableView.resizeColumnsToContents()");

extern "C" {static PyObject *meth_QTableView_resizeColumnsToContents(PyObject *, PyObject *);}
static PyObject *meth_QTableView_resizeColumnsToContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            sipCpp->resizeColumnsToContents();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_resizeColumnsToContents, doc_QTableView_resizeColumnsToContents);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_rowMoved, "QTableView.rowMoved(int, int, int)");

extern "C" {static PyObject *meth_QTableView_rowMoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_rowMoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_rowMoved(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_rowMoved, doc_QTableView_rowMoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_columnMoved, "QTableView.columnMoved(int, int, int)");

extern "C" {static PyObject *meth_QTableView_columnMoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_columnMoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_columnMoved(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_columnMoved, doc_QTableView_columnMoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_rowResized, "QTableView.rowResized(int, int, int)");

extern "C" {static PyObject *meth_QTableView_rowResized(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_rowResized(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_rowResized(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_rowResized, doc_QTableView_rowResized);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_columnResized, "QTableView.columnResized(int, int, int)");

extern "C" {static PyObject *meth_QTableView_columnResized(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_columnResized(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_columnResized(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_columnResized, doc_QTableView_columnResized);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_rowCountChanged, "QTableView.rowCountChanged(int, int)");

extern "C" {static PyObject *meth_QTableView_rowCountChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_rowCountChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_rowCountChanged(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_rowCountChanged, doc_QTableView_rowCountChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_columnCountChanged, "QTableView.columnCountChanged(int, int)");

extern "C" {static PyObject *meth_QTableView_columnCountChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_columnCountChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_columnCountChanged(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_columnCountChanged, doc_QTableView_columnCountChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_scrollContentsBy, "QTableView.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QTableView_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_scrollContentsBy, doc_QTableView_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_viewOptions, "QTableView.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QTableView_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_viewOptions, doc_QTableView_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_paintEvent, "QTableView.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QTableView_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_paintEvent, doc_QTableView_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_timerEvent, "QTableView.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTableView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTableView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_timerEvent, doc_QTableView_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_horizontalOffset, "QTableView.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QTableView_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_horizontalOffset, doc_QTableView_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_verticalOffset, "QTableView.verticalOffset() -> int");

extern "C" {static PyObject *meth_QTableView_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_verticalOffset, doc_QTableView_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_moveCursor, "QTableView.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QTableView_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QTableView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_moveCursor, doc_QTableView_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setSelection, "QTableView.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QTableView_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QTableView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setSelection, doc_QTableView_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_visualRegionForSelection, "QTableView.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QTableView_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_visualRegionForSelection, doc_QTableView_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_selectedIndexes, "QTableView.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QTableView_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_selectedIndexes, doc_QTableView_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_updateGeometries, "QTableView.updateGeometries()");

extern "C" {static PyObject *meth_QTableView_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_updateGeometries, doc_QTableView_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_sizeHintForRow, "QTableView.sizeHintForRow(int) -> int");

extern "C" {static PyObject *meth_QTableView_sizeHintForRow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_sizeHintForRow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_sizeHintForRow(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_sizeHintForRow, doc_QTableView_sizeHintForRow);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_sizeHintForColumn, "QTableView.sizeHintForColumn(int) -> int");

extern "C" {static PyObject *meth_QTableView_sizeHintForColumn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_sizeHintForColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_sizeHintForColumn(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_sizeHintForColumn, doc_QTableView_sizeHintForColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_verticalScrollbarAction, "QTableView.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QTableView_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_verticalScrollbarAction, doc_QTableView_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_horizontalScrollbarAction, "QTableView.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QTableView_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_horizontalScrollbarAction, doc_QTableView_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_isIndexHidden, "QTableView.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QTableView_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_isIndexHidden, doc_QTableView_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_viewportSizeHint, "QTableView.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QTableView_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_viewportSizeHint, doc_QTableView_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setSortingEnabled, "QTableView.setSortingEnabled(bool)");

extern "C" {static PyObject *meth_QTableView_setSortingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setSortingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->setSortingEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setSortingEnabled, doc_QTableView_setSortingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_isSortingEnabled, "QTableView.isSortingEnabled() -> bool");

extern "C" {static PyObject *meth_QTableView_isSortingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTableView_isSortingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSortingEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_isSortingEnabled, doc_QTableView_isSortingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setSpan, "QTableView.setSpan(int, int, int, int)");

extern "C" {static PyObject *meth_QTableView_setSpan(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setSpan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setSpan(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setSpan, doc_QTableView_setSpan);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_rowSpan, "QTableView.rowSpan(int, int) -> int");

extern "C" {static PyObject *meth_QTableView_rowSpan(PyObject *, PyObject *);}
static PyObject *meth_QTableView_rowSpan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            int sipRes;

            sipRes = sipCpp->rowSpan(a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_rowSpan, doc_QTableView_rowSpan);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_columnSpan, "QTableView.columnSpan(int, int) -> int");

extern "C" {static PyObject *meth_QTableView_columnSpan(PyObject *, PyObject *);}
static PyObject *meth_QTableView_columnSpan(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTableView, &sipCpp, &a0, &a1))
        {
            int sipRes;

            sipRes = sipCpp->columnSpan(a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_columnSpan, doc_QTableView_columnSpan);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_sortByColumn, "QTableView.sortByColumn(int, Qt.SortOrder)");

extern "C" {static PyObject *meth_QTableView_sortByColumn(PyObject *, PyObject *);}
static PyObject *meth_QTableView_sortByColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::SortOrder a1;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QTableView, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            sipCpp->sortByColumn(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_sortByColumn, doc_QTableView_sortByColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setWordWrap, "QTableView.setWordWrap(bool)");

extern "C" {static PyObject *meth_QTableView_setWordWrap(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setWordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->setWordWrap(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setWordWrap, doc_QTableView_setWordWrap);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_wordWrap, "QTableView.wordWrap() -> bool");

extern "C" {static PyObject *meth_QTableView_wordWrap(PyObject *, PyObject *);}
static PyObject *meth_QTableView_wordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->wordWrap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_wordWrap, doc_QTableView_wordWrap);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_setCornerButtonEnabled, "QTableView.setCornerButtonEnabled(bool)");

extern "C" {static PyObject *meth_QTableView_setCornerButtonEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTableView_setCornerButtonEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTableView, &sipCpp, &a0))
        {
            sipCpp->setCornerButtonEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_setCornerButtonEnabled, doc_QTableView_setCornerButtonEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_isCornerButtonEnabled, "QTableView.isCornerButtonEnabled() -> bool");

extern "C" {static PyObject *meth_QTableView_isCornerButtonEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTableView_isCornerButtonEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isCornerButtonEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_isCornerButtonEnabled, doc_QTableView_isCornerButtonEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_clearSpans, "QTableView.clearSpans()");

extern "C" {static PyObject *meth_QTableView_clearSpans(PyObject *, PyObject *);}
static PyObject *meth_QTableView_clearSpans(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTableView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTableView, &sipCpp))
        {
            sipCpp->clearSpans();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_clearSpans, doc_QTableView_clearSpans);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_selectionChanged, "QTableView.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QTableView_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_selectionChanged, doc_QTableView_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QTableView_currentChanged, "QTableView.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QTableView_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTableView_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQTableView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QTableView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTableView, sipName_currentChanged, doc_QTableView_currentChanged);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTableView(void *, const sipTypeDef *);}
static void *cast_QTableView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTableView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemView)->ctd_cast((QAbstractItemView *)(QTableView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTableView(void *, int);}
static void release_QTableView(void *sipCppV,int)
{
    QTableView *sipCpp = reinterpret_cast<QTableView *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTableView(sipSimpleWrapper *);}
static void dealloc_QTableView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTableView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTableView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTableView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTableView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTableView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQTableView(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTableView[] = {{4, 255, 1}};


static PyMethodDef methods_QTableView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QTableView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QTableView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTableView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSpans), meth_QTableView_clearSpans, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_clearSpans)},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QTableView_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QTableView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnAt), meth_QTableView_columnAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_columnAt)},
    {SIP_MLNAME_CAST(sipName_columnCountChanged), (PyCFunction)meth_QTableView_columnCountChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_columnCountChanged)},
    {SIP_MLNAME_CAST(sipName_columnMoved), (PyCFunction)meth_QTableView_columnMoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_columnMoved)},
    {SIP_MLNAME_CAST(sipName_columnResized), (PyCFunction)meth_QTableView_columnResized, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_columnResized)},
    {SIP_MLNAME_CAST(sipName_columnSpan), meth_QTableView_columnSpan, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_columnSpan)},
    {SIP_MLNAME_CAST(sipName_columnViewportPosition), meth_QTableView_columnViewportPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_columnViewportPosition)},
    {SIP_MLNAME_CAST(sipName_columnWidth), meth_QTableView_columnWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_columnWidth)},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QTableView_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTableView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QTableView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QTableView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QTableView_currentChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_currentChanged)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTableView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_QTableView_dataChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QTableView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QTableView_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTableView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QTableView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QTableView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QTableView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QTableView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QTableView_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QTableView_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QTableView_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QTableView_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QTableView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QTableView_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QTableView_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QTableView_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QTableView_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QTableView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QTableView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QTableView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QTableView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_gridStyle), meth_QTableView_gridStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_gridStyle)},
    {SIP_MLNAME_CAST(sipName_hideColumn), meth_QTableView_hideColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_hideColumn)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QTableView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideRow), meth_QTableView_hideRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_hideRow)},
    {SIP_MLNAME_CAST(sipName_horizontalHeader), meth_QTableView_horizontalHeader, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_horizontalHeader)},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QTableView_horizontalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_horizontalOffset)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QTableView_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_horizontalScrollbarAction)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QTableView_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexAt), meth_QTableView_indexAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_indexAt)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QTableView_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QTableView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isColumnHidden), meth_QTableView_isColumnHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_isColumnHidden)},
    {SIP_MLNAME_CAST(sipName_isCornerButtonEnabled), meth_QTableView_isCornerButtonEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_isCornerButtonEnabled)},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QTableView_isIndexHidden, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_isIndexHidden)},
    {SIP_MLNAME_CAST(sipName_isRowHidden), meth_QTableView_isRowHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_isRowHidden)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTableView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortingEnabled), meth_QTableView_isSortingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_isSortingEnabled)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QTableView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QTableView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QTableView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QTableView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QTableView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QTableView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QTableView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QTableView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QTableView_moveCursor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_moveCursor)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QTableView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QTableView_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QTableView_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTableView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeColumnToContents), meth_QTableView_resizeColumnToContents, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_resizeColumnToContents)},
    {SIP_MLNAME_CAST(sipName_resizeColumnsToContents), meth_QTableView_resizeColumnsToContents, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_resizeColumnsToContents)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QTableView_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeRowToContents), meth_QTableView_resizeRowToContents, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_resizeRowToContents)},
    {SIP_MLNAME_CAST(sipName_resizeRowsToContents), meth_QTableView_resizeRowsToContents, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_resizeRowsToContents)},
    {SIP_MLNAME_CAST(sipName_rowAt), meth_QTableView_rowAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_rowAt)},
    {SIP_MLNAME_CAST(sipName_rowCountChanged), (PyCFunction)meth_QTableView_rowCountChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_rowCountChanged)},
    {SIP_MLNAME_CAST(sipName_rowHeight), meth_QTableView_rowHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_rowHeight)},
    {SIP_MLNAME_CAST(sipName_rowMoved), (PyCFunction)meth_QTableView_rowMoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_rowMoved)},
    {SIP_MLNAME_CAST(sipName_rowResized), (PyCFunction)meth_QTableView_rowResized, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_rowResized)},
    {SIP_MLNAME_CAST(sipName_rowSpan), meth_QTableView_rowSpan, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_rowSpan)},
    {SIP_MLNAME_CAST(sipName_rowViewportPosition), meth_QTableView_rowViewportPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_rowViewportPosition)},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QTableView_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QTableView_rowsInserted, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QTableView_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QTableView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QTableView_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollTo), (PyCFunction)meth_QTableView_scrollTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_scrollTo)},
    {SIP_MLNAME_CAST(sipName_selectColumn), meth_QTableView_selectColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_selectColumn)},
    {SIP_MLNAME_CAST(sipName_selectRow), meth_QTableView_selectRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_selectRow)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QTableView_selectedIndexes, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_selectedIndexes)},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QTableView_selectionChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_selectionChanged)},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QTableView_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTableView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTableView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setColumnHidden), meth_QTableView_setColumnHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setColumnHidden)},
    {SIP_MLNAME_CAST(sipName_setColumnWidth), meth_QTableView_setColumnWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setColumnWidth)},
    {SIP_MLNAME_CAST(sipName_setCornerButtonEnabled), meth_QTableView_setCornerButtonEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setCornerButtonEnabled)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QTableView_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setGridStyle), meth_QTableView_setGridStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setGridStyle)},
    {SIP_MLNAME_CAST(sipName_setHorizontalHeader), meth_QTableView_setHorizontalHeader, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setHorizontalHeader)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QTableView_setModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setModel)},
    {SIP_MLNAME_CAST(sipName_setRootIndex), meth_QTableView_setRootIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setRootIndex)},
    {SIP_MLNAME_CAST(sipName_setRowHeight), meth_QTableView_setRowHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setRowHeight)},
    {SIP_MLNAME_CAST(sipName_setRowHidden), meth_QTableView_setRowHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setRowHidden)},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QTableView_setSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_setSelection)},
    {SIP_MLNAME_CAST(sipName_setSelectionModel), meth_QTableView_setSelectionModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setSelectionModel)},
    {SIP_MLNAME_CAST(sipName_setShowGrid), meth_QTableView_setShowGrid, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setShowGrid)},
    {SIP_MLNAME_CAST(sipName_setSortingEnabled), meth_QTableView_setSortingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setSortingEnabled)},
    {SIP_MLNAME_CAST(sipName_setSpan), meth_QTableView_setSpan, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setSpan)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QTableView_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setVerticalHeader), meth_QTableView_setVerticalHeader, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setVerticalHeader)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QTableView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setWordWrap), meth_QTableView_setWordWrap, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_setWordWrap)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QTableView_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showColumn), meth_QTableView_showColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_showColumn)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QTableView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showGrid), meth_QTableView_showGrid, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_showGrid)},
    {SIP_MLNAME_CAST(sipName_showRow), meth_QTableView_showRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_showRow)},
    {SIP_MLNAME_CAST(sipName_sizeHintForColumn), (PyCFunction)meth_QTableView_sizeHintForColumn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_sizeHintForColumn)},
    {SIP_MLNAME_CAST(sipName_sizeHintForRow), (PyCFunction)meth_QTableView_sizeHintForRow, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_sizeHintForRow)},
    {SIP_MLNAME_CAST(sipName_sortByColumn), meth_QTableView_sortByColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_sortByColumn)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QTableView_startDrag, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QTableView_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QTableView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTableView_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_timerEvent)},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QTableView_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QTableView_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QTableView_updateGeometries, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_updateGeometries)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QTableView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalHeader), meth_QTableView_verticalHeader, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_verticalHeader)},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QTableView_verticalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_verticalOffset)},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QTableView_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_verticalScrollbarAction)},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QTableView_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QTableView_viewOptions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_viewOptions)},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QTableView_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QTableView_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_viewportSizeHint)},
    {SIP_MLNAME_CAST(sipName_visualRect), meth_QTableView_visualRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_visualRect)},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QTableView_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTableView_visualRegionForSelection)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTableView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wordWrap), meth_QTableView_wordWrap, METH_VARARGS, SIP_MLDOC_CAST(doc_QTableView_wordWrap)}
};

PyDoc_STRVAR(doc_QTableView, "\1QTableView(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTableView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTableView,
        {0}
    },
    {
        sipNameNr_QTableView,
        {0, 0, 1},
        141, methods_QTableView,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTableView,
    -1,
    -1,
    supers_QTableView,
    0,
    init_type_QTableView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTableView,
    0,
    0,
    0,
    release_QTableView,
    cast_QTableView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTableView::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 93131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 93135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 93138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 93141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 93150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 93168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 93171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 93174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 93177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 93180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 93183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 93186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 93189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 93192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 93195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 93198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 93201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 93204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 93207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 93210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 93213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 93216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 93219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 93222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 93225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 93228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 93231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 93234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 93237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 93240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 93243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 93276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 93279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 93282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 93285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 93288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 93291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 93294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 93297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 93300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 93303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 93306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 93309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 93312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 93315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 93318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 93321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 93324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 93327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 93330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 93333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 93336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 93339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTabBar : public QTabBar
{
public:
    sipQTabBar(QWidget*);
    virtual ~sipQTabBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionTab*,int) const;
    QSize sipProtectVirt_tabSizeHint(bool,int) const;
    void sipProtectVirt_tabInserted(bool,int);
    void sipProtectVirt_tabRemoved(bool,int);
    void sipProtectVirt_tabLayoutChange(bool);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    QSize sipProtectVirt_minimumTabSizeHint(bool,int) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void timerEvent(QTimerEvent*);
    QSize minimumTabSizeHint(int) const;
    void wheelEvent(QWheelEvent*);
    void hideEvent(QHideEvent*);
    void changeEvent(QEvent*);
    void keyPressEvent(QKeyEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QResizeEvent*);
    bool event(QEvent*);
    void tabLayoutChange();
    void tabRemoved(int);
    void tabInserted(int);
    QSize tabSizeHint(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTabBar(const sipQTabBar &);
    sipQTabBar &operator = (const sipQTabBar &);

    char sipPyMethods[51];
};

sipQTabBar::sipQTabBar(QWidget*a0): QTabBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTabBar::~sipQTabBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTabBar::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTabBar);
}

int sipQTabBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTabBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTabBar,_c,_id,_a);

    return _id;
}

void *sipQTabBar::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTabBar, _clname, &sipCpp) ? sipCpp : QTabBar::qt_metacast(_clname));
}

void sipQTabBar::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTabBar::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTabBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTabBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTabBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTabBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTabBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTabBar::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QTabBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQTabBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QTabBar::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTabBar::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QTabBar::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTabBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QTabBar::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTabBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QTabBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQTabBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QTabBar::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QTabBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTabBar::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QTabBar::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QTabBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QTabBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QTabBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QTabBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QTabBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QTabBar::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QTabBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QTabBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QTabBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QTabBar::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QTabBar::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QTabBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QTabBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QTabBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QTabBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQTabBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QTabBar::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTabBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QTabBar::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QTabBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTabBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QTabBar::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTabBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTabBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTabBar::minimumTabSizeHint(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumTabSizeHint);

    if (!sipMeth)
        return QTabBar::minimumTabSizeHint(a0);

    extern QSize sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_47(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QTabBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QTabBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QTabBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QTabBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QTabBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QTabBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QTabBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QTabBar::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QTabBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QTabBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTabBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTabBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::tabLayoutChange()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_tabLayoutChange);

    if (!sipMeth)
    {
        QTabBar::tabLayoutChange();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTabBar::tabRemoved(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_tabRemoved);

    if (!sipMeth)
    {
        QTabBar::tabRemoved(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTabBar::tabInserted(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_tabInserted);

    if (!sipMeth)
    {
        QTabBar::tabInserted(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTabBar::tabSizeHint(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_tabSizeHint);

    if (!sipMeth)
        return QTabBar::tabSizeHint(a0);

    extern QSize sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_47(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTabBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QTabBar::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQTabBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QTabBar::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQTabBar::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTabBar::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTabBar::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTabBar::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTabBar::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTabBar::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTabBar::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTabBar::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQTabBar::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQTabBar::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQTabBar::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQTabBar::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQTabBar::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQTabBar::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQTabBar::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQTabBar::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQTabBar::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQTabBar::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQTabBar::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQTabBar::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQTabBar::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQTabBar::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQTabBar::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQTabBar::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQTabBar::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQTabBar::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQTabBar::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQTabBar::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQTabBar::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQTabBar::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQTabBar::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQTabBar::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQTabBar::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQTabBar::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQTabBar::sipProtect_initStyleOption(QStyleOptionTab*a0,int a1) const
{
    QTabBar::initStyleOption(a0,a1);
}

QSize sipQTabBar::sipProtectVirt_tabSizeHint(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QTabBar::tabSizeHint(a0) : tabSizeHint(a0));
}

void sipQTabBar::sipProtectVirt_tabInserted(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTabBar::tabInserted(a0) : tabInserted(a0));
}

void sipQTabBar::sipProtectVirt_tabRemoved(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QTabBar::tabRemoved(a0) : tabRemoved(a0));
}

void sipQTabBar::sipProtectVirt_tabLayoutChange(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QTabBar::tabLayoutChange() : tabLayoutChange());
}

bool sipQTabBar::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QTabBar::event(a0) : event(a0));
}

void sipQTabBar::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QTabBar::resizeEvent(a0) : resizeEvent(a0));
}

void sipQTabBar::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QTabBar::showEvent(a0) : showEvent(a0));
}

void sipQTabBar::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QTabBar::paintEvent(a0) : paintEvent(a0));
}

void sipQTabBar::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTabBar::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQTabBar::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTabBar::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQTabBar::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QTabBar::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQTabBar::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QTabBar::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQTabBar::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QTabBar::changeEvent(a0) : changeEvent(a0));
}

void sipQTabBar::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QTabBar::hideEvent(a0) : hideEvent(a0));
}

void sipQTabBar::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QTabBar::wheelEvent(a0) : wheelEvent(a0));
}

QSize sipQTabBar::sipProtectVirt_minimumTabSizeHint(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QTabBar::minimumTabSizeHint(a0) : minimumTabSizeHint(a0));
}

void sipQTabBar::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QTabBar::timerEvent(a0) : timerEvent(a0));
}


PyDoc_STRVAR(doc_QTabBar_sender, "QTabBar.sender() -> QObject");

extern "C" {static PyObject *meth_QTabBar_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 94682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_sender, doc_QTabBar_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_receivers, "QTabBar.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTabBar_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 94741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_receivers, doc_QTabBar_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_childEvent, "QTabBar.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTabBar_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_childEvent, doc_QTabBar_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_customEvent, "QTabBar.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTabBar_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_customEvent, doc_QTabBar_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_connectNotify, "QTabBar.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTabBar_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_connectNotify, doc_QTabBar_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_disconnectNotify, "QTabBar.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTabBar_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_disconnectNotify, doc_QTabBar_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_senderSignalIndex, "QTabBar.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTabBar_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_senderSignalIndex, doc_QTabBar_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_isSignalConnected, "QTabBar.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTabBar_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_isSignalConnected, doc_QTabBar_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_mouseDoubleClickEvent, "QTabBar.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTabBar_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_mouseDoubleClickEvent, doc_QTabBar_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_keyReleaseEvent, "QTabBar.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTabBar_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_keyReleaseEvent, doc_QTabBar_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_focusInEvent, "QTabBar.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTabBar_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_focusInEvent, doc_QTabBar_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_focusOutEvent, "QTabBar.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTabBar_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_focusOutEvent, doc_QTabBar_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_enterEvent, "QTabBar.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QTabBar_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_enterEvent, doc_QTabBar_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_leaveEvent, "QTabBar.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QTabBar_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_leaveEvent, doc_QTabBar_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_moveEvent, "QTabBar.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QTabBar_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_moveEvent, doc_QTabBar_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_closeEvent, "QTabBar.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QTabBar_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_closeEvent, doc_QTabBar_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_contextMenuEvent, "QTabBar.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QTabBar_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_contextMenuEvent, doc_QTabBar_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabletEvent, "QTabBar.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QTabBar_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabletEvent, doc_QTabBar_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_actionEvent, "QTabBar.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QTabBar_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_actionEvent, doc_QTabBar_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_dragEnterEvent, "QTabBar.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QTabBar_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_dragEnterEvent, doc_QTabBar_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_dragMoveEvent, "QTabBar.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QTabBar_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_dragMoveEvent, doc_QTabBar_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_dragLeaveEvent, "QTabBar.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QTabBar_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_dragLeaveEvent, doc_QTabBar_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_dropEvent, "QTabBar.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QTabBar_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_dropEvent, doc_QTabBar_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_metric, "QTabBar.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QTabBar_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_metric, doc_QTabBar_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_inputMethodEvent, "QTabBar.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QTabBar_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_inputMethodEvent, doc_QTabBar_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_updateMicroFocus, "QTabBar.updateMicroFocus()");

extern "C" {static PyObject *meth_QTabBar_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_updateMicroFocus, doc_QTabBar_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_create, "QTabBar.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QTabBar_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQTabBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QTabBar, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_create, doc_QTabBar_create);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_destroy, "QTabBar.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QTabBar_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQTabBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_destroy, doc_QTabBar_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_focusNextPrevChild, "QTabBar.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QTabBar_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_focusNextPrevChild, doc_QTabBar_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_focusNextChild, "QTabBar.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QTabBar_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_focusNextChild, doc_QTabBar_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_focusPreviousChild, "QTabBar.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QTabBar_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_focusPreviousChild, doc_QTabBar_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_nativeEvent, "QTabBar.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QTabBar_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_nativeEvent, doc_QTabBar_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_sharedPainter, "QTabBar.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QTabBar_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_sharedPainter, doc_QTabBar_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_initPainter, "QTabBar.initPainter(QPainter)");

extern "C" {static PyObject *meth_QTabBar_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_initPainter, doc_QTabBar_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_shape, "QTabBar.shape() -> QTabBar.Shape");

extern "C" {static PyObject *meth_QTabBar_shape(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            QTabBar::Shape sipRes;

            sipRes = sipCpp->shape();

            return sipConvertFromEnum(sipRes,sipType_QTabBar_Shape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_shape, doc_QTabBar_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setShape, "QTabBar.setShape(QTabBar.Shape)");

extern "C" {static PyObject *meth_QTabBar_setShape(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTabBar::Shape a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QTabBar_Shape, &a0))
        {
            sipCpp->setShape(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setShape, doc_QTabBar_setShape);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_addTab, "QTabBar.addTab(str) -> int\n"
    "QTabBar.addTab(QIcon, str) -> int");

extern "C" {static PyObject *meth_QTabBar_addTab(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_addTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->addTab(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State))
        {
            int sipRes;

            sipRes = sipCpp->addTab(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_addTab, doc_QTabBar_addTab);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_insertTab, "QTabBar.insertTab(int, str) -> int\n"
    "QTabBar.insertTab(int, QIcon, str) -> int");

extern "C" {static PyObject *meth_QTabBar_insertTab(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_insertTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            int sipRes;

            sipRes = sipCpp->insertTab(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        const QIcon* a1;
        const QString* a2;
        int a2State = 0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9J1", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QIcon, &a1, sipType_QString,&a2, &a2State))
        {
            int sipRes;

            sipRes = sipCpp->insertTab(a0,*a1,*a2);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_insertTab, doc_QTabBar_insertTab);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_removeTab, "QTabBar.removeTab(int)");

extern "C" {static PyObject *meth_QTabBar_removeTab(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_removeTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->removeTab(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_removeTab, doc_QTabBar_removeTab);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_isTabEnabled, "QTabBar.isTabEnabled(int) -> bool");

extern "C" {static PyObject *meth_QTabBar_isTabEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_isTabEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isTabEnabled(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_isTabEnabled, doc_QTabBar_isTabEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setTabEnabled, "QTabBar.setTabEnabled(int, bool)");

extern "C" {static PyObject *meth_QTabBar_setTabEnabled(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setTabEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QTabBar, &sipCpp, &a0, &a1))
        {
            sipCpp->setTabEnabled(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setTabEnabled, doc_QTabBar_setTabEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabText, "QTabBar.tabText(int) -> str");

extern "C" {static PyObject *meth_QTabBar_tabText(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->tabText(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabText, doc_QTabBar_tabText);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setTabText, "QTabBar.setTabText(int, str)");

extern "C" {static PyObject *meth_QTabBar_setTabText(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setTabText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setTabText(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setTabText, doc_QTabBar_setTabText);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabTextColor, "QTabBar.tabTextColor(int) -> QColor");

extern "C" {static PyObject *meth_QTabBar_tabTextColor(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabTextColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            QColor*sipRes;

            sipRes = new QColor(sipCpp->tabTextColor(a0));

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabTextColor, doc_QTabBar_tabTextColor);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setTabTextColor, "QTabBar.setTabTextColor(int, QColor)");

extern "C" {static PyObject *meth_QTabBar_setTabTextColor(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setTabTextColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QColor* a1;
        int a1State = 0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QColor, &a1, &a1State))
        {
            sipCpp->setTabTextColor(a0,*a1);
            sipReleaseType(const_cast<QColor *>(a1),sipType_QColor,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setTabTextColor, doc_QTabBar_setTabTextColor);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabIcon, "QTabBar.tabIcon(int) -> QIcon");

extern "C" {static PyObject *meth_QTabBar_tabIcon(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->tabIcon(a0));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabIcon, doc_QTabBar_tabIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setTabIcon, "QTabBar.setTabIcon(int, QIcon)");

extern "C" {static PyObject *meth_QTabBar_setTabIcon(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setTabIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QIcon* a1;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QIcon, &a1))
        {
            sipCpp->setTabIcon(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setTabIcon, doc_QTabBar_setTabIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setTabToolTip, "QTabBar.setTabToolTip(int, str)");

extern "C" {static PyObject *meth_QTabBar_setTabToolTip(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setTabToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setTabToolTip(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setTabToolTip, doc_QTabBar_setTabToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabToolTip, "QTabBar.tabToolTip(int) -> str");

extern "C" {static PyObject *meth_QTabBar_tabToolTip(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->tabToolTip(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabToolTip, doc_QTabBar_tabToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setTabWhatsThis, "QTabBar.setTabWhatsThis(int, str)");

extern "C" {static PyObject *meth_QTabBar_setTabWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setTabWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setTabWhatsThis(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setTabWhatsThis, doc_QTabBar_setTabWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabWhatsThis, "QTabBar.tabWhatsThis(int) -> str");

extern "C" {static PyObject *meth_QTabBar_tabWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->tabWhatsThis(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabWhatsThis, doc_QTabBar_tabWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setTabData, "QTabBar.setTabData(int, QVariant)");

extern "C" {static PyObject *meth_QTabBar_setTabData(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setTabData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QVariant* a1;
        int a1State = 0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setTabData(a0,*a1);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setTabData, doc_QTabBar_setTabData);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabData, "QTabBar.tabData(int) -> QVariant");

extern "C" {static PyObject *meth_QTabBar_tabData(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->tabData(a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabData, doc_QTabBar_tabData);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabAt, "QTabBar.tabAt(QPoint) -> int");

extern "C" {static PyObject *meth_QTabBar_tabAt(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QPoint, &a0))
        {
            int sipRes;

            sipRes = sipCpp->tabAt(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabAt, doc_QTabBar_tabAt);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabRect, "QTabBar.tabRect(int) -> QRect");

extern "C" {static PyObject *meth_QTabBar_tabRect(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->tabRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabRect, doc_QTabBar_tabRect);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_currentIndex, "QTabBar.currentIndex() -> int");

extern "C" {static PyObject *meth_QTabBar_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_currentIndex, doc_QTabBar_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_count, "QTabBar.count() -> int");

extern "C" {static PyObject *meth_QTabBar_count(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_count, doc_QTabBar_count);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_sizeHint, "QTabBar.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QTabBar_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QTabBar::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_sizeHint, doc_QTabBar_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_minimumSizeHint, "QTabBar.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QTabBar_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QTabBar::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_minimumSizeHint, doc_QTabBar_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setDrawBase, "QTabBar.setDrawBase(bool)");

extern "C" {static PyObject *meth_QTabBar_setDrawBase(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setDrawBase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->setDrawBase(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setDrawBase, doc_QTabBar_setDrawBase);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_drawBase, "QTabBar.drawBase() -> bool");

extern "C" {static PyObject *meth_QTabBar_drawBase(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_drawBase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->drawBase();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_drawBase, doc_QTabBar_drawBase);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_iconSize, "QTabBar.iconSize() -> QSize");

extern "C" {static PyObject *meth_QTabBar_iconSize(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->iconSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_iconSize, doc_QTabBar_iconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setIconSize, "QTabBar.setIconSize(QSize)");

extern "C" {static PyObject *meth_QTabBar_setIconSize(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setIconSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setIconSize, doc_QTabBar_setIconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_elideMode, "QTabBar.elideMode() -> Qt.TextElideMode");

extern "C" {static PyObject *meth_QTabBar_elideMode(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_elideMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            Qt::TextElideMode sipRes;

            sipRes = sipCpp->elideMode();

            return sipConvertFromEnum(sipRes,sipType_Qt_TextElideMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_elideMode, doc_QTabBar_elideMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setElideMode, "QTabBar.setElideMode(Qt.TextElideMode)");

extern "C" {static PyObject *meth_QTabBar_setElideMode(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setElideMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextElideMode a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTabBar, &sipCpp, sipType_Qt_TextElideMode, &a0))
        {
            sipCpp->setElideMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setElideMode, doc_QTabBar_setElideMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setUsesScrollButtons, "QTabBar.setUsesScrollButtons(bool)");

extern "C" {static PyObject *meth_QTabBar_setUsesScrollButtons(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setUsesScrollButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->setUsesScrollButtons(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setUsesScrollButtons, doc_QTabBar_setUsesScrollButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_usesScrollButtons, "QTabBar.usesScrollButtons() -> bool");

extern "C" {static PyObject *meth_QTabBar_usesScrollButtons(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_usesScrollButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->usesScrollButtons();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_usesScrollButtons, doc_QTabBar_usesScrollButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setCurrentIndex, "QTabBar.setCurrentIndex(int)");

extern "C" {static PyObject *meth_QTabBar_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->setCurrentIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setCurrentIndex, doc_QTabBar_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_initStyleOption, "QTabBar.initStyleOption(QStyleOptionTab, int)");

extern "C" {static PyObject *meth_QTabBar_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab* a0;
        int a1;
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8i", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QStyleOptionTab, &a0, &a1))
        {
            sipCpp->sipProtect_initStyleOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_initStyleOption, doc_QTabBar_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabSizeHint, "QTabBar.tabSizeHint(int) -> QSize");

extern "C" {static PyObject *meth_QTabBar_tabSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_tabSizeHint(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabSizeHint, doc_QTabBar_tabSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabInserted, "QTabBar.tabInserted(int)");

extern "C" {static PyObject *meth_QTabBar_tabInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_tabInserted(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabInserted, doc_QTabBar_tabInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabRemoved, "QTabBar.tabRemoved(int)");

extern "C" {static PyObject *meth_QTabBar_tabRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_tabRemoved(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabRemoved, doc_QTabBar_tabRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabLayoutChange, "QTabBar.tabLayoutChange()");

extern "C" {static PyObject *meth_QTabBar_tabLayoutChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabLayoutChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            sipCpp->sipProtectVirt_tabLayoutChange(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabLayoutChange, doc_QTabBar_tabLayoutChange);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_event, "QTabBar.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QTabBar_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_event, doc_QTabBar_event);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_resizeEvent, "QTabBar.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QTabBar_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_resizeEvent, doc_QTabBar_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_showEvent, "QTabBar.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QTabBar_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_showEvent, doc_QTabBar_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_paintEvent, "QTabBar.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QTabBar_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_paintEvent, doc_QTabBar_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_mousePressEvent, "QTabBar.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTabBar_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_mousePressEvent, doc_QTabBar_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_mouseMoveEvent, "QTabBar.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTabBar_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_mouseMoveEvent, doc_QTabBar_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_mouseReleaseEvent, "QTabBar.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTabBar_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_mouseReleaseEvent, doc_QTabBar_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_keyPressEvent, "QTabBar.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTabBar_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_keyPressEvent, doc_QTabBar_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_changeEvent, "QTabBar.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QTabBar_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_changeEvent, doc_QTabBar_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_moveTab, "QTabBar.moveTab(int, int)");

extern "C" {static PyObject *meth_QTabBar_moveTab(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_moveTab(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QTabBar, &sipCpp, &a0, &a1))
        {
            sipCpp->moveTab(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_moveTab, doc_QTabBar_moveTab);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabsClosable, "QTabBar.tabsClosable() -> bool");

extern "C" {static PyObject *meth_QTabBar_tabsClosable(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabsClosable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tabsClosable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabsClosable, doc_QTabBar_tabsClosable);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setTabsClosable, "QTabBar.setTabsClosable(bool)");

extern "C" {static PyObject *meth_QTabBar_setTabsClosable(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setTabsClosable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->setTabsClosable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setTabsClosable, doc_QTabBar_setTabsClosable);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setTabButton, "QTabBar.setTabButton(int, QTabBar.ButtonPosition, QWidget)");

extern "C" {static PyObject *meth_QTabBar_setTabButton(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setTabButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTabBar::ButtonPosition a1;
        QWidget* a2;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiEJ:", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QTabBar_ButtonPosition, &a1, sipType_QWidget, &a2))
        {
            sipCpp->setTabButton(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setTabButton, doc_QTabBar_setTabButton);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_tabButton, "QTabBar.tabButton(int, QTabBar.ButtonPosition) -> QWidget");

extern "C" {static PyObject *meth_QTabBar_tabButton(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_tabButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QTabBar::ButtonPosition a1;
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QTabBar, &sipCpp, &a0, sipType_QTabBar_ButtonPosition, &a1))
        {
            QWidget*sipRes;

            sipRes = sipCpp->tabButton(a0,a1);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_tabButton, doc_QTabBar_tabButton);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_selectionBehaviorOnRemove, "QTabBar.selectionBehaviorOnRemove() -> QTabBar.SelectionBehavior");

extern "C" {static PyObject *meth_QTabBar_selectionBehaviorOnRemove(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_selectionBehaviorOnRemove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            QTabBar::SelectionBehavior sipRes;

            sipRes = sipCpp->selectionBehaviorOnRemove();

            return sipConvertFromEnum(sipRes,sipType_QTabBar_SelectionBehavior);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_selectionBehaviorOnRemove, doc_QTabBar_selectionBehaviorOnRemove);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setSelectionBehaviorOnRemove, "QTabBar.setSelectionBehaviorOnRemove(QTabBar.SelectionBehavior)");

extern "C" {static PyObject *meth_QTabBar_setSelectionBehaviorOnRemove(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setSelectionBehaviorOnRemove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTabBar::SelectionBehavior a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QTabBar_SelectionBehavior, &a0))
        {
            sipCpp->setSelectionBehaviorOnRemove(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setSelectionBehaviorOnRemove, doc_QTabBar_setSelectionBehaviorOnRemove);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_expanding, "QTabBar.expanding() -> bool");

extern "C" {static PyObject *meth_QTabBar_expanding(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_expanding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->expanding();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_expanding, doc_QTabBar_expanding);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setExpanding, "QTabBar.setExpanding(bool)");

extern "C" {static PyObject *meth_QTabBar_setExpanding(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setExpanding(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->setExpanding(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setExpanding, doc_QTabBar_setExpanding);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_isMovable, "QTabBar.isMovable() -> bool");

extern "C" {static PyObject *meth_QTabBar_isMovable(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_isMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMovable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_isMovable, doc_QTabBar_isMovable);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setMovable, "QTabBar.setMovable(bool)");

extern "C" {static PyObject *meth_QTabBar_setMovable(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->setMovable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setMovable, doc_QTabBar_setMovable);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_documentMode, "QTabBar.documentMode() -> bool");

extern "C" {static PyObject *meth_QTabBar_documentMode(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_documentMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->documentMode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_documentMode, doc_QTabBar_documentMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setDocumentMode, "QTabBar.setDocumentMode(bool)");

extern "C" {static PyObject *meth_QTabBar_setDocumentMode(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setDocumentMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->setDocumentMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setDocumentMode, doc_QTabBar_setDocumentMode);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_hideEvent, "QTabBar.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QTabBar_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_hideEvent, doc_QTabBar_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_wheelEvent, "QTabBar.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QTabBar_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_wheelEvent, doc_QTabBar_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_minimumTabSizeHint, "QTabBar.minimumTabSizeHint(int) -> QSize");

extern "C" {static PyObject *meth_QTabBar_minimumTabSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_minimumTabSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_minimumTabSizeHint(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_minimumTabSizeHint, doc_QTabBar_minimumTabSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_autoHide, "QTabBar.autoHide() -> bool");

extern "C" {static PyObject *meth_QTabBar_autoHide(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_autoHide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoHide();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_autoHide, doc_QTabBar_autoHide);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setAutoHide, "QTabBar.setAutoHide(bool)");

extern "C" {static PyObject *meth_QTabBar_setAutoHide(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setAutoHide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->setAutoHide(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setAutoHide, doc_QTabBar_setAutoHide);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_changeCurrentOnDrag, "QTabBar.changeCurrentOnDrag() -> bool");

extern "C" {static PyObject *meth_QTabBar_changeCurrentOnDrag(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_changeCurrentOnDrag(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTabBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->changeCurrentOnDrag();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_changeCurrentOnDrag, doc_QTabBar_changeCurrentOnDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_setChangeCurrentOnDrag, "QTabBar.setChangeCurrentOnDrag(bool)");

extern "C" {static PyObject *meth_QTabBar_setChangeCurrentOnDrag(PyObject *, PyObject *);}
static PyObject *meth_QTabBar_setChangeCurrentOnDrag(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QTabBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QTabBar, &sipCpp, &a0))
        {
            sipCpp->setChangeCurrentOnDrag(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_setChangeCurrentOnDrag, doc_QTabBar_setChangeCurrentOnDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QTabBar_timerEvent, "QTabBar.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTabBar_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTabBar_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTabBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTabBar, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTabBar, sipName_timerEvent, doc_QTabBar_timerEvent);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QTabBar___len__(PyObject *);}
static SIP_SSIZE_T slot_QTabBar___len__(PyObject *sipSelf)
{
    QTabBar *sipCpp = reinterpret_cast<QTabBar *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QTabBar));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 97650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTabBar(void *, const sipTypeDef *);}
static void *cast_QTabBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTabBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QTabBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTabBar(void *, int);}
static void release_QTabBar(void *sipCppV,int)
{
    QTabBar *sipCpp = reinterpret_cast<QTabBar *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTabBar(sipSimpleWrapper *);}
static void dealloc_QTabBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTabBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTabBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTabBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTabBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTabBar *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQTabBar(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTabBar[] = {{454, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QTabBar[] = {
    {(void *)slot_QTabBar___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QTabBar[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QTabBar_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addTab), meth_QTabBar_addTab, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_addTab)},
    {SIP_MLNAME_CAST(sipName_autoHide), meth_QTabBar_autoHide, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_autoHide)},
    {SIP_MLNAME_CAST(sipName_changeCurrentOnDrag), meth_QTabBar_changeCurrentOnDrag, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_changeCurrentOnDrag)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QTabBar_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTabBar_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QTabBar_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTabBar_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QTabBar_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QTabBar_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_count)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QTabBar_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QTabBar_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_currentIndex)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTabBar_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QTabBar_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTabBar_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_documentMode), meth_QTabBar_documentMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_documentMode)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QTabBar_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QTabBar_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QTabBar_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawBase), meth_QTabBar_drawBase, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_drawBase)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QTabBar_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_elideMode), meth_QTabBar_elideMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_elideMode)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QTabBar_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QTabBar_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_event)},
    {SIP_MLNAME_CAST(sipName_expanding), meth_QTabBar_expanding, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_expanding)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QTabBar_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QTabBar_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QTabBar_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QTabBar_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QTabBar_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QTabBar_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_hideEvent)},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_QTabBar_iconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_iconSize)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QTabBar_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QTabBar_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QTabBar_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertTab), meth_QTabBar_insertTab, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_insertTab)},
    {SIP_MLNAME_CAST(sipName_isMovable), meth_QTabBar_isMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_isMovable)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTabBar_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTabEnabled), meth_QTabBar_isTabEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_isTabEnabled)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QTabBar_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QTabBar_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QTabBar_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QTabBar_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QTabBar_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_minimumTabSizeHint), (PyCFunction)meth_QTabBar_minimumTabSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_minimumTabSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QTabBar_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QTabBar_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QTabBar_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QTabBar_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QTabBar_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveTab), meth_QTabBar_moveTab, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_moveTab)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QTabBar_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QTabBar_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTabBar_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeTab), meth_QTabBar_removeTab, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_removeTab)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QTabBar_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_selectionBehaviorOnRemove), meth_QTabBar_selectionBehaviorOnRemove, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_selectionBehaviorOnRemove)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTabBar_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTabBar_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoHide), meth_QTabBar_setAutoHide, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setAutoHide)},
    {SIP_MLNAME_CAST(sipName_setChangeCurrentOnDrag), meth_QTabBar_setChangeCurrentOnDrag, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setChangeCurrentOnDrag)},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QTabBar_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setDocumentMode), meth_QTabBar_setDocumentMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setDocumentMode)},
    {SIP_MLNAME_CAST(sipName_setDrawBase), meth_QTabBar_setDrawBase, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setDrawBase)},
    {SIP_MLNAME_CAST(sipName_setElideMode), meth_QTabBar_setElideMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setElideMode)},
    {SIP_MLNAME_CAST(sipName_setExpanding), meth_QTabBar_setExpanding, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setExpanding)},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_QTabBar_setIconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setIconSize)},
    {SIP_MLNAME_CAST(sipName_setMovable), meth_QTabBar_setMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setMovable)},
    {SIP_MLNAME_CAST(sipName_setSelectionBehaviorOnRemove), meth_QTabBar_setSelectionBehaviorOnRemove, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setSelectionBehaviorOnRemove)},
    {SIP_MLNAME_CAST(sipName_setShape), meth_QTabBar_setShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setShape)},
    {SIP_MLNAME_CAST(sipName_setTabButton), meth_QTabBar_setTabButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setTabButton)},
    {SIP_MLNAME_CAST(sipName_setTabData), meth_QTabBar_setTabData, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setTabData)},
    {SIP_MLNAME_CAST(sipName_setTabEnabled), meth_QTabBar_setTabEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setTabEnabled)},
    {SIP_MLNAME_CAST(sipName_setTabIcon), meth_QTabBar_setTabIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setTabIcon)},
    {SIP_MLNAME_CAST(sipName_setTabText), meth_QTabBar_setTabText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setTabText)},
    {SIP_MLNAME_CAST(sipName_setTabTextColor), meth_QTabBar_setTabTextColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setTabTextColor)},
    {SIP_MLNAME_CAST(sipName_setTabToolTip), meth_QTabBar_setTabToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setTabToolTip)},
    {SIP_MLNAME_CAST(sipName_setTabWhatsThis), meth_QTabBar_setTabWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setTabWhatsThis)},
    {SIP_MLNAME_CAST(sipName_setTabsClosable), meth_QTabBar_setTabsClosable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setTabsClosable)},
    {SIP_MLNAME_CAST(sipName_setUsesScrollButtons), meth_QTabBar_setUsesScrollButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_setUsesScrollButtons)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QTabBar_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_shape)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QTabBar_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QTabBar_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QTabBar_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabAt), meth_QTabBar_tabAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabAt)},
    {SIP_MLNAME_CAST(sipName_tabButton), meth_QTabBar_tabButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabButton)},
    {SIP_MLNAME_CAST(sipName_tabData), meth_QTabBar_tabData, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabData)},
    {SIP_MLNAME_CAST(sipName_tabIcon), meth_QTabBar_tabIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabIcon)},
    {SIP_MLNAME_CAST(sipName_tabInserted), (PyCFunction)meth_QTabBar_tabInserted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_tabInserted)},
    {SIP_MLNAME_CAST(sipName_tabLayoutChange), (PyCFunction)meth_QTabBar_tabLayoutChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_tabLayoutChange)},
    {SIP_MLNAME_CAST(sipName_tabRect), meth_QTabBar_tabRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabRect)},
    {SIP_MLNAME_CAST(sipName_tabRemoved), (PyCFunction)meth_QTabBar_tabRemoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_tabRemoved)},
    {SIP_MLNAME_CAST(sipName_tabSizeHint), (PyCFunction)meth_QTabBar_tabSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_tabSizeHint)},
    {SIP_MLNAME_CAST(sipName_tabText), meth_QTabBar_tabText, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabText)},
    {SIP_MLNAME_CAST(sipName_tabTextColor), meth_QTabBar_tabTextColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabTextColor)},
    {SIP_MLNAME_CAST(sipName_tabToolTip), meth_QTabBar_tabToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabToolTip)},
    {SIP_MLNAME_CAST(sipName_tabWhatsThis), meth_QTabBar_tabWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabWhatsThis)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QTabBar_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabsClosable), meth_QTabBar_tabsClosable, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_tabsClosable)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTabBar_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_timerEvent)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QTabBar_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_usesScrollButtons), meth_QTabBar_usesScrollButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QTabBar_usesScrollButtons)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTabBar_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QTabBar_wheelEvent)}
};

static sipEnumMemberDef enummembers_QTabBar[] = {
    {sipName_LeftSide, static_cast<int>(QTabBar::LeftSide), 415},
    {sipName_RightSide, static_cast<int>(QTabBar::RightSide), 415},
    {sipName_RoundedEast, static_cast<int>(QTabBar::RoundedEast), 417},
    {sipName_RoundedNorth, static_cast<int>(QTabBar::RoundedNorth), 417},
    {sipName_RoundedSouth, static_cast<int>(QTabBar::RoundedSouth), 417},
    {sipName_RoundedWest, static_cast<int>(QTabBar::RoundedWest), 417},
    {sipName_SelectLeftTab, static_cast<int>(QTabBar::SelectLeftTab), 416},
    {sipName_SelectPreviousTab, static_cast<int>(QTabBar::SelectPreviousTab), 416},
    {sipName_SelectRightTab, static_cast<int>(QTabBar::SelectRightTab), 416},
    {sipName_TriangularEast, static_cast<int>(QTabBar::TriangularEast), 417},
    {sipName_TriangularNorth, static_cast<int>(QTabBar::TriangularNorth), 417},
    {sipName_TriangularSouth, static_cast<int>(QTabBar::TriangularSouth), 417},
    {sipName_TriangularWest, static_cast<int>(QTabBar::TriangularWest), 417},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QTabBar[] = {
    {"tabBarDoubleClicked(int)", "\1QTabBar.tabBarDoubleClicked[int]", 0, 0},
    {"tabBarClicked(int)", "\1QTabBar.tabBarClicked[int]", 0, 0},
    {"tabMoved(int,int)", "\1QTabBar.tabMoved[int, int]", 0, 0},
    {"tabCloseRequested(int)", "\1QTabBar.tabCloseRequested[int]", 0, 0},
    {"currentChanged(int)", "\1QTabBar.currentChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QTabBar, "\1QTabBar(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTabBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTabBar,
        {0}
    },
    {
        sipNameNr_QTabBar,
        {0, 0, 1},
        103, methods_QTabBar,
        13, enummembers_QTabBar,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTabBar,
    -1,
    -1,
    supers_QTabBar,
    slots_QTabBar,
    init_type_QTabBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTabBar,
    0,
    0,
    0,
    release_QTabBar,
    cast_QTabBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTabBar::staticMetaObject,
    0,
    signals_QTabBar,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsystemtrayicon.sip"
#include <qsystemtrayicon.h>
#line 97932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 97936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 97939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 97942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 97945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 97948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 97951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 97954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 97957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 97960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 97963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 97966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 97969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 97972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 97975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 97978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 97981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 97984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 97987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 97990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQSystemTrayIcon : public QSystemTrayIcon
{
public:
    sipQSystemTrayIcon(QObject*);
    sipQSystemTrayIcon(const QIcon&,QObject*);
    virtual ~sipQSystemTrayIcon();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSystemTrayIcon(const sipQSystemTrayIcon &);
    sipQSystemTrayIcon &operator = (const sipQSystemTrayIcon &);

    char sipPyMethods[7];
};

sipQSystemTrayIcon::sipQSystemTrayIcon(QObject*a0): QSystemTrayIcon(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSystemTrayIcon::sipQSystemTrayIcon(const QIcon& a0,QObject*a1): QSystemTrayIcon(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSystemTrayIcon::~sipQSystemTrayIcon()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSystemTrayIcon::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSystemTrayIcon);
}

int sipQSystemTrayIcon::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QSystemTrayIcon::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QSystemTrayIcon,_c,_id,_a);

    return _id;
}

void *sipQSystemTrayIcon::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QSystemTrayIcon, _clname, &sipCpp) ? sipCpp : QSystemTrayIcon::qt_metacast(_clname));
}

void sipQSystemTrayIcon::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QSystemTrayIcon::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSystemTrayIcon::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QSystemTrayIcon::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSystemTrayIcon::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QSystemTrayIcon::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSystemTrayIcon::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QSystemTrayIcon::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSystemTrayIcon::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QSystemTrayIcon::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSystemTrayIcon::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QSystemTrayIcon::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQSystemTrayIcon::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QSystemTrayIcon::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQSystemTrayIcon::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQSystemTrayIcon::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQSystemTrayIcon::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSystemTrayIcon::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQSystemTrayIcon::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQSystemTrayIcon::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSystemTrayIcon::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSystemTrayIcon::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQSystemTrayIcon::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQSystemTrayIcon::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QSystemTrayIcon::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QSystemTrayIcon_sender, "QSystemTrayIcon.sender() -> QObject");

extern "C" {static PyObject *meth_QSystemTrayIcon_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSystemTrayIcon, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 98290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_sender, doc_QSystemTrayIcon_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_receivers, "QSystemTrayIcon.receivers(signal) -> int");

extern "C" {static PyObject *meth_QSystemTrayIcon_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 98349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_receivers, doc_QSystemTrayIcon_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_timerEvent, "QSystemTrayIcon.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QSystemTrayIcon_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_timerEvent, doc_QSystemTrayIcon_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_childEvent, "QSystemTrayIcon.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QSystemTrayIcon_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_childEvent, doc_QSystemTrayIcon_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_customEvent, "QSystemTrayIcon.customEvent(QEvent)");

extern "C" {static PyObject *meth_QSystemTrayIcon_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_customEvent, doc_QSystemTrayIcon_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_connectNotify, "QSystemTrayIcon.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSystemTrayIcon_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_connectNotify, doc_QSystemTrayIcon_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_disconnectNotify, "QSystemTrayIcon.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSystemTrayIcon_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_disconnectNotify, doc_QSystemTrayIcon_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_senderSignalIndex, "QSystemTrayIcon.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QSystemTrayIcon_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSystemTrayIcon, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_senderSignalIndex, doc_QSystemTrayIcon_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_isSignalConnected, "QSystemTrayIcon.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSystemTrayIcon_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_isSignalConnected, doc_QSystemTrayIcon_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_setContextMenu, "QSystemTrayIcon.setContextMenu(QMenu)");

extern "C" {static PyObject *meth_QSystemTrayIcon_setContextMenu(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_setContextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        PyObject *a0Keep;
        QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, &a0Keep, sipType_QMenu, &a0))
        {
            sipCpp->setContextMenu(a0);

            sipKeepReference(sipSelf, -44, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_setContextMenu, doc_QSystemTrayIcon_setContextMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_contextMenu, "QSystemTrayIcon.contextMenu() -> QMenu");

extern "C" {static PyObject *meth_QSystemTrayIcon_contextMenu(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_contextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemTrayIcon, &sipCpp))
        {
            QMenu*sipRes;

            sipRes = sipCpp->contextMenu();

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_contextMenu, doc_QSystemTrayIcon_contextMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_geometry, "QSystemTrayIcon.geometry() -> QRect");

extern "C" {static PyObject *meth_QSystemTrayIcon_geometry(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_geometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemTrayIcon, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->geometry());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_geometry, doc_QSystemTrayIcon_geometry);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_icon, "QSystemTrayIcon.icon() -> QIcon");

extern "C" {static PyObject *meth_QSystemTrayIcon_icon(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemTrayIcon, &sipCpp))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->icon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_icon, doc_QSystemTrayIcon_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_setIcon, "QSystemTrayIcon.setIcon(QIcon)");

extern "C" {static PyObject *meth_QSystemTrayIcon_setIcon(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QIcon, &a0))
        {
            sipCpp->setIcon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_setIcon, doc_QSystemTrayIcon_setIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_toolTip, "QSystemTrayIcon.toolTip() -> str");

extern "C" {static PyObject *meth_QSystemTrayIcon_toolTip(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_toolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemTrayIcon, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toolTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_toolTip, doc_QSystemTrayIcon_toolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_setToolTip, "QSystemTrayIcon.setToolTip(str)");

extern "C" {static PyObject *meth_QSystemTrayIcon_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_setToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setToolTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_setToolTip, doc_QSystemTrayIcon_setToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_isSystemTrayAvailable, "QSystemTrayIcon.isSystemTrayAvailable() -> bool");

extern "C" {static PyObject *meth_QSystemTrayIcon_isSystemTrayAvailable(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_isSystemTrayAvailable(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes = QSystemTrayIcon::isSystemTrayAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_isSystemTrayAvailable, doc_QSystemTrayIcon_isSystemTrayAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_supportsMessages, "QSystemTrayIcon.supportsMessages() -> bool");

extern "C" {static PyObject *meth_QSystemTrayIcon_supportsMessages(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_supportsMessages(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            bool sipRes;

            sipRes = QSystemTrayIcon::supportsMessages();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_supportsMessages, doc_QSystemTrayIcon_supportsMessages);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_showMessage, "QSystemTrayIcon.showMessage(str, str, QSystemTrayIcon.MessageIcon icon=QSystemTrayIcon.Information, int msecs=10000)");

extern "C" {static PyObject *meth_QSystemTrayIcon_showMessage(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_showMessage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QSystemTrayIcon::MessageIcon a2 = QSystemTrayIcon::Information;
        int a3 = 10000;
        QSystemTrayIcon *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_icon,
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1|Ei", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QSystemTrayIcon_MessageIcon, &a2, &a3))
        {
            sipCpp->showMessage(*a0,*a1,a2,a3);
            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_QSystemTrayIcon, sipName_showMessage, doc_QSystemTrayIcon_showMessage);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_isVisible, "QSystemTrayIcon.isVisible() -> bool");

extern "C" {static PyObject *meth_QSystemTrayIcon_isVisible(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_isVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemTrayIcon, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_isVisible, doc_QSystemTrayIcon_isVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_hide, "QSystemTrayIcon.hide()");

extern "C" {static PyObject *meth_QSystemTrayIcon_hide(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_hide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemTrayIcon, &sipCpp))
        {
            sipCpp->hide();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_hide, doc_QSystemTrayIcon_hide);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_setVisible, "QSystemTrayIcon.setVisible(bool)");

extern "C" {static PyObject *meth_QSystemTrayIcon_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, &a0))
        {
            sipCpp->setVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_setVisible, doc_QSystemTrayIcon_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_show, "QSystemTrayIcon.show()");

extern "C" {static PyObject *meth_QSystemTrayIcon_show(PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_show(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSystemTrayIcon *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSystemTrayIcon, &sipCpp))
        {
            sipCpp->show();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_show, doc_QSystemTrayIcon_show);

    return NULL;
}


PyDoc_STRVAR(doc_QSystemTrayIcon_event, "QSystemTrayIcon.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QSystemTrayIcon_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSystemTrayIcon_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSystemTrayIcon *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSystemTrayIcon, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSystemTrayIcon, sipName_event, doc_QSystemTrayIcon_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSystemTrayIcon(void *, const sipTypeDef *);}
static void *cast_QSystemTrayIcon(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSystemTrayIcon)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QSystemTrayIcon *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSystemTrayIcon(void *, int);}
static void release_QSystemTrayIcon(void *sipCppV,int)
{
    QSystemTrayIcon *sipCpp = reinterpret_cast<QSystemTrayIcon *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSystemTrayIcon(sipSimpleWrapper *);}
static void dealloc_QSystemTrayIcon(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSystemTrayIcon *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSystemTrayIcon(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSystemTrayIcon(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSystemTrayIcon(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSystemTrayIcon *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQSystemTrayIcon(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QIcon* a0;
        QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QIcon, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQSystemTrayIcon(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSystemTrayIcon[] = {{162, 0, 1}};


static PyMethodDef methods_QSystemTrayIcon[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSystemTrayIcon_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSystemTrayIcon_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenu), meth_QSystemTrayIcon_contextMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_contextMenu)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSystemTrayIcon_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSystemTrayIcon_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSystemTrayIcon_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_event)},
    {SIP_MLNAME_CAST(sipName_geometry), meth_QSystemTrayIcon_geometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_geometry)},
    {SIP_MLNAME_CAST(sipName_hide), meth_QSystemTrayIcon_hide, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_hide)},
    {SIP_MLNAME_CAST(sipName_icon), meth_QSystemTrayIcon_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_icon)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSystemTrayIcon_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSystemTrayAvailable), meth_QSystemTrayIcon_isSystemTrayAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_isSystemTrayAvailable)},
    {SIP_MLNAME_CAST(sipName_isVisible), meth_QSystemTrayIcon_isVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_isVisible)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSystemTrayIcon_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSystemTrayIcon_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSystemTrayIcon_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setContextMenu), meth_QSystemTrayIcon_setContextMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_setContextMenu)},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_QSystemTrayIcon_setIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_setIcon)},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_QSystemTrayIcon_setToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_setToolTip)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QSystemTrayIcon_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_setVisible)},
    {SIP_MLNAME_CAST(sipName_show), meth_QSystemTrayIcon_show, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_show)},
    {SIP_MLNAME_CAST(sipName_showMessage), (PyCFunction)meth_QSystemTrayIcon_showMessage, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_showMessage)},
    {SIP_MLNAME_CAST(sipName_supportsMessages), meth_QSystemTrayIcon_supportsMessages, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_supportsMessages)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSystemTrayIcon_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_QSystemTrayIcon_toolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QSystemTrayIcon_toolTip)}
};

static sipEnumMemberDef enummembers_QSystemTrayIcon[] = {
    {sipName_Context, static_cast<int>(QSystemTrayIcon::Context), 412},
    {sipName_Critical, static_cast<int>(QSystemTrayIcon::Critical), 413},
    {sipName_DoubleClick, static_cast<int>(QSystemTrayIcon::DoubleClick), 412},
    {sipName_Information, static_cast<int>(QSystemTrayIcon::Information), 413},
    {sipName_MiddleClick, static_cast<int>(QSystemTrayIcon::MiddleClick), 412},
    {sipName_NoIcon, static_cast<int>(QSystemTrayIcon::NoIcon), 413},
    {sipName_Trigger, static_cast<int>(QSystemTrayIcon::Trigger), 412},
    {sipName_Unknown, static_cast<int>(QSystemTrayIcon::Unknown), 412},
    {sipName_Warning, static_cast<int>(QSystemTrayIcon::Warning), 413},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSystemTrayIcon[] = {
    {"messageClicked()", "\1QSystemTrayIcon.messageClicked", 0, 0},
    {"activated(QSystemTrayIcon::ActivationReason)", "\1QSystemTrayIcon.activated[QSystemTrayIcon.ActivationReason]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSystemTrayIcon, "\1QSystemTrayIcon(QObject parent=None)\n"
    "QSystemTrayIcon(QIcon, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSystemTrayIcon = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSystemTrayIcon,
        {0}
    },
    {
        sipNameNr_QSystemTrayIcon,
        {0, 0, 1},
        24, methods_QSystemTrayIcon,
        9, enummembers_QSystemTrayIcon,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSystemTrayIcon,
    -1,
    -1,
    supers_QSystemTrayIcon,
    0,
    init_type_QSystemTrayIcon,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSystemTrayIcon,
    0,
    0,
    0,
    release_QSystemTrayIcon,
    cast_QSystemTrayIcon,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QSystemTrayIcon::staticMetaObject,
    0,
    signals_QSystemTrayIcon,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstylepainter.sip"
#include <qstylepainter.h>
#line 99184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 99188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 99191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 99194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 99197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 99200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 99203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 99206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 99209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 99212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 99215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtGui/qglyphrun.sip"
#include <qglyphrun.h>
#line 99218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 99221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qstatictext.sip"
#include <qstatictext.h>
#line 99224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 99227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 99230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 99233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 99236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 99239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 99242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 99245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 96 "sip/QtCore/qline.sip"
#include <qline.h>
#line 99248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qline.sip"
#include <qline.h>
#line 99251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 99254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 99257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 99260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 99263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 99266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpicture.sip"
#include <qpicture.h>
#line 99269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 99272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 99275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 99278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 99281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 99284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 99287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 99290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 99293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 99296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 99299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 99302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 99305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 99308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 99311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QStylePainter_begin, "QStylePainter.begin(QWidget) -> bool\n"
    "QStylePainter.begin(QPaintDevice, QWidget) -> bool");

extern "C" {static PyObject *meth_QStylePainter_begin(PyObject *, PyObject *);}
static PyObject *meth_QStylePainter_begin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QStylePainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStylePainter, &sipCpp, sipType_QWidget, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->begin(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QPaintDevice* a0;
        QWidget* a1;
        QStylePainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QStylePainter, &sipCpp, sipType_QPaintDevice, &a0, sipType_QWidget, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->begin(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStylePainter, sipName_begin, doc_QStylePainter_begin);

    return NULL;
}


PyDoc_STRVAR(doc_QStylePainter_style, "QStylePainter.style() -> QStyle");

extern "C" {static PyObject *meth_QStylePainter_style(PyObject *, PyObject *);}
static PyObject *meth_QStylePainter_style(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStylePainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStylePainter, &sipCpp))
        {
            QStyle*sipRes;

            sipRes = sipCpp->style();

            return sipConvertFromType(sipRes,sipType_QStyle,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStylePainter, sipName_style, doc_QStylePainter_style);

    return NULL;
}


PyDoc_STRVAR(doc_QStylePainter_drawPrimitive, "QStylePainter.drawPrimitive(QStyle.PrimitiveElement, QStyleOption)");

extern "C" {static PyObject *meth_QStylePainter_drawPrimitive(PyObject *, PyObject *);}
static PyObject *meth_QStylePainter_drawPrimitive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::PrimitiveElement a0;
        const QStyleOption* a1;
        QStylePainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_QStylePainter, &sipCpp, sipType_QStyle_PrimitiveElement, &a0, sipType_QStyleOption, &a1))
        {
            sipCpp->drawPrimitive(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStylePainter, sipName_drawPrimitive, doc_QStylePainter_drawPrimitive);

    return NULL;
}


PyDoc_STRVAR(doc_QStylePainter_drawControl, "QStylePainter.drawControl(QStyle.ControlElement, QStyleOption)");

extern "C" {static PyObject *meth_QStylePainter_drawControl(PyObject *, PyObject *);}
static PyObject *meth_QStylePainter_drawControl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::ControlElement a0;
        const QStyleOption* a1;
        QStylePainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_QStylePainter, &sipCpp, sipType_QStyle_ControlElement, &a0, sipType_QStyleOption, &a1))
        {
            sipCpp->drawControl(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStylePainter, sipName_drawControl, doc_QStylePainter_drawControl);

    return NULL;
}


PyDoc_STRVAR(doc_QStylePainter_drawComplexControl, "QStylePainter.drawComplexControl(QStyle.ComplexControl, QStyleOptionComplex)");

extern "C" {static PyObject *meth_QStylePainter_drawComplexControl(PyObject *, PyObject *);}
static PyObject *meth_QStylePainter_drawComplexControl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        QStylePainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_QStylePainter, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1))
        {
            sipCpp->drawComplexControl(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStylePainter, sipName_drawComplexControl, doc_QStylePainter_drawComplexControl);

    return NULL;
}


PyDoc_STRVAR(doc_QStylePainter_drawItemText, "QStylePainter.drawItemText(QRect, int, QPalette, bool, str, QPalette.ColorRole textRole=QPalette.NoRole)");

extern "C" {static PyObject *meth_QStylePainter_drawItemText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStylePainter_drawItemText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        int a1;
        const QPalette* a2;
        bool a3;
        const QString* a4;
        int a4State = 0;
        QPalette::ColorRole a5 = QPalette::NoRole;
        QStylePainter *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_textRole,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9iJ9bJ1|E", &sipSelf, sipType_QStylePainter, &sipCpp, sipType_QRect, &a0, &a1, sipType_QPalette, &a2, &a3, sipType_QString,&a4, &a4State, sipType_QPalette_ColorRole, &a5))
        {
            sipCpp->drawItemText(*a0,a1,*a2,a3,*a4,a5);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStylePainter, sipName_drawItemText, doc_QStylePainter_drawItemText);

    return NULL;
}


PyDoc_STRVAR(doc_QStylePainter_drawItemPixmap, "QStylePainter.drawItemPixmap(QRect, int, QPixmap)");

extern "C" {static PyObject *meth_QStylePainter_drawItemPixmap(PyObject *, PyObject *);}
static PyObject *meth_QStylePainter_drawItemPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        int a1;
        const QPixmap* a2;
        QStylePainter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ9", &sipSelf, sipType_QStylePainter, &sipCpp, sipType_QRect, &a0, &a1, sipType_QPixmap, &a2))
        {
            sipCpp->drawItemPixmap(*a0,a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStylePainter, sipName_drawItemPixmap, doc_QStylePainter_drawItemPixmap);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStylePainter(void *, const sipTypeDef *);}
static void *cast_QStylePainter(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStylePainter)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QPainter)->ctd_cast((QPainter *)(QStylePainter *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStylePainter(void *, int);}
static void release_QStylePainter(void *sipCppV,int)
{
    delete reinterpret_cast<QStylePainter *>(sipCppV);
}


extern "C" {static void dealloc_QStylePainter(sipSimpleWrapper *);}
static void dealloc_QStylePainter(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStylePainter(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStylePainter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStylePainter(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStylePainter *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStylePainter();

            return sipCpp;
        }
    }

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QWidget, &a0))
        {
            sipCpp = new QStylePainter(a0);

            return sipCpp;
        }
    }

    {
        QPaintDevice* a0;
        QWidget* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8J8", sipType_QPaintDevice, &a0, sipType_QWidget, &a1))
        {
            sipCpp = new QStylePainter(a0,a1);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStylePainter[] = {{195, 1, 1}};


static PyMethodDef methods_QStylePainter[] = {
    {SIP_MLNAME_CAST(sipName_begin), meth_QStylePainter_begin, METH_VARARGS, SIP_MLDOC_CAST(doc_QStylePainter_begin)},
    {SIP_MLNAME_CAST(sipName_drawComplexControl), meth_QStylePainter_drawComplexControl, METH_VARARGS, SIP_MLDOC_CAST(doc_QStylePainter_drawComplexControl)},
    {SIP_MLNAME_CAST(sipName_drawControl), meth_QStylePainter_drawControl, METH_VARARGS, SIP_MLDOC_CAST(doc_QStylePainter_drawControl)},
    {SIP_MLNAME_CAST(sipName_drawItemPixmap), meth_QStylePainter_drawItemPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QStylePainter_drawItemPixmap)},
    {SIP_MLNAME_CAST(sipName_drawItemText), (PyCFunction)meth_QStylePainter_drawItemText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStylePainter_drawItemText)},
    {SIP_MLNAME_CAST(sipName_drawPrimitive), meth_QStylePainter_drawPrimitive, METH_VARARGS, SIP_MLDOC_CAST(doc_QStylePainter_drawPrimitive)},
    {SIP_MLNAME_CAST(sipName_style), meth_QStylePainter_style, METH_VARARGS, SIP_MLDOC_CAST(doc_QStylePainter_style)}
};

PyDoc_STRVAR(doc_QStylePainter, "\1QStylePainter()\n"
    "QStylePainter(QWidget)\n"
    "QStylePainter(QPaintDevice, QWidget)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStylePainter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStylePainter,
        {0}
    },
    {
        sipNameNr_QStylePainter,
        {0, 0, 1},
        7, methods_QStylePainter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStylePainter,
    -1,
    -1,
    supers_QStylePainter,
    0,
    init_type_QStylePainter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStylePainter,
    0,
    0,
    0,
    release_QStylePainter,
    cast_QStylePainter,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 1039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 99692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 99696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleHintReturnVariant(void *, const sipTypeDef *);}
static void *cast_QStyleHintReturnVariant(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleHintReturnVariant)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleHintReturn)->ctd_cast((QStyleHintReturn *)(QStyleHintReturnVariant *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleHintReturnVariant(void *, int);}
static void release_QStyleHintReturnVariant(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleHintReturnVariant *>(sipCppV);
}


extern "C" {static void assign_QStyleHintReturnVariant(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleHintReturnVariant(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleHintReturnVariant *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleHintReturnVariant *>(sipSrc);
}


extern "C" {static void *array_QStyleHintReturnVariant(SIP_SSIZE_T);}
static void *array_QStyleHintReturnVariant(SIP_SSIZE_T sipNrElem)
{
    return new QStyleHintReturnVariant[sipNrElem];
}


extern "C" {static void *copy_QStyleHintReturnVariant(const void *, SIP_SSIZE_T);}
static void *copy_QStyleHintReturnVariant(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleHintReturnVariant(reinterpret_cast<const QStyleHintReturnVariant *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleHintReturnVariant(sipSimpleWrapper *);}
static void dealloc_QStyleHintReturnVariant(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleHintReturnVariant(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleHintReturnVariant(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleHintReturnVariant(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleHintReturnVariant *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleHintReturnVariant();

            return sipCpp;
        }
    }

    {
        const QStyleHintReturnVariant* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleHintReturnVariant, &a0))
        {
            sipCpp = new QStyleHintReturnVariant(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleHintReturnVariant[] = {{298, 255, 1}};

static sipEnumMemberDef enummembers_QStyleHintReturnVariant[] = {
    {sipName_Type, static_cast<int>(QStyleHintReturnVariant::Type), 306},
    {sipName_Version, static_cast<int>(QStyleHintReturnVariant::Version), 307},
};


extern "C" {static PyObject *varget_QStyleHintReturnVariant_variant(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleHintReturnVariant_variant(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QVariant*sipVal;
    QStyleHintReturnVariant *sipCpp = reinterpret_cast<QStyleHintReturnVariant *>(sipSelf);

    sipVal = &sipCpp->variant;

    sipPy = sipGetReference(sipPySelf, -61);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QVariant, NULL);
    sipKeepReference(sipPySelf, -61, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleHintReturnVariant_variant(void *, PyObject *, PyObject *);}
static int varset_QStyleHintReturnVariant_variant(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QVariant*sipVal;
    QStyleHintReturnVariant *sipCpp = reinterpret_cast<QStyleHintReturnVariant *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QVariant *>(sipForceConvertToType(sipPy,sipType_QVariant,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->variant = *sipVal;

    sipReleaseType(sipVal, sipType_QVariant, sipValState);

    return 0;
}

sipVariableDef variables_QStyleHintReturnVariant[] = {
    {InstanceVariable, sipName_variant, (PyMethodDef *)varget_QStyleHintReturnVariant_variant, (PyMethodDef *)varset_QStyleHintReturnVariant_variant, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleHintReturnVariant, "\1QStyleHintReturnVariant()\n"
    "QStyleHintReturnVariant(QStyleHintReturnVariant)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleHintReturnVariant = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleHintReturnVariant,
        {0}
    },
    {
        sipNameNr_QStyleHintReturnVariant,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleHintReturnVariant,
        1, variables_QStyleHintReturnVariant,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleHintReturnVariant,
    -1,
    -1,
    supers_QStyleHintReturnVariant,
    0,
    init_type_QStyleHintReturnVariant,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleHintReturnVariant,
    assign_QStyleHintReturnVariant,
    array_QStyleHintReturnVariant,
    copy_QStyleHintReturnVariant,
    release_QStyleHintReturnVariant,
    cast_QStyleHintReturnVariant,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 99898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 99902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 99905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 99908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QStyleOptionGraphicsItem_levelOfDetailFromTransform, "QStyleOptionGraphicsItem.levelOfDetailFromTransform(QTransform) -> float");

extern "C" {static PyObject *meth_QStyleOptionGraphicsItem_levelOfDetailFromTransform(PyObject *, PyObject *);}
static PyObject *meth_QStyleOptionGraphicsItem_levelOfDetailFromTransform(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTransform* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QTransform, &a0))
        {
            qreal sipRes;

            sipRes = QStyleOptionGraphicsItem::levelOfDetailFromTransform(*a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyleOptionGraphicsItem, sipName_levelOfDetailFromTransform, doc_QStyleOptionGraphicsItem_levelOfDetailFromTransform);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionGraphicsItem(void *, const sipTypeDef *);}
static void *cast_QStyleOptionGraphicsItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionGraphicsItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionGraphicsItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionGraphicsItem(void *, int);}
static void release_QStyleOptionGraphicsItem(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionGraphicsItem *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionGraphicsItem(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionGraphicsItem(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionGraphicsItem *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionGraphicsItem *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionGraphicsItem(SIP_SSIZE_T);}
static void *array_QStyleOptionGraphicsItem(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionGraphicsItem[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionGraphicsItem(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionGraphicsItem(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionGraphicsItem(reinterpret_cast<const QStyleOptionGraphicsItem *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionGraphicsItem(sipSimpleWrapper *);}
static void dealloc_QStyleOptionGraphicsItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionGraphicsItem(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionGraphicsItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionGraphicsItem(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionGraphicsItem *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionGraphicsItem();

            return sipCpp;
        }
    }

    {
        const QStyleOptionGraphicsItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionGraphicsItem, &a0))
        {
            sipCpp = new QStyleOptionGraphicsItem(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionGraphicsItem[] = {{308, 255, 1}};


static PyMethodDef methods_QStyleOptionGraphicsItem[] = {
    {SIP_MLNAME_CAST(sipName_levelOfDetailFromTransform), meth_QStyleOptionGraphicsItem_levelOfDetailFromTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyleOptionGraphicsItem_levelOfDetailFromTransform)}
};

static sipEnumMemberDef enummembers_QStyleOptionGraphicsItem[] = {
    {sipName_Type, static_cast<int>(QStyleOptionGraphicsItem::Type), 335},
    {sipName_Version, static_cast<int>(QStyleOptionGraphicsItem::Version), 336},
};


extern "C" {static PyObject *varget_QStyleOptionGraphicsItem_exposedRect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionGraphicsItem_exposedRect(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QRectF*sipVal;
    QStyleOptionGraphicsItem *sipCpp = reinterpret_cast<QStyleOptionGraphicsItem *>(sipSelf);

    sipVal = &sipCpp->exposedRect;

    sipPy = sipGetReference(sipPySelf, -62);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QRectF, NULL);
    sipKeepReference(sipPySelf, -62, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionGraphicsItem_exposedRect(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionGraphicsItem_exposedRect(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRectF*sipVal;
    QStyleOptionGraphicsItem *sipCpp = reinterpret_cast<QStyleOptionGraphicsItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QRectF *>(sipForceConvertToType(sipPy,sipType_QRectF,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->exposedRect = *sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionGraphicsItem[] = {
    {InstanceVariable, sipName_exposedRect, (PyMethodDef *)varget_QStyleOptionGraphicsItem_exposedRect, (PyMethodDef *)varset_QStyleOptionGraphicsItem_exposedRect, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionGraphicsItem, "\1QStyleOptionGraphicsItem()\n"
    "QStyleOptionGraphicsItem(QStyleOptionGraphicsItem)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionGraphicsItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionGraphicsItem,
        {0}
    },
    {
        sipNameNr_QStyleOptionGraphicsItem,
        {0, 0, 1},
        1, methods_QStyleOptionGraphicsItem,
        2, enummembers_QStyleOptionGraphicsItem,
        1, variables_QStyleOptionGraphicsItem,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionGraphicsItem,
    -1,
    -1,
    supers_QStyleOptionGraphicsItem,
    0,
    init_type_QStyleOptionGraphicsItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionGraphicsItem,
    assign_QStyleOptionGraphicsItem,
    array_QStyleOptionGraphicsItem,
    copy_QStyleOptionGraphicsItem,
    release_QStyleOptionGraphicsItem,
    cast_QStyleOptionGraphicsItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 100139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 100143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 100146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionSizeGrip(void *, const sipTypeDef *);}
static void *cast_QStyleOptionSizeGrip(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionSizeGrip)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOptionComplex)->ctd_cast((QStyleOptionComplex *)(QStyleOptionSizeGrip *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionSizeGrip(void *, int);}
static void release_QStyleOptionSizeGrip(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionSizeGrip *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionSizeGrip(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionSizeGrip(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionSizeGrip *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionSizeGrip *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionSizeGrip(SIP_SSIZE_T);}
static void *array_QStyleOptionSizeGrip(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionSizeGrip[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionSizeGrip(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionSizeGrip(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionSizeGrip(reinterpret_cast<const QStyleOptionSizeGrip *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionSizeGrip(sipSimpleWrapper *);}
static void dealloc_QStyleOptionSizeGrip(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionSizeGrip(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionSizeGrip(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionSizeGrip(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionSizeGrip *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionSizeGrip();

            return sipCpp;
        }
    }

    {
        const QStyleOptionSizeGrip* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionSizeGrip, &a0))
        {
            sipCpp = new QStyleOptionSizeGrip(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionSizeGrip[] = {{320, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionSizeGrip[] = {
    {sipName_Type, static_cast<int>(QStyleOptionSizeGrip::Type), 358},
    {sipName_Version, static_cast<int>(QStyleOptionSizeGrip::Version), 359},
};


extern "C" {static PyObject *varget_QStyleOptionSizeGrip_corner(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSizeGrip_corner(void *sipSelf, PyObject *, PyObject *)
{
    Qt::Corner sipVal;
    QStyleOptionSizeGrip *sipCpp = reinterpret_cast<QStyleOptionSizeGrip *>(sipSelf);

    sipVal = sipCpp->corner;

    return sipConvertFromEnum(sipVal, sipType_Qt_Corner);
}


extern "C" {static int varset_QStyleOptionSizeGrip_corner(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSizeGrip_corner(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Corner sipVal;
    QStyleOptionSizeGrip *sipCpp = reinterpret_cast<QStyleOptionSizeGrip *>(sipSelf);

    sipVal = (Qt::Corner)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->corner = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionSizeGrip[] = {
    {InstanceVariable, sipName_corner, (PyMethodDef *)varget_QStyleOptionSizeGrip_corner, (PyMethodDef *)varset_QStyleOptionSizeGrip_corner, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionSizeGrip, "\1QStyleOptionSizeGrip()\n"
    "QStyleOptionSizeGrip(QStyleOptionSizeGrip)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionSizeGrip = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionSizeGrip,
        {0}
    },
    {
        sipNameNr_QStyleOptionSizeGrip,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionSizeGrip,
        1, variables_QStyleOptionSizeGrip,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionSizeGrip,
    -1,
    -1,
    supers_QStyleOptionSizeGrip,
    0,
    init_type_QStyleOptionSizeGrip,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionSizeGrip,
    assign_QStyleOptionSizeGrip,
    array_QStyleOptionSizeGrip,
    copy_QStyleOptionSizeGrip,
    release_QStyleOptionSizeGrip,
    cast_QStyleOptionSizeGrip,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 100335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 100339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 100342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 100345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 100348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 100351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionGroupBox(void *, const sipTypeDef *);}
static void *cast_QStyleOptionGroupBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionGroupBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOptionComplex)->ctd_cast((QStyleOptionComplex *)(QStyleOptionGroupBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionGroupBox(void *, int);}
static void release_QStyleOptionGroupBox(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionGroupBox *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionGroupBox(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionGroupBox(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionGroupBox *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionGroupBox *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionGroupBox(SIP_SSIZE_T);}
static void *array_QStyleOptionGroupBox(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionGroupBox[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionGroupBox(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionGroupBox(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionGroupBox(reinterpret_cast<const QStyleOptionGroupBox *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionGroupBox(sipSimpleWrapper *);}
static void dealloc_QStyleOptionGroupBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionGroupBox(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionGroupBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionGroupBox(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionGroupBox *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionGroupBox();

            return sipCpp;
        }
    }

    {
        const QStyleOptionGroupBox* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionGroupBox, &a0))
        {
            sipCpp = new QStyleOptionGroupBox(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionGroupBox[] = {{320, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionGroupBox[] = {
    {sipName_Type, static_cast<int>(QStyleOptionGroupBox::Type), 338},
    {sipName_Version, static_cast<int>(QStyleOptionGroupBox::Version), 339},
};


extern "C" {static PyObject *varget_QStyleOptionGroupBox_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionGroupBox_features(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyleOptionFrame::FrameFeatures*sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    sipVal = &sipCpp->features;

    sipPy = sipGetReference(sipPySelf, -63);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyleOptionFrame_FrameFeatures, NULL);
    sipKeepReference(sipPySelf, -63, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionGroupBox_features(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionGroupBox_features(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionFrame::FrameFeatures*sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipForceConvertToType(sipPy,sipType_QStyleOptionFrame_FrameFeatures,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->features = *sipVal;

    sipReleaseType(sipVal, sipType_QStyleOptionFrame_FrameFeatures, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionGroupBox_lineWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionGroupBox_lineWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    sipVal = sipCpp->lineWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionGroupBox_lineWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionGroupBox_lineWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->lineWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionGroupBox_midLineWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionGroupBox_midLineWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    sipVal = sipCpp->midLineWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionGroupBox_midLineWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionGroupBox_midLineWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->midLineWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionGroupBox_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionGroupBox_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -64);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -64, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionGroupBox_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionGroupBox_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionGroupBox_textAlignment(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionGroupBox_textAlignment(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    Qt::Alignment*sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    sipVal = &sipCpp->textAlignment;

    sipPy = sipGetReference(sipPySelf, -65);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
    sipKeepReference(sipPySelf, -65, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionGroupBox_textAlignment(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionGroupBox_textAlignment(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Alignment*sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<Qt::Alignment *>(sipForceConvertToType(sipPy,sipType_Qt_Alignment,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->textAlignment = *sipVal;

    sipReleaseType(sipVal, sipType_Qt_Alignment, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionGroupBox_textColor(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionGroupBox_textColor(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QColor*sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    sipVal = &sipCpp->textColor;

    sipPy = sipGetReference(sipPySelf, -66);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QColor, NULL);
    sipKeepReference(sipPySelf, -66, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionGroupBox_textColor(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionGroupBox_textColor(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QColor*sipVal;
    QStyleOptionGroupBox *sipCpp = reinterpret_cast<QStyleOptionGroupBox *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QColor *>(sipForceConvertToType(sipPy,sipType_QColor,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->textColor = *sipVal;

    sipReleaseType(sipVal, sipType_QColor, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionGroupBox[] = {
    {InstanceVariable, sipName_features, (PyMethodDef *)varget_QStyleOptionGroupBox_features, (PyMethodDef *)varset_QStyleOptionGroupBox_features, NULL, NULL},
    {InstanceVariable, sipName_lineWidth, (PyMethodDef *)varget_QStyleOptionGroupBox_lineWidth, (PyMethodDef *)varset_QStyleOptionGroupBox_lineWidth, NULL, NULL},
    {InstanceVariable, sipName_midLineWidth, (PyMethodDef *)varget_QStyleOptionGroupBox_midLineWidth, (PyMethodDef *)varset_QStyleOptionGroupBox_midLineWidth, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionGroupBox_text, (PyMethodDef *)varset_QStyleOptionGroupBox_text, NULL, NULL},
    {InstanceVariable, sipName_textAlignment, (PyMethodDef *)varget_QStyleOptionGroupBox_textAlignment, (PyMethodDef *)varset_QStyleOptionGroupBox_textAlignment, NULL, NULL},
    {InstanceVariable, sipName_textColor, (PyMethodDef *)varget_QStyleOptionGroupBox_textColor, (PyMethodDef *)varset_QStyleOptionGroupBox_textColor, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionGroupBox, "\1QStyleOptionGroupBox()\n"
    "QStyleOptionGroupBox(QStyleOptionGroupBox)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionGroupBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionGroupBox,
        {0}
    },
    {
        sipNameNr_QStyleOptionGroupBox,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionGroupBox,
        6, variables_QStyleOptionGroupBox,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionGroupBox,
    -1,
    -1,
    supers_QStyleOptionGroupBox,
    0,
    init_type_QStyleOptionGroupBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionGroupBox,
    assign_QStyleOptionGroupBox,
    array_QStyleOptionGroupBox,
    copy_QStyleOptionGroupBox,
    release_QStyleOptionGroupBox,
    cast_QStyleOptionGroupBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 100742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 100746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QStyleOptionToolBar_ToolBarFeatures___bool__(PyObject *);}
static int slot_QStyleOptionToolBar_ToolBarFeatures___bool__(PyObject *sipSelf)
{
    QStyleOptionToolBar::ToolBarFeatures *sipCpp = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolBar_ToolBarFeatures));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolBar::ToolBarFeatures::Int() != 0);
#line 100764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionToolBar::ToolBarFeatures *sipCpp = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolBar_ToolBarFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolBar::ToolBarFeatures::Int() != a0->operator QStyleOptionToolBar::ToolBarFeatures::Int());
#line 100794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionToolBar::ToolBarFeatures *>(a0),sipType_QStyleOptionToolBar_ToolBarFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QStyleOptionToolBar_ToolBarFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionToolBar::ToolBarFeatures *sipCpp = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolBar_ToolBarFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolBar::ToolBarFeatures::Int() == a0->operator QStyleOptionToolBar::ToolBarFeatures::Int());
#line 100830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionToolBar::ToolBarFeatures *>(a0),sipType_QStyleOptionToolBar_ToolBarFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QStyleOptionToolBar_ToolBarFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___invert__(PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___invert__(PyObject *sipSelf)
{
    QStyleOptionToolBar::ToolBarFeatures *sipCpp = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolBar_ToolBarFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            QStyleOptionToolBar::ToolBarFeatures*sipRes;

            sipRes = new QStyleOptionToolBar::ToolBarFeatures(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolBar_ToolBarFeatures,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___and__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionToolBar::ToolBarFeatures*sipRes;

            sipRes = new QStyleOptionToolBar::ToolBarFeatures((*a0 & a1));
            sipReleaseType(a0,sipType_QStyleOptionToolBar_ToolBarFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolBar_ToolBarFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;
        QStyleOptionToolBar::ToolBarFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State, sipType_QStyleOptionToolBar_ToolBarFeatures, &a1, &a1State))
        {
            QStyleOptionToolBar::ToolBarFeatures*sipRes;

            sipRes = new QStyleOptionToolBar::ToolBarFeatures((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QStyleOptionToolBar_ToolBarFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionToolBar_ToolBarFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolBar_ToolBarFeatures,NULL);
        }
    }

    {
        QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionToolBar::ToolBarFeatures*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionToolBar::ToolBarFeatures(*a0 ^ a1);
#line 100933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionToolBar_ToolBarFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolBar_ToolBarFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;
        QStyleOptionToolBar::ToolBarFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State, sipType_QStyleOptionToolBar_ToolBarFeatures, &a1, &a1State))
        {
            QStyleOptionToolBar::ToolBarFeatures*sipRes;

            sipRes = new QStyleOptionToolBar::ToolBarFeatures((*a0 | *a1));
            sipReleaseType(a0,sipType_QStyleOptionToolBar_ToolBarFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionToolBar_ToolBarFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolBar_ToolBarFeatures,NULL);
        }
    }

    {
        QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionToolBar::ToolBarFeatures*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionToolBar::ToolBarFeatures(*a0 | a1);
#line 100983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionToolBar_ToolBarFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolBar_ToolBarFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___int__(PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___int__(PyObject *sipSelf)
{
    QStyleOptionToolBar::ToolBarFeatures *sipCpp = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolBar_ToolBarFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionToolBar_ToolBarFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionToolBar::ToolBarFeatures *sipCpp = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolBar_ToolBarFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionToolBar::ToolBarFeatures::operator^=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionToolBar_ToolBarFeatures,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_QStyleOptionToolBar_ToolBarFeatures___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionToolBar_ToolBarFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionToolBar::ToolBarFeatures *sipCpp = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolBar_ToolBarFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionToolBar::ToolBarFeatures::operator|=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionToolBar_ToolBarFeatures,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_QStyleOptionToolBar_ToolBarFeatures___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolBar_ToolBarFeatures___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionToolBar_ToolBarFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionToolBar::ToolBarFeatures *sipCpp = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolBar_ToolBarFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QStyleOptionToolBar::ToolBarFeatures::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionToolBar_ToolBarFeatures(void *, const sipTypeDef *);}
static void *cast_QStyleOptionToolBar_ToolBarFeatures(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleOptionToolBar_ToolBarFeatures)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionToolBar_ToolBarFeatures(void *, int);}
static void release_QStyleOptionToolBar_ToolBarFeatures(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionToolBar_ToolBarFeatures(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionToolBar_ToolBarFeatures(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionToolBar::ToolBarFeatures *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionToolBar_ToolBarFeatures(SIP_SSIZE_T);}
static void *array_QStyleOptionToolBar_ToolBarFeatures(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionToolBar::ToolBarFeatures[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionToolBar_ToolBarFeatures(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionToolBar_ToolBarFeatures(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionToolBar::ToolBarFeatures(reinterpret_cast<const QStyleOptionToolBar::ToolBarFeatures *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionToolBar_ToolBarFeatures(sipSimpleWrapper *);}
static void dealloc_QStyleOptionToolBar_ToolBarFeatures(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionToolBar_ToolBarFeatures(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionToolBar_ToolBarFeatures(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionToolBar_ToolBarFeatures(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionToolBar::ToolBarFeatures *sipCpp = 0;

    {
        const QStyleOptionToolBar::ToolBarFeatures* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyleOptionToolBar_ToolBarFeatures, &a0, &a0State))
        {
            sipCpp = new QStyleOptionToolBar::ToolBarFeatures(*a0);
            sipReleaseType(const_cast<QStyleOptionToolBar::ToolBarFeatures *>(a0),sipType_QStyleOptionToolBar_ToolBarFeatures,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStyleOptionToolBar::ToolBarFeatures(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionToolBar::ToolBarFeatures();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStyleOptionToolBar_ToolBarFeatures(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStyleOptionToolBar_ToolBarFeatures(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStyleOptionToolBar::ToolBarFeatures **sipCppPtr = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStyleOptionToolBar::ToolBarFeatures is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionToolBar_ToolBarFeature)) ||
            sipCanConvertToType(sipPy, sipType_QStyleOptionToolBar_ToolBarFeatures, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionToolBar_ToolBarFeature)))
{
    *sipCppPtr = new QStyleOptionToolBar::ToolBarFeatures(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipConvertToType(sipPy, sipType_QStyleOptionToolBar_ToolBarFeatures, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 101260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionToolBar_ToolBarFeatures[] = {
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___bool__, bool_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___ne__, ne_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___eq__, eq_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___int__, int_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionToolBar_ToolBarFeatures___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionToolBar_ToolBarFeatures, "\1QStyleOptionToolBar.ToolBarFeatures(QStyleOptionToolBar.ToolBarFeatures)\n"
    "QStyleOptionToolBar.ToolBarFeatures(int)\n"
    "QStyleOptionToolBar.ToolBarFeatures()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolBar_ToolBarFeatures = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolBar__ToolBarFeatures,
        {0}
    },
    {
        sipNameNr_ToolBarFeatures,
        {384, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionToolBar_ToolBarFeatures,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStyleOptionToolBar_ToolBarFeatures,
    init_type_QStyleOptionToolBar_ToolBarFeatures,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionToolBar_ToolBarFeatures,
    assign_QStyleOptionToolBar_ToolBarFeatures,
    array_QStyleOptionToolBar_ToolBarFeatures,
    copy_QStyleOptionToolBar_ToolBarFeatures,
    release_QStyleOptionToolBar_ToolBarFeatures,
    cast_QStyleOptionToolBar_ToolBarFeatures,
    convertTo_QStyleOptionToolBar_ToolBarFeatures,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 101342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 101346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 101349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 101352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionToolBar(void *, const sipTypeDef *);}
static void *cast_QStyleOptionToolBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionToolBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionToolBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionToolBar(void *, int);}
static void release_QStyleOptionToolBar(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionToolBar *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionToolBar(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionToolBar(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionToolBar *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionToolBar *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionToolBar(SIP_SSIZE_T);}
static void *array_QStyleOptionToolBar(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionToolBar[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionToolBar(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionToolBar(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionToolBar(reinterpret_cast<const QStyleOptionToolBar *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionToolBar(sipSimpleWrapper *);}
static void dealloc_QStyleOptionToolBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionToolBar(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionToolBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionToolBar(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionToolBar *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionToolBar();

            return sipCpp;
        }
    }

    {
        const QStyleOptionToolBar* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionToolBar, &a0))
        {
            sipCpp = new QStyleOptionToolBar(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionToolBar[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionToolBar[] = {
    {sipName_Beginning, static_cast<int>(QStyleOptionToolBar::Beginning), 389},
    {sipName_End, static_cast<int>(QStyleOptionToolBar::End), 389},
    {sipName_Middle, static_cast<int>(QStyleOptionToolBar::Middle), 389},
    {sipName_Movable, static_cast<int>(QStyleOptionToolBar::Movable), 387},
    {sipName_None, static_cast<int>(QStyleOptionToolBar::None), 387},
    {sipName_OnlyOne, static_cast<int>(QStyleOptionToolBar::OnlyOne), 389},
    {sipName_Type, static_cast<int>(QStyleOptionToolBar::Type), 385},
    {sipName_Version, static_cast<int>(QStyleOptionToolBar::Version), 386},
};


extern "C" {static PyObject *varget_QStyleOptionToolBar_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBar_features(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyleOptionToolBar::ToolBarFeatures*sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = &sipCpp->features;

    sipPy = sipGetReference(sipPySelf, -67);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyleOptionToolBar_ToolBarFeatures, NULL);
    sipKeepReference(sipPySelf, -67, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionToolBar_features(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBar_features(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionToolBar::ToolBarFeatures*sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyleOptionToolBar::ToolBarFeatures *>(sipForceConvertToType(sipPy,sipType_QStyleOptionToolBar_ToolBarFeatures,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->features = *sipVal;

    sipReleaseType(sipVal, sipType_QStyleOptionToolBar_ToolBarFeatures, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolBar_lineWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBar_lineWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = sipCpp->lineWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionToolBar_lineWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBar_lineWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->lineWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolBar_midLineWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBar_midLineWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = sipCpp->midLineWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionToolBar_midLineWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBar_midLineWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->midLineWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolBar_positionOfLine(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBar_positionOfLine(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionToolBar::ToolBarPosition sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = sipCpp->positionOfLine;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionToolBar_ToolBarPosition);
}


extern "C" {static int varset_QStyleOptionToolBar_positionOfLine(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBar_positionOfLine(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionToolBar::ToolBarPosition sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = (QStyleOptionToolBar::ToolBarPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->positionOfLine = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolBar_positionWithinLine(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBar_positionWithinLine(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionToolBar::ToolBarPosition sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = sipCpp->positionWithinLine;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionToolBar_ToolBarPosition);
}


extern "C" {static int varset_QStyleOptionToolBar_positionWithinLine(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBar_positionWithinLine(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionToolBar::ToolBarPosition sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = (QStyleOptionToolBar::ToolBarPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->positionWithinLine = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolBar_toolBarArea(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBar_toolBarArea(void *sipSelf, PyObject *, PyObject *)
{
    Qt::ToolBarArea sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = sipCpp->toolBarArea;

    return sipConvertFromEnum(sipVal, sipType_Qt_ToolBarArea);
}


extern "C" {static int varset_QStyleOptionToolBar_toolBarArea(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBar_toolBarArea(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::ToolBarArea sipVal;
    QStyleOptionToolBar *sipCpp = reinterpret_cast<QStyleOptionToolBar *>(sipSelf);

    sipVal = (Qt::ToolBarArea)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->toolBarArea = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionToolBar[] = {
    {InstanceVariable, sipName_features, (PyMethodDef *)varget_QStyleOptionToolBar_features, (PyMethodDef *)varset_QStyleOptionToolBar_features, NULL, NULL},
    {InstanceVariable, sipName_lineWidth, (PyMethodDef *)varget_QStyleOptionToolBar_lineWidth, (PyMethodDef *)varset_QStyleOptionToolBar_lineWidth, NULL, NULL},
    {InstanceVariable, sipName_midLineWidth, (PyMethodDef *)varget_QStyleOptionToolBar_midLineWidth, (PyMethodDef *)varset_QStyleOptionToolBar_midLineWidth, NULL, NULL},
    {InstanceVariable, sipName_positionOfLine, (PyMethodDef *)varget_QStyleOptionToolBar_positionOfLine, (PyMethodDef *)varset_QStyleOptionToolBar_positionOfLine, NULL, NULL},
    {InstanceVariable, sipName_positionWithinLine, (PyMethodDef *)varget_QStyleOptionToolBar_positionWithinLine, (PyMethodDef *)varset_QStyleOptionToolBar_positionWithinLine, NULL, NULL},
    {InstanceVariable, sipName_toolBarArea, (PyMethodDef *)varget_QStyleOptionToolBar_toolBarArea, (PyMethodDef *)varset_QStyleOptionToolBar_toolBarArea, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionToolBar, "\1QStyleOptionToolBar()\n"
    "QStyleOptionToolBar(QStyleOptionToolBar)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolBar,
        {0}
    },
    {
        sipNameNr_QStyleOptionToolBar,
        {0, 0, 1},
        0, 0,
        8, enummembers_QStyleOptionToolBar,
        6, variables_QStyleOptionToolBar,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionToolBar,
    -1,
    -1,
    supers_QStyleOptionToolBar,
    0,
    init_type_QStyleOptionToolBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionToolBar,
    assign_QStyleOptionToolBar,
    array_QStyleOptionToolBar,
    copy_QStyleOptionToolBar,
    release_QStyleOptionToolBar,
    cast_QStyleOptionToolBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 101710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 101714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleHintReturnMask(void *, const sipTypeDef *);}
static void *cast_QStyleHintReturnMask(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleHintReturnMask)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleHintReturn)->ctd_cast((QStyleHintReturn *)(QStyleHintReturnMask *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleHintReturnMask(void *, int);}
static void release_QStyleHintReturnMask(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleHintReturnMask *>(sipCppV);
}


extern "C" {static void assign_QStyleHintReturnMask(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleHintReturnMask(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleHintReturnMask *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleHintReturnMask *>(sipSrc);
}


extern "C" {static void *array_QStyleHintReturnMask(SIP_SSIZE_T);}
static void *array_QStyleHintReturnMask(SIP_SSIZE_T sipNrElem)
{
    return new QStyleHintReturnMask[sipNrElem];
}


extern "C" {static void *copy_QStyleHintReturnMask(const void *, SIP_SSIZE_T);}
static void *copy_QStyleHintReturnMask(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleHintReturnMask(reinterpret_cast<const QStyleHintReturnMask *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleHintReturnMask(sipSimpleWrapper *);}
static void dealloc_QStyleHintReturnMask(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleHintReturnMask(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleHintReturnMask(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleHintReturnMask(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleHintReturnMask *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleHintReturnMask();

            return sipCpp;
        }
    }

    {
        const QStyleHintReturnMask* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleHintReturnMask, &a0))
        {
            sipCpp = new QStyleHintReturnMask(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleHintReturnMask[] = {{298, 255, 1}};

static sipEnumMemberDef enummembers_QStyleHintReturnMask[] = {
    {sipName_Type, static_cast<int>(QStyleHintReturnMask::Type), 303},
    {sipName_Version, static_cast<int>(QStyleHintReturnMask::Version), 304},
};


extern "C" {static PyObject *varget_QStyleHintReturnMask_region(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleHintReturnMask_region(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QRegion*sipVal;
    QStyleHintReturnMask *sipCpp = reinterpret_cast<QStyleHintReturnMask *>(sipSelf);

    sipVal = &sipCpp->region;

    sipPy = sipGetReference(sipPySelf, -68);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QRegion, NULL);
    sipKeepReference(sipPySelf, -68, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleHintReturnMask_region(void *, PyObject *, PyObject *);}
static int varset_QStyleHintReturnMask_region(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRegion*sipVal;
    QStyleHintReturnMask *sipCpp = reinterpret_cast<QStyleHintReturnMask *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QRegion *>(sipForceConvertToType(sipPy,sipType_QRegion,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->region = *sipVal;

    return 0;
}

sipVariableDef variables_QStyleHintReturnMask[] = {
    {InstanceVariable, sipName_region, (PyMethodDef *)varget_QStyleHintReturnMask_region, (PyMethodDef *)varset_QStyleHintReturnMask_region, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleHintReturnMask, "\1QStyleHintReturnMask()\n"
    "QStyleHintReturnMask(QStyleHintReturnMask)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleHintReturnMask = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleHintReturnMask,
        {0}
    },
    {
        sipNameNr_QStyleHintReturnMask,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleHintReturnMask,
        1, variables_QStyleHintReturnMask,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleHintReturnMask,
    -1,
    -1,
    supers_QStyleHintReturnMask,
    0,
    init_type_QStyleHintReturnMask,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleHintReturnMask,
    assign_QStyleHintReturnMask,
    array_QStyleHintReturnMask,
    copy_QStyleHintReturnMask,
    release_QStyleHintReturnMask,
    cast_QStyleHintReturnMask,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 101913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"



/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleHintReturn(void *, const sipTypeDef *);}
static void *cast_QStyleHintReturn(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleHintReturn)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleHintReturn(void *, int);}
static void release_QStyleHintReturn(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleHintReturn *>(sipCppV);
}


extern "C" {static void assign_QStyleHintReturn(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleHintReturn(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleHintReturn *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleHintReturn *>(sipSrc);
}


extern "C" {static void *array_QStyleHintReturn(SIP_SSIZE_T);}
static void *array_QStyleHintReturn(SIP_SSIZE_T sipNrElem)
{
    return new QStyleHintReturn[sipNrElem];
}


extern "C" {static void *copy_QStyleHintReturn(const void *, SIP_SSIZE_T);}
static void *copy_QStyleHintReturn(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleHintReturn(reinterpret_cast<const QStyleHintReturn *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleHintReturn(sipSimpleWrapper *);}
static void dealloc_QStyleHintReturn(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleHintReturn(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleHintReturn(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleHintReturn(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleHintReturn *sipCpp = 0;

    {
        int a0 = QStyleOption::Version;
        int a1 = QStyleHintReturn::SH_Default;

        static const char *sipKwdList[] = {
            sipName_version,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|ii", &a0, &a1))
        {
            sipCpp = new QStyleHintReturn(a0,a1);

            return sipCpp;
        }
    }

    {
        const QStyleHintReturn* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleHintReturn, &a0))
        {
            sipCpp = new QStyleHintReturn(*a0);

            return sipCpp;
        }
    }

    return NULL;
}

static sipEnumMemberDef enummembers_QStyleHintReturn[] = {
    {sipName_SH_Default, static_cast<int>(QStyleHintReturn::SH_Default), 299},
    {sipName_SH_Mask, static_cast<int>(QStyleHintReturn::SH_Mask), 299},
    {sipName_SH_Variant, static_cast<int>(QStyleHintReturn::SH_Variant), 299},
    {sipName_Type, static_cast<int>(QStyleHintReturn::Type), 300},
    {sipName_Version, static_cast<int>(QStyleHintReturn::Version), 301},
};


extern "C" {static PyObject *varget_QStyleHintReturn_type(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleHintReturn_type(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleHintReturn *sipCpp = reinterpret_cast<QStyleHintReturn *>(sipSelf);

    sipVal = sipCpp->type;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleHintReturn_type(void *, PyObject *, PyObject *);}
static int varset_QStyleHintReturn_type(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleHintReturn *sipCpp = reinterpret_cast<QStyleHintReturn *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->type = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleHintReturn_version(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleHintReturn_version(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleHintReturn *sipCpp = reinterpret_cast<QStyleHintReturn *>(sipSelf);

    sipVal = sipCpp->version;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleHintReturn_version(void *, PyObject *, PyObject *);}
static int varset_QStyleHintReturn_version(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleHintReturn *sipCpp = reinterpret_cast<QStyleHintReturn *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->version = sipVal;

    return 0;
}

sipVariableDef variables_QStyleHintReturn[] = {
    {InstanceVariable, sipName_type, (PyMethodDef *)varget_QStyleHintReturn_type, (PyMethodDef *)varset_QStyleHintReturn_type, NULL, NULL},
    {InstanceVariable, sipName_version, (PyMethodDef *)varget_QStyleHintReturn_version, (PyMethodDef *)varset_QStyleHintReturn_version, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleHintReturn, "\1QStyleHintReturn(int version=QStyleOption.Version, int type=QStyleHintReturn.SH_Default)\n"
    "QStyleHintReturn(QStyleHintReturn)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleHintReturn = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleHintReturn,
        {0}
    },
    {
        sipNameNr_QStyleHintReturn,
        {0, 0, 1},
        0, 0,
        5, enummembers_QStyleHintReturn,
        2, variables_QStyleHintReturn,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleHintReturn,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QStyleHintReturn,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleHintReturn,
    assign_QStyleHintReturn,
    array_QStyleHintReturn,
    copy_QStyleHintReturn,
    release_QStyleHintReturn,
    cast_QStyleHintReturn,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 102135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 102139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 102142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 102145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 102148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionTitleBar(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTitleBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionTitleBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOptionComplex)->ctd_cast((QStyleOptionComplex *)(QStyleOptionTitleBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionTitleBar(void *, int);}
static void release_QStyleOptionTitleBar(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionTitleBar *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionTitleBar(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionTitleBar(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionTitleBar *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionTitleBar *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionTitleBar(SIP_SSIZE_T);}
static void *array_QStyleOptionTitleBar(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionTitleBar[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionTitleBar(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionTitleBar(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionTitleBar(reinterpret_cast<const QStyleOptionTitleBar *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionTitleBar(sipSimpleWrapper *);}
static void dealloc_QStyleOptionTitleBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionTitleBar(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionTitleBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionTitleBar(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionTitleBar *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionTitleBar();

            return sipCpp;
        }
    }

    {
        const QStyleOptionTitleBar* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionTitleBar, &a0))
        {
            sipCpp = new QStyleOptionTitleBar(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionTitleBar[] = {{320, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionTitleBar[] = {
    {sipName_Type, static_cast<int>(QStyleOptionTitleBar::Type), 382},
    {sipName_Version, static_cast<int>(QStyleOptionTitleBar::Version), 383},
};


extern "C" {static PyObject *varget_QStyleOptionTitleBar_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTitleBar_icon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QIcon*sipVal;
    QStyleOptionTitleBar *sipCpp = reinterpret_cast<QStyleOptionTitleBar *>(sipSelf);

    sipVal = &sipCpp->icon;

    sipPy = sipGetReference(sipPySelf, -69);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, NULL);
    sipKeepReference(sipPySelf, -69, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTitleBar_icon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTitleBar_icon(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QIcon*sipVal;
    QStyleOptionTitleBar *sipCpp = reinterpret_cast<QStyleOptionTitleBar *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QIcon *>(sipForceConvertToType(sipPy,sipType_QIcon,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->icon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTitleBar_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTitleBar_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionTitleBar *sipCpp = reinterpret_cast<QStyleOptionTitleBar *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -70);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -70, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTitleBar_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTitleBar_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionTitleBar *sipCpp = reinterpret_cast<QStyleOptionTitleBar *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTitleBar_titleBarFlags(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTitleBar_titleBarFlags(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    Qt::WindowFlags*sipVal;
    QStyleOptionTitleBar *sipCpp = reinterpret_cast<QStyleOptionTitleBar *>(sipSelf);

    sipVal = &sipCpp->titleBarFlags;

    sipPy = sipGetReference(sipPySelf, -71);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_Qt_WindowFlags, NULL);
    sipKeepReference(sipPySelf, -71, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTitleBar_titleBarFlags(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTitleBar_titleBarFlags(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::WindowFlags*sipVal;
    QStyleOptionTitleBar *sipCpp = reinterpret_cast<QStyleOptionTitleBar *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<Qt::WindowFlags *>(sipForceConvertToType(sipPy,sipType_Qt_WindowFlags,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->titleBarFlags = *sipVal;

    sipReleaseType(sipVal, sipType_Qt_WindowFlags, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTitleBar_titleBarState(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTitleBar_titleBarState(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionTitleBar *sipCpp = reinterpret_cast<QStyleOptionTitleBar *>(sipSelf);

    sipVal = sipCpp->titleBarState;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionTitleBar_titleBarState(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTitleBar_titleBarState(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionTitleBar *sipCpp = reinterpret_cast<QStyleOptionTitleBar *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->titleBarState = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionTitleBar[] = {
    {InstanceVariable, sipName_icon, (PyMethodDef *)varget_QStyleOptionTitleBar_icon, (PyMethodDef *)varset_QStyleOptionTitleBar_icon, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionTitleBar_text, (PyMethodDef *)varset_QStyleOptionTitleBar_text, NULL, NULL},
    {InstanceVariable, sipName_titleBarFlags, (PyMethodDef *)varget_QStyleOptionTitleBar_titleBarFlags, (PyMethodDef *)varset_QStyleOptionTitleBar_titleBarFlags, NULL, NULL},
    {InstanceVariable, sipName_titleBarState, (PyMethodDef *)varget_QStyleOptionTitleBar_titleBarState, (PyMethodDef *)varset_QStyleOptionTitleBar_titleBarState, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionTitleBar, "\1QStyleOptionTitleBar()\n"
    "QStyleOptionTitleBar(QStyleOptionTitleBar)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTitleBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTitleBar,
        {0}
    },
    {
        sipNameNr_QStyleOptionTitleBar,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionTitleBar,
        4, variables_QStyleOptionTitleBar,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionTitleBar,
    -1,
    -1,
    supers_QStyleOptionTitleBar,
    0,
    init_type_QStyleOptionTitleBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionTitleBar,
    assign_QStyleOptionTitleBar,
    array_QStyleOptionTitleBar,
    copy_QStyleOptionTitleBar,
    release_QStyleOptionTitleBar,
    cast_QStyleOptionTitleBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 102463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 102467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 102470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 102473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 102476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 102479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionComboBox(void *, const sipTypeDef *);}
static void *cast_QStyleOptionComboBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionComboBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOptionComplex)->ctd_cast((QStyleOptionComplex *)(QStyleOptionComboBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionComboBox(void *, int);}
static void release_QStyleOptionComboBox(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionComboBox *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionComboBox(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionComboBox(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionComboBox *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionComboBox *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionComboBox(SIP_SSIZE_T);}
static void *array_QStyleOptionComboBox(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionComboBox[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionComboBox(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionComboBox(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionComboBox(reinterpret_cast<const QStyleOptionComboBox *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionComboBox(sipSimpleWrapper *);}
static void dealloc_QStyleOptionComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionComboBox(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionComboBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionComboBox(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionComboBox *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionComboBox();

            return sipCpp;
        }
    }

    {
        const QStyleOptionComboBox* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionComboBox, &a0))
        {
            sipCpp = new QStyleOptionComboBox(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionComboBox[] = {{320, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionComboBox[] = {
    {sipName_Type, static_cast<int>(QStyleOptionComboBox::Type), 318},
    {sipName_Version, static_cast<int>(QStyleOptionComboBox::Version), 319},
};


extern "C" {static PyObject *varget_QStyleOptionComboBox_currentIcon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComboBox_currentIcon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QIcon*sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    sipVal = &sipCpp->currentIcon;

    sipPy = sipGetReference(sipPySelf, -72);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, NULL);
    sipKeepReference(sipPySelf, -72, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionComboBox_currentIcon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionComboBox_currentIcon(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QIcon*sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QIcon *>(sipForceConvertToType(sipPy,sipType_QIcon,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->currentIcon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionComboBox_currentText(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComboBox_currentText(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    sipVal = &sipCpp->currentText;

    sipPy = sipGetReference(sipPySelf, -73);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -73, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionComboBox_currentText(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionComboBox_currentText(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->currentText = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionComboBox_editable(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComboBox_editable(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    sipVal = sipCpp->editable;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionComboBox_editable(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionComboBox_editable(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->editable = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionComboBox_frame(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComboBox_frame(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    sipVal = sipCpp->frame;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionComboBox_frame(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionComboBox_frame(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->frame = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionComboBox_iconSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComboBox_iconSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    sipVal = &sipCpp->iconSize;

    sipPy = sipGetReference(sipPySelf, -74);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -74, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionComboBox_iconSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionComboBox_iconSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->iconSize = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionComboBox_popupRect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComboBox_popupRect(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QRect*sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    sipVal = &sipCpp->popupRect;

    sipPy = sipGetReference(sipPySelf, -75);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QRect, NULL);
    sipKeepReference(sipPySelf, -75, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionComboBox_popupRect(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionComboBox_popupRect(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRect*sipVal;
    QStyleOptionComboBox *sipCpp = reinterpret_cast<QStyleOptionComboBox *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QRect *>(sipForceConvertToType(sipPy,sipType_QRect,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->popupRect = *sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionComboBox[] = {
    {InstanceVariable, sipName_currentIcon, (PyMethodDef *)varget_QStyleOptionComboBox_currentIcon, (PyMethodDef *)varset_QStyleOptionComboBox_currentIcon, NULL, NULL},
    {InstanceVariable, sipName_currentText, (PyMethodDef *)varget_QStyleOptionComboBox_currentText, (PyMethodDef *)varset_QStyleOptionComboBox_currentText, NULL, NULL},
    {InstanceVariable, sipName_editable, (PyMethodDef *)varget_QStyleOptionComboBox_editable, (PyMethodDef *)varset_QStyleOptionComboBox_editable, NULL, NULL},
    {InstanceVariable, sipName_frame, (PyMethodDef *)varget_QStyleOptionComboBox_frame, (PyMethodDef *)varset_QStyleOptionComboBox_frame, NULL, NULL},
    {InstanceVariable, sipName_iconSize, (PyMethodDef *)varget_QStyleOptionComboBox_iconSize, (PyMethodDef *)varset_QStyleOptionComboBox_iconSize, NULL, NULL},
    {InstanceVariable, sipName_popupRect, (PyMethodDef *)varget_QStyleOptionComboBox_popupRect, (PyMethodDef *)varset_QStyleOptionComboBox_popupRect, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionComboBox, "\1QStyleOptionComboBox()\n"
    "QStyleOptionComboBox(QStyleOptionComboBox)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionComboBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionComboBox,
        {0}
    },
    {
        sipNameNr_QStyleOptionComboBox,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionComboBox,
        6, variables_QStyleOptionComboBox,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionComboBox,
    -1,
    -1,
    supers_QStyleOptionComboBox,
    0,
    init_type_QStyleOptionComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionComboBox,
    assign_QStyleOptionComboBox,
    array_QStyleOptionComboBox,
    copy_QStyleOptionComboBox,
    release_QStyleOptionComboBox,
    cast_QStyleOptionComboBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 102861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 102865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QStyleOptionToolButton_ToolButtonFeatures___bool__(PyObject *);}
static int slot_QStyleOptionToolButton_ToolButtonFeatures___bool__(PyObject *sipSelf)
{
    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolButton::ToolButtonFeatures::Int() != 0);
#line 102883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolButton::ToolButtonFeatures::Int() != a0->operator QStyleOptionToolButton::ToolButtonFeatures::Int());
#line 102913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionToolButton::ToolButtonFeatures *>(a0),sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QStyleOptionToolButton_ToolButtonFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionToolButton::ToolButtonFeatures::Int() == a0->operator QStyleOptionToolButton::ToolButtonFeatures::Int());
#line 102949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionToolButton::ToolButtonFeatures *>(a0),sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QStyleOptionToolButton_ToolButtonFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___invert__(PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___invert__(PyObject *sipSelf)
{
    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            QStyleOptionToolButton::ToolButtonFeatures*sipRes;

            sipRes = new QStyleOptionToolButton::ToolButtonFeatures(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolButton_ToolButtonFeatures,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___and__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionToolButton::ToolButtonFeatures*sipRes;

            sipRes = new QStyleOptionToolButton::ToolButtonFeatures((*a0 & a1));
            sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolButton_ToolButtonFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;
        QStyleOptionToolButton::ToolButtonFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State, sipType_QStyleOptionToolButton_ToolButtonFeatures, &a1, &a1State))
        {
            QStyleOptionToolButton::ToolButtonFeatures*sipRes;

            sipRes = new QStyleOptionToolButton::ToolButtonFeatures((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionToolButton_ToolButtonFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolButton_ToolButtonFeatures,NULL);
        }
    }

    {
        QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionToolButton::ToolButtonFeatures*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionToolButton::ToolButtonFeatures(*a0 ^ a1);
#line 103052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolButton_ToolButtonFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;
        QStyleOptionToolButton::ToolButtonFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State, sipType_QStyleOptionToolButton_ToolButtonFeatures, &a1, &a1State))
        {
            QStyleOptionToolButton::ToolButtonFeatures*sipRes;

            sipRes = new QStyleOptionToolButton::ToolButtonFeatures((*a0 | *a1));
            sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionToolButton_ToolButtonFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolButton_ToolButtonFeatures,NULL);
        }
    }

    {
        QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionToolButton::ToolButtonFeatures*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionToolButton::ToolButtonFeatures(*a0 | a1);
#line 103102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionToolButton_ToolButtonFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___int__(PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___int__(PyObject *sipSelf)
{
    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionToolButton_ToolButtonFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionToolButton::ToolButtonFeatures::operator^=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,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_QStyleOptionToolButton_ToolButtonFeatures___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionToolButton_ToolButtonFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionToolButton::ToolButtonFeatures::operator|=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionToolButton_ToolButtonFeatures,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_QStyleOptionToolButton_ToolButtonFeatures___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionToolButton_ToolButtonFeatures___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionToolButton_ToolButtonFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionToolButton_ToolButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QStyleOptionToolButton::ToolButtonFeatures::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionToolButton_ToolButtonFeatures(void *, const sipTypeDef *);}
static void *cast_QStyleOptionToolButton_ToolButtonFeatures(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleOptionToolButton_ToolButtonFeatures)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionToolButton_ToolButtonFeatures(void *, int);}
static void release_QStyleOptionToolButton_ToolButtonFeatures(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionToolButton_ToolButtonFeatures(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionToolButton_ToolButtonFeatures(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionToolButton::ToolButtonFeatures *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionToolButton_ToolButtonFeatures(SIP_SSIZE_T);}
static void *array_QStyleOptionToolButton_ToolButtonFeatures(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionToolButton::ToolButtonFeatures[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionToolButton_ToolButtonFeatures(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionToolButton_ToolButtonFeatures(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionToolButton::ToolButtonFeatures(reinterpret_cast<const QStyleOptionToolButton::ToolButtonFeatures *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionToolButton_ToolButtonFeatures(sipSimpleWrapper *);}
static void dealloc_QStyleOptionToolButton_ToolButtonFeatures(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionToolButton_ToolButtonFeatures(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionToolButton_ToolButtonFeatures(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionToolButton_ToolButtonFeatures(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionToolButton::ToolButtonFeatures *sipCpp = 0;

    {
        const QStyleOptionToolButton::ToolButtonFeatures* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyleOptionToolButton_ToolButtonFeatures, &a0, &a0State))
        {
            sipCpp = new QStyleOptionToolButton::ToolButtonFeatures(*a0);
            sipReleaseType(const_cast<QStyleOptionToolButton::ToolButtonFeatures *>(a0),sipType_QStyleOptionToolButton_ToolButtonFeatures,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStyleOptionToolButton::ToolButtonFeatures(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionToolButton::ToolButtonFeatures();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStyleOptionToolButton_ToolButtonFeatures(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStyleOptionToolButton_ToolButtonFeatures(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStyleOptionToolButton::ToolButtonFeatures **sipCppPtr = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStyleOptionToolButton::ToolButtonFeatures is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionToolButton_ToolButtonFeature)) ||
            sipCanConvertToType(sipPy, sipType_QStyleOptionToolButton_ToolButtonFeatures, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionToolButton_ToolButtonFeature)))
{
    *sipCppPtr = new QStyleOptionToolButton::ToolButtonFeatures(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipConvertToType(sipPy, sipType_QStyleOptionToolButton_ToolButtonFeatures, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 103379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionToolButton_ToolButtonFeatures[] = {
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___bool__, bool_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___ne__, ne_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___eq__, eq_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___int__, int_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionToolButton_ToolButtonFeatures___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionToolButton_ToolButtonFeatures, "\1QStyleOptionToolButton.ToolButtonFeatures(QStyleOptionToolButton.ToolButtonFeatures)\n"
    "QStyleOptionToolButton.ToolButtonFeatures(int)\n"
    "QStyleOptionToolButton.ToolButtonFeatures()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolButton_ToolButtonFeatures = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolButton__ToolButtonFeatures,
        {0}
    },
    {
        sipNameNr_ToolButtonFeatures,
        {395, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionToolButton_ToolButtonFeatures,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStyleOptionToolButton_ToolButtonFeatures,
    init_type_QStyleOptionToolButton_ToolButtonFeatures,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionToolButton_ToolButtonFeatures,
    assign_QStyleOptionToolButton_ToolButtonFeatures,
    array_QStyleOptionToolButton_ToolButtonFeatures,
    copy_QStyleOptionToolButton_ToolButtonFeatures,
    release_QStyleOptionToolButton_ToolButtonFeatures,
    cast_QStyleOptionToolButton_ToolButtonFeatures,
    convertTo_QStyleOptionToolButton_ToolButtonFeatures,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 103461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 103465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 103468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 103471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 103474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 103477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 103480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 103483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 103486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionToolButton(void *, const sipTypeDef *);}
static void *cast_QStyleOptionToolButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionToolButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOptionComplex)->ctd_cast((QStyleOptionComplex *)(QStyleOptionToolButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionToolButton(void *, int);}
static void release_QStyleOptionToolButton(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionToolButton *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionToolButton(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionToolButton(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionToolButton *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionToolButton *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionToolButton(SIP_SSIZE_T);}
static void *array_QStyleOptionToolButton(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionToolButton[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionToolButton(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionToolButton(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionToolButton(reinterpret_cast<const QStyleOptionToolButton *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionToolButton(sipSimpleWrapper *);}
static void dealloc_QStyleOptionToolButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionToolButton(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionToolButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionToolButton(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionToolButton *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionToolButton();

            return sipCpp;
        }
    }

    {
        const QStyleOptionToolButton* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionToolButton, &a0))
        {
            sipCpp = new QStyleOptionToolButton(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionToolButton[] = {{320, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionToolButton[] = {
    {sipName_Arrow, static_cast<int>(QStyleOptionToolButton::Arrow), 398},
    {sipName_HasMenu, static_cast<int>(QStyleOptionToolButton::HasMenu), 398},
    {sipName_Menu, static_cast<int>(QStyleOptionToolButton::Menu), 398},
    {sipName_MenuButtonPopup, static_cast<int>(QStyleOptionToolButton::MenuButtonPopup), 398},
    {sipName_None, static_cast<int>(QStyleOptionToolButton::None), 398},
    {sipName_PopupDelay, static_cast<int>(QStyleOptionToolButton::PopupDelay), 398},
    {sipName_Type, static_cast<int>(QStyleOptionToolButton::Type), 396},
    {sipName_Version, static_cast<int>(QStyleOptionToolButton::Version), 397},
};


extern "C" {static PyObject *varget_QStyleOptionToolButton_arrowType(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolButton_arrowType(void *sipSelf, PyObject *, PyObject *)
{
    Qt::ArrowType sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = sipCpp->arrowType;

    return sipConvertFromEnum(sipVal, sipType_Qt_ArrowType);
}


extern "C" {static int varset_QStyleOptionToolButton_arrowType(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolButton_arrowType(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::ArrowType sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = (Qt::ArrowType)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->arrowType = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolButton_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolButton_features(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyleOptionToolButton::ToolButtonFeatures*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->features;

    sipPy = sipGetReference(sipPySelf, -76);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyleOptionToolButton_ToolButtonFeatures, NULL);
    sipKeepReference(sipPySelf, -76, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionToolButton_features(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolButton_features(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionToolButton::ToolButtonFeatures*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyleOptionToolButton::ToolButtonFeatures *>(sipForceConvertToType(sipPy,sipType_QStyleOptionToolButton_ToolButtonFeatures,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->features = *sipVal;

    sipReleaseType(sipVal, sipType_QStyleOptionToolButton_ToolButtonFeatures, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolButton_font(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolButton_font(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QFont*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->font;

    sipPy = sipGetReference(sipPySelf, -77);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QFont, NULL);
    sipKeepReference(sipPySelf, -77, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionToolButton_font(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolButton_font(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QFont*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QFont *>(sipForceConvertToType(sipPy,sipType_QFont,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->font = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolButton_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolButton_icon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QIcon*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->icon;

    sipPy = sipGetReference(sipPySelf, -78);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, NULL);
    sipKeepReference(sipPySelf, -78, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionToolButton_icon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolButton_icon(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QIcon*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QIcon *>(sipForceConvertToType(sipPy,sipType_QIcon,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->icon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolButton_iconSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolButton_iconSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->iconSize;

    sipPy = sipGetReference(sipPySelf, -79);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -79, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionToolButton_iconSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolButton_iconSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->iconSize = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolButton_pos(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolButton_pos(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QPoint*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->pos;

    sipPy = sipGetReference(sipPySelf, -80);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QPoint, NULL);
    sipKeepReference(sipPySelf, -80, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionToolButton_pos(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolButton_pos(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QPoint*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QPoint *>(sipForceConvertToType(sipPy,sipType_QPoint,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->pos = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolButton_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolButton_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -81);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -81, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionToolButton_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolButton_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolButton_toolButtonStyle(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolButton_toolButtonStyle(void *sipSelf, PyObject *, PyObject *)
{
    Qt::ToolButtonStyle sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = sipCpp->toolButtonStyle;

    return sipConvertFromEnum(sipVal, sipType_Qt_ToolButtonStyle);
}


extern "C" {static int varset_QStyleOptionToolButton_toolButtonStyle(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolButton_toolButtonStyle(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::ToolButtonStyle sipVal;
    QStyleOptionToolButton *sipCpp = reinterpret_cast<QStyleOptionToolButton *>(sipSelf);

    sipVal = (Qt::ToolButtonStyle)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->toolButtonStyle = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionToolButton[] = {
    {InstanceVariable, sipName_arrowType, (PyMethodDef *)varget_QStyleOptionToolButton_arrowType, (PyMethodDef *)varset_QStyleOptionToolButton_arrowType, NULL, NULL},
    {InstanceVariable, sipName_features, (PyMethodDef *)varget_QStyleOptionToolButton_features, (PyMethodDef *)varset_QStyleOptionToolButton_features, NULL, NULL},
    {InstanceVariable, sipName_font, (PyMethodDef *)varget_QStyleOptionToolButton_font, (PyMethodDef *)varset_QStyleOptionToolButton_font, NULL, NULL},
    {InstanceVariable, sipName_icon, (PyMethodDef *)varget_QStyleOptionToolButton_icon, (PyMethodDef *)varset_QStyleOptionToolButton_icon, NULL, NULL},
    {InstanceVariable, sipName_iconSize, (PyMethodDef *)varget_QStyleOptionToolButton_iconSize, (PyMethodDef *)varset_QStyleOptionToolButton_iconSize, NULL, NULL},
    {InstanceVariable, sipName_pos, (PyMethodDef *)varget_QStyleOptionToolButton_pos, (PyMethodDef *)varset_QStyleOptionToolButton_pos, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionToolButton_text, (PyMethodDef *)varset_QStyleOptionToolButton_text, NULL, NULL},
    {InstanceVariable, sipName_toolButtonStyle, (PyMethodDef *)varget_QStyleOptionToolButton_toolButtonStyle, (PyMethodDef *)varset_QStyleOptionToolButton_toolButtonStyle, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionToolButton, "\1QStyleOptionToolButton()\n"
    "QStyleOptionToolButton(QStyleOptionToolButton)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolButton,
        {0}
    },
    {
        sipNameNr_QStyleOptionToolButton,
        {0, 0, 1},
        0, 0,
        8, enummembers_QStyleOptionToolButton,
        8, variables_QStyleOptionToolButton,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionToolButton,
    -1,
    -1,
    supers_QStyleOptionToolButton,
    0,
    init_type_QStyleOptionToolButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionToolButton,
    assign_QStyleOptionToolButton,
    array_QStyleOptionToolButton,
    copy_QStyleOptionToolButton,
    release_QStyleOptionToolButton,
    cast_QStyleOptionToolButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 103957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 103961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 103964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 103967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionSpinBox(void *, const sipTypeDef *);}
static void *cast_QStyleOptionSpinBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionSpinBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOptionComplex)->ctd_cast((QStyleOptionComplex *)(QStyleOptionSpinBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionSpinBox(void *, int);}
static void release_QStyleOptionSpinBox(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionSpinBox *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionSpinBox(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionSpinBox(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionSpinBox *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionSpinBox *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionSpinBox(SIP_SSIZE_T);}
static void *array_QStyleOptionSpinBox(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionSpinBox[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionSpinBox(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionSpinBox(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionSpinBox(reinterpret_cast<const QStyleOptionSpinBox *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionSpinBox(sipSimpleWrapper *);}
static void dealloc_QStyleOptionSpinBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionSpinBox(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionSpinBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionSpinBox(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionSpinBox *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionSpinBox();

            return sipCpp;
        }
    }

    {
        const QStyleOptionSpinBox* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionSpinBox, &a0))
        {
            sipCpp = new QStyleOptionSpinBox(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionSpinBox[] = {{320, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionSpinBox[] = {
    {sipName_Type, static_cast<int>(QStyleOptionSpinBox::Type), 364},
    {sipName_Version, static_cast<int>(QStyleOptionSpinBox::Version), 365},
};


extern "C" {static PyObject *varget_QStyleOptionSpinBox_buttonSymbols(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSpinBox_buttonSymbols(void *sipSelf, PyObject *, PyObject *)
{
    QAbstractSpinBox::ButtonSymbols sipVal;
    QStyleOptionSpinBox *sipCpp = reinterpret_cast<QStyleOptionSpinBox *>(sipSelf);

    sipVal = sipCpp->buttonSymbols;

    return sipConvertFromEnum(sipVal, sipType_QAbstractSpinBox_ButtonSymbols);
}


extern "C" {static int varset_QStyleOptionSpinBox_buttonSymbols(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSpinBox_buttonSymbols(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QAbstractSpinBox::ButtonSymbols sipVal;
    QStyleOptionSpinBox *sipCpp = reinterpret_cast<QStyleOptionSpinBox *>(sipSelf);

    sipVal = (QAbstractSpinBox::ButtonSymbols)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->buttonSymbols = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSpinBox_frame(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSpinBox_frame(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionSpinBox *sipCpp = reinterpret_cast<QStyleOptionSpinBox *>(sipSelf);

    sipVal = sipCpp->frame;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSpinBox_frame(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSpinBox_frame(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionSpinBox *sipCpp = reinterpret_cast<QStyleOptionSpinBox *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->frame = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSpinBox_stepEnabled(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSpinBox_stepEnabled(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QAbstractSpinBox::StepEnabled*sipVal;
    QStyleOptionSpinBox *sipCpp = reinterpret_cast<QStyleOptionSpinBox *>(sipSelf);

    sipVal = &sipCpp->stepEnabled;

    sipPy = sipGetReference(sipPySelf, -82);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QAbstractSpinBox_StepEnabled, NULL);
    sipKeepReference(sipPySelf, -82, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionSpinBox_stepEnabled(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSpinBox_stepEnabled(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QAbstractSpinBox::StepEnabled*sipVal;
    QStyleOptionSpinBox *sipCpp = reinterpret_cast<QStyleOptionSpinBox *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipForceConvertToType(sipPy,sipType_QAbstractSpinBox_StepEnabled,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->stepEnabled = *sipVal;

    sipReleaseType(sipVal, sipType_QAbstractSpinBox_StepEnabled, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionSpinBox[] = {
    {InstanceVariable, sipName_buttonSymbols, (PyMethodDef *)varget_QStyleOptionSpinBox_buttonSymbols, (PyMethodDef *)varset_QStyleOptionSpinBox_buttonSymbols, NULL, NULL},
    {InstanceVariable, sipName_frame, (PyMethodDef *)varget_QStyleOptionSpinBox_frame, (PyMethodDef *)varset_QStyleOptionSpinBox_frame, NULL, NULL},
    {InstanceVariable, sipName_stepEnabled, (PyMethodDef *)varget_QStyleOptionSpinBox_stepEnabled, (PyMethodDef *)varset_QStyleOptionSpinBox_stepEnabled, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionSpinBox, "\1QStyleOptionSpinBox()\n"
    "QStyleOptionSpinBox(QStyleOptionSpinBox)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionSpinBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionSpinBox,
        {0}
    },
    {
        sipNameNr_QStyleOptionSpinBox,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionSpinBox,
        3, variables_QStyleOptionSpinBox,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionSpinBox,
    -1,
    -1,
    supers_QStyleOptionSpinBox,
    0,
    init_type_QStyleOptionSpinBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionSpinBox,
    assign_QStyleOptionSpinBox,
    array_QStyleOptionSpinBox,
    copy_QStyleOptionSpinBox,
    release_QStyleOptionSpinBox,
    cast_QStyleOptionSpinBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 104229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 104233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qslider.sip"
#include <qslider.h>
#line 104236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 104239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionSlider(void *, const sipTypeDef *);}
static void *cast_QStyleOptionSlider(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionSlider)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOptionComplex)->ctd_cast((QStyleOptionComplex *)(QStyleOptionSlider *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionSlider(void *, int);}
static void release_QStyleOptionSlider(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionSlider *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionSlider(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionSlider(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionSlider *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionSlider *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionSlider(SIP_SSIZE_T);}
static void *array_QStyleOptionSlider(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionSlider[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionSlider(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionSlider(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionSlider(reinterpret_cast<const QStyleOptionSlider *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionSlider(sipSimpleWrapper *);}
static void dealloc_QStyleOptionSlider(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionSlider(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionSlider(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionSlider(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionSlider *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionSlider();

            return sipCpp;
        }
    }

    {
        const QStyleOptionSlider* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionSlider, &a0))
        {
            sipCpp = new QStyleOptionSlider(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionSlider[] = {{320, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionSlider[] = {
    {sipName_Type, static_cast<int>(QStyleOptionSlider::Type), 361},
    {sipName_Version, static_cast<int>(QStyleOptionSlider::Version), 362},
};


extern "C" {static PyObject *varget_QStyleOptionSlider_dialWrapping(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_dialWrapping(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->dialWrapping;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_dialWrapping(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_dialWrapping(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->dialWrapping = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_maximum(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_maximum(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->maximum;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_maximum(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_maximum(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->maximum = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_minimum(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_minimum(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->minimum;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_minimum(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_minimum(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->minimum = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_notchTarget(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_notchTarget(void *sipSelf, PyObject *, PyObject *)
{
    qreal sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->notchTarget;

    return PyFloat_FromDouble(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_notchTarget(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_notchTarget(void *sipSelf, PyObject *sipPy, PyObject *)
{
    qreal sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = PyFloat_AsDouble(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->notchTarget = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_orientation(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_orientation(void *sipSelf, PyObject *, PyObject *)
{
    Qt::Orientation sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->orientation;

    return sipConvertFromEnum(sipVal, sipType_Qt_Orientation);
}


extern "C" {static int varset_QStyleOptionSlider_orientation(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_orientation(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Orientation sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (Qt::Orientation)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->orientation = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_pageStep(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_pageStep(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->pageStep;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_pageStep(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_pageStep(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->pageStep = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_singleStep(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_singleStep(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->singleStep;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_singleStep(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_singleStep(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->singleStep = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_sliderPosition(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_sliderPosition(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->sliderPosition;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_sliderPosition(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_sliderPosition(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->sliderPosition = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_sliderValue(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_sliderValue(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->sliderValue;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_sliderValue(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_sliderValue(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->sliderValue = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_tickInterval(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_tickInterval(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->tickInterval;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_tickInterval(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_tickInterval(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->tickInterval = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_tickPosition(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_tickPosition(void *sipSelf, PyObject *, PyObject *)
{
    QSlider::TickPosition sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->tickPosition;

    return sipConvertFromEnum(sipVal, sipType_QSlider_TickPosition);
}


extern "C" {static int varset_QStyleOptionSlider_tickPosition(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_tickPosition(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSlider::TickPosition sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (QSlider::TickPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->tickPosition = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionSlider_upsideDown(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionSlider_upsideDown(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = sipCpp->upsideDown;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionSlider_upsideDown(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionSlider_upsideDown(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionSlider *sipCpp = reinterpret_cast<QStyleOptionSlider *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->upsideDown = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionSlider[] = {
    {InstanceVariable, sipName_dialWrapping, (PyMethodDef *)varget_QStyleOptionSlider_dialWrapping, (PyMethodDef *)varset_QStyleOptionSlider_dialWrapping, NULL, NULL},
    {InstanceVariable, sipName_maximum, (PyMethodDef *)varget_QStyleOptionSlider_maximum, (PyMethodDef *)varset_QStyleOptionSlider_maximum, NULL, NULL},
    {InstanceVariable, sipName_minimum, (PyMethodDef *)varget_QStyleOptionSlider_minimum, (PyMethodDef *)varset_QStyleOptionSlider_minimum, NULL, NULL},
    {InstanceVariable, sipName_notchTarget, (PyMethodDef *)varget_QStyleOptionSlider_notchTarget, (PyMethodDef *)varset_QStyleOptionSlider_notchTarget, NULL, NULL},
    {InstanceVariable, sipName_orientation, (PyMethodDef *)varget_QStyleOptionSlider_orientation, (PyMethodDef *)varset_QStyleOptionSlider_orientation, NULL, NULL},
    {InstanceVariable, sipName_pageStep, (PyMethodDef *)varget_QStyleOptionSlider_pageStep, (PyMethodDef *)varset_QStyleOptionSlider_pageStep, NULL, NULL},
    {InstanceVariable, sipName_singleStep, (PyMethodDef *)varget_QStyleOptionSlider_singleStep, (PyMethodDef *)varset_QStyleOptionSlider_singleStep, NULL, NULL},
    {InstanceVariable, sipName_sliderPosition, (PyMethodDef *)varget_QStyleOptionSlider_sliderPosition, (PyMethodDef *)varset_QStyleOptionSlider_sliderPosition, NULL, NULL},
    {InstanceVariable, sipName_sliderValue, (PyMethodDef *)varget_QStyleOptionSlider_sliderValue, (PyMethodDef *)varset_QStyleOptionSlider_sliderValue, NULL, NULL},
    {InstanceVariable, sipName_tickInterval, (PyMethodDef *)varget_QStyleOptionSlider_tickInterval, (PyMethodDef *)varset_QStyleOptionSlider_tickInterval, NULL, NULL},
    {InstanceVariable, sipName_tickPosition, (PyMethodDef *)varget_QStyleOptionSlider_tickPosition, (PyMethodDef *)varset_QStyleOptionSlider_tickPosition, NULL, NULL},
    {InstanceVariable, sipName_upsideDown, (PyMethodDef *)varget_QStyleOptionSlider_upsideDown, (PyMethodDef *)varset_QStyleOptionSlider_upsideDown, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionSlider, "\1QStyleOptionSlider()\n"
    "QStyleOptionSlider(QStyleOptionSlider)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionSlider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionSlider,
        {0}
    },
    {
        sipNameNr_QStyleOptionSlider,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionSlider,
        12, variables_QStyleOptionSlider,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionSlider,
    -1,
    -1,
    supers_QStyleOptionSlider,
    0,
    init_type_QStyleOptionSlider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionSlider,
    assign_QStyleOptionSlider,
    array_QStyleOptionSlider,
    copy_QStyleOptionSlider,
    release_QStyleOptionSlider,
    cast_QStyleOptionSlider,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 104758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 104762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 104765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionComplex(void *, const sipTypeDef *);}
static void *cast_QStyleOptionComplex(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionComplex)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionComplex *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionComplex(void *, int);}
static void release_QStyleOptionComplex(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionComplex *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionComplex(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionComplex(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionComplex *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionComplex *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionComplex(SIP_SSIZE_T);}
static void *array_QStyleOptionComplex(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionComplex[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionComplex(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionComplex(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionComplex(reinterpret_cast<const QStyleOptionComplex *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionComplex(sipSimpleWrapper *);}
static void dealloc_QStyleOptionComplex(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionComplex(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionComplex(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionComplex(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionComplex *sipCpp = 0;

    {
        int a0 = QStyleOptionComplex::Version;
        int a1 = QStyleOption::SO_Complex;

        static const char *sipKwdList[] = {
            sipName_version,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|ii", &a0, &a1))
        {
            sipCpp = new QStyleOptionComplex(a0,a1);

            return sipCpp;
        }
    }

    {
        const QStyleOptionComplex* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionComplex, &a0))
        {
            sipCpp = new QStyleOptionComplex(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionComplex[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionComplex[] = {
    {sipName_Type, static_cast<int>(QStyleOptionComplex::Type), 321},
    {sipName_Version, static_cast<int>(QStyleOptionComplex::Version), 322},
};


extern "C" {static PyObject *varget_QStyleOptionComplex_activeSubControls(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComplex_activeSubControls(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyle::SubControls*sipVal;
    QStyleOptionComplex *sipCpp = reinterpret_cast<QStyleOptionComplex *>(sipSelf);

    sipVal = &sipCpp->activeSubControls;

    sipPy = sipGetReference(sipPySelf, -83);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyle_SubControls, NULL);
    sipKeepReference(sipPySelf, -83, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionComplex_activeSubControls(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionComplex_activeSubControls(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyle::SubControls*sipVal;
    QStyleOptionComplex *sipCpp = reinterpret_cast<QStyleOptionComplex *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyle::SubControls *>(sipForceConvertToType(sipPy,sipType_QStyle_SubControls,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->activeSubControls = *sipVal;

    sipReleaseType(sipVal, sipType_QStyle_SubControls, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionComplex_subControls(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionComplex_subControls(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyle::SubControls*sipVal;
    QStyleOptionComplex *sipCpp = reinterpret_cast<QStyleOptionComplex *>(sipSelf);

    sipVal = &sipCpp->subControls;

    sipPy = sipGetReference(sipPySelf, -84);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyle_SubControls, NULL);
    sipKeepReference(sipPySelf, -84, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionComplex_subControls(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionComplex_subControls(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyle::SubControls*sipVal;
    QStyleOptionComplex *sipCpp = reinterpret_cast<QStyleOptionComplex *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyle::SubControls *>(sipForceConvertToType(sipPy,sipType_QStyle_SubControls,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->subControls = *sipVal;

    sipReleaseType(sipVal, sipType_QStyle_SubControls, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionComplex[] = {
    {InstanceVariable, sipName_activeSubControls, (PyMethodDef *)varget_QStyleOptionComplex_activeSubControls, (PyMethodDef *)varset_QStyleOptionComplex_activeSubControls, NULL, NULL},
    {InstanceVariable, sipName_subControls, (PyMethodDef *)varget_QStyleOptionComplex_subControls, (PyMethodDef *)varset_QStyleOptionComplex_subControls, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionComplex, "\1QStyleOptionComplex(int version=QStyleOptionComplex.Version, int type=QStyleOption.SO_Complex)\n"
    "QStyleOptionComplex(QStyleOptionComplex)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionComplex = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionComplex,
        {0}
    },
    {
        sipNameNr_QStyleOptionComplex,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionComplex,
        2, variables_QStyleOptionComplex,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionComplex,
    -1,
    -1,
    supers_QStyleOptionComplex,
    0,
    init_type_QStyleOptionComplex,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionComplex,
    assign_QStyleOptionComplex,
    array_QStyleOptionComplex,
    copy_QStyleOptionComplex,
    release_QStyleOptionComplex,
    cast_QStyleOptionComplex,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 105018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qrubberband.sip"
#include <qrubberband.h>
#line 105022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 105025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionRubberBand(void *, const sipTypeDef *);}
static void *cast_QStyleOptionRubberBand(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionRubberBand)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionRubberBand *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionRubberBand(void *, int);}
static void release_QStyleOptionRubberBand(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionRubberBand *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionRubberBand(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionRubberBand(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionRubberBand *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionRubberBand *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionRubberBand(SIP_SSIZE_T);}
static void *array_QStyleOptionRubberBand(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionRubberBand[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionRubberBand(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionRubberBand(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionRubberBand(reinterpret_cast<const QStyleOptionRubberBand *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionRubberBand(sipSimpleWrapper *);}
static void dealloc_QStyleOptionRubberBand(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionRubberBand(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionRubberBand(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionRubberBand(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionRubberBand *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionRubberBand();

            return sipCpp;
        }
    }

    {
        const QStyleOptionRubberBand* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionRubberBand, &a0))
        {
            sipCpp = new QStyleOptionRubberBand(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionRubberBand[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionRubberBand[] = {
    {sipName_Type, static_cast<int>(QStyleOptionRubberBand::Type), 355},
    {sipName_Version, static_cast<int>(QStyleOptionRubberBand::Version), 356},
};


extern "C" {static PyObject *varget_QStyleOptionRubberBand_opaque(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionRubberBand_opaque(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionRubberBand *sipCpp = reinterpret_cast<QStyleOptionRubberBand *>(sipSelf);

    sipVal = sipCpp->opaque;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionRubberBand_opaque(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionRubberBand_opaque(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionRubberBand *sipCpp = reinterpret_cast<QStyleOptionRubberBand *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->opaque = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionRubberBand_shape(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionRubberBand_shape(void *sipSelf, PyObject *, PyObject *)
{
    QRubberBand::Shape sipVal;
    QStyleOptionRubberBand *sipCpp = reinterpret_cast<QStyleOptionRubberBand *>(sipSelf);

    sipVal = sipCpp->shape;

    return sipConvertFromEnum(sipVal, sipType_QRubberBand_Shape);
}


extern "C" {static int varset_QStyleOptionRubberBand_shape(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionRubberBand_shape(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRubberBand::Shape sipVal;
    QStyleOptionRubberBand *sipCpp = reinterpret_cast<QStyleOptionRubberBand *>(sipSelf);

    sipVal = (QRubberBand::Shape)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->shape = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionRubberBand[] = {
    {InstanceVariable, sipName_opaque, (PyMethodDef *)varget_QStyleOptionRubberBand_opaque, (PyMethodDef *)varset_QStyleOptionRubberBand_opaque, NULL, NULL},
    {InstanceVariable, sipName_shape, (PyMethodDef *)varget_QStyleOptionRubberBand_shape, (PyMethodDef *)varset_QStyleOptionRubberBand_shape, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionRubberBand, "\1QStyleOptionRubberBand()\n"
    "QStyleOptionRubberBand(QStyleOptionRubberBand)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionRubberBand = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionRubberBand,
        {0}
    },
    {
        sipNameNr_QStyleOptionRubberBand,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionRubberBand,
        2, variables_QStyleOptionRubberBand,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionRubberBand,
    -1,
    -1,
    supers_QStyleOptionRubberBand,
    0,
    init_type_QStyleOptionRubberBand,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionRubberBand,
    assign_QStyleOptionRubberBand,
    array_QStyleOptionRubberBand,
    copy_QStyleOptionRubberBand,
    release_QStyleOptionRubberBand,
    cast_QStyleOptionRubberBand,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 105244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 105248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 105251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 105254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionToolBox(void *, const sipTypeDef *);}
static void *cast_QStyleOptionToolBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionToolBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionToolBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionToolBox(void *, int);}
static void release_QStyleOptionToolBox(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionToolBox *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionToolBox(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionToolBox(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionToolBox *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionToolBox *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionToolBox(SIP_SSIZE_T);}
static void *array_QStyleOptionToolBox(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionToolBox[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionToolBox(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionToolBox(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionToolBox(reinterpret_cast<const QStyleOptionToolBox *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionToolBox(sipSimpleWrapper *);}
static void dealloc_QStyleOptionToolBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionToolBox(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionToolBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionToolBox(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionToolBox *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionToolBox();

            return sipCpp;
        }
    }

    {
        const QStyleOptionToolBox* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionToolBox, &a0))
        {
            sipCpp = new QStyleOptionToolBox(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionToolBox[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionToolBox[] = {
    {sipName_Beginning, static_cast<int>(QStyleOptionToolBox::Beginning), 394},
    {sipName_End, static_cast<int>(QStyleOptionToolBox::End), 394},
    {sipName_Middle, static_cast<int>(QStyleOptionToolBox::Middle), 394},
    {sipName_NextIsSelected, static_cast<int>(QStyleOptionToolBox::NextIsSelected), 391},
    {sipName_NotAdjacent, static_cast<int>(QStyleOptionToolBox::NotAdjacent), 391},
    {sipName_OnlyOneTab, static_cast<int>(QStyleOptionToolBox::OnlyOneTab), 394},
    {sipName_PreviousIsSelected, static_cast<int>(QStyleOptionToolBox::PreviousIsSelected), 391},
    {sipName_Type, static_cast<int>(QStyleOptionToolBox::Type), 392},
    {sipName_Version, static_cast<int>(QStyleOptionToolBox::Version), 393},
};


extern "C" {static PyObject *varget_QStyleOptionToolBox_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBox_icon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QIcon*sipVal;
    QStyleOptionToolBox *sipCpp = reinterpret_cast<QStyleOptionToolBox *>(sipSelf);

    sipVal = &sipCpp->icon;

    sipPy = sipGetReference(sipPySelf, -85);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, NULL);
    sipKeepReference(sipPySelf, -85, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionToolBox_icon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBox_icon(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QIcon*sipVal;
    QStyleOptionToolBox *sipCpp = reinterpret_cast<QStyleOptionToolBox *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QIcon *>(sipForceConvertToType(sipPy,sipType_QIcon,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->icon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolBox_position(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBox_position(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionToolBox::TabPosition sipVal;
    QStyleOptionToolBox *sipCpp = reinterpret_cast<QStyleOptionToolBox *>(sipSelf);

    sipVal = sipCpp->position;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionToolBox_TabPosition);
}


extern "C" {static int varset_QStyleOptionToolBox_position(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBox_position(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionToolBox::TabPosition sipVal;
    QStyleOptionToolBox *sipCpp = reinterpret_cast<QStyleOptionToolBox *>(sipSelf);

    sipVal = (QStyleOptionToolBox::TabPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->position = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolBox_selectedPosition(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBox_selectedPosition(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionToolBox::SelectedPosition sipVal;
    QStyleOptionToolBox *sipCpp = reinterpret_cast<QStyleOptionToolBox *>(sipSelf);

    sipVal = sipCpp->selectedPosition;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionToolBox_SelectedPosition);
}


extern "C" {static int varset_QStyleOptionToolBox_selectedPosition(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBox_selectedPosition(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionToolBox::SelectedPosition sipVal;
    QStyleOptionToolBox *sipCpp = reinterpret_cast<QStyleOptionToolBox *>(sipSelf);

    sipVal = (QStyleOptionToolBox::SelectedPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->selectedPosition = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionToolBox_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionToolBox_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionToolBox *sipCpp = reinterpret_cast<QStyleOptionToolBox *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -86);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -86, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionToolBox_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionToolBox_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionToolBox *sipCpp = reinterpret_cast<QStyleOptionToolBox *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionToolBox[] = {
    {InstanceVariable, sipName_icon, (PyMethodDef *)varget_QStyleOptionToolBox_icon, (PyMethodDef *)varset_QStyleOptionToolBox_icon, NULL, NULL},
    {InstanceVariable, sipName_position, (PyMethodDef *)varget_QStyleOptionToolBox_position, (PyMethodDef *)varset_QStyleOptionToolBox_position, NULL, NULL},
    {InstanceVariable, sipName_selectedPosition, (PyMethodDef *)varget_QStyleOptionToolBox_selectedPosition, (PyMethodDef *)varset_QStyleOptionToolBox_selectedPosition, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionToolBox_text, (PyMethodDef *)varset_QStyleOptionToolBox_text, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionToolBox, "\1QStyleOptionToolBox()\n"
    "QStyleOptionToolBox(QStyleOptionToolBox)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionToolBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionToolBox,
        {0}
    },
    {
        sipNameNr_QStyleOptionToolBox,
        {0, 0, 1},
        0, 0,
        9, enummembers_QStyleOptionToolBox,
        4, variables_QStyleOptionToolBox,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionToolBox,
    -1,
    -1,
    supers_QStyleOptionToolBox,
    0,
    init_type_QStyleOptionToolBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionToolBox,
    assign_QStyleOptionToolBox,
    array_QStyleOptionToolBox,
    copy_QStyleOptionToolBox,
    release_QStyleOptionToolBox,
    cast_QStyleOptionToolBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 105563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 105567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QStyleOptionViewItem_ViewItemFeatures___bool__(PyObject *);}
static int slot_QStyleOptionViewItem_ViewItemFeatures___bool__(PyObject *sipSelf)
{
    QStyleOptionViewItem::ViewItemFeatures *sipCpp = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionViewItem_ViewItemFeatures));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionViewItem::ViewItemFeatures::Int() != 0);
#line 105585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionViewItem::ViewItemFeatures *sipCpp = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionViewItem_ViewItemFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionViewItem::ViewItemFeatures::Int() != a0->operator QStyleOptionViewItem::ViewItemFeatures::Int());
#line 105615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionViewItem::ViewItemFeatures *>(a0),sipType_QStyleOptionViewItem_ViewItemFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QStyleOptionViewItem_ViewItemFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionViewItem::ViewItemFeatures *sipCpp = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionViewItem_ViewItemFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionViewItem::ViewItemFeatures::Int() == a0->operator QStyleOptionViewItem::ViewItemFeatures::Int());
#line 105651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionViewItem::ViewItemFeatures *>(a0),sipType_QStyleOptionViewItem_ViewItemFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QStyleOptionViewItem_ViewItemFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___invert__(PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___invert__(PyObject *sipSelf)
{
    QStyleOptionViewItem::ViewItemFeatures *sipCpp = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionViewItem_ViewItemFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            QStyleOptionViewItem::ViewItemFeatures*sipRes;

            sipRes = new QStyleOptionViewItem::ViewItemFeatures(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem_ViewItemFeatures,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___and__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionViewItem::ViewItemFeatures*sipRes;

            sipRes = new QStyleOptionViewItem::ViewItemFeatures((*a0 & a1));
            sipReleaseType(a0,sipType_QStyleOptionViewItem_ViewItemFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem_ViewItemFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;
        QStyleOptionViewItem::ViewItemFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State, sipType_QStyleOptionViewItem_ViewItemFeatures, &a1, &a1State))
        {
            QStyleOptionViewItem::ViewItemFeatures*sipRes;

            sipRes = new QStyleOptionViewItem::ViewItemFeatures((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QStyleOptionViewItem_ViewItemFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionViewItem_ViewItemFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem_ViewItemFeatures,NULL);
        }
    }

    {
        QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionViewItem::ViewItemFeatures*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionViewItem::ViewItemFeatures(*a0 ^ a1);
#line 105754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionViewItem_ViewItemFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem_ViewItemFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;
        QStyleOptionViewItem::ViewItemFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State, sipType_QStyleOptionViewItem_ViewItemFeatures, &a1, &a1State))
        {
            QStyleOptionViewItem::ViewItemFeatures*sipRes;

            sipRes = new QStyleOptionViewItem::ViewItemFeatures((*a0 | *a1));
            sipReleaseType(a0,sipType_QStyleOptionViewItem_ViewItemFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionViewItem_ViewItemFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem_ViewItemFeatures,NULL);
        }
    }

    {
        QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionViewItem::ViewItemFeatures*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionViewItem::ViewItemFeatures(*a0 | a1);
#line 105804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionViewItem_ViewItemFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem_ViewItemFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___int__(PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___int__(PyObject *sipSelf)
{
    QStyleOptionViewItem::ViewItemFeatures *sipCpp = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionViewItem_ViewItemFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionViewItem_ViewItemFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionViewItem::ViewItemFeatures *sipCpp = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionViewItem_ViewItemFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionViewItem::ViewItemFeatures::operator^=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionViewItem_ViewItemFeatures,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_QStyleOptionViewItem_ViewItemFeatures___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionViewItem_ViewItemFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionViewItem::ViewItemFeatures *sipCpp = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionViewItem_ViewItemFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionViewItem::ViewItemFeatures::operator|=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionViewItem_ViewItemFeatures,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_QStyleOptionViewItem_ViewItemFeatures___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionViewItem_ViewItemFeatures___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionViewItem_ViewItemFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionViewItem::ViewItemFeatures *sipCpp = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionViewItem_ViewItemFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QStyleOptionViewItem::ViewItemFeatures::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionViewItem_ViewItemFeatures(void *, const sipTypeDef *);}
static void *cast_QStyleOptionViewItem_ViewItemFeatures(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleOptionViewItem_ViewItemFeatures)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionViewItem_ViewItemFeatures(void *, int);}
static void release_QStyleOptionViewItem_ViewItemFeatures(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionViewItem_ViewItemFeatures(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionViewItem_ViewItemFeatures(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionViewItem::ViewItemFeatures *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionViewItem_ViewItemFeatures(SIP_SSIZE_T);}
static void *array_QStyleOptionViewItem_ViewItemFeatures(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionViewItem::ViewItemFeatures[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionViewItem_ViewItemFeatures(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionViewItem_ViewItemFeatures(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionViewItem::ViewItemFeatures(reinterpret_cast<const QStyleOptionViewItem::ViewItemFeatures *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionViewItem_ViewItemFeatures(sipSimpleWrapper *);}
static void dealloc_QStyleOptionViewItem_ViewItemFeatures(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionViewItem_ViewItemFeatures(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionViewItem_ViewItemFeatures(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionViewItem_ViewItemFeatures(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionViewItem::ViewItemFeatures *sipCpp = 0;

    {
        const QStyleOptionViewItem::ViewItemFeatures* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyleOptionViewItem_ViewItemFeatures, &a0, &a0State))
        {
            sipCpp = new QStyleOptionViewItem::ViewItemFeatures(*a0);
            sipReleaseType(const_cast<QStyleOptionViewItem::ViewItemFeatures *>(a0),sipType_QStyleOptionViewItem_ViewItemFeatures,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStyleOptionViewItem::ViewItemFeatures(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionViewItem::ViewItemFeatures();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStyleOptionViewItem_ViewItemFeatures(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStyleOptionViewItem_ViewItemFeatures(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStyleOptionViewItem::ViewItemFeatures **sipCppPtr = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStyleOptionViewItem::ViewItemFeatures is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionViewItem_ViewItemFeature)) ||
            sipCanConvertToType(sipPy, sipType_QStyleOptionViewItem_ViewItemFeatures, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionViewItem_ViewItemFeature)))
{
    *sipCppPtr = new QStyleOptionViewItem::ViewItemFeatures(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipConvertToType(sipPy, sipType_QStyleOptionViewItem_ViewItemFeatures, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 106081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionViewItem_ViewItemFeatures[] = {
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___bool__, bool_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___ne__, ne_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___eq__, eq_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___int__, int_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionViewItem_ViewItemFeatures___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionViewItem_ViewItemFeatures, "\1QStyleOptionViewItem.ViewItemFeatures(QStyleOptionViewItem.ViewItemFeatures)\n"
    "QStyleOptionViewItem.ViewItemFeatures(int)\n"
    "QStyleOptionViewItem.ViewItemFeatures()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionViewItem_ViewItemFeatures = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionViewItem__ViewItemFeatures,
        {0}
    },
    {
        sipNameNr_ViewItemFeatures,
        {400, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionViewItem_ViewItemFeatures,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStyleOptionViewItem_ViewItemFeatures,
    init_type_QStyleOptionViewItem_ViewItemFeatures,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionViewItem_ViewItemFeatures,
    assign_QStyleOptionViewItem_ViewItemFeatures,
    array_QStyleOptionViewItem_ViewItemFeatures,
    copy_QStyleOptionViewItem_ViewItemFeatures,
    release_QStyleOptionViewItem_ViewItemFeatures,
    cast_QStyleOptionViewItem_ViewItemFeatures,
    convertTo_QStyleOptionViewItem_ViewItemFeatures,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 106163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 106167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 106170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 106173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 106176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 106179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 106182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 106185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 106188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 106191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 106194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 106197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionViewItem(void *, const sipTypeDef *);}
static void *cast_QStyleOptionViewItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionViewItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionViewItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionViewItem(void *, int);}
static void release_QStyleOptionViewItem(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionViewItem *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionViewItem(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionViewItem(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionViewItem *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionViewItem *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionViewItem(SIP_SSIZE_T);}
static void *array_QStyleOptionViewItem(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionViewItem[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionViewItem(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionViewItem(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionViewItem(reinterpret_cast<const QStyleOptionViewItem *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionViewItem(sipSimpleWrapper *);}
static void dealloc_QStyleOptionViewItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionViewItem(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionViewItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionViewItem(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionViewItem *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionViewItem();

            return sipCpp;
        }
    }

    {
        const QStyleOptionViewItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionViewItem, &a0))
        {
            sipCpp = new QStyleOptionViewItem(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionViewItem[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionViewItem[] = {
    {sipName_Alternate, static_cast<int>(QStyleOptionViewItem::Alternate), 404},
    {sipName_Beginning, static_cast<int>(QStyleOptionViewItem::Beginning), 406},
    {sipName_Bottom, static_cast<int>(QStyleOptionViewItem::Bottom), 401},
    {sipName_End, static_cast<int>(QStyleOptionViewItem::End), 406},
    {sipName_HasCheckIndicator, static_cast<int>(QStyleOptionViewItem::HasCheckIndicator), 404},
    {sipName_HasDecoration, static_cast<int>(QStyleOptionViewItem::HasDecoration), 404},
    {sipName_HasDisplay, static_cast<int>(QStyleOptionViewItem::HasDisplay), 404},
    {sipName_Invalid, static_cast<int>(QStyleOptionViewItem::Invalid), 406},
    {sipName_Left, static_cast<int>(QStyleOptionViewItem::Left), 401},
    {sipName_Middle, static_cast<int>(QStyleOptionViewItem::Middle), 406},
    {sipName_None, static_cast<int>(QStyleOptionViewItem::None), 404},
    {sipName_OnlyOne, static_cast<int>(QStyleOptionViewItem::OnlyOne), 406},
    {sipName_Right, static_cast<int>(QStyleOptionViewItem::Right), 401},
    {sipName_Top, static_cast<int>(QStyleOptionViewItem::Top), 401},
    {sipName_Type, static_cast<int>(QStyleOptionViewItem::Type), 402},
    {sipName_Version, static_cast<int>(QStyleOptionViewItem::Version), 403},
    {sipName_WrapText, static_cast<int>(QStyleOptionViewItem::WrapText), 404},
};


extern "C" {static PyObject *varget_QStyleOptionViewItem_backgroundBrush(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_backgroundBrush(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QBrush*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->backgroundBrush;

    sipPy = sipGetReference(sipPySelf, -87);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QBrush, NULL);
    sipKeepReference(sipPySelf, -87, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_backgroundBrush(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_backgroundBrush(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QBrush*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QBrush *>(sipForceConvertToType(sipPy,sipType_QBrush,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->backgroundBrush = *sipVal;

    sipReleaseType(sipVal, sipType_QBrush, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_checkState(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_checkState(void *sipSelf, PyObject *, PyObject *)
{
    Qt::CheckState sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = sipCpp->checkState;

    return sipConvertFromEnum(sipVal, sipType_Qt_CheckState);
}


extern "C" {static int varset_QStyleOptionViewItem_checkState(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_checkState(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::CheckState sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = (Qt::CheckState)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->checkState = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_decorationAlignment(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_decorationAlignment(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    Qt::Alignment*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->decorationAlignment;

    sipPy = sipGetReference(sipPySelf, -88);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
    sipKeepReference(sipPySelf, -88, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_decorationAlignment(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_decorationAlignment(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Alignment*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<Qt::Alignment *>(sipForceConvertToType(sipPy,sipType_Qt_Alignment,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->decorationAlignment = *sipVal;

    sipReleaseType(sipVal, sipType_Qt_Alignment, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_decorationPosition(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_decorationPosition(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionViewItem::Position sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = sipCpp->decorationPosition;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionViewItem_Position);
}


extern "C" {static int varset_QStyleOptionViewItem_decorationPosition(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_decorationPosition(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionViewItem::Position sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = (QStyleOptionViewItem::Position)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->decorationPosition = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_decorationSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_decorationSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->decorationSize;

    sipPy = sipGetReference(sipPySelf, -89);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -89, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_decorationSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_decorationSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->decorationSize = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_displayAlignment(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_displayAlignment(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    Qt::Alignment*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->displayAlignment;

    sipPy = sipGetReference(sipPySelf, -90);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
    sipKeepReference(sipPySelf, -90, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_displayAlignment(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_displayAlignment(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Alignment*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<Qt::Alignment *>(sipForceConvertToType(sipPy,sipType_Qt_Alignment,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->displayAlignment = *sipVal;

    sipReleaseType(sipVal, sipType_Qt_Alignment, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_features(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyleOptionViewItem::ViewItemFeatures*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->features;

    sipPy = sipGetReference(sipPySelf, -91);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyleOptionViewItem_ViewItemFeatures, NULL);
    sipKeepReference(sipPySelf, -91, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_features(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_features(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionViewItem::ViewItemFeatures*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyleOptionViewItem::ViewItemFeatures *>(sipForceConvertToType(sipPy,sipType_QStyleOptionViewItem_ViewItemFeatures,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->features = *sipVal;

    sipReleaseType(sipVal, sipType_QStyleOptionViewItem_ViewItemFeatures, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_font(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_font(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QFont*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->font;

    sipPy = sipGetReference(sipPySelf, -92);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QFont, NULL);
    sipKeepReference(sipPySelf, -92, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_font(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_font(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QFont*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QFont *>(sipForceConvertToType(sipPy,sipType_QFont,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->font = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_icon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QIcon*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->icon;

    sipPy = sipGetReference(sipPySelf, -93);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, NULL);
    sipKeepReference(sipPySelf, -93, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_icon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_icon(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QIcon*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QIcon *>(sipForceConvertToType(sipPy,sipType_QIcon,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->icon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_index(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_index(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QModelIndex*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->index;

    sipPy = sipGetReference(sipPySelf, -94);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QModelIndex, NULL);
    sipKeepReference(sipPySelf, -94, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_index(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_index(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QModelIndex*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QModelIndex *>(sipForceConvertToType(sipPy,sipType_QModelIndex,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->index = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_locale(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_locale(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QLocale*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->locale;

    sipPy = sipGetReference(sipPySelf, -95);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QLocale, NULL);
    sipKeepReference(sipPySelf, -95, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_locale(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_locale(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QLocale*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QLocale *>(sipForceConvertToType(sipPy,sipType_QLocale,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->locale = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_showDecorationSelected(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_showDecorationSelected(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = sipCpp->showDecorationSelected;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionViewItem_showDecorationSelected(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_showDecorationSelected(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->showDecorationSelected = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -96);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -96, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionViewItem_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_textElideMode(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_textElideMode(void *sipSelf, PyObject *, PyObject *)
{
    Qt::TextElideMode sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = sipCpp->textElideMode;

    return sipConvertFromEnum(sipVal, sipType_Qt_TextElideMode);
}


extern "C" {static int varset_QStyleOptionViewItem_textElideMode(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_textElideMode(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::TextElideMode sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = (Qt::TextElideMode)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->textElideMode = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_viewItemPosition(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_viewItemPosition(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionViewItem::ViewItemPosition sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = sipCpp->viewItemPosition;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionViewItem_ViewItemPosition);
}


extern "C" {static int varset_QStyleOptionViewItem_viewItemPosition(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_viewItemPosition(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionViewItem::ViewItemPosition sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = (QStyleOptionViewItem::ViewItemPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->viewItemPosition = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionViewItem_widget(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionViewItem_widget(void *sipSelf, PyObject *, PyObject *)
{
    const QWidget*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    sipVal = sipCpp->widget;

    return sipConvertFromType(const_cast<QWidget *>(sipVal), sipType_QWidget, NULL);
}


extern "C" {static int varset_QStyleOptionViewItem_widget(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionViewItem_widget(void *sipSelf, PyObject *sipPy, PyObject *)
{
    const QWidget*sipVal;
    QStyleOptionViewItem *sipCpp = reinterpret_cast<QStyleOptionViewItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QWidget *>(sipForceConvertToType(sipPy,sipType_QWidget,NULL,0,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->widget = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionViewItem[] = {
    {InstanceVariable, sipName_backgroundBrush, (PyMethodDef *)varget_QStyleOptionViewItem_backgroundBrush, (PyMethodDef *)varset_QStyleOptionViewItem_backgroundBrush, NULL, NULL},
    {InstanceVariable, sipName_checkState, (PyMethodDef *)varget_QStyleOptionViewItem_checkState, (PyMethodDef *)varset_QStyleOptionViewItem_checkState, NULL, NULL},
    {InstanceVariable, sipName_decorationAlignment, (PyMethodDef *)varget_QStyleOptionViewItem_decorationAlignment, (PyMethodDef *)varset_QStyleOptionViewItem_decorationAlignment, NULL, NULL},
    {InstanceVariable, sipName_decorationPosition, (PyMethodDef *)varget_QStyleOptionViewItem_decorationPosition, (PyMethodDef *)varset_QStyleOptionViewItem_decorationPosition, NULL, NULL},
    {InstanceVariable, sipName_decorationSize, (PyMethodDef *)varget_QStyleOptionViewItem_decorationSize, (PyMethodDef *)varset_QStyleOptionViewItem_decorationSize, NULL, NULL},
    {InstanceVariable, sipName_displayAlignment, (PyMethodDef *)varget_QStyleOptionViewItem_displayAlignment, (PyMethodDef *)varset_QStyleOptionViewItem_displayAlignment, NULL, NULL},
    {InstanceVariable, sipName_features, (PyMethodDef *)varget_QStyleOptionViewItem_features, (PyMethodDef *)varset_QStyleOptionViewItem_features, NULL, NULL},
    {InstanceVariable, sipName_font, (PyMethodDef *)varget_QStyleOptionViewItem_font, (PyMethodDef *)varset_QStyleOptionViewItem_font, NULL, NULL},
    {InstanceVariable, sipName_icon, (PyMethodDef *)varget_QStyleOptionViewItem_icon, (PyMethodDef *)varset_QStyleOptionViewItem_icon, NULL, NULL},
    {InstanceVariable, sipName_index, (PyMethodDef *)varget_QStyleOptionViewItem_index, (PyMethodDef *)varset_QStyleOptionViewItem_index, NULL, NULL},
    {InstanceVariable, sipName_locale, (PyMethodDef *)varget_QStyleOptionViewItem_locale, (PyMethodDef *)varset_QStyleOptionViewItem_locale, NULL, NULL},
    {InstanceVariable, sipName_showDecorationSelected, (PyMethodDef *)varget_QStyleOptionViewItem_showDecorationSelected, (PyMethodDef *)varset_QStyleOptionViewItem_showDecorationSelected, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionViewItem_text, (PyMethodDef *)varset_QStyleOptionViewItem_text, NULL, NULL},
    {InstanceVariable, sipName_textElideMode, (PyMethodDef *)varget_QStyleOptionViewItem_textElideMode, (PyMethodDef *)varset_QStyleOptionViewItem_textElideMode, NULL, NULL},
    {InstanceVariable, sipName_viewItemPosition, (PyMethodDef *)varget_QStyleOptionViewItem_viewItemPosition, (PyMethodDef *)varset_QStyleOptionViewItem_viewItemPosition, NULL, NULL},
    {InstanceVariable, sipName_widget, (PyMethodDef *)varget_QStyleOptionViewItem_widget, (PyMethodDef *)varset_QStyleOptionViewItem_widget, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionViewItem, "\1QStyleOptionViewItem()\n"
    "QStyleOptionViewItem(QStyleOptionViewItem)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionViewItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionViewItem,
        {0}
    },
    {
        sipNameNr_QStyleOptionViewItem,
        {0, 0, 1},
        0, 0,
        17, enummembers_QStyleOptionViewItem,
        16, variables_QStyleOptionViewItem,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionViewItem,
    -1,
    -1,
    supers_QStyleOptionViewItem,
    0,
    init_type_QStyleOptionViewItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionViewItem,
    assign_QStyleOptionViewItem,
    array_QStyleOptionViewItem,
    copy_QStyleOptionViewItem,
    release_QStyleOptionViewItem,
    cast_QStyleOptionViewItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 106968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 106972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 106975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionDockWidget(void *, const sipTypeDef *);}
static void *cast_QStyleOptionDockWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionDockWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionDockWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionDockWidget(void *, int);}
static void release_QStyleOptionDockWidget(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionDockWidget *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionDockWidget(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionDockWidget(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionDockWidget *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionDockWidget *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionDockWidget(SIP_SSIZE_T);}
static void *array_QStyleOptionDockWidget(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionDockWidget[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionDockWidget(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionDockWidget(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionDockWidget(reinterpret_cast<const QStyleOptionDockWidget *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionDockWidget(sipSimpleWrapper *);}
static void dealloc_QStyleOptionDockWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionDockWidget(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionDockWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionDockWidget(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionDockWidget *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionDockWidget();

            return sipCpp;
        }
    }

    {
        const QStyleOptionDockWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionDockWidget, &a0))
        {
            sipCpp = new QStyleOptionDockWidget(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionDockWidget[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionDockWidget[] = {
    {sipName_Type, static_cast<int>(QStyleOptionDockWidget::Type), 324},
    {sipName_Version, static_cast<int>(QStyleOptionDockWidget::Version), 325},
};


extern "C" {static PyObject *varget_QStyleOptionDockWidget_closable(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionDockWidget_closable(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    sipVal = sipCpp->closable;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionDockWidget_closable(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionDockWidget_closable(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->closable = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionDockWidget_floatable(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionDockWidget_floatable(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    sipVal = sipCpp->floatable;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionDockWidget_floatable(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionDockWidget_floatable(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->floatable = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionDockWidget_movable(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionDockWidget_movable(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    sipVal = sipCpp->movable;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionDockWidget_movable(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionDockWidget_movable(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->movable = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionDockWidget_title(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionDockWidget_title(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    sipVal = &sipCpp->title;

    sipPy = sipGetReference(sipPySelf, -97);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -97, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionDockWidget_title(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionDockWidget_title(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->title = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionDockWidget_verticalTitleBar(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionDockWidget_verticalTitleBar(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    sipVal = sipCpp->verticalTitleBar;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionDockWidget_verticalTitleBar(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionDockWidget_verticalTitleBar(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionDockWidget *sipCpp = reinterpret_cast<QStyleOptionDockWidget *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->verticalTitleBar = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionDockWidget[] = {
    {InstanceVariable, sipName_closable, (PyMethodDef *)varget_QStyleOptionDockWidget_closable, (PyMethodDef *)varset_QStyleOptionDockWidget_closable, NULL, NULL},
    {InstanceVariable, sipName_floatable, (PyMethodDef *)varget_QStyleOptionDockWidget_floatable, (PyMethodDef *)varset_QStyleOptionDockWidget_floatable, NULL, NULL},
    {InstanceVariable, sipName_movable, (PyMethodDef *)varget_QStyleOptionDockWidget_movable, (PyMethodDef *)varset_QStyleOptionDockWidget_movable, NULL, NULL},
    {InstanceVariable, sipName_title, (PyMethodDef *)varget_QStyleOptionDockWidget_title, (PyMethodDef *)varset_QStyleOptionDockWidget_title, NULL, NULL},
    {InstanceVariable, sipName_verticalTitleBar, (PyMethodDef *)varget_QStyleOptionDockWidget_verticalTitleBar, (PyMethodDef *)varset_QStyleOptionDockWidget_verticalTitleBar, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionDockWidget, "\1QStyleOptionDockWidget()\n"
    "QStyleOptionDockWidget(QStyleOptionDockWidget)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionDockWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionDockWidget,
        {0}
    },
    {
        sipNameNr_QStyleOptionDockWidget,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionDockWidget,
        5, variables_QStyleOptionDockWidget,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionDockWidget,
    -1,
    -1,
    supers_QStyleOptionDockWidget,
    0,
    init_type_QStyleOptionDockWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionDockWidget,
    assign_QStyleOptionDockWidget,
    array_QStyleOptionDockWidget,
    copy_QStyleOptionDockWidget,
    release_QStyleOptionDockWidget,
    cast_QStyleOptionDockWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 107297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 107301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 107304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 107307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 107310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 107313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionMenuItem(void *, const sipTypeDef *);}
static void *cast_QStyleOptionMenuItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionMenuItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionMenuItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionMenuItem(void *, int);}
static void release_QStyleOptionMenuItem(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionMenuItem *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionMenuItem(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionMenuItem(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionMenuItem *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionMenuItem *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionMenuItem(SIP_SSIZE_T);}
static void *array_QStyleOptionMenuItem(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionMenuItem[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionMenuItem(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionMenuItem(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionMenuItem(reinterpret_cast<const QStyleOptionMenuItem *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionMenuItem(sipSimpleWrapper *);}
static void dealloc_QStyleOptionMenuItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionMenuItem(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionMenuItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionMenuItem(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionMenuItem *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionMenuItem();

            return sipCpp;
        }
    }

    {
        const QStyleOptionMenuItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionMenuItem, &a0))
        {
            sipCpp = new QStyleOptionMenuItem(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionMenuItem[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionMenuItem[] = {
    {sipName_DefaultItem, static_cast<int>(QStyleOptionMenuItem::DefaultItem), 348},
    {sipName_EmptyArea, static_cast<int>(QStyleOptionMenuItem::EmptyArea), 348},
    {sipName_Exclusive, static_cast<int>(QStyleOptionMenuItem::Exclusive), 347},
    {sipName_Margin, static_cast<int>(QStyleOptionMenuItem::Margin), 348},
    {sipName_NonExclusive, static_cast<int>(QStyleOptionMenuItem::NonExclusive), 347},
    {sipName_Normal, static_cast<int>(QStyleOptionMenuItem::Normal), 348},
    {sipName_NotCheckable, static_cast<int>(QStyleOptionMenuItem::NotCheckable), 347},
    {sipName_Scroller, static_cast<int>(QStyleOptionMenuItem::Scroller), 348},
    {sipName_Separator, static_cast<int>(QStyleOptionMenuItem::Separator), 348},
    {sipName_SubMenu, static_cast<int>(QStyleOptionMenuItem::SubMenu), 348},
    {sipName_TearOff, static_cast<int>(QStyleOptionMenuItem::TearOff), 348},
    {sipName_Type, static_cast<int>(QStyleOptionMenuItem::Type), 349},
    {sipName_Version, static_cast<int>(QStyleOptionMenuItem::Version), 350},
};


extern "C" {static PyObject *varget_QStyleOptionMenuItem_checkType(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_checkType(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionMenuItem::CheckType sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->checkType;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionMenuItem_CheckType);
}


extern "C" {static int varset_QStyleOptionMenuItem_checkType(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_checkType(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionMenuItem::CheckType sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = (QStyleOptionMenuItem::CheckType)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->checkType = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_checked(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_checked(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->checked;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionMenuItem_checked(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_checked(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->checked = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_font(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_font(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QFont*sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = &sipCpp->font;

    sipPy = sipGetReference(sipPySelf, -98);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QFont, NULL);
    sipKeepReference(sipPySelf, -98, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionMenuItem_font(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_font(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QFont*sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QFont *>(sipForceConvertToType(sipPy,sipType_QFont,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->font = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_icon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QIcon*sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = &sipCpp->icon;

    sipPy = sipGetReference(sipPySelf, -99);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, NULL);
    sipKeepReference(sipPySelf, -99, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionMenuItem_icon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_icon(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QIcon*sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QIcon *>(sipForceConvertToType(sipPy,sipType_QIcon,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->icon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_maxIconWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_maxIconWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->maxIconWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionMenuItem_maxIconWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_maxIconWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->maxIconWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_menuHasCheckableItems(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_menuHasCheckableItems(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->menuHasCheckableItems;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionMenuItem_menuHasCheckableItems(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_menuHasCheckableItems(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->menuHasCheckableItems = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_menuItemType(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_menuItemType(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionMenuItem::MenuItemType sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->menuItemType;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionMenuItem_MenuItemType);
}


extern "C" {static int varset_QStyleOptionMenuItem_menuItemType(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_menuItemType(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionMenuItem::MenuItemType sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = (QStyleOptionMenuItem::MenuItemType)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->menuItemType = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_menuRect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_menuRect(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QRect*sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = &sipCpp->menuRect;

    sipPy = sipGetReference(sipPySelf, -100);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QRect, NULL);
    sipKeepReference(sipPySelf, -100, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionMenuItem_menuRect(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_menuRect(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRect*sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QRect *>(sipForceConvertToType(sipPy,sipType_QRect,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->menuRect = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_tabWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_tabWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = sipCpp->tabWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionMenuItem_tabWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_tabWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->tabWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionMenuItem_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionMenuItem_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -101);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -101, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionMenuItem_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionMenuItem_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionMenuItem *sipCpp = reinterpret_cast<QStyleOptionMenuItem *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionMenuItem[] = {
    {InstanceVariable, sipName_checkType, (PyMethodDef *)varget_QStyleOptionMenuItem_checkType, (PyMethodDef *)varset_QStyleOptionMenuItem_checkType, NULL, NULL},
    {InstanceVariable, sipName_checked, (PyMethodDef *)varget_QStyleOptionMenuItem_checked, (PyMethodDef *)varset_QStyleOptionMenuItem_checked, NULL, NULL},
    {InstanceVariable, sipName_font, (PyMethodDef *)varget_QStyleOptionMenuItem_font, (PyMethodDef *)varset_QStyleOptionMenuItem_font, NULL, NULL},
    {InstanceVariable, sipName_icon, (PyMethodDef *)varget_QStyleOptionMenuItem_icon, (PyMethodDef *)varset_QStyleOptionMenuItem_icon, NULL, NULL},
    {InstanceVariable, sipName_maxIconWidth, (PyMethodDef *)varget_QStyleOptionMenuItem_maxIconWidth, (PyMethodDef *)varset_QStyleOptionMenuItem_maxIconWidth, NULL, NULL},
    {InstanceVariable, sipName_menuHasCheckableItems, (PyMethodDef *)varget_QStyleOptionMenuItem_menuHasCheckableItems, (PyMethodDef *)varset_QStyleOptionMenuItem_menuHasCheckableItems, NULL, NULL},
    {InstanceVariable, sipName_menuItemType, (PyMethodDef *)varget_QStyleOptionMenuItem_menuItemType, (PyMethodDef *)varset_QStyleOptionMenuItem_menuItemType, NULL, NULL},
    {InstanceVariable, sipName_menuRect, (PyMethodDef *)varget_QStyleOptionMenuItem_menuRect, (PyMethodDef *)varset_QStyleOptionMenuItem_menuRect, NULL, NULL},
    {InstanceVariable, sipName_tabWidth, (PyMethodDef *)varget_QStyleOptionMenuItem_tabWidth, (PyMethodDef *)varset_QStyleOptionMenuItem_tabWidth, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionMenuItem_text, (PyMethodDef *)varset_QStyleOptionMenuItem_text, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionMenuItem, "\1QStyleOptionMenuItem()\n"
    "QStyleOptionMenuItem(QStyleOptionMenuItem)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionMenuItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionMenuItem,
        {0}
    },
    {
        sipNameNr_QStyleOptionMenuItem,
        {0, 0, 1},
        0, 0,
        13, enummembers_QStyleOptionMenuItem,
        10, variables_QStyleOptionMenuItem,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionMenuItem,
    -1,
    -1,
    supers_QStyleOptionMenuItem,
    0,
    init_type_QStyleOptionMenuItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionMenuItem,
    assign_QStyleOptionMenuItem,
    array_QStyleOptionMenuItem,
    copy_QStyleOptionMenuItem,
    release_QStyleOptionMenuItem,
    cast_QStyleOptionMenuItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 107826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 107830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 107833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 107836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 107839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionProgressBar(void *, const sipTypeDef *);}
static void *cast_QStyleOptionProgressBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionProgressBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionProgressBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionProgressBar(void *, int);}
static void release_QStyleOptionProgressBar(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionProgressBar *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionProgressBar(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionProgressBar(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionProgressBar *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionProgressBar *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionProgressBar(SIP_SSIZE_T);}
static void *array_QStyleOptionProgressBar(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionProgressBar[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionProgressBar(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionProgressBar(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionProgressBar(reinterpret_cast<const QStyleOptionProgressBar *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionProgressBar(sipSimpleWrapper *);}
static void dealloc_QStyleOptionProgressBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionProgressBar(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionProgressBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionProgressBar(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionProgressBar *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionProgressBar();

            return sipCpp;
        }
    }

    {
        const QStyleOptionProgressBar* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionProgressBar, &a0))
        {
            sipCpp = new QStyleOptionProgressBar(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionProgressBar[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionProgressBar[] = {
    {sipName_Type, static_cast<int>(QStyleOptionProgressBar::Type), 352},
    {sipName_Version, static_cast<int>(QStyleOptionProgressBar::Version), 353},
};


extern "C" {static PyObject *varget_QStyleOptionProgressBar_bottomToTop(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionProgressBar_bottomToTop(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = sipCpp->bottomToTop;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionProgressBar_bottomToTop(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionProgressBar_bottomToTop(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->bottomToTop = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionProgressBar_invertedAppearance(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionProgressBar_invertedAppearance(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = sipCpp->invertedAppearance;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionProgressBar_invertedAppearance(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionProgressBar_invertedAppearance(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->invertedAppearance = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionProgressBar_maximum(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionProgressBar_maximum(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = sipCpp->maximum;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionProgressBar_maximum(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionProgressBar_maximum(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->maximum = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionProgressBar_minimum(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionProgressBar_minimum(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = sipCpp->minimum;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionProgressBar_minimum(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionProgressBar_minimum(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->minimum = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionProgressBar_orientation(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionProgressBar_orientation(void *sipSelf, PyObject *, PyObject *)
{
    Qt::Orientation sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = sipCpp->orientation;

    return sipConvertFromEnum(sipVal, sipType_Qt_Orientation);
}


extern "C" {static int varset_QStyleOptionProgressBar_orientation(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionProgressBar_orientation(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Orientation sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = (Qt::Orientation)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->orientation = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionProgressBar_progress(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionProgressBar_progress(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = sipCpp->progress;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionProgressBar_progress(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionProgressBar_progress(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->progress = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionProgressBar_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionProgressBar_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -102);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -102, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionProgressBar_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionProgressBar_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionProgressBar_textAlignment(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionProgressBar_textAlignment(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    Qt::Alignment*sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = &sipCpp->textAlignment;

    sipPy = sipGetReference(sipPySelf, -103);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
    sipKeepReference(sipPySelf, -103, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionProgressBar_textAlignment(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionProgressBar_textAlignment(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Alignment*sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<Qt::Alignment *>(sipForceConvertToType(sipPy,sipType_Qt_Alignment,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->textAlignment = *sipVal;

    sipReleaseType(sipVal, sipType_Qt_Alignment, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionProgressBar_textVisible(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionProgressBar_textVisible(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = sipCpp->textVisible;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionProgressBar_textVisible(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionProgressBar_textVisible(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionProgressBar *sipCpp = reinterpret_cast<QStyleOptionProgressBar *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->textVisible = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionProgressBar[] = {
    {InstanceVariable, sipName_bottomToTop, (PyMethodDef *)varget_QStyleOptionProgressBar_bottomToTop, (PyMethodDef *)varset_QStyleOptionProgressBar_bottomToTop, NULL, NULL},
    {InstanceVariable, sipName_invertedAppearance, (PyMethodDef *)varget_QStyleOptionProgressBar_invertedAppearance, (PyMethodDef *)varset_QStyleOptionProgressBar_invertedAppearance, NULL, NULL},
    {InstanceVariable, sipName_maximum, (PyMethodDef *)varget_QStyleOptionProgressBar_maximum, (PyMethodDef *)varset_QStyleOptionProgressBar_maximum, NULL, NULL},
    {InstanceVariable, sipName_minimum, (PyMethodDef *)varget_QStyleOptionProgressBar_minimum, (PyMethodDef *)varset_QStyleOptionProgressBar_minimum, NULL, NULL},
    {InstanceVariable, sipName_orientation, (PyMethodDef *)varget_QStyleOptionProgressBar_orientation, (PyMethodDef *)varset_QStyleOptionProgressBar_orientation, NULL, NULL},
    {InstanceVariable, sipName_progress, (PyMethodDef *)varget_QStyleOptionProgressBar_progress, (PyMethodDef *)varset_QStyleOptionProgressBar_progress, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionProgressBar_text, (PyMethodDef *)varset_QStyleOptionProgressBar_text, NULL, NULL},
    {InstanceVariable, sipName_textAlignment, (PyMethodDef *)varget_QStyleOptionProgressBar_textAlignment, (PyMethodDef *)varset_QStyleOptionProgressBar_textAlignment, NULL, NULL},
    {InstanceVariable, sipName_textVisible, (PyMethodDef *)varget_QStyleOptionProgressBar_textVisible, (PyMethodDef *)varset_QStyleOptionProgressBar_textVisible, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionProgressBar, "\1QStyleOptionProgressBar()\n"
    "QStyleOptionProgressBar(QStyleOptionProgressBar)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionProgressBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionProgressBar,
        {0}
    },
    {
        sipNameNr_QStyleOptionProgressBar,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionProgressBar,
        9, variables_QStyleOptionProgressBar,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionProgressBar,
    -1,
    -1,
    supers_QStyleOptionProgressBar,
    0,
    init_type_QStyleOptionProgressBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionProgressBar,
    assign_QStyleOptionProgressBar,
    array_QStyleOptionProgressBar,
    copy_QStyleOptionProgressBar,
    release_QStyleOptionProgressBar,
    cast_QStyleOptionProgressBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 108294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 108298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QStyleOptionTab_TabFeatures___bool__(PyObject *);}
static int slot_QStyleOptionTab_TabFeatures___bool__(PyObject *sipSelf)
{
    QStyleOptionTab::TabFeatures *sipCpp = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_TabFeatures));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::TabFeatures::Int() != 0);
#line 108316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionTab::TabFeatures *sipCpp = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_TabFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::TabFeatures::Int() != a0->operator QStyleOptionTab::TabFeatures::Int());
#line 108346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionTab::TabFeatures *>(a0),sipType_QStyleOptionTab_TabFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QStyleOptionTab_TabFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionTab::TabFeatures *sipCpp = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_TabFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::TabFeatures::Int() == a0->operator QStyleOptionTab::TabFeatures::Int());
#line 108382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionTab::TabFeatures *>(a0),sipType_QStyleOptionTab_TabFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QStyleOptionTab_TabFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___invert__(PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___invert__(PyObject *sipSelf)
{
    QStyleOptionTab::TabFeatures *sipCpp = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_TabFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            QStyleOptionTab::TabFeatures*sipRes;

            sipRes = new QStyleOptionTab::TabFeatures(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_TabFeatures,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___and__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionTab::TabFeatures*sipRes;

            sipRes = new QStyleOptionTab::TabFeatures((*a0 & a1));
            sipReleaseType(a0,sipType_QStyleOptionTab_TabFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_TabFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;
        QStyleOptionTab::TabFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State, sipType_QStyleOptionTab_TabFeatures, &a1, &a1State))
        {
            QStyleOptionTab::TabFeatures*sipRes;

            sipRes = new QStyleOptionTab::TabFeatures((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QStyleOptionTab_TabFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionTab_TabFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_TabFeatures,NULL);
        }
    }

    {
        QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionTab::TabFeatures*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionTab::TabFeatures(*a0 ^ a1);
#line 108485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionTab_TabFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_TabFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;
        QStyleOptionTab::TabFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State, sipType_QStyleOptionTab_TabFeatures, &a1, &a1State))
        {
            QStyleOptionTab::TabFeatures*sipRes;

            sipRes = new QStyleOptionTab::TabFeatures((*a0 | *a1));
            sipReleaseType(a0,sipType_QStyleOptionTab_TabFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionTab_TabFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_TabFeatures,NULL);
        }
    }

    {
        QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionTab::TabFeatures*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionTab::TabFeatures(*a0 | a1);
#line 108535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionTab_TabFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_TabFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___int__(PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___int__(PyObject *sipSelf)
{
    QStyleOptionTab::TabFeatures *sipCpp = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_TabFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionTab_TabFeatures___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_TabFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionTab::TabFeatures *sipCpp = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_TabFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionTab::TabFeatures::operator^=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionTab_TabFeatures,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_QStyleOptionTab_TabFeatures___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_TabFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionTab::TabFeatures *sipCpp = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_TabFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionTab::TabFeatures::operator|=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionTab_TabFeatures,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_QStyleOptionTab_TabFeatures___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_TabFeatures___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_TabFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionTab::TabFeatures *sipCpp = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_TabFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QStyleOptionTab::TabFeatures::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionTab_TabFeatures(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTab_TabFeatures(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleOptionTab_TabFeatures)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionTab_TabFeatures(void *, int);}
static void release_QStyleOptionTab_TabFeatures(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionTab_TabFeatures(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionTab_TabFeatures(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionTab::TabFeatures *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionTab_TabFeatures(SIP_SSIZE_T);}
static void *array_QStyleOptionTab_TabFeatures(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionTab::TabFeatures[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionTab_TabFeatures(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionTab_TabFeatures(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionTab::TabFeatures(reinterpret_cast<const QStyleOptionTab::TabFeatures *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionTab_TabFeatures(sipSimpleWrapper *);}
static void dealloc_QStyleOptionTab_TabFeatures(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionTab_TabFeatures(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionTab_TabFeatures(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionTab_TabFeatures(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionTab::TabFeatures *sipCpp = 0;

    {
        const QStyleOptionTab::TabFeatures* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyleOptionTab_TabFeatures, &a0, &a0State))
        {
            sipCpp = new QStyleOptionTab::TabFeatures(*a0);
            sipReleaseType(const_cast<QStyleOptionTab::TabFeatures *>(a0),sipType_QStyleOptionTab_TabFeatures,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStyleOptionTab::TabFeatures(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionTab::TabFeatures();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStyleOptionTab_TabFeatures(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStyleOptionTab_TabFeatures(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStyleOptionTab::TabFeatures **sipCppPtr = reinterpret_cast<QStyleOptionTab::TabFeatures **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStyleOptionTab::TabFeatures is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_TabFeature)) ||
            sipCanConvertToType(sipPy, sipType_QStyleOptionTab_TabFeatures, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_TabFeature)))
{
    *sipCppPtr = new QStyleOptionTab::TabFeatures(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipConvertToType(sipPy, sipType_QStyleOptionTab_TabFeatures, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 108812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionTab_TabFeatures[] = {
    {(void *)slot_QStyleOptionTab_TabFeatures___bool__, bool_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___ne__, ne_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___eq__, eq_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___int__, int_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionTab_TabFeatures___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionTab_TabFeatures, "\1QStyleOptionTab.TabFeatures(QStyleOptionTab.TabFeatures)\n"
    "QStyleOptionTab.TabFeatures(int)\n"
    "QStyleOptionTab.TabFeatures()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTab_TabFeatures = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTab__TabFeatures,
        {0}
    },
    {
        sipNameNr_TabFeatures,
        {366, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionTab_TabFeatures,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStyleOptionTab_TabFeatures,
    init_type_QStyleOptionTab_TabFeatures,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionTab_TabFeatures,
    assign_QStyleOptionTab_TabFeatures,
    array_QStyleOptionTab_TabFeatures,
    copy_QStyleOptionTab_TabFeatures,
    release_QStyleOptionTab_TabFeatures,
    cast_QStyleOptionTab_TabFeatures,
    convertTo_QStyleOptionTab_TabFeatures,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 108894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 108898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QStyleOptionTab_CornerWidgets___bool__(PyObject *);}
static int slot_QStyleOptionTab_CornerWidgets___bool__(PyObject *sipSelf)
{
    QStyleOptionTab::CornerWidgets *sipCpp = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_CornerWidgets));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::CornerWidgets::Int() != 0);
#line 108916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionTab::CornerWidgets *sipCpp = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_CornerWidgets));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::CornerWidgets::Int() != a0->operator QStyleOptionTab::CornerWidgets::Int());
#line 108946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionTab::CornerWidgets *>(a0),sipType_QStyleOptionTab_CornerWidgets,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QStyleOptionTab_CornerWidgets,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionTab::CornerWidgets *sipCpp = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_CornerWidgets));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionTab::CornerWidgets::Int() == a0->operator QStyleOptionTab::CornerWidgets::Int());
#line 108982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionTab::CornerWidgets *>(a0),sipType_QStyleOptionTab_CornerWidgets,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QStyleOptionTab_CornerWidgets,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___invert__(PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___invert__(PyObject *sipSelf)
{
    QStyleOptionTab::CornerWidgets *sipCpp = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_CornerWidgets));

    if (!sipCpp)
        return 0;


    {
        {
            QStyleOptionTab::CornerWidgets*sipRes;

            sipRes = new QStyleOptionTab::CornerWidgets(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_CornerWidgets,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___and__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State, &a1))
        {
            QStyleOptionTab::CornerWidgets*sipRes;

            sipRes = new QStyleOptionTab::CornerWidgets((*a0 & a1));
            sipReleaseType(a0,sipType_QStyleOptionTab_CornerWidgets,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_CornerWidgets,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;
        QStyleOptionTab::CornerWidgets* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State, sipType_QStyleOptionTab_CornerWidgets, &a1, &a1State))
        {
            QStyleOptionTab::CornerWidgets*sipRes;

            sipRes = new QStyleOptionTab::CornerWidgets((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QStyleOptionTab_CornerWidgets,a0State);
            sipReleaseType(a1,sipType_QStyleOptionTab_CornerWidgets,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_CornerWidgets,NULL);
        }
    }

    {
        QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State, &a1))
        {
            QStyleOptionTab::CornerWidgets*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionTab::CornerWidgets(*a0 ^ a1);
#line 109085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionTab_CornerWidgets,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_CornerWidgets,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;
        QStyleOptionTab::CornerWidgets* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State, sipType_QStyleOptionTab_CornerWidgets, &a1, &a1State))
        {
            QStyleOptionTab::CornerWidgets*sipRes;

            sipRes = new QStyleOptionTab::CornerWidgets((*a0 | *a1));
            sipReleaseType(a0,sipType_QStyleOptionTab_CornerWidgets,a0State);
            sipReleaseType(a1,sipType_QStyleOptionTab_CornerWidgets,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_CornerWidgets,NULL);
        }
    }

    {
        QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State, &a1))
        {
            QStyleOptionTab::CornerWidgets*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionTab::CornerWidgets(*a0 | a1);
#line 109135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionTab_CornerWidgets,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionTab_CornerWidgets,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___int__(PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___int__(PyObject *sipSelf)
{
    QStyleOptionTab::CornerWidgets *sipCpp = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_CornerWidgets));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionTab_CornerWidgets___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_CornerWidgets)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionTab::CornerWidgets *sipCpp = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_CornerWidgets));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State))
        {
            sipCpp->QStyleOptionTab::CornerWidgets::operator^=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionTab_CornerWidgets,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_QStyleOptionTab_CornerWidgets___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_CornerWidgets)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionTab::CornerWidgets *sipCpp = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_CornerWidgets));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State))
        {
            sipCpp->QStyleOptionTab::CornerWidgets::operator|=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionTab_CornerWidgets,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_QStyleOptionTab_CornerWidgets___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionTab_CornerWidgets___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_CornerWidgets)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionTab::CornerWidgets *sipCpp = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionTab_CornerWidgets));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QStyleOptionTab::CornerWidgets::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionTab_CornerWidgets(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTab_CornerWidgets(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleOptionTab_CornerWidgets)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionTab_CornerWidgets(void *, int);}
static void release_QStyleOptionTab_CornerWidgets(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionTab_CornerWidgets(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionTab_CornerWidgets(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionTab::CornerWidgets *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionTab_CornerWidgets(SIP_SSIZE_T);}
static void *array_QStyleOptionTab_CornerWidgets(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionTab::CornerWidgets[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionTab_CornerWidgets(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionTab_CornerWidgets(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionTab::CornerWidgets(reinterpret_cast<const QStyleOptionTab::CornerWidgets *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionTab_CornerWidgets(sipSimpleWrapper *);}
static void dealloc_QStyleOptionTab_CornerWidgets(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionTab_CornerWidgets(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionTab_CornerWidgets(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionTab_CornerWidgets(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionTab::CornerWidgets *sipCpp = 0;

    {
        const QStyleOptionTab::CornerWidgets* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyleOptionTab_CornerWidgets, &a0, &a0State))
        {
            sipCpp = new QStyleOptionTab::CornerWidgets(*a0);
            sipReleaseType(const_cast<QStyleOptionTab::CornerWidgets *>(a0),sipType_QStyleOptionTab_CornerWidgets,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStyleOptionTab::CornerWidgets(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionTab::CornerWidgets();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStyleOptionTab_CornerWidgets(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStyleOptionTab_CornerWidgets(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStyleOptionTab::CornerWidgets **sipCppPtr = reinterpret_cast<QStyleOptionTab::CornerWidgets **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStyleOptionTab::CornerWidgets is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_CornerWidget)) ||
            sipCanConvertToType(sipPy, sipType_QStyleOptionTab_CornerWidgets, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionTab_CornerWidget)))
{
    *sipCppPtr = new QStyleOptionTab::CornerWidgets(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipConvertToType(sipPy, sipType_QStyleOptionTab_CornerWidgets, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 109412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionTab_CornerWidgets[] = {
    {(void *)slot_QStyleOptionTab_CornerWidgets___bool__, bool_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___ne__, ne_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___eq__, eq_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___invert__, invert_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___and__, and_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___xor__, xor_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___or__, or_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___int__, int_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___ior__, ior_slot},
    {(void *)slot_QStyleOptionTab_CornerWidgets___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionTab_CornerWidgets, "\1QStyleOptionTab.CornerWidgets(QStyleOptionTab.CornerWidgets)\n"
    "QStyleOptionTab.CornerWidgets(int)\n"
    "QStyleOptionTab.CornerWidgets()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTab_CornerWidgets = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTab__CornerWidgets,
        {0}
    },
    {
        sipNameNr_CornerWidgets,
        {366, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionTab_CornerWidgets,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStyleOptionTab_CornerWidgets,
    init_type_QStyleOptionTab_CornerWidgets,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionTab_CornerWidgets,
    assign_QStyleOptionTab_CornerWidgets,
    array_QStyleOptionTab_CornerWidgets,
    copy_QStyleOptionTab_CornerWidgets,
    release_QStyleOptionTab_CornerWidgets,
    cast_QStyleOptionTab_CornerWidgets,
    convertTo_QStyleOptionTab_CornerWidgets,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 109494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 109498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 109501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 109504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 109507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 109510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 109513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 109516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionTab(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTab(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionTab)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionTab *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionTab(void *, int);}
static void release_QStyleOptionTab(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionTab *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionTab(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionTab(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionTab *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionTab *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionTab(SIP_SSIZE_T);}
static void *array_QStyleOptionTab(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionTab[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionTab(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionTab(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionTab(reinterpret_cast<const QStyleOptionTab *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionTab(sipSimpleWrapper *);}
static void dealloc_QStyleOptionTab(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionTab(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionTab(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionTab(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionTab *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionTab();

            return sipCpp;
        }
    }

    {
        const QStyleOptionTab* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionTab, &a0))
        {
            sipCpp = new QStyleOptionTab(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionTab[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionTab[] = {
    {sipName_Beginning, static_cast<int>(QStyleOptionTab::Beginning), 374},
    {sipName_End, static_cast<int>(QStyleOptionTab::End), 374},
    {sipName_HasFrame, static_cast<int>(QStyleOptionTab::HasFrame), 372},
    {sipName_LeftCornerWidget, static_cast<int>(QStyleOptionTab::LeftCornerWidget), 367},
    {sipName_Middle, static_cast<int>(QStyleOptionTab::Middle), 374},
    {sipName_NextIsSelected, static_cast<int>(QStyleOptionTab::NextIsSelected), 369},
    {sipName_NoCornerWidgets, static_cast<int>(QStyleOptionTab::NoCornerWidgets), 367},
    {sipName_None, static_cast<int>(QStyleOptionTab::None), 372},
    {sipName_NotAdjacent, static_cast<int>(QStyleOptionTab::NotAdjacent), 369},
    {sipName_OnlyOneTab, static_cast<int>(QStyleOptionTab::OnlyOneTab), 374},
    {sipName_PreviousIsSelected, static_cast<int>(QStyleOptionTab::PreviousIsSelected), 369},
    {sipName_RightCornerWidget, static_cast<int>(QStyleOptionTab::RightCornerWidget), 367},
    {sipName_Type, static_cast<int>(QStyleOptionTab::Type), 370},
    {sipName_Version, static_cast<int>(QStyleOptionTab::Version), 371},
};


extern "C" {static PyObject *varget_QStyleOptionTab_cornerWidgets(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_cornerWidgets(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyleOptionTab::CornerWidgets*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->cornerWidgets;

    sipPy = sipGetReference(sipPySelf, -104);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyleOptionTab_CornerWidgets, NULL);
    sipKeepReference(sipPySelf, -104, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTab_cornerWidgets(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_cornerWidgets(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionTab::CornerWidgets*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyleOptionTab::CornerWidgets *>(sipForceConvertToType(sipPy,sipType_QStyleOptionTab_CornerWidgets,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->cornerWidgets = *sipVal;

    sipReleaseType(sipVal, sipType_QStyleOptionTab_CornerWidgets, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_documentMode(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_documentMode(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = sipCpp->documentMode;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionTab_documentMode(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_documentMode(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->documentMode = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_features(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyleOptionTab::TabFeatures*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->features;

    sipPy = sipGetReference(sipPySelf, -105);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyleOptionTab_TabFeatures, NULL);
    sipKeepReference(sipPySelf, -105, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTab_features(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_features(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionTab::TabFeatures*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyleOptionTab::TabFeatures *>(sipForceConvertToType(sipPy,sipType_QStyleOptionTab_TabFeatures,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->features = *sipVal;

    sipReleaseType(sipVal, sipType_QStyleOptionTab_TabFeatures, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_icon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QIcon*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->icon;

    sipPy = sipGetReference(sipPySelf, -106);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, NULL);
    sipKeepReference(sipPySelf, -106, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTab_icon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_icon(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QIcon*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QIcon *>(sipForceConvertToType(sipPy,sipType_QIcon,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->icon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_iconSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_iconSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->iconSize;

    sipPy = sipGetReference(sipPySelf, -107);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -107, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTab_iconSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_iconSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->iconSize = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_leftButtonSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_leftButtonSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->leftButtonSize;

    sipPy = sipGetReference(sipPySelf, -108);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -108, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTab_leftButtonSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_leftButtonSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->leftButtonSize = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_position(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_position(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionTab::TabPosition sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = sipCpp->position;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionTab_TabPosition);
}


extern "C" {static int varset_QStyleOptionTab_position(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_position(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionTab::TabPosition sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = (QStyleOptionTab::TabPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->position = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_rightButtonSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_rightButtonSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->rightButtonSize;

    sipPy = sipGetReference(sipPySelf, -109);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -109, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTab_rightButtonSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_rightButtonSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->rightButtonSize = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_row(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_row(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = sipCpp->row;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionTab_row(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_row(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->row = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_selectedPosition(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_selectedPosition(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionTab::SelectedPosition sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = sipCpp->selectedPosition;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionTab_SelectedPosition);
}


extern "C" {static int varset_QStyleOptionTab_selectedPosition(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_selectedPosition(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionTab::SelectedPosition sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = (QStyleOptionTab::SelectedPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->selectedPosition = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_shape(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_shape(void *sipSelf, PyObject *, PyObject *)
{
    QTabBar::Shape sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = sipCpp->shape;

    return sipConvertFromEnum(sipVal, sipType_QTabBar_Shape);
}


extern "C" {static int varset_QStyleOptionTab_shape(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_shape(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QTabBar::Shape sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = (QTabBar::Shape)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->shape = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTab_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTab_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -110);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -110, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTab_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTab_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionTab *sipCpp = reinterpret_cast<QStyleOptionTab *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionTab[] = {
    {InstanceVariable, sipName_cornerWidgets, (PyMethodDef *)varget_QStyleOptionTab_cornerWidgets, (PyMethodDef *)varset_QStyleOptionTab_cornerWidgets, NULL, NULL},
    {InstanceVariable, sipName_documentMode, (PyMethodDef *)varget_QStyleOptionTab_documentMode, (PyMethodDef *)varset_QStyleOptionTab_documentMode, NULL, NULL},
    {InstanceVariable, sipName_features, (PyMethodDef *)varget_QStyleOptionTab_features, (PyMethodDef *)varset_QStyleOptionTab_features, NULL, NULL},
    {InstanceVariable, sipName_icon, (PyMethodDef *)varget_QStyleOptionTab_icon, (PyMethodDef *)varset_QStyleOptionTab_icon, NULL, NULL},
    {InstanceVariable, sipName_iconSize, (PyMethodDef *)varget_QStyleOptionTab_iconSize, (PyMethodDef *)varset_QStyleOptionTab_iconSize, NULL, NULL},
    {InstanceVariable, sipName_leftButtonSize, (PyMethodDef *)varget_QStyleOptionTab_leftButtonSize, (PyMethodDef *)varset_QStyleOptionTab_leftButtonSize, NULL, NULL},
    {InstanceVariable, sipName_position, (PyMethodDef *)varget_QStyleOptionTab_position, (PyMethodDef *)varset_QStyleOptionTab_position, NULL, NULL},
    {InstanceVariable, sipName_rightButtonSize, (PyMethodDef *)varget_QStyleOptionTab_rightButtonSize, (PyMethodDef *)varset_QStyleOptionTab_rightButtonSize, NULL, NULL},
    {InstanceVariable, sipName_row, (PyMethodDef *)varget_QStyleOptionTab_row, (PyMethodDef *)varset_QStyleOptionTab_row, NULL, NULL},
    {InstanceVariable, sipName_selectedPosition, (PyMethodDef *)varget_QStyleOptionTab_selectedPosition, (PyMethodDef *)varset_QStyleOptionTab_selectedPosition, NULL, NULL},
    {InstanceVariable, sipName_shape, (PyMethodDef *)varget_QStyleOptionTab_shape, (PyMethodDef *)varset_QStyleOptionTab_shape, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionTab_text, (PyMethodDef *)varset_QStyleOptionTab_text, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionTab, "\1QStyleOptionTab()\n"
    "QStyleOptionTab(QStyleOptionTab)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTab = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTab,
        {0}
    },
    {
        sipNameNr_QStyleOptionTab,
        {0, 0, 1},
        0, 0,
        14, enummembers_QStyleOptionTab,
        12, variables_QStyleOptionTab,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionTab,
    -1,
    -1,
    supers_QStyleOptionTab,
    0,
    init_type_QStyleOptionTab,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionTab,
    assign_QStyleOptionTab,
    array_QStyleOptionTab,
    copy_QStyleOptionTab,
    release_QStyleOptionTab,
    cast_QStyleOptionTab,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 110126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 110130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QStyleOptionButton_ButtonFeatures___bool__(PyObject *);}
static int slot_QStyleOptionButton_ButtonFeatures___bool__(PyObject *sipSelf)
{
    QStyleOptionButton::ButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionButton_ButtonFeatures));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionButton::ButtonFeatures::Int() != 0);
#line 110148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionButton::ButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionButton_ButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionButton::ButtonFeatures::Int() != a0->operator QStyleOptionButton::ButtonFeatures::Int());
#line 110178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionButton::ButtonFeatures *>(a0),sipType_QStyleOptionButton_ButtonFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QStyleOptionButton_ButtonFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionButton::ButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionButton_ButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionButton::ButtonFeatures::Int() == a0->operator QStyleOptionButton::ButtonFeatures::Int());
#line 110214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionButton::ButtonFeatures *>(a0),sipType_QStyleOptionButton_ButtonFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QStyleOptionButton_ButtonFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___invert__(PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___invert__(PyObject *sipSelf)
{
    QStyleOptionButton::ButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionButton_ButtonFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            QStyleOptionButton::ButtonFeatures*sipRes;

            sipRes = new QStyleOptionButton::ButtonFeatures(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionButton_ButtonFeatures,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___and__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionButton::ButtonFeatures*sipRes;

            sipRes = new QStyleOptionButton::ButtonFeatures((*a0 & a1));
            sipReleaseType(a0,sipType_QStyleOptionButton_ButtonFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionButton_ButtonFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;
        QStyleOptionButton::ButtonFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State, sipType_QStyleOptionButton_ButtonFeatures, &a1, &a1State))
        {
            QStyleOptionButton::ButtonFeatures*sipRes;

            sipRes = new QStyleOptionButton::ButtonFeatures((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QStyleOptionButton_ButtonFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionButton_ButtonFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionButton_ButtonFeatures,NULL);
        }
    }

    {
        QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionButton::ButtonFeatures*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionButton::ButtonFeatures(*a0 ^ a1);
#line 110317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionButton_ButtonFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionButton_ButtonFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;
        QStyleOptionButton::ButtonFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State, sipType_QStyleOptionButton_ButtonFeatures, &a1, &a1State))
        {
            QStyleOptionButton::ButtonFeatures*sipRes;

            sipRes = new QStyleOptionButton::ButtonFeatures((*a0 | *a1));
            sipReleaseType(a0,sipType_QStyleOptionButton_ButtonFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionButton_ButtonFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionButton_ButtonFeatures,NULL);
        }
    }

    {
        QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionButton::ButtonFeatures*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionButton::ButtonFeatures(*a0 | a1);
#line 110367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionButton_ButtonFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionButton_ButtonFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___int__(PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___int__(PyObject *sipSelf)
{
    QStyleOptionButton::ButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionButton_ButtonFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionButton_ButtonFeatures___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionButton_ButtonFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionButton::ButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionButton_ButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionButton::ButtonFeatures::operator^=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionButton_ButtonFeatures,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_QStyleOptionButton_ButtonFeatures___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionButton_ButtonFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionButton::ButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionButton_ButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionButton::ButtonFeatures::operator|=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionButton_ButtonFeatures,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_QStyleOptionButton_ButtonFeatures___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionButton_ButtonFeatures___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionButton_ButtonFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionButton::ButtonFeatures *sipCpp = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionButton_ButtonFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QStyleOptionButton::ButtonFeatures::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionButton_ButtonFeatures(void *, const sipTypeDef *);}
static void *cast_QStyleOptionButton_ButtonFeatures(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleOptionButton_ButtonFeatures)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionButton_ButtonFeatures(void *, int);}
static void release_QStyleOptionButton_ButtonFeatures(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionButton_ButtonFeatures(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionButton_ButtonFeatures(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionButton::ButtonFeatures *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionButton_ButtonFeatures(SIP_SSIZE_T);}
static void *array_QStyleOptionButton_ButtonFeatures(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionButton::ButtonFeatures[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionButton_ButtonFeatures(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionButton_ButtonFeatures(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionButton::ButtonFeatures(reinterpret_cast<const QStyleOptionButton::ButtonFeatures *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionButton_ButtonFeatures(sipSimpleWrapper *);}
static void dealloc_QStyleOptionButton_ButtonFeatures(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionButton_ButtonFeatures(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionButton_ButtonFeatures(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionButton_ButtonFeatures(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionButton::ButtonFeatures *sipCpp = 0;

    {
        const QStyleOptionButton::ButtonFeatures* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyleOptionButton_ButtonFeatures, &a0, &a0State))
        {
            sipCpp = new QStyleOptionButton::ButtonFeatures(*a0);
            sipReleaseType(const_cast<QStyleOptionButton::ButtonFeatures *>(a0),sipType_QStyleOptionButton_ButtonFeatures,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStyleOptionButton::ButtonFeatures(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionButton::ButtonFeatures();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStyleOptionButton_ButtonFeatures(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStyleOptionButton_ButtonFeatures(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStyleOptionButton::ButtonFeatures **sipCppPtr = reinterpret_cast<QStyleOptionButton::ButtonFeatures **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStyleOptionButton::ButtonFeatures is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionButton_ButtonFeature)) ||
            sipCanConvertToType(sipPy, sipType_QStyleOptionButton_ButtonFeatures, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionButton_ButtonFeature)))
{
    *sipCppPtr = new QStyleOptionButton::ButtonFeatures(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipConvertToType(sipPy, sipType_QStyleOptionButton_ButtonFeatures, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 110644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionButton_ButtonFeatures[] = {
    {(void *)slot_QStyleOptionButton_ButtonFeatures___bool__, bool_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___ne__, ne_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___eq__, eq_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___int__, int_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionButton_ButtonFeatures___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionButton_ButtonFeatures, "\1QStyleOptionButton.ButtonFeatures(QStyleOptionButton.ButtonFeatures)\n"
    "QStyleOptionButton.ButtonFeatures(int)\n"
    "QStyleOptionButton.ButtonFeatures()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionButton_ButtonFeatures = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionButton__ButtonFeatures,
        {0}
    },
    {
        sipNameNr_ButtonFeatures,
        {312, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionButton_ButtonFeatures,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStyleOptionButton_ButtonFeatures,
    init_type_QStyleOptionButton_ButtonFeatures,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionButton_ButtonFeatures,
    assign_QStyleOptionButton_ButtonFeatures,
    array_QStyleOptionButton_ButtonFeatures,
    copy_QStyleOptionButton_ButtonFeatures,
    release_QStyleOptionButton_ButtonFeatures,
    cast_QStyleOptionButton_ButtonFeatures,
    convertTo_QStyleOptionButton_ButtonFeatures,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 110726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 110730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 110733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 110736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 110739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 110742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionButton(void *, const sipTypeDef *);}
static void *cast_QStyleOptionButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionButton(void *, int);}
static void release_QStyleOptionButton(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionButton *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionButton(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionButton(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionButton *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionButton *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionButton(SIP_SSIZE_T);}
static void *array_QStyleOptionButton(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionButton[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionButton(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionButton(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionButton(reinterpret_cast<const QStyleOptionButton *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionButton(sipSimpleWrapper *);}
static void dealloc_QStyleOptionButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionButton(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionButton(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionButton *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionButton();

            return sipCpp;
        }
    }

    {
        const QStyleOptionButton* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionButton, &a0))
        {
            sipCpp = new QStyleOptionButton(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionButton[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionButton[] = {
    {sipName_AutoDefaultButton, static_cast<int>(QStyleOptionButton::AutoDefaultButton), 313},
    {sipName_CommandLinkButton, static_cast<int>(QStyleOptionButton::CommandLinkButton), 313},
    {sipName_DefaultButton, static_cast<int>(QStyleOptionButton::DefaultButton), 313},
    {sipName_Flat, static_cast<int>(QStyleOptionButton::Flat), 313},
    {sipName_HasMenu, static_cast<int>(QStyleOptionButton::HasMenu), 313},
    {sipName_None, static_cast<int>(QStyleOptionButton::None), 313},
    {sipName_Type, static_cast<int>(QStyleOptionButton::Type), 315},
    {sipName_Version, static_cast<int>(QStyleOptionButton::Version), 316},
};


extern "C" {static PyObject *varget_QStyleOptionButton_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionButton_features(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyleOptionButton::ButtonFeatures*sipVal;
    QStyleOptionButton *sipCpp = reinterpret_cast<QStyleOptionButton *>(sipSelf);

    sipVal = &sipCpp->features;

    sipPy = sipGetReference(sipPySelf, -111);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyleOptionButton_ButtonFeatures, NULL);
    sipKeepReference(sipPySelf, -111, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionButton_features(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionButton_features(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionButton::ButtonFeatures*sipVal;
    QStyleOptionButton *sipCpp = reinterpret_cast<QStyleOptionButton *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyleOptionButton::ButtonFeatures *>(sipForceConvertToType(sipPy,sipType_QStyleOptionButton_ButtonFeatures,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->features = *sipVal;

    sipReleaseType(sipVal, sipType_QStyleOptionButton_ButtonFeatures, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionButton_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionButton_icon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QIcon*sipVal;
    QStyleOptionButton *sipCpp = reinterpret_cast<QStyleOptionButton *>(sipSelf);

    sipVal = &sipCpp->icon;

    sipPy = sipGetReference(sipPySelf, -112);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, NULL);
    sipKeepReference(sipPySelf, -112, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionButton_icon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionButton_icon(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QIcon*sipVal;
    QStyleOptionButton *sipCpp = reinterpret_cast<QStyleOptionButton *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QIcon *>(sipForceConvertToType(sipPy,sipType_QIcon,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->icon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionButton_iconSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionButton_iconSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionButton *sipCpp = reinterpret_cast<QStyleOptionButton *>(sipSelf);

    sipVal = &sipCpp->iconSize;

    sipPy = sipGetReference(sipPySelf, -113);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -113, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionButton_iconSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionButton_iconSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionButton *sipCpp = reinterpret_cast<QStyleOptionButton *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->iconSize = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionButton_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionButton_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionButton *sipCpp = reinterpret_cast<QStyleOptionButton *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -114);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -114, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionButton_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionButton_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionButton *sipCpp = reinterpret_cast<QStyleOptionButton *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionButton[] = {
    {InstanceVariable, sipName_features, (PyMethodDef *)varget_QStyleOptionButton_features, (PyMethodDef *)varset_QStyleOptionButton_features, NULL, NULL},
    {InstanceVariable, sipName_icon, (PyMethodDef *)varget_QStyleOptionButton_icon, (PyMethodDef *)varset_QStyleOptionButton_icon, NULL, NULL},
    {InstanceVariable, sipName_iconSize, (PyMethodDef *)varget_QStyleOptionButton_iconSize, (PyMethodDef *)varset_QStyleOptionButton_iconSize, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionButton_text, (PyMethodDef *)varset_QStyleOptionButton_text, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionButton, "\1QStyleOptionButton()\n"
    "QStyleOptionButton(QStyleOptionButton)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionButton,
        {0}
    },
    {
        sipNameNr_QStyleOptionButton,
        {0, 0, 1},
        0, 0,
        8, enummembers_QStyleOptionButton,
        4, variables_QStyleOptionButton,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionButton,
    -1,
    -1,
    supers_QStyleOptionButton,
    0,
    init_type_QStyleOptionButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionButton,
    assign_QStyleOptionButton,
    array_QStyleOptionButton,
    copy_QStyleOptionButton,
    release_QStyleOptionButton,
    cast_QStyleOptionButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 111073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 111077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 111080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 111083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 111086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 111089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionHeader(void *, const sipTypeDef *);}
static void *cast_QStyleOptionHeader(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionHeader)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionHeader *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionHeader(void *, int);}
static void release_QStyleOptionHeader(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionHeader *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionHeader(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionHeader(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionHeader *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionHeader *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionHeader(SIP_SSIZE_T);}
static void *array_QStyleOptionHeader(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionHeader[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionHeader(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionHeader(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionHeader(reinterpret_cast<const QStyleOptionHeader *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionHeader(sipSimpleWrapper *);}
static void dealloc_QStyleOptionHeader(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionHeader(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionHeader(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionHeader(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionHeader *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionHeader();

            return sipCpp;
        }
    }

    {
        const QStyleOptionHeader* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionHeader, &a0))
        {
            sipCpp = new QStyleOptionHeader(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionHeader[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionHeader[] = {
    {sipName_Beginning, static_cast<int>(QStyleOptionHeader::Beginning), 341},
    {sipName_End, static_cast<int>(QStyleOptionHeader::End), 341},
    {sipName_Middle, static_cast<int>(QStyleOptionHeader::Middle), 341},
    {sipName_NextAndPreviousAreSelected, static_cast<int>(QStyleOptionHeader::NextAndPreviousAreSelected), 342},
    {sipName_NextIsSelected, static_cast<int>(QStyleOptionHeader::NextIsSelected), 342},
    {sipName_None, static_cast<int>(QStyleOptionHeader::None), 343},
    {sipName_NotAdjacent, static_cast<int>(QStyleOptionHeader::NotAdjacent), 342},
    {sipName_OnlyOneSection, static_cast<int>(QStyleOptionHeader::OnlyOneSection), 341},
    {sipName_PreviousIsSelected, static_cast<int>(QStyleOptionHeader::PreviousIsSelected), 342},
    {sipName_SortDown, static_cast<int>(QStyleOptionHeader::SortDown), 343},
    {sipName_SortUp, static_cast<int>(QStyleOptionHeader::SortUp), 343},
    {sipName_Type, static_cast<int>(QStyleOptionHeader::Type), 344},
    {sipName_Version, static_cast<int>(QStyleOptionHeader::Version), 345},
};


extern "C" {static PyObject *varget_QStyleOptionHeader_icon(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_icon(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QIcon*sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = &sipCpp->icon;

    sipPy = sipGetReference(sipPySelf, -115);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QIcon, NULL);
    sipKeepReference(sipPySelf, -115, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionHeader_icon(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionHeader_icon(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QIcon*sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QIcon *>(sipForceConvertToType(sipPy,sipType_QIcon,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->icon = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionHeader_iconAlignment(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_iconAlignment(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    Qt::Alignment*sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = &sipCpp->iconAlignment;

    sipPy = sipGetReference(sipPySelf, -116);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
    sipKeepReference(sipPySelf, -116, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionHeader_iconAlignment(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionHeader_iconAlignment(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Alignment*sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<Qt::Alignment *>(sipForceConvertToType(sipPy,sipType_Qt_Alignment,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->iconAlignment = *sipVal;

    sipReleaseType(sipVal, sipType_Qt_Alignment, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionHeader_orientation(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_orientation(void *sipSelf, PyObject *, PyObject *)
{
    Qt::Orientation sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = sipCpp->orientation;

    return sipConvertFromEnum(sipVal, sipType_Qt_Orientation);
}


extern "C" {static int varset_QStyleOptionHeader_orientation(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionHeader_orientation(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Orientation sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = (Qt::Orientation)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->orientation = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionHeader_position(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_position(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionHeader::SectionPosition sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = sipCpp->position;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionHeader_SectionPosition);
}


extern "C" {static int varset_QStyleOptionHeader_position(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionHeader_position(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionHeader::SectionPosition sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = (QStyleOptionHeader::SectionPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->position = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionHeader_section(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_section(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = sipCpp->section;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionHeader_section(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionHeader_section(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->section = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionHeader_selectedPosition(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_selectedPosition(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionHeader::SelectedPosition sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = sipCpp->selectedPosition;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionHeader_SelectedPosition);
}


extern "C" {static int varset_QStyleOptionHeader_selectedPosition(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionHeader_selectedPosition(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionHeader::SelectedPosition sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = (QStyleOptionHeader::SelectedPosition)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->selectedPosition = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionHeader_sortIndicator(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_sortIndicator(void *sipSelf, PyObject *, PyObject *)
{
    QStyleOptionHeader::SortIndicator sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = sipCpp->sortIndicator;

    return sipConvertFromEnum(sipVal, sipType_QStyleOptionHeader_SortIndicator);
}


extern "C" {static int varset_QStyleOptionHeader_sortIndicator(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionHeader_sortIndicator(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionHeader::SortIndicator sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = (QStyleOptionHeader::SortIndicator)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->sortIndicator = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionHeader_text(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_text(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QString*sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = &sipCpp->text;

    sipPy = sipGetReference(sipPySelf, -117);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QString, NULL);
    sipKeepReference(sipPySelf, -117, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionHeader_text(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionHeader_text(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QString*sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->text = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionHeader_textAlignment(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionHeader_textAlignment(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    Qt::Alignment*sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    sipVal = &sipCpp->textAlignment;

    sipPy = sipGetReference(sipPySelf, -118);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_Qt_Alignment, NULL);
    sipKeepReference(sipPySelf, -118, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionHeader_textAlignment(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionHeader_textAlignment(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::Alignment*sipVal;
    QStyleOptionHeader *sipCpp = reinterpret_cast<QStyleOptionHeader *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<Qt::Alignment *>(sipForceConvertToType(sipPy,sipType_Qt_Alignment,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->textAlignment = *sipVal;

    sipReleaseType(sipVal, sipType_Qt_Alignment, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionHeader[] = {
    {InstanceVariable, sipName_icon, (PyMethodDef *)varget_QStyleOptionHeader_icon, (PyMethodDef *)varset_QStyleOptionHeader_icon, NULL, NULL},
    {InstanceVariable, sipName_iconAlignment, (PyMethodDef *)varget_QStyleOptionHeader_iconAlignment, (PyMethodDef *)varset_QStyleOptionHeader_iconAlignment, NULL, NULL},
    {InstanceVariable, sipName_orientation, (PyMethodDef *)varget_QStyleOptionHeader_orientation, (PyMethodDef *)varset_QStyleOptionHeader_orientation, NULL, NULL},
    {InstanceVariable, sipName_position, (PyMethodDef *)varget_QStyleOptionHeader_position, (PyMethodDef *)varset_QStyleOptionHeader_position, NULL, NULL},
    {InstanceVariable, sipName_section, (PyMethodDef *)varget_QStyleOptionHeader_section, (PyMethodDef *)varset_QStyleOptionHeader_section, NULL, NULL},
    {InstanceVariable, sipName_selectedPosition, (PyMethodDef *)varget_QStyleOptionHeader_selectedPosition, (PyMethodDef *)varset_QStyleOptionHeader_selectedPosition, NULL, NULL},
    {InstanceVariable, sipName_sortIndicator, (PyMethodDef *)varget_QStyleOptionHeader_sortIndicator, (PyMethodDef *)varset_QStyleOptionHeader_sortIndicator, NULL, NULL},
    {InstanceVariable, sipName_text, (PyMethodDef *)varget_QStyleOptionHeader_text, (PyMethodDef *)varset_QStyleOptionHeader_text, NULL, NULL},
    {InstanceVariable, sipName_textAlignment, (PyMethodDef *)varget_QStyleOptionHeader_textAlignment, (PyMethodDef *)varset_QStyleOptionHeader_textAlignment, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionHeader, "\1QStyleOptionHeader()\n"
    "QStyleOptionHeader(QStyleOptionHeader)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionHeader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionHeader,
        {0}
    },
    {
        sipNameNr_QStyleOptionHeader,
        {0, 0, 1},
        0, 0,
        13, enummembers_QStyleOptionHeader,
        9, variables_QStyleOptionHeader,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionHeader,
    -1,
    -1,
    supers_QStyleOptionHeader,
    0,
    init_type_QStyleOptionHeader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionHeader,
    assign_QStyleOptionHeader,
    array_QStyleOptionHeader,
    copy_QStyleOptionHeader,
    release_QStyleOptionHeader,
    cast_QStyleOptionHeader,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 111578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 111582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 111585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 111588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionTabBarBase(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTabBarBase(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionTabBarBase)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionTabBarBase *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionTabBarBase(void *, int);}
static void release_QStyleOptionTabBarBase(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionTabBarBase *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionTabBarBase(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionTabBarBase(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionTabBarBase *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionTabBarBase *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionTabBarBase(SIP_SSIZE_T);}
static void *array_QStyleOptionTabBarBase(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionTabBarBase[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionTabBarBase(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionTabBarBase(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionTabBarBase(reinterpret_cast<const QStyleOptionTabBarBase *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionTabBarBase(sipSimpleWrapper *);}
static void dealloc_QStyleOptionTabBarBase(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionTabBarBase(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionTabBarBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionTabBarBase(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionTabBarBase *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionTabBarBase();

            return sipCpp;
        }
    }

    {
        const QStyleOptionTabBarBase* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionTabBarBase, &a0))
        {
            sipCpp = new QStyleOptionTabBarBase(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionTabBarBase[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionTabBarBase[] = {
    {sipName_Type, static_cast<int>(QStyleOptionTabBarBase::Type), 376},
    {sipName_Version, static_cast<int>(QStyleOptionTabBarBase::Version), 377},
};


extern "C" {static PyObject *varget_QStyleOptionTabBarBase_documentMode(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabBarBase_documentMode(void *sipSelf, PyObject *, PyObject *)
{
    bool sipVal;
    QStyleOptionTabBarBase *sipCpp = reinterpret_cast<QStyleOptionTabBarBase *>(sipSelf);

    sipVal = sipCpp->documentMode;

    return PyBool_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionTabBarBase_documentMode(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabBarBase_documentMode(void *sipSelf, PyObject *sipPy, PyObject *)
{
    bool sipVal;
    QStyleOptionTabBarBase *sipCpp = reinterpret_cast<QStyleOptionTabBarBase *>(sipSelf);

    sipVal = (bool)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->documentMode = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabBarBase_selectedTabRect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabBarBase_selectedTabRect(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QRect*sipVal;
    QStyleOptionTabBarBase *sipCpp = reinterpret_cast<QStyleOptionTabBarBase *>(sipSelf);

    sipVal = &sipCpp->selectedTabRect;

    sipPy = sipGetReference(sipPySelf, -119);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QRect, NULL);
    sipKeepReference(sipPySelf, -119, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTabBarBase_selectedTabRect(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabBarBase_selectedTabRect(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRect*sipVal;
    QStyleOptionTabBarBase *sipCpp = reinterpret_cast<QStyleOptionTabBarBase *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QRect *>(sipForceConvertToType(sipPy,sipType_QRect,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->selectedTabRect = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabBarBase_shape(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabBarBase_shape(void *sipSelf, PyObject *, PyObject *)
{
    QTabBar::Shape sipVal;
    QStyleOptionTabBarBase *sipCpp = reinterpret_cast<QStyleOptionTabBarBase *>(sipSelf);

    sipVal = sipCpp->shape;

    return sipConvertFromEnum(sipVal, sipType_QTabBar_Shape);
}


extern "C" {static int varset_QStyleOptionTabBarBase_shape(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabBarBase_shape(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QTabBar::Shape sipVal;
    QStyleOptionTabBarBase *sipCpp = reinterpret_cast<QStyleOptionTabBarBase *>(sipSelf);

    sipVal = (QTabBar::Shape)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->shape = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabBarBase_tabBarRect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabBarBase_tabBarRect(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QRect*sipVal;
    QStyleOptionTabBarBase *sipCpp = reinterpret_cast<QStyleOptionTabBarBase *>(sipSelf);

    sipVal = &sipCpp->tabBarRect;

    sipPy = sipGetReference(sipPySelf, -120);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QRect, NULL);
    sipKeepReference(sipPySelf, -120, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTabBarBase_tabBarRect(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabBarBase_tabBarRect(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRect*sipVal;
    QStyleOptionTabBarBase *sipCpp = reinterpret_cast<QStyleOptionTabBarBase *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QRect *>(sipForceConvertToType(sipPy,sipType_QRect,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->tabBarRect = *sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionTabBarBase[] = {
    {InstanceVariable, sipName_documentMode, (PyMethodDef *)varget_QStyleOptionTabBarBase_documentMode, (PyMethodDef *)varset_QStyleOptionTabBarBase_documentMode, NULL, NULL},
    {InstanceVariable, sipName_selectedTabRect, (PyMethodDef *)varget_QStyleOptionTabBarBase_selectedTabRect, (PyMethodDef *)varset_QStyleOptionTabBarBase_selectedTabRect, NULL, NULL},
    {InstanceVariable, sipName_shape, (PyMethodDef *)varget_QStyleOptionTabBarBase_shape, (PyMethodDef *)varset_QStyleOptionTabBarBase_shape, NULL, NULL},
    {InstanceVariable, sipName_tabBarRect, (PyMethodDef *)varget_QStyleOptionTabBarBase_tabBarRect, (PyMethodDef *)varset_QStyleOptionTabBarBase_tabBarRect, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionTabBarBase, "\1QStyleOptionTabBarBase()\n"
    "QStyleOptionTabBarBase(QStyleOptionTabBarBase)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTabBarBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTabBarBase,
        {0}
    },
    {
        sipNameNr_QStyleOptionTabBarBase,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionTabBarBase,
        4, variables_QStyleOptionTabBarBase,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionTabBarBase,
    -1,
    -1,
    supers_QStyleOptionTabBarBase,
    0,
    init_type_QStyleOptionTabBarBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionTabBarBase,
    assign_QStyleOptionTabBarBase,
    array_QStyleOptionTabBarBase,
    copy_QStyleOptionTabBarBase,
    release_QStyleOptionTabBarBase,
    cast_QStyleOptionTabBarBase,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 111887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 111891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 111894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtabbar.sip"
#include <qtabbar.h>
#line 111897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 111900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionTabWidgetFrame(void *, const sipTypeDef *);}
static void *cast_QStyleOptionTabWidgetFrame(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionTabWidgetFrame)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionTabWidgetFrame *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionTabWidgetFrame(void *, int);}
static void release_QStyleOptionTabWidgetFrame(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionTabWidgetFrame(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionTabWidgetFrame(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionTabWidgetFrame *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionTabWidgetFrame(SIP_SSIZE_T);}
static void *array_QStyleOptionTabWidgetFrame(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionTabWidgetFrame[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionTabWidgetFrame(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionTabWidgetFrame(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionTabWidgetFrame(reinterpret_cast<const QStyleOptionTabWidgetFrame *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionTabWidgetFrame(sipSimpleWrapper *);}
static void dealloc_QStyleOptionTabWidgetFrame(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionTabWidgetFrame(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionTabWidgetFrame(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionTabWidgetFrame(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionTabWidgetFrame *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionTabWidgetFrame();

            return sipCpp;
        }
    }

    {
        const QStyleOptionTabWidgetFrame* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionTabWidgetFrame, &a0))
        {
            sipCpp = new QStyleOptionTabWidgetFrame(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionTabWidgetFrame[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionTabWidgetFrame[] = {
    {sipName_Type, static_cast<int>(QStyleOptionTabWidgetFrame::Type), 379},
    {sipName_Version, static_cast<int>(QStyleOptionTabWidgetFrame::Version), 380},
};


extern "C" {static PyObject *varget_QStyleOptionTabWidgetFrame_leftCornerWidgetSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabWidgetFrame_leftCornerWidgetSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->leftCornerWidgetSize;

    sipPy = sipGetReference(sipPySelf, -121);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -121, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTabWidgetFrame_leftCornerWidgetSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabWidgetFrame_leftCornerWidgetSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->leftCornerWidgetSize = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabWidgetFrame_lineWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabWidgetFrame_lineWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = sipCpp->lineWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionTabWidgetFrame_lineWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabWidgetFrame_lineWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->lineWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabWidgetFrame_midLineWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabWidgetFrame_midLineWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = sipCpp->midLineWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionTabWidgetFrame_midLineWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabWidgetFrame_midLineWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->midLineWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabWidgetFrame_rightCornerWidgetSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabWidgetFrame_rightCornerWidgetSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->rightCornerWidgetSize;

    sipPy = sipGetReference(sipPySelf, -122);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -122, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTabWidgetFrame_rightCornerWidgetSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabWidgetFrame_rightCornerWidgetSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->rightCornerWidgetSize = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabWidgetFrame_selectedTabRect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabWidgetFrame_selectedTabRect(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QRect*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->selectedTabRect;

    sipPy = sipGetReference(sipPySelf, -123);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QRect, NULL);
    sipKeepReference(sipPySelf, -123, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTabWidgetFrame_selectedTabRect(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabWidgetFrame_selectedTabRect(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRect*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QRect *>(sipForceConvertToType(sipPy,sipType_QRect,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->selectedTabRect = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabWidgetFrame_shape(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabWidgetFrame_shape(void *sipSelf, PyObject *, PyObject *)
{
    QTabBar::Shape sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = sipCpp->shape;

    return sipConvertFromEnum(sipVal, sipType_QTabBar_Shape);
}


extern "C" {static int varset_QStyleOptionTabWidgetFrame_shape(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabWidgetFrame_shape(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QTabBar::Shape sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = (QTabBar::Shape)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->shape = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabWidgetFrame_tabBarRect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabWidgetFrame_tabBarRect(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QRect*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->tabBarRect;

    sipPy = sipGetReference(sipPySelf, -124);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QRect, NULL);
    sipKeepReference(sipPySelf, -124, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTabWidgetFrame_tabBarRect(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabWidgetFrame_tabBarRect(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRect*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QRect *>(sipForceConvertToType(sipPy,sipType_QRect,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->tabBarRect = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionTabWidgetFrame_tabBarSize(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionTabWidgetFrame_tabBarSize(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QSize*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    sipVal = &sipCpp->tabBarSize;

    sipPy = sipGetReference(sipPySelf, -125);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QSize, NULL);
    sipKeepReference(sipPySelf, -125, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionTabWidgetFrame_tabBarSize(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionTabWidgetFrame_tabBarSize(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QSize*sipVal;
    QStyleOptionTabWidgetFrame *sipCpp = reinterpret_cast<QStyleOptionTabWidgetFrame *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QSize *>(sipForceConvertToType(sipPy,sipType_QSize,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->tabBarSize = *sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionTabWidgetFrame[] = {
    {InstanceVariable, sipName_leftCornerWidgetSize, (PyMethodDef *)varget_QStyleOptionTabWidgetFrame_leftCornerWidgetSize, (PyMethodDef *)varset_QStyleOptionTabWidgetFrame_leftCornerWidgetSize, NULL, NULL},
    {InstanceVariable, sipName_lineWidth, (PyMethodDef *)varget_QStyleOptionTabWidgetFrame_lineWidth, (PyMethodDef *)varset_QStyleOptionTabWidgetFrame_lineWidth, NULL, NULL},
    {InstanceVariable, sipName_midLineWidth, (PyMethodDef *)varget_QStyleOptionTabWidgetFrame_midLineWidth, (PyMethodDef *)varset_QStyleOptionTabWidgetFrame_midLineWidth, NULL, NULL},
    {InstanceVariable, sipName_rightCornerWidgetSize, (PyMethodDef *)varget_QStyleOptionTabWidgetFrame_rightCornerWidgetSize, (PyMethodDef *)varset_QStyleOptionTabWidgetFrame_rightCornerWidgetSize, NULL, NULL},
    {InstanceVariable, sipName_selectedTabRect, (PyMethodDef *)varget_QStyleOptionTabWidgetFrame_selectedTabRect, (PyMethodDef *)varset_QStyleOptionTabWidgetFrame_selectedTabRect, NULL, NULL},
    {InstanceVariable, sipName_shape, (PyMethodDef *)varget_QStyleOptionTabWidgetFrame_shape, (PyMethodDef *)varset_QStyleOptionTabWidgetFrame_shape, NULL, NULL},
    {InstanceVariable, sipName_tabBarRect, (PyMethodDef *)varget_QStyleOptionTabWidgetFrame_tabBarRect, (PyMethodDef *)varset_QStyleOptionTabWidgetFrame_tabBarRect, NULL, NULL},
    {InstanceVariable, sipName_tabBarSize, (PyMethodDef *)varget_QStyleOptionTabWidgetFrame_tabBarSize, (PyMethodDef *)varset_QStyleOptionTabWidgetFrame_tabBarSize, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionTabWidgetFrame, "\1QStyleOptionTabWidgetFrame()\n"
    "QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionTabWidgetFrame = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionTabWidgetFrame,
        {0}
    },
    {
        sipNameNr_QStyleOptionTabWidgetFrame,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionTabWidgetFrame,
        8, variables_QStyleOptionTabWidgetFrame,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionTabWidgetFrame,
    -1,
    -1,
    supers_QStyleOptionTabWidgetFrame,
    0,
    init_type_QStyleOptionTabWidgetFrame,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionTabWidgetFrame,
    assign_QStyleOptionTabWidgetFrame,
    array_QStyleOptionTabWidgetFrame,
    copy_QStyleOptionTabWidgetFrame,
    release_QStyleOptionTabWidgetFrame,
    cast_QStyleOptionTabWidgetFrame,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 112349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 112353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QStyleOptionFrame_FrameFeatures___bool__(PyObject *);}
static int slot_QStyleOptionFrame_FrameFeatures___bool__(PyObject *sipSelf)
{
    QStyleOptionFrame::FrameFeatures *sipCpp = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionFrame_FrameFeatures));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionFrame::FrameFeatures::Int() != 0);
#line 112371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionFrame::FrameFeatures *sipCpp = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionFrame_FrameFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionFrame::FrameFeatures::Int() != a0->operator QStyleOptionFrame::FrameFeatures::Int());
#line 112401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionFrame::FrameFeatures *>(a0),sipType_QStyleOptionFrame_FrameFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QStyleOptionFrame_FrameFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyleOptionFrame::FrameFeatures *sipCpp = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionFrame_FrameFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyleOptionFrame::FrameFeatures::Int() == a0->operator QStyleOptionFrame::FrameFeatures::Int());
#line 112437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyleOptionFrame::FrameFeatures *>(a0),sipType_QStyleOptionFrame_FrameFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QStyleOptionFrame_FrameFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___invert__(PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___invert__(PyObject *sipSelf)
{
    QStyleOptionFrame::FrameFeatures *sipCpp = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionFrame_FrameFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            QStyleOptionFrame::FrameFeatures*sipRes;

            sipRes = new QStyleOptionFrame::FrameFeatures(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionFrame_FrameFeatures,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___and__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionFrame::FrameFeatures*sipRes;

            sipRes = new QStyleOptionFrame::FrameFeatures((*a0 & a1));
            sipReleaseType(a0,sipType_QStyleOptionFrame_FrameFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionFrame_FrameFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;
        QStyleOptionFrame::FrameFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State, sipType_QStyleOptionFrame_FrameFeatures, &a1, &a1State))
        {
            QStyleOptionFrame::FrameFeatures*sipRes;

            sipRes = new QStyleOptionFrame::FrameFeatures((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QStyleOptionFrame_FrameFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionFrame_FrameFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionFrame_FrameFeatures,NULL);
        }
    }

    {
        QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionFrame::FrameFeatures*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionFrame::FrameFeatures(*a0 ^ a1);
#line 112540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionFrame_FrameFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionFrame_FrameFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;
        QStyleOptionFrame::FrameFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State, sipType_QStyleOptionFrame_FrameFeatures, &a1, &a1State))
        {
            QStyleOptionFrame::FrameFeatures*sipRes;

            sipRes = new QStyleOptionFrame::FrameFeatures((*a0 | *a1));
            sipReleaseType(a0,sipType_QStyleOptionFrame_FrameFeatures,a0State);
            sipReleaseType(a1,sipType_QStyleOptionFrame_FrameFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionFrame_FrameFeatures,NULL);
        }
    }

    {
        QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State, &a1))
        {
            QStyleOptionFrame::FrameFeatures*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QStyleOptionFrame::FrameFeatures(*a0 | a1);
#line 112590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyleOptionFrame_FrameFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionFrame_FrameFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___int__(PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___int__(PyObject *sipSelf)
{
    QStyleOptionFrame::FrameFeatures *sipCpp = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionFrame_FrameFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyleOptionFrame_FrameFeatures___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionFrame_FrameFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionFrame::FrameFeatures *sipCpp = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionFrame_FrameFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionFrame::FrameFeatures::operator^=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionFrame_FrameFeatures,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_QStyleOptionFrame_FrameFeatures___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionFrame_FrameFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionFrame::FrameFeatures *sipCpp = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionFrame_FrameFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State))
        {
            sipCpp->QStyleOptionFrame::FrameFeatures::operator|=(*a0);
            sipReleaseType(a0,sipType_QStyleOptionFrame_FrameFeatures,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_QStyleOptionFrame_FrameFeatures___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStyleOptionFrame_FrameFeatures___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyleOptionFrame_FrameFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyleOptionFrame::FrameFeatures *sipCpp = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyleOptionFrame_FrameFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QStyleOptionFrame::FrameFeatures::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionFrame_FrameFeatures(void *, const sipTypeDef *);}
static void *cast_QStyleOptionFrame_FrameFeatures(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleOptionFrame_FrameFeatures)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionFrame_FrameFeatures(void *, int);}
static void release_QStyleOptionFrame_FrameFeatures(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionFrame_FrameFeatures(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionFrame_FrameFeatures(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionFrame::FrameFeatures *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionFrame_FrameFeatures(SIP_SSIZE_T);}
static void *array_QStyleOptionFrame_FrameFeatures(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionFrame::FrameFeatures[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionFrame_FrameFeatures(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionFrame_FrameFeatures(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionFrame::FrameFeatures(reinterpret_cast<const QStyleOptionFrame::FrameFeatures *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionFrame_FrameFeatures(sipSimpleWrapper *);}
static void dealloc_QStyleOptionFrame_FrameFeatures(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionFrame_FrameFeatures(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionFrame_FrameFeatures(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionFrame_FrameFeatures(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionFrame::FrameFeatures *sipCpp = 0;

    {
        const QStyleOptionFrame::FrameFeatures* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyleOptionFrame_FrameFeatures, &a0, &a0State))
        {
            sipCpp = new QStyleOptionFrame::FrameFeatures(*a0);
            sipReleaseType(const_cast<QStyleOptionFrame::FrameFeatures *>(a0),sipType_QStyleOptionFrame_FrameFeatures,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStyleOptionFrame::FrameFeatures(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionFrame::FrameFeatures();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStyleOptionFrame_FrameFeatures(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStyleOptionFrame_FrameFeatures(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStyleOptionFrame::FrameFeatures **sipCppPtr = reinterpret_cast<QStyleOptionFrame::FrameFeatures **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStyleOptionFrame::FrameFeatures is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionFrame_FrameFeature)) ||
            sipCanConvertToType(sipPy, sipType_QStyleOptionFrame_FrameFeatures, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyleOptionFrame_FrameFeature)))
{
    *sipCppPtr = new QStyleOptionFrame::FrameFeatures(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipConvertToType(sipPy, sipType_QStyleOptionFrame_FrameFeatures, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 112867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyleOptionFrame_FrameFeatures[] = {
    {(void *)slot_QStyleOptionFrame_FrameFeatures___bool__, bool_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___ne__, ne_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___eq__, eq_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___invert__, invert_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___and__, and_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___xor__, xor_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___or__, or_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___int__, int_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___ixor__, ixor_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___ior__, ior_slot},
    {(void *)slot_QStyleOptionFrame_FrameFeatures___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyleOptionFrame_FrameFeatures, "\1QStyleOptionFrame.FrameFeatures(QStyleOptionFrame.FrameFeatures)\n"
    "QStyleOptionFrame.FrameFeatures(int)\n"
    "QStyleOptionFrame.FrameFeatures()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionFrame_FrameFeatures = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionFrame__FrameFeatures,
        {0}
    },
    {
        sipNameNr_FrameFeatures,
        {329, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionFrame_FrameFeatures,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStyleOptionFrame_FrameFeatures,
    init_type_QStyleOptionFrame_FrameFeatures,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionFrame_FrameFeatures,
    assign_QStyleOptionFrame_FrameFeatures,
    array_QStyleOptionFrame_FrameFeatures,
    copy_QStyleOptionFrame_FrameFeatures,
    release_QStyleOptionFrame_FrameFeatures,
    cast_QStyleOptionFrame_FrameFeatures,
    convertTo_QStyleOptionFrame_FrameFeatures,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 112949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 112953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 112956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 112959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionFrame(void *, const sipTypeDef *);}
static void *cast_QStyleOptionFrame(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionFrame)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionFrame *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionFrame(void *, int);}
static void release_QStyleOptionFrame(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionFrame *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionFrame(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionFrame(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionFrame *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionFrame *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionFrame(SIP_SSIZE_T);}
static void *array_QStyleOptionFrame(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionFrame[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionFrame(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionFrame(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionFrame(reinterpret_cast<const QStyleOptionFrame *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionFrame(sipSimpleWrapper *);}
static void dealloc_QStyleOptionFrame(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionFrame(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionFrame(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionFrame(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionFrame *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionFrame();

            return sipCpp;
        }
    }

    {
        const QStyleOptionFrame* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionFrame, &a0))
        {
            sipCpp = new QStyleOptionFrame(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionFrame[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionFrame[] = {
    {sipName_Flat, static_cast<int>(QStyleOptionFrame::Flat), 330},
    {sipName_None, static_cast<int>(QStyleOptionFrame::None), 330},
    {sipName_Rounded, static_cast<int>(QStyleOptionFrame::Rounded), 330},
    {sipName_Type, static_cast<int>(QStyleOptionFrame::Type), 332},
    {sipName_Version, static_cast<int>(QStyleOptionFrame::Version), 333},
};


extern "C" {static PyObject *varget_QStyleOptionFrame_features(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionFrame_features(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyleOptionFrame::FrameFeatures*sipVal;
    QStyleOptionFrame *sipCpp = reinterpret_cast<QStyleOptionFrame *>(sipSelf);

    sipVal = &sipCpp->features;

    sipPy = sipGetReference(sipPySelf, -126);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyleOptionFrame_FrameFeatures, NULL);
    sipKeepReference(sipPySelf, -126, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionFrame_features(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionFrame_features(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyleOptionFrame::FrameFeatures*sipVal;
    QStyleOptionFrame *sipCpp = reinterpret_cast<QStyleOptionFrame *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyleOptionFrame::FrameFeatures *>(sipForceConvertToType(sipPy,sipType_QStyleOptionFrame_FrameFeatures,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->features = *sipVal;

    sipReleaseType(sipVal, sipType_QStyleOptionFrame_FrameFeatures, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionFrame_frameShape(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionFrame_frameShape(void *sipSelf, PyObject *, PyObject *)
{
    QFrame::Shape sipVal;
    QStyleOptionFrame *sipCpp = reinterpret_cast<QStyleOptionFrame *>(sipSelf);

    sipVal = sipCpp->frameShape;

    return sipConvertFromEnum(sipVal, sipType_QFrame_Shape);
}


extern "C" {static int varset_QStyleOptionFrame_frameShape(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionFrame_frameShape(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QFrame::Shape sipVal;
    QStyleOptionFrame *sipCpp = reinterpret_cast<QStyleOptionFrame *>(sipSelf);

    sipVal = (QFrame::Shape)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->frameShape = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionFrame_lineWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionFrame_lineWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionFrame *sipCpp = reinterpret_cast<QStyleOptionFrame *>(sipSelf);

    sipVal = sipCpp->lineWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionFrame_lineWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionFrame_lineWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionFrame *sipCpp = reinterpret_cast<QStyleOptionFrame *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->lineWidth = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOptionFrame_midLineWidth(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionFrame_midLineWidth(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOptionFrame *sipCpp = reinterpret_cast<QStyleOptionFrame *>(sipSelf);

    sipVal = sipCpp->midLineWidth;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOptionFrame_midLineWidth(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionFrame_midLineWidth(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOptionFrame *sipCpp = reinterpret_cast<QStyleOptionFrame *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->midLineWidth = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOptionFrame[] = {
    {InstanceVariable, sipName_features, (PyMethodDef *)varget_QStyleOptionFrame_features, (PyMethodDef *)varset_QStyleOptionFrame_features, NULL, NULL},
    {InstanceVariable, sipName_frameShape, (PyMethodDef *)varget_QStyleOptionFrame_frameShape, (PyMethodDef *)varset_QStyleOptionFrame_frameShape, NULL, NULL},
    {InstanceVariable, sipName_lineWidth, (PyMethodDef *)varget_QStyleOptionFrame_lineWidth, (PyMethodDef *)varset_QStyleOptionFrame_lineWidth, NULL, NULL},
    {InstanceVariable, sipName_midLineWidth, (PyMethodDef *)varget_QStyleOptionFrame_midLineWidth, (PyMethodDef *)varset_QStyleOptionFrame_midLineWidth, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionFrame, "\1QStyleOptionFrame()\n"
    "QStyleOptionFrame(QStyleOptionFrame)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionFrame = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionFrame,
        {0}
    },
    {
        sipNameNr_QStyleOptionFrame,
        {0, 0, 1},
        0, 0,
        5, enummembers_QStyleOptionFrame,
        4, variables_QStyleOptionFrame,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionFrame,
    -1,
    -1,
    supers_QStyleOptionFrame,
    0,
    init_type_QStyleOptionFrame,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionFrame,
    assign_QStyleOptionFrame,
    array_QStyleOptionFrame,
    copy_QStyleOptionFrame,
    release_QStyleOptionFrame,
    cast_QStyleOptionFrame,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 113254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 113258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 113261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOptionFocusRect(void *, const sipTypeDef *);}
static void *cast_QStyleOptionFocusRect(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyleOptionFocusRect)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyleOption)->ctd_cast((QStyleOption *)(QStyleOptionFocusRect *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOptionFocusRect(void *, int);}
static void release_QStyleOptionFocusRect(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOptionFocusRect *>(sipCppV);
}


extern "C" {static void assign_QStyleOptionFocusRect(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOptionFocusRect(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOptionFocusRect *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOptionFocusRect *>(sipSrc);
}


extern "C" {static void *array_QStyleOptionFocusRect(SIP_SSIZE_T);}
static void *array_QStyleOptionFocusRect(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOptionFocusRect[sipNrElem];
}


extern "C" {static void *copy_QStyleOptionFocusRect(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOptionFocusRect(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOptionFocusRect(reinterpret_cast<const QStyleOptionFocusRect *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOptionFocusRect(sipSimpleWrapper *);}
static void dealloc_QStyleOptionFocusRect(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOptionFocusRect(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOptionFocusRect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOptionFocusRect(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOptionFocusRect *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleOptionFocusRect();

            return sipCpp;
        }
    }

    {
        const QStyleOptionFocusRect* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOptionFocusRect, &a0))
        {
            sipCpp = new QStyleOptionFocusRect(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyleOptionFocusRect[] = {{308, 255, 1}};

static sipEnumMemberDef enummembers_QStyleOptionFocusRect[] = {
    {sipName_Type, static_cast<int>(QStyleOptionFocusRect::Type), 327},
    {sipName_Version, static_cast<int>(QStyleOptionFocusRect::Version), 328},
};


extern "C" {static PyObject *varget_QStyleOptionFocusRect_backgroundColor(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOptionFocusRect_backgroundColor(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QColor*sipVal;
    QStyleOptionFocusRect *sipCpp = reinterpret_cast<QStyleOptionFocusRect *>(sipSelf);

    sipVal = &sipCpp->backgroundColor;

    sipPy = sipGetReference(sipPySelf, -127);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QColor, NULL);
    sipKeepReference(sipPySelf, -127, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOptionFocusRect_backgroundColor(void *, PyObject *, PyObject *);}
static int varset_QStyleOptionFocusRect_backgroundColor(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QColor*sipVal;
    QStyleOptionFocusRect *sipCpp = reinterpret_cast<QStyleOptionFocusRect *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QColor *>(sipForceConvertToType(sipPy,sipType_QColor,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->backgroundColor = *sipVal;

    sipReleaseType(sipVal, sipType_QColor, sipValState);

    return 0;
}

sipVariableDef variables_QStyleOptionFocusRect[] = {
    {InstanceVariable, sipName_backgroundColor, (PyMethodDef *)varget_QStyleOptionFocusRect_backgroundColor, (PyMethodDef *)varset_QStyleOptionFocusRect_backgroundColor, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOptionFocusRect, "\1QStyleOptionFocusRect()\n"
    "QStyleOptionFocusRect(QStyleOptionFocusRect)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOptionFocusRect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOptionFocusRect,
        {0}
    },
    {
        sipNameNr_QStyleOptionFocusRect,
        {0, 0, 1},
        0, 0,
        2, enummembers_QStyleOptionFocusRect,
        1, variables_QStyleOptionFocusRect,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOptionFocusRect,
    -1,
    -1,
    supers_QStyleOptionFocusRect,
    0,
    init_type_QStyleOptionFocusRect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOptionFocusRect,
    assign_QStyleOptionFocusRect,
    array_QStyleOptionFocusRect,
    copy_QStyleOptionFocusRect,
    release_QStyleOptionFocusRect,
    cast_QStyleOptionFocusRect,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 113463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 113467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 113470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 113473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 113476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 113479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 113482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 113485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QStyleOption_initFrom, "QStyleOption.initFrom(QWidget)");

extern "C" {static PyObject *meth_QStyleOption_initFrom(PyObject *, PyObject *);}
static PyObject *meth_QStyleOption_initFrom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        QStyleOption *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStyleOption, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->initFrom(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyleOption, sipName_initFrom, doc_QStyleOption_initFrom);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleOption(void *, const sipTypeDef *);}
static void *cast_QStyleOption(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleOption)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleOption(void *, int);}
static void release_QStyleOption(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleOption *>(sipCppV);
}


extern "C" {static void assign_QStyleOption(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleOption(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleOption *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleOption *>(sipSrc);
}


extern "C" {static void *array_QStyleOption(SIP_SSIZE_T);}
static void *array_QStyleOption(SIP_SSIZE_T sipNrElem)
{
    return new QStyleOption[sipNrElem];
}


extern "C" {static void *copy_QStyleOption(const void *, SIP_SSIZE_T);}
static void *copy_QStyleOption(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleOption(reinterpret_cast<const QStyleOption *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleOption(sipSimpleWrapper *);}
static void dealloc_QStyleOption(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleOption(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleOption(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleOption(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleOption *sipCpp = 0;

    {
        int a0 = QStyleOption::Version;
        int a1 = QStyleOption::SO_Default;

        static const char *sipKwdList[] = {
            sipName_version,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|ii", &a0, &a1))
        {
            sipCpp = new QStyleOption(a0,a1);

            return sipCpp;
        }
    }

    {
        const QStyleOption* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleOption, &a0))
        {
            sipCpp = new QStyleOption(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QStyleOption[] = {
    {SIP_MLNAME_CAST(sipName_initFrom), meth_QStyleOption_initFrom, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyleOption_initFrom)}
};

static sipEnumMemberDef enummembers_QStyleOption[] = {
    {sipName_SO_Button, static_cast<int>(QStyleOption::SO_Button), 309},
    {sipName_SO_ComboBox, static_cast<int>(QStyleOption::SO_ComboBox), 309},
    {sipName_SO_Complex, static_cast<int>(QStyleOption::SO_Complex), 309},
    {sipName_SO_ComplexCustomBase, static_cast<int>(QStyleOption::SO_ComplexCustomBase), 309},
    {sipName_SO_CustomBase, static_cast<int>(QStyleOption::SO_CustomBase), 309},
    {sipName_SO_Default, static_cast<int>(QStyleOption::SO_Default), 309},
    {sipName_SO_DockWidget, static_cast<int>(QStyleOption::SO_DockWidget), 309},
    {sipName_SO_FocusRect, static_cast<int>(QStyleOption::SO_FocusRect), 309},
    {sipName_SO_Frame, static_cast<int>(QStyleOption::SO_Frame), 309},
    {sipName_SO_GraphicsItem, static_cast<int>(QStyleOption::SO_GraphicsItem), 309},
    {sipName_SO_GroupBox, static_cast<int>(QStyleOption::SO_GroupBox), 309},
    {sipName_SO_Header, static_cast<int>(QStyleOption::SO_Header), 309},
    {sipName_SO_MenuItem, static_cast<int>(QStyleOption::SO_MenuItem), 309},
    {sipName_SO_ProgressBar, static_cast<int>(QStyleOption::SO_ProgressBar), 309},
    {sipName_SO_RubberBand, static_cast<int>(QStyleOption::SO_RubberBand), 309},
    {sipName_SO_SizeGrip, static_cast<int>(QStyleOption::SO_SizeGrip), 309},
    {sipName_SO_Slider, static_cast<int>(QStyleOption::SO_Slider), 309},
    {sipName_SO_SpinBox, static_cast<int>(QStyleOption::SO_SpinBox), 309},
    {sipName_SO_Tab, static_cast<int>(QStyleOption::SO_Tab), 309},
    {sipName_SO_TabBarBase, static_cast<int>(QStyleOption::SO_TabBarBase), 309},
    {sipName_SO_TabWidgetFrame, static_cast<int>(QStyleOption::SO_TabWidgetFrame), 309},
    {sipName_SO_TitleBar, static_cast<int>(QStyleOption::SO_TitleBar), 309},
    {sipName_SO_ToolBar, static_cast<int>(QStyleOption::SO_ToolBar), 309},
    {sipName_SO_ToolBox, static_cast<int>(QStyleOption::SO_ToolBox), 309},
    {sipName_SO_ToolButton, static_cast<int>(QStyleOption::SO_ToolButton), 309},
    {sipName_SO_ViewItem, static_cast<int>(QStyleOption::SO_ViewItem), 309},
    {sipName_Type, static_cast<int>(QStyleOption::Type), 310},
    {sipName_Version, static_cast<int>(QStyleOption::Version), 311},
};


extern "C" {static PyObject *varget_QStyleOption_direction(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOption_direction(void *sipSelf, PyObject *, PyObject *)
{
    Qt::LayoutDirection sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = sipCpp->direction;

    return sipConvertFromEnum(sipVal, sipType_Qt_LayoutDirection);
}


extern "C" {static int varset_QStyleOption_direction(void *, PyObject *, PyObject *);}
static int varset_QStyleOption_direction(void *sipSelf, PyObject *sipPy, PyObject *)
{
    Qt::LayoutDirection sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = (Qt::LayoutDirection)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->direction = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOption_fontMetrics(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOption_fontMetrics(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QFontMetrics*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = &sipCpp->fontMetrics;

    sipPy = sipGetReference(sipPySelf, -128);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QFontMetrics, NULL);
    sipKeepReference(sipPySelf, -128, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOption_fontMetrics(void *, PyObject *, PyObject *);}
static int varset_QStyleOption_fontMetrics(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QFontMetrics*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QFontMetrics *>(sipForceConvertToType(sipPy,sipType_QFontMetrics,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->fontMetrics = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOption_palette(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOption_palette(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QPalette*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = &sipCpp->palette;

    sipPy = sipGetReference(sipPySelf, -129);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QPalette, NULL);
    sipKeepReference(sipPySelf, -129, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOption_palette(void *, PyObject *, PyObject *);}
static int varset_QStyleOption_palette(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QPalette*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QPalette *>(sipForceConvertToType(sipPy,sipType_QPalette,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->palette = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOption_rect(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOption_rect(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QRect*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = &sipCpp->rect;

    sipPy = sipGetReference(sipPySelf, -130);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QRect, NULL);
    sipKeepReference(sipPySelf, -130, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOption_rect(void *, PyObject *, PyObject *);}
static int varset_QStyleOption_rect(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QRect*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QRect *>(sipForceConvertToType(sipPy,sipType_QRect,NULL,SIP_NOT_NONE,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->rect = *sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOption_state(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOption_state(void *sipSelf, PyObject *sipPySelf, PyObject *)
{
    PyObject *sipPy;
    QStyle::State*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = &sipCpp->state;

    sipPy = sipGetReference(sipPySelf, -131);
    if (sipPy)
        return sipPy;

    sipPy = sipConvertFromType(sipVal, sipType_QStyle_State, NULL);
    sipKeepReference(sipPySelf, -131, sipPy);

    return sipPy;
}


extern "C" {static int varset_QStyleOption_state(void *, PyObject *, PyObject *);}
static int varset_QStyleOption_state(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QStyle::State*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QStyle::State *>(sipForceConvertToType(sipPy,sipType_QStyle_State,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->state = *sipVal;

    sipReleaseType(sipVal, sipType_QStyle_State, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QStyleOption_styleObject(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOption_styleObject(void *sipSelf, PyObject *, PyObject *)
{
    QObject*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = sipCpp->styleObject;

    return sipConvertFromType(sipVal, sipType_QObject, NULL);
}


extern "C" {static int varset_QStyleOption_styleObject(void *, PyObject *, PyObject *);}
static int varset_QStyleOption_styleObject(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QObject*sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    int sipIsErr = 0;

    sipVal = reinterpret_cast<QObject *>(sipForceConvertToType(sipPy,sipType_QObject,NULL,0,NULL,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->styleObject = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOption_type(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOption_type(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = sipCpp->type;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOption_type(void *, PyObject *, PyObject *);}
static int varset_QStyleOption_type(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->type = sipVal;

    return 0;
}


extern "C" {static PyObject *varget_QStyleOption_version(void *, PyObject *, PyObject *);}
static PyObject *varget_QStyleOption_version(void *sipSelf, PyObject *, PyObject *)
{
    int sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = sipCpp->version;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static int varset_QStyleOption_version(void *, PyObject *, PyObject *);}
static int varset_QStyleOption_version(void *sipSelf, PyObject *sipPy, PyObject *)
{
    int sipVal;
    QStyleOption *sipCpp = reinterpret_cast<QStyleOption *>(sipSelf);

    sipVal = (int)SIPLong_AsLong(sipPy);

    if (PyErr_Occurred() != NULL)
        return -1;

    sipCpp->version = sipVal;

    return 0;
}

sipVariableDef variables_QStyleOption[] = {
    {InstanceVariable, sipName_direction, (PyMethodDef *)varget_QStyleOption_direction, (PyMethodDef *)varset_QStyleOption_direction, NULL, NULL},
    {InstanceVariable, sipName_fontMetrics, (PyMethodDef *)varget_QStyleOption_fontMetrics, (PyMethodDef *)varset_QStyleOption_fontMetrics, NULL, NULL},
    {InstanceVariable, sipName_palette, (PyMethodDef *)varget_QStyleOption_palette, (PyMethodDef *)varset_QStyleOption_palette, NULL, NULL},
    {InstanceVariable, sipName_rect, (PyMethodDef *)varget_QStyleOption_rect, (PyMethodDef *)varset_QStyleOption_rect, NULL, NULL},
    {InstanceVariable, sipName_state, (PyMethodDef *)varget_QStyleOption_state, (PyMethodDef *)varset_QStyleOption_state, NULL, NULL},
    {InstanceVariable, sipName_styleObject, (PyMethodDef *)varget_QStyleOption_styleObject, (PyMethodDef *)varset_QStyleOption_styleObject, NULL, NULL},
    {InstanceVariable, sipName_type, (PyMethodDef *)varget_QStyleOption_type, (PyMethodDef *)varset_QStyleOption_type, NULL, NULL},
    {InstanceVariable, sipName_version, (PyMethodDef *)varget_QStyleOption_version, (PyMethodDef *)varset_QStyleOption_version, NULL, NULL},
};

PyDoc_STRVAR(doc_QStyleOption, "\1QStyleOption(int version=QStyleOption.Version, int type=QStyleOption.SO_Default)\n"
    "QStyleOption(QStyleOption)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleOption = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleOption,
        {0}
    },
    {
        sipNameNr_QStyleOption,
        {0, 0, 1},
        1, methods_QStyleOption,
        28, enummembers_QStyleOption,
        8, variables_QStyleOption,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleOption,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QStyleOption,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleOption,
    assign_QStyleOption,
    array_QStyleOption,
    copy_QStyleOption,
    release_QStyleOption,
    cast_QStyleOption,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstylefactory.sip"
#include <qstylefactory.h>
#line 113986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 113990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 113993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 113996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QStyleFactory_keys, "QStyleFactory.keys() -> list-of-str");

extern "C" {static PyObject *meth_QStyleFactory_keys(PyObject *, PyObject *);}
static PyObject *meth_QStyleFactory_keys(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStringList*sipRes;

            sipRes = new QStringList(QStyleFactory::keys());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyleFactory, sipName_keys, doc_QStyleFactory_keys);

    return NULL;
}


PyDoc_STRVAR(doc_QStyleFactory_create, "QStyleFactory.create(str) -> QStyle");

extern "C" {static PyObject *meth_QStyleFactory_create(PyObject *, PyObject *);}
static PyObject *meth_QStyleFactory_create(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QStyle*sipRes;

            sipRes = QStyleFactory::create(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyle,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyleFactory, sipName_create, doc_QStyleFactory_create);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyleFactory(void *, const sipTypeDef *);}
static void *cast_QStyleFactory(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyleFactory)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyleFactory(void *, int);}
static void release_QStyleFactory(void *sipCppV,int)
{
    delete reinterpret_cast<QStyleFactory *>(sipCppV);
}


extern "C" {static void assign_QStyleFactory(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyleFactory(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyleFactory *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyleFactory *>(sipSrc);
}


extern "C" {static void *array_QStyleFactory(SIP_SSIZE_T);}
static void *array_QStyleFactory(SIP_SSIZE_T sipNrElem)
{
    return new QStyleFactory[sipNrElem];
}


extern "C" {static void *copy_QStyleFactory(const void *, SIP_SSIZE_T);}
static void *copy_QStyleFactory(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyleFactory(reinterpret_cast<const QStyleFactory *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyleFactory(sipSimpleWrapper *);}
static void dealloc_QStyleFactory(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyleFactory(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyleFactory(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyleFactory(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyleFactory *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyleFactory();

            return sipCpp;
        }
    }

    {
        const QStyleFactory* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QStyleFactory, &a0))
        {
            sipCpp = new QStyleFactory(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QStyleFactory[] = {
    {SIP_MLNAME_CAST(sipName_create), meth_QStyleFactory_create, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyleFactory_create)},
    {SIP_MLNAME_CAST(sipName_keys), meth_QStyleFactory_keys, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyleFactory_keys)}
};

PyDoc_STRVAR(doc_QStyleFactory, "\1QStyleFactory()\n"
    "QStyleFactory(QStyleFactory)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyleFactory = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyleFactory,
        {0}
    },
    {
        sipNameNr_QStyleFactory,
        {0, 0, 1},
        2, methods_QStyleFactory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyleFactory,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QStyleFactory,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyleFactory,
    assign_QStyleFactory,
    array_QStyleFactory,
    copy_QStyleFactory,
    release_QStyleFactory,
    cast_QStyleFactory,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleditemdelegate.sip"
#include <qstyleditemdelegate.h>
#line 114198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 114202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 114205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 114208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 114211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 114214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 114217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 114220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 114223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 114226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 114229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 114232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 114235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 114238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 594 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 114241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 114244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 114247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 114250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 114253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 114256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 114259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 114262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 114265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 114268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 114271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 114274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 114277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 114280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQStyledItemDelegate : public QStyledItemDelegate
{
public:
    sipQStyledItemDelegate(QObject*);
    virtual ~sipQStyledItemDelegate();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_initStyleOption(bool,QStyleOptionViewItem*,const QModelIndex&) const;
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_editorEvent(bool,QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    bool helpEvent(QHelpEvent*,QAbstractItemView*,const QStyleOptionViewItem&,const QModelIndex&);
    void destroyEditor(QWidget*,const QModelIndex&) const;
    bool editorEvent(QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);
    bool eventFilter(QObject*,QEvent*);
    void initStyleOption(QStyleOptionViewItem*,const QModelIndex&) const;
    QString displayText(const QVariant&,const QLocale&) const;
    void updateEditorGeometry(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void setModelData(QWidget*,QAbstractItemModel*,const QModelIndex&) const;
    void setEditorData(QWidget*,const QModelIndex&) const;
    QWidget* createEditor(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    QSize sizeHint(const QStyleOptionViewItem&,const QModelIndex&) const;
    void paint(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQStyledItemDelegate(const sipQStyledItemDelegate &);
    sipQStyledItemDelegate &operator = (const sipQStyledItemDelegate &);

    char sipPyMethods[18];
};

sipQStyledItemDelegate::sipQStyledItemDelegate(QObject*a0): QStyledItemDelegate(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStyledItemDelegate::~sipQStyledItemDelegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQStyledItemDelegate::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStyledItemDelegate);
}

int sipQStyledItemDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QStyledItemDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QStyledItemDelegate,_c,_id,_a);

    return _id;
}

void *sipQStyledItemDelegate::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QStyledItemDelegate, _clname, &sipCpp) ? sipCpp : QStyledItemDelegate::qt_metacast(_clname));
}

void sipQStyledItemDelegate::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QStyledItemDelegate::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyledItemDelegate::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QStyledItemDelegate::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyledItemDelegate::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QStyledItemDelegate::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyledItemDelegate::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QStyledItemDelegate::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyledItemDelegate::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QStyledItemDelegate::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQStyledItemDelegate::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QStyledItemDelegate::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQStyledItemDelegate::helpEvent(QHelpEvent*a0,QAbstractItemView*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
        return QStyledItemDelegate::helpEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHelpEvent*,QAbstractItemView*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_148(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQStyledItemDelegate::destroyEditor(QWidget*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_destroyEditor);

    if (!sipMeth)
    {
        QStyledItemDelegate::destroyEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QModelIndex&);

    sipVH_QtWidgets_53(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQStyledItemDelegate::editorEvent(QEvent*a0,QAbstractItemModel*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return QStyledItemDelegate::editorEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_48(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQStyledItemDelegate::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QStyledItemDelegate::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQStyledItemDelegate::initStyleOption(QStyleOptionViewItem*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        QStyledItemDelegate::initStyleOption(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOptionViewItem*,const QModelIndex&);

    sipVH_QtWidgets_49(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QString sipQStyledItemDelegate::displayText(const QVariant& a0,const QLocale& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_displayText);

    if (!sipMeth)
        return QStyledItemDelegate::displayText(a0,a1);

    extern QString sipVH_QtWidgets_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QVariant&,const QLocale&);

    return sipVH_QtWidgets_50(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQStyledItemDelegate::updateEditorGeometry(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
        QStyledItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    sipVH_QtWidgets_51(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQStyledItemDelegate::setModelData(QWidget*a0,QAbstractItemModel*a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_setModelData);

    if (!sipMeth)
    {
        QStyledItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemModel*,const QModelIndex&);

    sipVH_QtWidgets_52(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQStyledItemDelegate::setEditorData(QWidget*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
        QStyledItemDelegate::setEditorData(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QModelIndex&);

    sipVH_QtWidgets_53(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QWidget* sipQStyledItemDelegate::createEditor(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return QStyledItemDelegate::createEditor(a0,a1,a2);

    extern QWidget* sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_54(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QSize sipQStyledItemDelegate::sizeHint(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QStyledItemDelegate::sizeHint(a0,a1);

    extern QSize sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_55(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQStyledItemDelegate::paint(QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QStyledItemDelegate::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QModelIndex&);

    sipVH_QtWidgets_26(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QObject* sipQStyledItemDelegate::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQStyledItemDelegate::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQStyledItemDelegate::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQStyledItemDelegate::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQStyledItemDelegate::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQStyledItemDelegate::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQStyledItemDelegate::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQStyledItemDelegate::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQStyledItemDelegate::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQStyledItemDelegate::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOptionViewItem*a0,const QModelIndex& a1) const
{
    (sipSelfWasArg ? QStyledItemDelegate::initStyleOption(a0,a1) : initStyleOption(a0,a1));
}

bool sipQStyledItemDelegate::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QStyledItemDelegate::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQStyledItemDelegate::sipProtectVirt_editorEvent(bool sipSelfWasArg,QEvent*a0,QAbstractItemModel*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    return (sipSelfWasArg ? QStyledItemDelegate::editorEvent(a0,a1,a2,a3) : editorEvent(a0,a1,a2,a3));
}


PyDoc_STRVAR(doc_QStyledItemDelegate_sender, "QStyledItemDelegate.sender() -> QObject");

extern "C" {static PyObject *meth_QStyledItemDelegate_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStyledItemDelegate, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 114780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_sender, doc_QStyledItemDelegate_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_receivers, "QStyledItemDelegate.receivers(signal) -> int");

extern "C" {static PyObject *meth_QStyledItemDelegate_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 114839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_receivers, doc_QStyledItemDelegate_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_timerEvent, "QStyledItemDelegate.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QStyledItemDelegate_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_timerEvent, doc_QStyledItemDelegate_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_childEvent, "QStyledItemDelegate.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QStyledItemDelegate_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_childEvent, doc_QStyledItemDelegate_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_customEvent, "QStyledItemDelegate.customEvent(QEvent)");

extern "C" {static PyObject *meth_QStyledItemDelegate_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_customEvent, doc_QStyledItemDelegate_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_connectNotify, "QStyledItemDelegate.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStyledItemDelegate_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_connectNotify, doc_QStyledItemDelegate_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_disconnectNotify, "QStyledItemDelegate.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStyledItemDelegate_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_disconnectNotify, doc_QStyledItemDelegate_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_senderSignalIndex, "QStyledItemDelegate.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QStyledItemDelegate_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStyledItemDelegate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_senderSignalIndex, doc_QStyledItemDelegate_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_isSignalConnected, "QStyledItemDelegate.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QStyledItemDelegate_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_isSignalConnected, doc_QStyledItemDelegate_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_paint, "QStyledItemDelegate.paint(QPainter, QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QStyledItemDelegate_paint(PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const QStyledItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            (sipSelfWasArg ? sipCpp->QStyledItemDelegate::paint(a0,*a1,*a2) : sipCpp->paint(a0,*a1,*a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_paint, doc_QStyledItemDelegate_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_sizeHint, "QStyledItemDelegate.sizeHint(QStyleOptionViewItem, QModelIndex) -> QSize");

extern "C" {static PyObject *meth_QStyledItemDelegate_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStyleOptionViewItem* a0;
        const QModelIndex* a1;
        const QStyledItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QStyledItemDelegate::sizeHint(*a0,*a1) : sipCpp->sizeHint(*a0,*a1)));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_sizeHint, doc_QStyledItemDelegate_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_createEditor, "QStyledItemDelegate.createEditor(QWidget, QStyleOptionViewItem, QModelIndex) -> QWidget");

extern "C" {static PyObject *meth_QStyledItemDelegate_createEditor(PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_createEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        sipWrapper *sipOwner = 0;
        const QStyledItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJHJ9J9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QWidget, &a0, &sipOwner, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            QWidget*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QStyledItemDelegate::createEditor(a0,*a1,*a2) : sipCpp->createEditor(a0,*a1,*a2));

            return sipConvertFromNewType(sipRes,sipType_QWidget,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_createEditor, doc_QStyledItemDelegate_createEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_setEditorData, "QStyledItemDelegate.setEditorData(QWidget, QModelIndex)");

extern "C" {static PyObject *meth_QStyledItemDelegate_setEditorData(PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_setEditorData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QModelIndex* a1;
        const QStyledItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QModelIndex, &a1))
        {
            (sipSelfWasArg ? sipCpp->QStyledItemDelegate::setEditorData(a0,*a1) : sipCpp->setEditorData(a0,*a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_setEditorData, doc_QStyledItemDelegate_setEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_setModelData, "QStyledItemDelegate.setModelData(QWidget, QAbstractItemModel, QModelIndex)");

extern "C" {static PyObject *meth_QStyledItemDelegate_setModelData(PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_setModelData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemModel* a1;
        PyObject *a1Keep;
        const QModelIndex* a2;
        const QStyledItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8@J8J9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QWidget, &a0, &a1Keep, sipType_QAbstractItemModel, &a1, sipType_QModelIndex, &a2))
        {
            (sipSelfWasArg ? sipCpp->QStyledItemDelegate::setModelData(a0,a1,*a2) : sipCpp->setModelData(a0,a1,*a2));

            sipKeepReference(sipSelf, -42, a1Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_setModelData, doc_QStyledItemDelegate_setModelData);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_updateEditorGeometry, "QStyledItemDelegate.updateEditorGeometry(QWidget, QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QStyledItemDelegate_updateEditorGeometry(PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_updateEditorGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const QStyledItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            (sipSelfWasArg ? sipCpp->QStyledItemDelegate::updateEditorGeometry(a0,*a1,*a2) : sipCpp->updateEditorGeometry(a0,*a1,*a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_updateEditorGeometry, doc_QStyledItemDelegate_updateEditorGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_itemEditorFactory, "QStyledItemDelegate.itemEditorFactory() -> QItemEditorFactory");

extern "C" {static PyObject *meth_QStyledItemDelegate_itemEditorFactory(PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_itemEditorFactory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStyledItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStyledItemDelegate, &sipCpp))
        {
            QItemEditorFactory*sipRes;

            sipRes = sipCpp->itemEditorFactory();

            return sipConvertFromType(sipRes,sipType_QItemEditorFactory,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_itemEditorFactory, doc_QStyledItemDelegate_itemEditorFactory);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_setItemEditorFactory, "QStyledItemDelegate.setItemEditorFactory(QItemEditorFactory)");

extern "C" {static PyObject *meth_QStyledItemDelegate_setItemEditorFactory(PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_setItemEditorFactory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QItemEditorFactory* a0;
        PyObject *a0Keep;
        QStyledItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, &a0Keep, sipType_QItemEditorFactory, &a0))
        {
            sipCpp->setItemEditorFactory(a0);

            sipKeepReference(sipSelf, -43, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_setItemEditorFactory, doc_QStyledItemDelegate_setItemEditorFactory);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_displayText, "QStyledItemDelegate.displayText(QVariant, QLocale) -> str");

extern "C" {static PyObject *meth_QStyledItemDelegate_displayText(PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_displayText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QVariant* a0;
        int a0State = 0;
        const QLocale* a1;
        const QStyledItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QVariant, &a0, &a0State, sipType_QLocale, &a1))
        {
            QString*sipRes;

            sipRes = new QString((sipSelfWasArg ? sipCpp->QStyledItemDelegate::displayText(*a0,*a1) : sipCpp->displayText(*a0,*a1)));
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_displayText, doc_QStyledItemDelegate_displayText);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_initStyleOption, "QStyledItemDelegate.initStyleOption(QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QStyledItemDelegate_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOptionViewItem* a0;
        const QModelIndex* a1;
        const sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_initStyleOption, doc_QStyledItemDelegate_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_eventFilter, "QStyledItemDelegate.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QStyledItemDelegate_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_eventFilter, doc_QStyledItemDelegate_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QStyledItemDelegate_editorEvent, "QStyledItemDelegate.editorEvent(QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QStyledItemDelegate_editorEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyledItemDelegate_editorEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QAbstractItemModel* a1;
        const QStyleOptionViewItem* a2;
        const QModelIndex* a3;
        sipQStyledItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8J9J9", &sipSelf, sipType_QStyledItemDelegate, &sipCpp, sipType_QEvent, &a0, sipType_QAbstractItemModel, &a1, sipType_QStyleOptionViewItem, &a2, sipType_QModelIndex, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_editorEvent(sipSelfWasArg,a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyledItemDelegate, sipName_editorEvent, doc_QStyledItemDelegate_editorEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyledItemDelegate(void *, const sipTypeDef *);}
static void *cast_QStyledItemDelegate(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyledItemDelegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemDelegate)->ctd_cast((QAbstractItemDelegate *)(QStyledItemDelegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyledItemDelegate(void *, int);}
static void release_QStyledItemDelegate(void *sipCppV,int)
{
    QStyledItemDelegate *sipCpp = reinterpret_cast<QStyledItemDelegate *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QStyledItemDelegate(sipSimpleWrapper *);}
static void dealloc_QStyledItemDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQStyledItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QStyledItemDelegate(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QStyledItemDelegate(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyledItemDelegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQStyledItemDelegate *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQStyledItemDelegate(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyledItemDelegate[] = {{2, 255, 1}};


static PyMethodDef methods_QStyledItemDelegate[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QStyledItemDelegate_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QStyledItemDelegate_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createEditor), meth_QStyledItemDelegate_createEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_createEditor)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QStyledItemDelegate_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QStyledItemDelegate_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_displayText), meth_QStyledItemDelegate_displayText, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_displayText)},
    {SIP_MLNAME_CAST(sipName_editorEvent), (PyCFunction)meth_QStyledItemDelegate_editorEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_editorEvent)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QStyledItemDelegate_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_eventFilter)},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QStyledItemDelegate_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QStyledItemDelegate_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemEditorFactory), meth_QStyledItemDelegate_itemEditorFactory, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_itemEditorFactory)},
    {SIP_MLNAME_CAST(sipName_paint), meth_QStyledItemDelegate_paint, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_paint)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QStyledItemDelegate_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QStyledItemDelegate_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QStyledItemDelegate_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditorData), meth_QStyledItemDelegate_setEditorData, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_setEditorData)},
    {SIP_MLNAME_CAST(sipName_setItemEditorFactory), meth_QStyledItemDelegate_setItemEditorFactory, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_setItemEditorFactory)},
    {SIP_MLNAME_CAST(sipName_setModelData), meth_QStyledItemDelegate_setModelData, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_setModelData)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QStyledItemDelegate_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_sizeHint)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QStyledItemDelegate_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometry), meth_QStyledItemDelegate_updateEditorGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyledItemDelegate_updateEditorGeometry)}
};

PyDoc_STRVAR(doc_QStyledItemDelegate, "\1QStyledItemDelegate(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyledItemDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyledItemDelegate,
        {0}
    },
    {
        sipNameNr_QStyledItemDelegate,
        {0, 0, 1},
        21, methods_QStyledItemDelegate,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyledItemDelegate,
    -1,
    -1,
    supers_QStyledItemDelegate,
    0,
    init_type_QStyledItemDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyledItemDelegate,
    0,
    0,
    0,
    release_QStyledItemDelegate,
    cast_QStyledItemDelegate,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QStyledItemDelegate::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 115575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 115579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QStyle_SubControls___bool__(PyObject *);}
static int slot_QStyle_SubControls___bool__(PyObject *sipSelf)
{
    QStyle::SubControls *sipCpp = reinterpret_cast<QStyle::SubControls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_SubControls));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::SubControls::Int() != 0);
#line 115597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyle_SubControls___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyle::SubControls *sipCpp = reinterpret_cast<QStyle::SubControls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_SubControls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyle::SubControls* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyle_SubControls, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::SubControls::Int() != a0->operator QStyle::SubControls::Int());
#line 115627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyle::SubControls *>(a0),sipType_QStyle_SubControls,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QStyle_SubControls,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyle_SubControls___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyle::SubControls *sipCpp = reinterpret_cast<QStyle::SubControls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_SubControls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyle::SubControls* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyle_SubControls, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::SubControls::Int() == a0->operator QStyle::SubControls::Int());
#line 115663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyle::SubControls *>(a0),sipType_QStyle_SubControls,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QStyle_SubControls,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyle_SubControls___invert__(PyObject *);}
static PyObject *slot_QStyle_SubControls___invert__(PyObject *sipSelf)
{
    QStyle::SubControls *sipCpp = reinterpret_cast<QStyle::SubControls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_SubControls));

    if (!sipCpp)
        return 0;


    {
        {
            QStyle::SubControls*sipRes;

            sipRes = new QStyle::SubControls(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStyle_SubControls,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyle_SubControls___and__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::SubControls* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyle_SubControls, &a0, &a0State, &a1))
        {
            QStyle::SubControls*sipRes;

            sipRes = new QStyle::SubControls((*a0 & a1));
            sipReleaseType(a0,sipType_QStyle_SubControls,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_SubControls,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyle_SubControls___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::SubControls* a0;
        int a0State = 0;
        QStyle::SubControls* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyle_SubControls, &a0, &a0State, sipType_QStyle_SubControls, &a1, &a1State))
        {
            QStyle::SubControls*sipRes;

            sipRes = new QStyle::SubControls((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QStyle_SubControls,a0State);
            sipReleaseType(a1,sipType_QStyle_SubControls,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_SubControls,NULL);
        }
    }

    {
        QStyle::SubControls* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyle_SubControls, &a0, &a0State, &a1))
        {
            QStyle::SubControls*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QStyle::SubControls(*a0 ^ a1);
#line 115766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyle_SubControls,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_SubControls,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyle_SubControls___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::SubControls* a0;
        int a0State = 0;
        QStyle::SubControls* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyle_SubControls, &a0, &a0State, sipType_QStyle_SubControls, &a1, &a1State))
        {
            QStyle::SubControls*sipRes;

            sipRes = new QStyle::SubControls((*a0 | *a1));
            sipReleaseType(a0,sipType_QStyle_SubControls,a0State);
            sipReleaseType(a1,sipType_QStyle_SubControls,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_SubControls,NULL);
        }
    }

    {
        QStyle::SubControls* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyle_SubControls, &a0, &a0State, &a1))
        {
            QStyle::SubControls*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QStyle::SubControls(*a0 | a1);
#line 115816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyle_SubControls,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_SubControls,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyle_SubControls___int__(PyObject *);}
static PyObject *slot_QStyle_SubControls___int__(PyObject *sipSelf)
{
    QStyle::SubControls *sipCpp = reinterpret_cast<QStyle::SubControls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_SubControls));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyle_SubControls___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyle_SubControls)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyle::SubControls *sipCpp = reinterpret_cast<QStyle::SubControls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_SubControls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyle::SubControls* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyle_SubControls, &a0, &a0State))
        {
            sipCpp->QStyle::SubControls::operator^=(*a0);
            sipReleaseType(a0,sipType_QStyle_SubControls,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_QStyle_SubControls___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyle_SubControls)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyle::SubControls *sipCpp = reinterpret_cast<QStyle::SubControls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_SubControls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyle::SubControls* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyle_SubControls, &a0, &a0State))
        {
            sipCpp->QStyle::SubControls::operator|=(*a0);
            sipReleaseType(a0,sipType_QStyle_SubControls,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_QStyle_SubControls___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_SubControls___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyle_SubControls)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyle::SubControls *sipCpp = reinterpret_cast<QStyle::SubControls *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_SubControls));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QStyle::SubControls::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyle_SubControls(void *, const sipTypeDef *);}
static void *cast_QStyle_SubControls(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyle_SubControls)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyle_SubControls(void *, int);}
static void release_QStyle_SubControls(void *sipCppV,int)
{
    delete reinterpret_cast<QStyle::SubControls *>(sipCppV);
}


extern "C" {static void assign_QStyle_SubControls(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyle_SubControls(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyle::SubControls *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyle::SubControls *>(sipSrc);
}


extern "C" {static void *array_QStyle_SubControls(SIP_SSIZE_T);}
static void *array_QStyle_SubControls(SIP_SSIZE_T sipNrElem)
{
    return new QStyle::SubControls[sipNrElem];
}


extern "C" {static void *copy_QStyle_SubControls(const void *, SIP_SSIZE_T);}
static void *copy_QStyle_SubControls(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyle::SubControls(reinterpret_cast<const QStyle::SubControls *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyle_SubControls(sipSimpleWrapper *);}
static void dealloc_QStyle_SubControls(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyle_SubControls(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyle_SubControls(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyle_SubControls(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyle::SubControls *sipCpp = 0;

    {
        const QStyle::SubControls* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyle_SubControls, &a0, &a0State))
        {
            sipCpp = new QStyle::SubControls(*a0);
            sipReleaseType(const_cast<QStyle::SubControls *>(a0),sipType_QStyle_SubControls,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStyle::SubControls(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyle::SubControls();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStyle_SubControls(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStyle_SubControls(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStyle::SubControls **sipCppPtr = reinterpret_cast<QStyle::SubControls **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStyle::SubControls is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyle_SubControl)) ||
            sipCanConvertToType(sipPy, sipType_QStyle_SubControls, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyle_SubControl)))
{
    *sipCppPtr = new QStyle::SubControls(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStyle::SubControls *>(sipConvertToType(sipPy, sipType_QStyle_SubControls, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 116093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyle_SubControls[] = {
    {(void *)slot_QStyle_SubControls___bool__, bool_slot},
    {(void *)slot_QStyle_SubControls___ne__, ne_slot},
    {(void *)slot_QStyle_SubControls___eq__, eq_slot},
    {(void *)slot_QStyle_SubControls___invert__, invert_slot},
    {(void *)slot_QStyle_SubControls___and__, and_slot},
    {(void *)slot_QStyle_SubControls___xor__, xor_slot},
    {(void *)slot_QStyle_SubControls___or__, or_slot},
    {(void *)slot_QStyle_SubControls___int__, int_slot},
    {(void *)slot_QStyle_SubControls___ixor__, ixor_slot},
    {(void *)slot_QStyle_SubControls___ior__, ior_slot},
    {(void *)slot_QStyle_SubControls___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyle_SubControls, "\1QStyle.SubControls(QStyle.SubControls)\n"
    "QStyle.SubControls(int)\n"
    "QStyle.SubControls()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyle_SubControls = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyle__SubControls,
        {0}
    },
    {
        sipNameNr_SubControls,
        {283, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyle_SubControls,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStyle_SubControls,
    init_type_QStyle_SubControls,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyle_SubControls,
    assign_QStyle_SubControls,
    array_QStyle_SubControls,
    copy_QStyle_SubControls,
    release_QStyle_SubControls,
    cast_QStyle_SubControls,
    convertTo_QStyle_SubControls,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 116175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 116179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QStyle_State___bool__(PyObject *);}
static int slot_QStyle_State___bool__(PyObject *sipSelf)
{
    QStyle::State *sipCpp = reinterpret_cast<QStyle::State *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_State));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::State::Int() != 0);
#line 116197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyle_State___ne__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyle::State *sipCpp = reinterpret_cast<QStyle::State *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_State));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyle::State* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyle_State, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::State::Int() != a0->operator QStyle::State::Int());
#line 116227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyle::State *>(a0),sipType_QStyle_State,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QStyle_State,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyle_State___eq__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QStyle::State *sipCpp = reinterpret_cast<QStyle::State *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_State));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QStyle::State* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyle_State, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QStyle::State::Int() == a0->operator QStyle::State::Int());
#line 116263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QStyle::State *>(a0),sipType_QStyle_State,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QStyle_State,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QStyle_State___invert__(PyObject *);}
static PyObject *slot_QStyle_State___invert__(PyObject *sipSelf)
{
    QStyle::State *sipCpp = reinterpret_cast<QStyle::State *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_State));

    if (!sipCpp)
        return 0;


    {
        {
            QStyle::State*sipRes;

            sipRes = new QStyle::State(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QStyle_State,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyle_State___and__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::State* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyle_State, &a0, &a0State, &a1))
        {
            QStyle::State*sipRes;

            sipRes = new QStyle::State((*a0 & a1));
            sipReleaseType(a0,sipType_QStyle_State,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_State,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyle_State___xor__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::State* a0;
        int a0State = 0;
        QStyle::State* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyle_State, &a0, &a0State, sipType_QStyle_State, &a1, &a1State))
        {
            QStyle::State*sipRes;

            sipRes = new QStyle::State((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QStyle_State,a0State);
            sipReleaseType(a1,sipType_QStyle_State,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_State,NULL);
        }
    }

    {
        QStyle::State* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyle_State, &a0, &a0State, &a1))
        {
            QStyle::State*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QStyle::State(*a0 ^ a1);
#line 116366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyle_State,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_State,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyle_State___or__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle::State* a0;
        int a0State = 0;
        QStyle::State* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QStyle_State, &a0, &a0State, sipType_QStyle_State, &a1, &a1State))
        {
            QStyle::State*sipRes;

            sipRes = new QStyle::State((*a0 | *a1));
            sipReleaseType(a0,sipType_QStyle_State,a0State);
            sipReleaseType(a1,sipType_QStyle_State,a1State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_State,NULL);
        }
    }

    {
        QStyle::State* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QStyle_State, &a0, &a0State, &a1))
        {
            QStyle::State*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QStyle::State(*a0 | a1);
#line 116416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QStyle_State,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStyle_State,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QStyle_State___int__(PyObject *);}
static PyObject *slot_QStyle_State___int__(PyObject *sipSelf)
{
    QStyle::State *sipCpp = reinterpret_cast<QStyle::State *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_State));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QStyle_State___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyle_State)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyle::State *sipCpp = reinterpret_cast<QStyle::State *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_State));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyle::State* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyle_State, &a0, &a0State))
        {
            sipCpp->QStyle::State::operator^=(*a0);
            sipReleaseType(a0,sipType_QStyle_State,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_QStyle_State___ior__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyle_State)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyle::State *sipCpp = reinterpret_cast<QStyle::State *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_State));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QStyle::State* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QStyle_State, &a0, &a0State))
        {
            sipCpp->QStyle::State::operator|=(*a0);
            sipReleaseType(a0,sipType_QStyle_State,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_QStyle_State___iand__(PyObject *,PyObject *);}
static PyObject *slot_QStyle_State___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QStyle_State)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QStyle::State *sipCpp = reinterpret_cast<QStyle::State *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStyle_State));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QStyle::State::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyle_State(void *, const sipTypeDef *);}
static void *cast_QStyle_State(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QStyle_State)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyle_State(void *, int);}
static void release_QStyle_State(void *sipCppV,int)
{
    delete reinterpret_cast<QStyle::State *>(sipCppV);
}


extern "C" {static void assign_QStyle_State(void *, SIP_SSIZE_T, const void *);}
static void assign_QStyle_State(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QStyle::State *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QStyle::State *>(sipSrc);
}


extern "C" {static void *array_QStyle_State(SIP_SSIZE_T);}
static void *array_QStyle_State(SIP_SSIZE_T sipNrElem)
{
    return new QStyle::State[sipNrElem];
}


extern "C" {static void *copy_QStyle_State(const void *, SIP_SSIZE_T);}
static void *copy_QStyle_State(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QStyle::State(reinterpret_cast<const QStyle::State *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QStyle_State(sipSimpleWrapper *);}
static void dealloc_QStyle_State(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QStyle_State(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QStyle_State(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyle_State(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QStyle::State *sipCpp = 0;

    {
        const QStyle::State* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QStyle_State, &a0, &a0State))
        {
            sipCpp = new QStyle::State(*a0);
            sipReleaseType(const_cast<QStyle::State *>(a0),sipType_QStyle_State,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QStyle::State(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QStyle::State();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QStyle_State(PyObject *, void **, int *, PyObject *);}
static int convertTo_QStyle_State(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QStyle::State **sipCppPtr = reinterpret_cast<QStyle::State **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QStyle::State is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyle_StateFlag)) ||
            sipCanConvertToType(sipPy, sipType_QStyle_State, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QStyle_StateFlag)))
{
    *sipCppPtr = new QStyle::State(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QStyle::State *>(sipConvertToType(sipPy, sipType_QStyle_State, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 116693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QStyle_State[] = {
    {(void *)slot_QStyle_State___bool__, bool_slot},
    {(void *)slot_QStyle_State___ne__, ne_slot},
    {(void *)slot_QStyle_State___eq__, eq_slot},
    {(void *)slot_QStyle_State___invert__, invert_slot},
    {(void *)slot_QStyle_State___and__, and_slot},
    {(void *)slot_QStyle_State___xor__, xor_slot},
    {(void *)slot_QStyle_State___or__, or_slot},
    {(void *)slot_QStyle_State___int__, int_slot},
    {(void *)slot_QStyle_State___ixor__, ixor_slot},
    {(void *)slot_QStyle_State___ior__, ior_slot},
    {(void *)slot_QStyle_State___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QStyle_State, "\1QStyle.State(QStyle.State)\n"
    "QStyle.State(int)\n"
    "QStyle.State()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyle_State = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyle__State,
        {0}
    },
    {
        sipNameNr_State,
        {283, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyle_State,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QStyle_State,
    init_type_QStyle_State,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyle_State,
    assign_QStyle_State,
    array_QStyle_State,
    copy_QStyle_State,
    release_QStyle_State,
    cast_QStyle_State,
    convertTo_QStyle_State,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstatusbar.sip"
#include <qstatusbar.h>
#line 116775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 116779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 116794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 116797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 116800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 116803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 116806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 116812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 116815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 116821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 116830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 116833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 116836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 116839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 116842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 116845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 116848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 116851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 116854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 116857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 116860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 116863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 116866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 116911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 116914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 116917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 116920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 116923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 116926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 116932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 116935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 116938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 116941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 116944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 116947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 116953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 116956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 116959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 116962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 116965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 116968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 116971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 116974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 116977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQStatusBar : public QStatusBar
{
public:
    sipQStatusBar(QWidget*);
    virtual ~sipQStatusBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtect_reformat();
    void sipProtect_hideOrShow();
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void showEvent(QShowEvent*);
    bool event(QEvent*);
    void resizeEvent(QResizeEvent*);
    void paintEvent(QPaintEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQStatusBar(const sipQStatusBar &);
    sipQStatusBar &operator = (const sipQStatusBar &);

    char sipPyMethods[46];
};

sipQStatusBar::sipQStatusBar(QWidget*a0): QStatusBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStatusBar::~sipQStatusBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQStatusBar::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStatusBar);
}

int sipQStatusBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QStatusBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QStatusBar,_c,_id,_a);

    return _id;
}

void *sipQStatusBar::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QStatusBar, _clname, &sipCpp) ? sipCpp : QStatusBar::qt_metacast(_clname));
}

void sipQStatusBar::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QStatusBar::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QStatusBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QStatusBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QStatusBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QStatusBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQStatusBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QStatusBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQStatusBar::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QStatusBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQStatusBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QStatusBar::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQStatusBar::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QStatusBar::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQStatusBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QStatusBar::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQStatusBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QStatusBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQStatusBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QStatusBar::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QStatusBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQStatusBar::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QStatusBar::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QStatusBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QStatusBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QStatusBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QStatusBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QStatusBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QStatusBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QStatusBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QStatusBar::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QStatusBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QStatusBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QStatusBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QStatusBar::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QStatusBar::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QStatusBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QStatusBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QStatusBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QStatusBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QStatusBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QStatusBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QStatusBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QStatusBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QStatusBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQStatusBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QStatusBar::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQStatusBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QStatusBar::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQStatusBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QStatusBar::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQStatusBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QStatusBar::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQStatusBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QStatusBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQStatusBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QStatusBar::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQStatusBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QStatusBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQStatusBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QStatusBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QStatusBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStatusBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QStatusBar::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQStatusBar::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQStatusBar::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQStatusBar::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQStatusBar::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQStatusBar::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQStatusBar::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQStatusBar::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQStatusBar::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQStatusBar::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQStatusBar::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQStatusBar::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQStatusBar::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQStatusBar::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQStatusBar::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQStatusBar::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQStatusBar::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQStatusBar::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQStatusBar::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQStatusBar::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQStatusBar::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQStatusBar::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQStatusBar::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQStatusBar::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQStatusBar::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQStatusBar::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQStatusBar::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQStatusBar::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQStatusBar::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQStatusBar::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQStatusBar::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQStatusBar::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQStatusBar::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQStatusBar::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQStatusBar::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQStatusBar::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQStatusBar::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQStatusBar::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQStatusBar::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQStatusBar::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQStatusBar::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQStatusBar::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQStatusBar::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQStatusBar::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QStatusBar::paintEvent(a0) : paintEvent(a0));
}

void sipQStatusBar::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QStatusBar::resizeEvent(a0) : resizeEvent(a0));
}

void sipQStatusBar::sipProtect_reformat()
{
    QStatusBar::reformat();
}

void sipQStatusBar::sipProtect_hideOrShow()
{
    QStatusBar::hideOrShow();
}

bool sipQStatusBar::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QStatusBar::event(a0) : event(a0));
}

void sipQStatusBar::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QStatusBar::showEvent(a0) : showEvent(a0));
}


PyDoc_STRVAR(doc_QStatusBar_sender, "QStatusBar.sender() -> QObject");

extern "C" {static PyObject *meth_QStatusBar_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 118207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_sender, doc_QStatusBar_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_receivers, "QStatusBar.receivers(signal) -> int");

extern "C" {static PyObject *meth_QStatusBar_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QStatusBar, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 118266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_receivers, doc_QStatusBar_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_timerEvent, "QStatusBar.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QStatusBar_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_timerEvent, doc_QStatusBar_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_childEvent, "QStatusBar.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QStatusBar_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_childEvent, doc_QStatusBar_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_customEvent, "QStatusBar.customEvent(QEvent)");

extern "C" {static PyObject *meth_QStatusBar_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_customEvent, doc_QStatusBar_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_connectNotify, "QStatusBar.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStatusBar_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_connectNotify, doc_QStatusBar_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_disconnectNotify, "QStatusBar.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStatusBar_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_disconnectNotify, doc_QStatusBar_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_senderSignalIndex, "QStatusBar.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QStatusBar_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_senderSignalIndex, doc_QStatusBar_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_isSignalConnected, "QStatusBar.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QStatusBar_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_isSignalConnected, doc_QStatusBar_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_mousePressEvent, "QStatusBar.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QStatusBar_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_mousePressEvent, doc_QStatusBar_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_mouseReleaseEvent, "QStatusBar.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QStatusBar_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_mouseReleaseEvent, doc_QStatusBar_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_mouseDoubleClickEvent, "QStatusBar.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QStatusBar_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_mouseDoubleClickEvent, doc_QStatusBar_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_mouseMoveEvent, "QStatusBar.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QStatusBar_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_mouseMoveEvent, doc_QStatusBar_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_wheelEvent, "QStatusBar.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QStatusBar_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_wheelEvent, doc_QStatusBar_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_keyPressEvent, "QStatusBar.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QStatusBar_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_keyPressEvent, doc_QStatusBar_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_keyReleaseEvent, "QStatusBar.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QStatusBar_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_keyReleaseEvent, doc_QStatusBar_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_focusInEvent, "QStatusBar.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QStatusBar_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_focusInEvent, doc_QStatusBar_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_focusOutEvent, "QStatusBar.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QStatusBar_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_focusOutEvent, doc_QStatusBar_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_enterEvent, "QStatusBar.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QStatusBar_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_enterEvent, doc_QStatusBar_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_leaveEvent, "QStatusBar.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QStatusBar_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_leaveEvent, doc_QStatusBar_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_moveEvent, "QStatusBar.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QStatusBar_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_moveEvent, doc_QStatusBar_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_closeEvent, "QStatusBar.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QStatusBar_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_closeEvent, doc_QStatusBar_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_contextMenuEvent, "QStatusBar.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QStatusBar_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_contextMenuEvent, doc_QStatusBar_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_tabletEvent, "QStatusBar.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QStatusBar_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_tabletEvent, doc_QStatusBar_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_actionEvent, "QStatusBar.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QStatusBar_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_actionEvent, doc_QStatusBar_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_dragEnterEvent, "QStatusBar.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QStatusBar_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_dragEnterEvent, doc_QStatusBar_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_dragMoveEvent, "QStatusBar.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QStatusBar_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_dragMoveEvent, doc_QStatusBar_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_dragLeaveEvent, "QStatusBar.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QStatusBar_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_dragLeaveEvent, doc_QStatusBar_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_dropEvent, "QStatusBar.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QStatusBar_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_dropEvent, doc_QStatusBar_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_hideEvent, "QStatusBar.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QStatusBar_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_hideEvent, doc_QStatusBar_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_changeEvent, "QStatusBar.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QStatusBar_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_changeEvent, doc_QStatusBar_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_metric, "QStatusBar.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QStatusBar_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_metric, doc_QStatusBar_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_inputMethodEvent, "QStatusBar.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QStatusBar_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_inputMethodEvent, doc_QStatusBar_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_updateMicroFocus, "QStatusBar.updateMicroFocus()");

extern "C" {static PyObject *meth_QStatusBar_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_updateMicroFocus, doc_QStatusBar_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_create, "QStatusBar.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QStatusBar_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQStatusBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_create, doc_QStatusBar_create);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_destroy, "QStatusBar.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QStatusBar_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQStatusBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QStatusBar, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_destroy, doc_QStatusBar_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_focusNextPrevChild, "QStatusBar.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QStatusBar_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QStatusBar, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_focusNextPrevChild, doc_QStatusBar_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_focusNextChild, "QStatusBar.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QStatusBar_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_focusNextChild, doc_QStatusBar_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_focusPreviousChild, "QStatusBar.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QStatusBar_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_focusPreviousChild, doc_QStatusBar_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_nativeEvent, "QStatusBar.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QStatusBar_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_nativeEvent, doc_QStatusBar_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_sharedPainter, "QStatusBar.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QStatusBar_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_sharedPainter, doc_QStatusBar_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_initPainter, "QStatusBar.initPainter(QPainter)");

extern "C" {static PyObject *meth_QStatusBar_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_initPainter, doc_QStatusBar_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_addWidget, "QStatusBar.addWidget(QWidget, int stretch=0)");

extern "C" {static PyObject *meth_QStatusBar_addWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_addWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        int a1 = 0;
        QStatusBar *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:|i", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QWidget, &a0, &a1))
        {
            sipCpp->addWidget(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_addWidget, doc_QStatusBar_addWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_addPermanentWidget, "QStatusBar.addPermanentWidget(QWidget, int stretch=0)");

extern "C" {static PyObject *meth_QStatusBar_addPermanentWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_addPermanentWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        int a1 = 0;
        QStatusBar *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:|i", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QWidget, &a0, &a1))
        {
            sipCpp->addPermanentWidget(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_addPermanentWidget, doc_QStatusBar_addPermanentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_removeWidget, "QStatusBar.removeWidget(QWidget)");

extern "C" {static PyObject *meth_QStatusBar_removeWidget(PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_removeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->removeWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_removeWidget, doc_QStatusBar_removeWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_setSizeGripEnabled, "QStatusBar.setSizeGripEnabled(bool)");

extern "C" {static PyObject *meth_QStatusBar_setSizeGripEnabled(PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_setSizeGripEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QStatusBar, &sipCpp, &a0))
        {
            sipCpp->setSizeGripEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_setSizeGripEnabled, doc_QStatusBar_setSizeGripEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_isSizeGripEnabled, "QStatusBar.isSizeGripEnabled() -> bool");

extern "C" {static PyObject *meth_QStatusBar_isSizeGripEnabled(PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_isSizeGripEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSizeGripEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_isSizeGripEnabled, doc_QStatusBar_isSizeGripEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_currentMessage, "QStatusBar.currentMessage() -> str");

extern "C" {static PyObject *meth_QStatusBar_currentMessage(PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_currentMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->currentMessage());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_currentMessage, doc_QStatusBar_currentMessage);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_insertWidget, "QStatusBar.insertWidget(int, QWidget, int stretch=0) -> int");

extern "C" {static PyObject *meth_QStatusBar_insertWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_insertWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget* a1;
        int a2 = 0;
        QStatusBar *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiJ:|i", &sipSelf, sipType_QStatusBar, &sipCpp, &a0, sipType_QWidget, &a1, &a2))
        {
            int sipRes;

            sipRes = sipCpp->insertWidget(a0,a1,a2);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_insertWidget, doc_QStatusBar_insertWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_insertPermanentWidget, "QStatusBar.insertPermanentWidget(int, QWidget, int stretch=0) -> int");

extern "C" {static PyObject *meth_QStatusBar_insertPermanentWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_insertPermanentWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget* a1;
        int a2 = 0;
        QStatusBar *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiJ:|i", &sipSelf, sipType_QStatusBar, &sipCpp, &a0, sipType_QWidget, &a1, &a2))
        {
            int sipRes;

            sipRes = sipCpp->insertPermanentWidget(a0,a1,a2);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_insertPermanentWidget, doc_QStatusBar_insertPermanentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_showMessage, "QStatusBar.showMessage(str, int msecs=0)");

extern "C" {static PyObject *meth_QStatusBar_showMessage(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_showMessage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1 = 0;
        QStatusBar *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            sipCpp->showMessage(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_showMessage, doc_QStatusBar_showMessage);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_clearMessage, "QStatusBar.clearMessage()");

extern "C" {static PyObject *meth_QStatusBar_clearMessage(PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_clearMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStatusBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            sipCpp->clearMessage();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_clearMessage, doc_QStatusBar_clearMessage);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_paintEvent, "QStatusBar.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QStatusBar_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_paintEvent, doc_QStatusBar_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_resizeEvent, "QStatusBar.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QStatusBar_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_resizeEvent, doc_QStatusBar_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_reformat, "QStatusBar.reformat()");

extern "C" {static PyObject *meth_QStatusBar_reformat(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_reformat(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            sipCpp->sipProtect_reformat();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_reformat, doc_QStatusBar_reformat);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_hideOrShow, "QStatusBar.hideOrShow()");

extern "C" {static PyObject *meth_QStatusBar_hideOrShow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_hideOrShow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStatusBar, &sipCpp))
        {
            sipCpp->sipProtect_hideOrShow();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_hideOrShow, doc_QStatusBar_hideOrShow);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_event, "QStatusBar.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QStatusBar_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_event, doc_QStatusBar_event);

    return NULL;
}


PyDoc_STRVAR(doc_QStatusBar_showEvent, "QStatusBar.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QStatusBar_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStatusBar_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQStatusBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStatusBar, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStatusBar, sipName_showEvent, doc_QStatusBar_showEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStatusBar(void *, const sipTypeDef *);}
static void *cast_QStatusBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStatusBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QStatusBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStatusBar(void *, int);}
static void release_QStatusBar(void *sipCppV,int)
{
    QStatusBar *sipCpp = reinterpret_cast<QStatusBar *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QStatusBar(sipSimpleWrapper *);}
static void dealloc_QStatusBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQStatusBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QStatusBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QStatusBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStatusBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQStatusBar *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQStatusBar(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStatusBar[] = {{454, 255, 1}};


static PyMethodDef methods_QStatusBar[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QStatusBar_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addPermanentWidget), (PyCFunction)meth_QStatusBar_addPermanentWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_addPermanentWidget)},
    {SIP_MLNAME_CAST(sipName_addWidget), (PyCFunction)meth_QStatusBar_addWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_addWidget)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QStatusBar_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QStatusBar_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearMessage), meth_QStatusBar_clearMessage, METH_VARARGS, SIP_MLDOC_CAST(doc_QStatusBar_clearMessage)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QStatusBar_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QStatusBar_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QStatusBar_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QStatusBar_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentMessage), meth_QStatusBar_currentMessage, METH_VARARGS, SIP_MLDOC_CAST(doc_QStatusBar_currentMessage)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QStatusBar_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QStatusBar_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QStatusBar_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QStatusBar_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QStatusBar_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QStatusBar_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QStatusBar_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QStatusBar_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QStatusBar_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QStatusBar_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QStatusBar_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QStatusBar_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QStatusBar_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QStatusBar_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QStatusBar_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideOrShow), (PyCFunction)meth_QStatusBar_hideOrShow, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_hideOrShow)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QStatusBar_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QStatusBar_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertPermanentWidget), (PyCFunction)meth_QStatusBar_insertPermanentWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_insertPermanentWidget)},
    {SIP_MLNAME_CAST(sipName_insertWidget), (PyCFunction)meth_QStatusBar_insertWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_insertWidget)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QStatusBar_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSizeGripEnabled), meth_QStatusBar_isSizeGripEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QStatusBar_isSizeGripEnabled)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QStatusBar_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QStatusBar_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QStatusBar_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QStatusBar_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QStatusBar_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QStatusBar_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QStatusBar_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QStatusBar_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QStatusBar_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QStatusBar_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QStatusBar_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QStatusBar_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reformat), (PyCFunction)meth_QStatusBar_reformat, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_reformat)},
    {SIP_MLNAME_CAST(sipName_removeWidget), meth_QStatusBar_removeWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStatusBar_removeWidget)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QStatusBar_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QStatusBar_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QStatusBar_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSizeGripEnabled), meth_QStatusBar_setSizeGripEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QStatusBar_setSizeGripEnabled)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QStatusBar_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QStatusBar_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_showEvent)},
    {SIP_MLNAME_CAST(sipName_showMessage), (PyCFunction)meth_QStatusBar_showMessage, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStatusBar_showMessage)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QStatusBar_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QStatusBar_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QStatusBar_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QStatusBar_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QStatusBar[] = {
    {"messageChanged(QString)", "\1QStatusBar.messageChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QStatusBar, "\1QStatusBar(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStatusBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStatusBar,
        {0}
    },
    {
        sipNameNr_QStatusBar,
        {0, 0, 1},
        58, methods_QStatusBar,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStatusBar,
    -1,
    -1,
    supers_QStatusBar,
    0,
    init_type_QStatusBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStatusBar,
    0,
    0,
    0,
    release_QStatusBar,
    cast_QStatusBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QStatusBar::staticMetaObject,
    0,
    signals_QStatusBar,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstackedwidget.sip"
#include <qstackedwidget.h>
#line 120096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 120100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 120106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 120112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 120115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 120118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 120121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 120124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 120127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 120130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 120136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 120142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 120151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 120154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 120157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 120160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 120163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 120166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 120169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 120172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 120175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 120178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 120181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 120184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 120235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 120238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 120244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 120247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 120250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 120256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 120259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 120262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 120265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 120268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 120271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 120277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 120280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 120286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 120289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 120292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 120295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 120298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 120301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQStackedWidget : public QStackedWidget
{
public:
    sipQStackedWidget(QWidget*);
    virtual ~sipQStackedWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    QSize sizeHint() const;
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQStackedWidget(const sipQStackedWidget &);
    sipQStackedWidget &operator = (const sipQStackedWidget &);

    char sipPyMethods[46];
};

sipQStackedWidget::sipQStackedWidget(QWidget*a0): QStackedWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStackedWidget::~sipQStackedWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQStackedWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStackedWidget);
}

int sipQStackedWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QStackedWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QStackedWidget,_c,_id,_a);

    return _id;
}

void *sipQStackedWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QStackedWidget, _clname, &sipCpp) ? sipCpp : QStackedWidget::qt_metacast(_clname));
}

void sipQStackedWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QStackedWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QStackedWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QStackedWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QStackedWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QStackedWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQStackedWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QStackedWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQStackedWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QStackedWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQStackedWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QStackedWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQStackedWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QStackedWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQStackedWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QStackedWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQStackedWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QStackedWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQStackedWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QStackedWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QStackedWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQStackedWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QStackedWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QStackedWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QStackedWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QStackedWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QStackedWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QStackedWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QStackedWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QStackedWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QStackedWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QStackedWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QStackedWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QStackedWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QStackedWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QStackedWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QStackedWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QStackedWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QStackedWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QStackedWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QStackedWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QStackedWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QStackedWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QStackedWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QStackedWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QStackedWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQStackedWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QStackedWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQStackedWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QStackedWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQStackedWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QStackedWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQStackedWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QStackedWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQStackedWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QStackedWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQStackedWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QStackedWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QStackedWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQStackedWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QStackedWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQStackedWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QStackedWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQStackedWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQStackedWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQStackedWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQStackedWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQStackedWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQStackedWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQStackedWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQStackedWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQStackedWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQStackedWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQStackedWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQStackedWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQStackedWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQStackedWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQStackedWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQStackedWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQStackedWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQStackedWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQStackedWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QFrame::paintEvent(a0) : paintEvent(a0));
}

void sipQStackedWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQStackedWidget::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

bool sipQStackedWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QStackedWidget::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QStackedWidget_sender, "QStackedWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QStackedWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStackedWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 121525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_sender, doc_QStackedWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_receivers, "QStackedWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QStackedWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QStackedWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 121584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_receivers, doc_QStackedWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_timerEvent, "QStackedWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QStackedWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_timerEvent, doc_QStackedWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_childEvent, "QStackedWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QStackedWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_childEvent, doc_QStackedWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_customEvent, "QStackedWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QStackedWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_customEvent, doc_QStackedWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_connectNotify, "QStackedWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStackedWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_connectNotify, doc_QStackedWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_disconnectNotify, "QStackedWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStackedWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_disconnectNotify, doc_QStackedWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_senderSignalIndex, "QStackedWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QStackedWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStackedWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_senderSignalIndex, doc_QStackedWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_isSignalConnected, "QStackedWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QStackedWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_isSignalConnected, doc_QStackedWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_mousePressEvent, "QStackedWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QStackedWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_mousePressEvent, doc_QStackedWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_mouseReleaseEvent, "QStackedWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QStackedWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_mouseReleaseEvent, doc_QStackedWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_mouseDoubleClickEvent, "QStackedWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QStackedWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_mouseDoubleClickEvent, doc_QStackedWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_mouseMoveEvent, "QStackedWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QStackedWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_mouseMoveEvent, doc_QStackedWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_wheelEvent, "QStackedWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QStackedWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_wheelEvent, doc_QStackedWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_keyPressEvent, "QStackedWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QStackedWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_keyPressEvent, doc_QStackedWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_keyReleaseEvent, "QStackedWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QStackedWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_keyReleaseEvent, doc_QStackedWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_focusInEvent, "QStackedWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QStackedWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_focusInEvent, doc_QStackedWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_focusOutEvent, "QStackedWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QStackedWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_focusOutEvent, doc_QStackedWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_enterEvent, "QStackedWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QStackedWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_enterEvent, doc_QStackedWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_leaveEvent, "QStackedWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QStackedWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_leaveEvent, doc_QStackedWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_moveEvent, "QStackedWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QStackedWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_moveEvent, doc_QStackedWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_resizeEvent, "QStackedWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QStackedWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_resizeEvent, doc_QStackedWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_closeEvent, "QStackedWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QStackedWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_closeEvent, doc_QStackedWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_contextMenuEvent, "QStackedWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QStackedWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_contextMenuEvent, doc_QStackedWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_tabletEvent, "QStackedWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QStackedWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_tabletEvent, doc_QStackedWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_actionEvent, "QStackedWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QStackedWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_actionEvent, doc_QStackedWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_dragEnterEvent, "QStackedWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QStackedWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_dragEnterEvent, doc_QStackedWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_dragMoveEvent, "QStackedWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QStackedWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_dragMoveEvent, doc_QStackedWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_dragLeaveEvent, "QStackedWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QStackedWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_dragLeaveEvent, doc_QStackedWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_dropEvent, "QStackedWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QStackedWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_dropEvent, doc_QStackedWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_showEvent, "QStackedWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QStackedWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_showEvent, doc_QStackedWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_hideEvent, "QStackedWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QStackedWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_hideEvent, doc_QStackedWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_metric, "QStackedWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QStackedWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_metric, doc_QStackedWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_inputMethodEvent, "QStackedWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QStackedWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_inputMethodEvent, doc_QStackedWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_updateMicroFocus, "QStackedWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QStackedWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStackedWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_updateMicroFocus, doc_QStackedWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_create, "QStackedWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QStackedWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQStackedWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_create, doc_QStackedWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_destroy, "QStackedWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QStackedWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQStackedWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QStackedWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_destroy, doc_QStackedWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_focusNextPrevChild, "QStackedWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QStackedWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QStackedWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_focusNextPrevChild, doc_QStackedWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_focusNextChild, "QStackedWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QStackedWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStackedWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_focusNextChild, doc_QStackedWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_focusPreviousChild, "QStackedWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QStackedWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStackedWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_focusPreviousChild, doc_QStackedWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_nativeEvent, "QStackedWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QStackedWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_nativeEvent, doc_QStackedWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_sharedPainter, "QStackedWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QStackedWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStackedWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_sharedPainter, doc_QStackedWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_initPainter, "QStackedWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QStackedWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_initPainter, doc_QStackedWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_paintEvent, "QStackedWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QStackedWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_paintEvent, doc_QStackedWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_changeEvent, "QStackedWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QStackedWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_changeEvent, doc_QStackedWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_drawFrame, "QStackedWidget.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QStackedWidget_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_drawFrame, doc_QStackedWidget_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_addWidget, "QStackedWidget.addWidget(QWidget) -> int");

extern "C" {static PyObject *meth_QStackedWidget_addWidget(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_addWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QWidget, &a0))
        {
            int sipRes;

            sipRes = sipCpp->addWidget(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_addWidget, doc_QStackedWidget_addWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_insertWidget, "QStackedWidget.insertWidget(int, QWidget) -> int");

extern "C" {static PyObject *meth_QStackedWidget_insertWidget(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_insertWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget* a1;
        QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QStackedWidget, &sipCpp, &a0, sipType_QWidget, &a1))
        {
            int sipRes;

            sipRes = sipCpp->insertWidget(a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_insertWidget, doc_QStackedWidget_insertWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_removeWidget, "QStackedWidget.removeWidget(QWidget)");

extern "C" {static PyObject *meth_QStackedWidget_removeWidget(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_removeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->removeWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_removeWidget, doc_QStackedWidget_removeWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_currentWidget, "QStackedWidget.currentWidget() -> QWidget");

extern "C" {static PyObject *meth_QStackedWidget_currentWidget(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_currentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->currentWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_currentWidget, doc_QStackedWidget_currentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_currentIndex, "QStackedWidget.currentIndex() -> int");

extern "C" {static PyObject *meth_QStackedWidget_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_currentIndex, doc_QStackedWidget_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_indexOf, "QStackedWidget.indexOf(QWidget) -> int");

extern "C" {static PyObject *meth_QStackedWidget_indexOf(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_indexOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QWidget, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOf(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_indexOf, doc_QStackedWidget_indexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_widget, "QStackedWidget.widget(int) -> QWidget");

extern "C" {static PyObject *meth_QStackedWidget_widget(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStackedWidget, &sipCpp, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_widget, doc_QStackedWidget_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_count, "QStackedWidget.count() -> int");

extern "C" {static PyObject *meth_QStackedWidget_count(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_count, doc_QStackedWidget_count);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_setCurrentIndex, "QStackedWidget.setCurrentIndex(int)");

extern "C" {static PyObject *meth_QStackedWidget_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStackedWidget, &sipCpp, &a0))
        {
            sipCpp->setCurrentIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_setCurrentIndex, doc_QStackedWidget_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_setCurrentWidget, "QStackedWidget.setCurrentWidget(QWidget)");

extern "C" {static PyObject *meth_QStackedWidget_setCurrentWidget(PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_setCurrentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QStackedWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setCurrentWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_setCurrentWidget, doc_QStackedWidget_setCurrentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedWidget_event, "QStackedWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QStackedWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStackedWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedWidget, sipName_event, doc_QStackedWidget_event);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QStackedWidget___len__(PyObject *);}
static SIP_SSIZE_T slot_QStackedWidget___len__(PyObject *sipSelf)
{
    QStackedWidget *sipCpp = reinterpret_cast<QStackedWidget *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QStackedWidget));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 123172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStackedWidget(void *, const sipTypeDef *);}
static void *cast_QStackedWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStackedWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFrame)->ctd_cast((QFrame *)(QStackedWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStackedWidget(void *, int);}
static void release_QStackedWidget(void *sipCppV,int)
{
    QStackedWidget *sipCpp = reinterpret_cast<QStackedWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QStackedWidget(sipSimpleWrapper *);}
static void dealloc_QStackedWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQStackedWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QStackedWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QStackedWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStackedWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQStackedWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQStackedWidget(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStackedWidget[] = {{98, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QStackedWidget[] = {
    {(void *)slot_QStackedWidget___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QStackedWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QStackedWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addWidget), meth_QStackedWidget_addWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_addWidget)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QStackedWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QStackedWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QStackedWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QStackedWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QStackedWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QStackedWidget_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_count)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QStackedWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QStackedWidget_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_currentIndex)},
    {SIP_MLNAME_CAST(sipName_currentWidget), meth_QStackedWidget_currentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_currentWidget)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QStackedWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QStackedWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QStackedWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QStackedWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QStackedWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QStackedWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QStackedWidget_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QStackedWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QStackedWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QStackedWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStackedWidget_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QStackedWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QStackedWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QStackedWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QStackedWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QStackedWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QStackedWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexOf), meth_QStackedWidget_indexOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_indexOf)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QStackedWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QStackedWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertWidget), meth_QStackedWidget_insertWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_insertWidget)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QStackedWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QStackedWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QStackedWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QStackedWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QStackedWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QStackedWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QStackedWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QStackedWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QStackedWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QStackedWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QStackedWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QStackedWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QStackedWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeWidget), meth_QStackedWidget_removeWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_removeWidget)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QStackedWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QStackedWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QStackedWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QStackedWidget_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setCurrentWidget), meth_QStackedWidget_setCurrentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_setCurrentWidget)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QStackedWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QStackedWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QStackedWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QStackedWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QStackedWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QStackedWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QStackedWidget_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedWidget_widget)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QStackedWidget[] = {
    {"widgetRemoved(int)", "\1QStackedWidget.widgetRemoved[int]", 0, 0},
    {"currentChanged(int)", "\1QStackedWidget.currentChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QStackedWidget, "\1QStackedWidget(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStackedWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStackedWidget,
        {0}
    },
    {
        sipNameNr_QStackedWidget,
        {0, 0, 1},
        57, methods_QStackedWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStackedWidget,
    -1,
    -1,
    supers_QStackedWidget,
    slots_QStackedWidget,
    init_type_QStackedWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStackedWidget,
    0,
    0,
    0,
    release_QStackedWidget,
    cast_QStackedWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QStackedWidget::staticMetaObject,
    0,
    signals_QStackedWidget,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstackedlayout.sip"
#include <qstackedlayout.h>
#line 123389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 123393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 123396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 123399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 123402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 123405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 123408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 123411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 123414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 123417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 123420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 123423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 123426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 123429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 123432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 123435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 123438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 123441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 123444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 123447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 123450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 123453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 123456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 123459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 123462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 123465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 123468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQStackedLayout : public QStackedLayout
{
public:
    sipQStackedLayout();
    sipQStackedLayout(QWidget*);
    sipQStackedLayout(QLayout*);
    virtual ~sipQStackedLayout();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_widgetEvent(QEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtect_addChildLayout(QLayout*);
    void sipProtect_addChildWidget(QWidget*);
    QRect sipProtect_alignmentRect(const QRect&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSpacerItem* spacerItem();
    int minimumHeightForWidth(int) const;
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QSizePolicy::ControlTypes controlTypes() const;
    void childEvent(QChildEvent*);
    QLayout* layout();
    bool isEmpty() const;
    int indexOf(QWidget*) const;
    QSize maximumSize() const;
    Qt::Orientations expandingDirections() const;
    QRect geometry() const;
    void invalidate();
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    void setGeometry(const QRect&);
    QLayoutItem* takeAt(int);
    QLayoutItem* itemAt(int) const;
    QSize minimumSize() const;
    QSize sizeHint() const;
    void addItem(QLayoutItem*);
    int count() const;
    QWidget* widget();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQStackedLayout(const sipQStackedLayout &);
    sipQStackedLayout &operator = (const sipQStackedLayout &);

    char sipPyMethods[27];
};

sipQStackedLayout::sipQStackedLayout(): QStackedLayout(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStackedLayout::sipQStackedLayout(QWidget*a0): QStackedLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStackedLayout::sipQStackedLayout(QLayout*a0): QStackedLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStackedLayout::~sipQStackedLayout()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQStackedLayout::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStackedLayout);
}

int sipQStackedLayout::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QStackedLayout::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QStackedLayout,_c,_id,_a);

    return _id;
}

void *sipQStackedLayout::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QStackedLayout, _clname, &sipCpp) ? sipCpp : QStackedLayout::qt_metacast(_clname));
}

QSpacerItem* sipQStackedLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QStackedLayout::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQStackedLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QStackedLayout::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedLayout::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QStackedLayout::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedLayout::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QStackedLayout::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedLayout::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QStackedLayout::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStackedLayout::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QStackedLayout::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQStackedLayout::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QStackedLayout::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQStackedLayout::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QStackedLayout::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizePolicy::ControlTypes sipQStackedLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QStackedLayout::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQStackedLayout::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QStackedLayout::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayout* sipQStackedLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QStackedLayout::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQStackedLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return QStackedLayout::isEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQStackedLayout::indexOf(QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return QStackedLayout::indexOf(a0);

    extern int sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_QtWidgets_96(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQStackedLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return QStackedLayout::maximumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::Orientations sipQStackedLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return QStackedLayout::expandingDirections();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRect sipQStackedLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return QStackedLayout::geometry();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQStackedLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QStackedLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQStackedLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QStackedLayout::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQStackedLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QStackedLayout::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQStackedLayout::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QStackedLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQStackedLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return QStackedLayout::takeAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_76(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQStackedLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return QStackedLayout::itemAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_77(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQStackedLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return QStackedLayout::minimumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQStackedLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QStackedLayout::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQStackedLayout::addItem(QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
        QStackedLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLayoutItem*);

    sipVH_QtWidgets_78(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQStackedLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return QStackedLayout::count();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQStackedLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QStackedLayout::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQStackedLayout::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQStackedLayout::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQStackedLayout::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQStackedLayout::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQStackedLayout::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQStackedLayout::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQStackedLayout::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQStackedLayout::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQStackedLayout::sipProtect_widgetEvent(QEvent*a0)
{
    QLayout::widgetEvent(a0);
}

void sipQStackedLayout::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QLayout::childEvent(a0) : childEvent(a0));
}

void sipQStackedLayout::sipProtect_addChildLayout(QLayout*a0)
{
    QLayout::addChildLayout(a0);
}

void sipQStackedLayout::sipProtect_addChildWidget(QWidget*a0)
{
    QLayout::addChildWidget(a0);
}

QRect sipQStackedLayout::sipProtect_alignmentRect(const QRect& a0) const
{
    return QLayout::alignmentRect(a0);
}


PyDoc_STRVAR(doc_QStackedLayout_sender, "QStackedLayout.sender() -> QObject");

extern "C" {static PyObject *meth_QStackedLayout_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 124121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_sender, doc_QStackedLayout_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_receivers, "QStackedLayout.receivers(signal) -> int");

extern "C" {static PyObject *meth_QStackedLayout_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QStackedLayout, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 124180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_receivers, doc_QStackedLayout_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_timerEvent, "QStackedLayout.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QStackedLayout_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_timerEvent, doc_QStackedLayout_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_customEvent, "QStackedLayout.customEvent(QEvent)");

extern "C" {static PyObject *meth_QStackedLayout_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_customEvent, doc_QStackedLayout_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_connectNotify, "QStackedLayout.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStackedLayout_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_connectNotify, doc_QStackedLayout_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_disconnectNotify, "QStackedLayout.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStackedLayout_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_disconnectNotify, doc_QStackedLayout_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_senderSignalIndex, "QStackedLayout.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QStackedLayout_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_senderSignalIndex, doc_QStackedLayout_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_isSignalConnected, "QStackedLayout.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QStackedLayout_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_isSignalConnected, doc_QStackedLayout_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_widgetEvent, "QStackedLayout.widgetEvent(QEvent)");

extern "C" {static PyObject *meth_QStackedLayout_widgetEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_widgetEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QEvent* a0;
        sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtect_widgetEvent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_widgetEvent, doc_QStackedLayout_widgetEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_childEvent, "QStackedLayout.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QStackedLayout_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_childEvent, doc_QStackedLayout_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_addChildLayout, "QStackedLayout.addChildLayout(QLayout)");

extern "C" {static PyObject *meth_QStackedLayout_addChildLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_addChildLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->sipProtect_addChildLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_addChildLayout, doc_QStackedLayout_addChildLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_addChildWidget, "QStackedLayout.addChildWidget(QWidget)");

extern "C" {static PyObject *meth_QStackedLayout_addChildWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_addChildWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B@J8", &sipSelf, sipType_QStackedLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipCpp->addChildWidget(a0);
        #else
        sipCpp->sipProtect_addChildWidget(a0);
        #endif
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows
            // addChildWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 124490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_addChildWidget, doc_QStackedLayout_addChildWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_alignmentRect, "QStackedLayout.alignmentRect(QRect) -> QRect");

extern "C" {static PyObject *meth_QStackedLayout_alignmentRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_alignmentRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        const sipQStackedLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QRect, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_alignmentRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_alignmentRect, doc_QStackedLayout_alignmentRect);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_addWidget, "QStackedLayout.addWidget(QWidget) -> int");

extern "C" {static PyObject *meth_QStackedLayout_addWidget(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_addWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QStackedLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
            int sipRes = 0;

#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstackedlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        sipRes = sipCpp->addWidget(a0);
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows addWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 124569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_addWidget, doc_QStackedLayout_addWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_insertWidget, "QStackedLayout.insertWidget(int, QWidget) -> int");

extern "C" {static PyObject *meth_QStackedLayout_insertWidget(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_insertWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget* a1;
        PyObject *a1Wrapper;
        QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi@J8", &sipSelf, sipType_QStackedLayout, &sipCpp, &a0, &a1Wrapper, sipType_QWidget, &a1))
        {
            int sipRes = 0;

#line 66 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstackedlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        sipRes = sipCpp->insertWidget(a0, a1);
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a1Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows insertWidget(QWidget()).
            sipTransferTo(a1Wrapper, sipSelf);
        }
#line 124620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_insertWidget, doc_QStackedLayout_insertWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_currentWidget, "QStackedLayout.currentWidget() -> QWidget");

extern "C" {static PyObject *meth_QStackedLayout_currentWidget(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_currentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->currentWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_currentWidget, doc_QStackedLayout_currentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_currentIndex, "QStackedLayout.currentIndex() -> int");

extern "C" {static PyObject *meth_QStackedLayout_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_currentIndex, doc_QStackedLayout_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_widget, "QStackedLayout.widget(int) -> QWidget\n"
    "QStackedLayout.widget() -> QWidget");

extern "C" {static PyObject *meth_QStackedLayout_widget(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStackedLayout, &sipCpp, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    {
        QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QStackedLayout::widget() : sipCpp->widget());

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_widget, doc_QStackedLayout_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_count, "QStackedLayout.count() -> int");

extern "C" {static PyObject *meth_QStackedLayout_count(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QStackedLayout::count() : sipCpp->count());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_count, doc_QStackedLayout_count);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_addItem, "QStackedLayout.addItem(QLayoutItem)");

extern "C" {static PyObject *meth_QStackedLayout_addItem(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayoutItem* a0;
        QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QLayoutItem, &a0))
        {
            (sipSelfWasArg ? sipCpp->QStackedLayout::addItem(a0) : sipCpp->addItem(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_addItem, doc_QStackedLayout_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_sizeHint, "QStackedLayout.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QStackedLayout_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QStackedLayout::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_sizeHint, doc_QStackedLayout_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_minimumSize, "QStackedLayout.minimumSize() -> QSize");

extern "C" {static PyObject *meth_QStackedLayout_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QStackedLayout::minimumSize() : sipCpp->minimumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_minimumSize, doc_QStackedLayout_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_itemAt, "QStackedLayout.itemAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QStackedLayout_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStackedLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QStackedLayout::itemAt(a0) : sipCpp->itemAt(a0));

            return sipConvertFromType(sipRes,sipType_QLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_itemAt, doc_QStackedLayout_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_takeAt, "QStackedLayout.takeAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QStackedLayout_takeAt(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_takeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStackedLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QStackedLayout::takeAt(a0) : sipCpp->takeAt(a0));

            return sipConvertFromType(sipRes,sipType_QLayoutItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_takeAt, doc_QStackedLayout_takeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_setGeometry, "QStackedLayout.setGeometry(QRect)");

extern "C" {static PyObject *meth_QStackedLayout_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QRect, &a0))
        {
            (sipSelfWasArg ? sipCpp->QStackedLayout::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_setGeometry, doc_QStackedLayout_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_setCurrentIndex, "QStackedLayout.setCurrentIndex(int)");

extern "C" {static PyObject *meth_QStackedLayout_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStackedLayout, &sipCpp, &a0))
        {
            sipCpp->setCurrentIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_setCurrentIndex, doc_QStackedLayout_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_setCurrentWidget, "QStackedLayout.setCurrentWidget(QWidget)");

extern "C" {static PyObject *meth_QStackedLayout_setCurrentWidget(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_setCurrentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setCurrentWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_setCurrentWidget, doc_QStackedLayout_setCurrentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_stackingMode, "QStackedLayout.stackingMode() -> QStackedLayout.StackingMode");

extern "C" {static PyObject *meth_QStackedLayout_stackingMode(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_stackingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            QStackedLayout::StackingMode sipRes;

            sipRes = sipCpp->stackingMode();

            return sipConvertFromEnum(sipRes,sipType_QStackedLayout_StackingMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_stackingMode, doc_QStackedLayout_stackingMode);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_setStackingMode, "QStackedLayout.setStackingMode(QStackedLayout.StackingMode)");

extern "C" {static PyObject *meth_QStackedLayout_setStackingMode(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_setStackingMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStackedLayout::StackingMode a0;
        QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QStackedLayout, &sipCpp, sipType_QStackedLayout_StackingMode, &a0))
        {
            sipCpp->setStackingMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_setStackingMode, doc_QStackedLayout_setStackingMode);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_hasHeightForWidth, "QStackedLayout.hasHeightForWidth() -> bool");

extern "C" {static PyObject *meth_QStackedLayout_hasHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_hasHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStackedLayout, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QStackedLayout::hasHeightForWidth() : sipCpp->hasHeightForWidth());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_hasHeightForWidth, doc_QStackedLayout_hasHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QStackedLayout_heightForWidth, "QStackedLayout.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QStackedLayout_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QStackedLayout_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QStackedLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QStackedLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QStackedLayout::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStackedLayout, sipName_heightForWidth, doc_QStackedLayout_heightForWidth);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStackedLayout(void *, const sipTypeDef *);}
static void *cast_QStackedLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStackedLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QLayout)->ctd_cast((QLayout *)(QStackedLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStackedLayout(void *, int);}
static void release_QStackedLayout(void *sipCppV,int)
{
    QStackedLayout *sipCpp = reinterpret_cast<QStackedLayout *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QStackedLayout(sipSimpleWrapper *);}
static void dealloc_QStackedLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQStackedLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QStackedLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QStackedLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStackedLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQStackedLayout *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQStackedLayout();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQStackedLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QLayout* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QLayout, &a0, sipOwner))
        {
            sipCpp = new sipQStackedLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStackedLayout[] = {{186, 255, 1}};


static PyMethodDef methods_QStackedLayout[] = {
    {SIP_MLNAME_CAST(sipName_addChildLayout), (PyCFunction)meth_QStackedLayout_addChildLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addChildWidget), (PyCFunction)meth_QStackedLayout_addChildWidget, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), meth_QStackedLayout_addItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_addItem)},
    {SIP_MLNAME_CAST(sipName_addWidget), meth_QStackedLayout_addWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_addWidget)},
    {SIP_MLNAME_CAST(sipName_alignmentRect), (PyCFunction)meth_QStackedLayout_alignmentRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QStackedLayout_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QStackedLayout_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QStackedLayout_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_count)},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QStackedLayout_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_currentIndex)},
    {SIP_MLNAME_CAST(sipName_currentWidget), meth_QStackedLayout_currentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_currentWidget)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QStackedLayout_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QStackedLayout_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hasHeightForWidth), meth_QStackedLayout_hasHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_hasHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QStackedLayout_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_insertWidget), meth_QStackedLayout_insertWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_insertWidget)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QStackedLayout_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QStackedLayout_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_itemAt)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QStackedLayout_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_minimumSize)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QStackedLayout_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QStackedLayout_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QStackedLayout_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QStackedLayout_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setCurrentWidget), meth_QStackedLayout_setCurrentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_setCurrentWidget)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QStackedLayout_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setStackingMode), meth_QStackedLayout_setStackingMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_setStackingMode)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QStackedLayout_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_sizeHint)},
    {SIP_MLNAME_CAST(sipName_stackingMode), meth_QStackedLayout_stackingMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_stackingMode)},
    {SIP_MLNAME_CAST(sipName_takeAt), meth_QStackedLayout_takeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_takeAt)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QStackedLayout_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QStackedLayout_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QStackedLayout_widget)},
    {SIP_MLNAME_CAST(sipName_widgetEvent), (PyCFunction)meth_QStackedLayout_widgetEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QStackedLayout[] = {
    {sipName_StackAll, static_cast<int>(QStackedLayout::StackAll), 280},
    {sipName_StackOne, static_cast<int>(QStackedLayout::StackOne), 280},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QStackedLayout[] = {
    {"currentChanged(int)", "\1QStackedLayout.currentChanged[int]", 0, 0},
    {"widgetRemoved(int)", "\1QStackedLayout.widgetRemoved[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QStackedLayout, "\1QStackedLayout()\n"
    "QStackedLayout(QWidget)\n"
    "QStackedLayout(QLayout)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStackedLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStackedLayout,
        {0}
    },
    {
        sipNameNr_QStackedLayout,
        {0, 0, 1},
        31, methods_QStackedLayout,
        2, enummembers_QStackedLayout,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStackedLayout,
    -1,
    -1,
    supers_QStackedLayout,
    0,
    init_type_QStackedLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStackedLayout,
    0,
    0,
    0,
    release_QStackedLayout,
    cast_QStackedLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QStackedLayout::staticMetaObject,
    0,
    signals_QStackedLayout,
    0
};

#line 79 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 125294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 125301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 125307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 125316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 125319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 125322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 125325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 125328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 125331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 125334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 125340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 125343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 125349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 125355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 125358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 125361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 125364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 125367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 125370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 125373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 125376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 125379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 125382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 125385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 125388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 125433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 125436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 125439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 125442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 125445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 125448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 125454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 125457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 125460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 125463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 125466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 125469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 125472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 125475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 125478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 125481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 125484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 125487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 125490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 125493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 125496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 125499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQSplitterHandle : public QSplitterHandle
{
public:
    sipQSplitterHandle(Qt::Orientation,QSplitter*);
    virtual ~sipQSplitterHandle();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtect_moveSplitter(int);
    int sipProtect_closestLegalPosition(int);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    void resizeEvent(QResizeEvent*);
    bool event(QEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSplitterHandle(const sipQSplitterHandle &);
    sipQSplitterHandle &operator = (const sipQSplitterHandle &);

    char sipPyMethods[46];
};

sipQSplitterHandle::sipQSplitterHandle(Qt::Orientation a0,QSplitter*a1): QSplitterHandle(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSplitterHandle::~sipQSplitterHandle()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSplitterHandle::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSplitterHandle);
}

int sipQSplitterHandle::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QSplitterHandle::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QSplitterHandle,_c,_id,_a);

    return _id;
}

void *sipQSplitterHandle::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QSplitterHandle, _clname, &sipCpp) ? sipCpp : QSplitterHandle::qt_metacast(_clname));
}

void sipQSplitterHandle::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QSplitterHandle::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QSplitterHandle::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QSplitterHandle::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QSplitterHandle::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QSplitterHandle::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSplitterHandle::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QSplitterHandle::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQSplitterHandle::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QSplitterHandle::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQSplitterHandle::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QSplitterHandle::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSplitterHandle::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QSplitterHandle::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSplitterHandle::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QSplitterHandle::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSplitterHandle::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QSplitterHandle::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQSplitterHandle::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QSplitterHandle::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QSplitterHandle::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSplitterHandle::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QSplitterHandle::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QSplitterHandle::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QSplitterHandle::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QSplitterHandle::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QSplitterHandle::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QSplitterHandle::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QSplitterHandle::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QSplitterHandle::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QSplitterHandle::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QSplitterHandle::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QSplitterHandle::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QSplitterHandle::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QSplitterHandle::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QSplitterHandle::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QSplitterHandle::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QSplitterHandle::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QSplitterHandle::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QSplitterHandle::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QSplitterHandle::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QSplitterHandle::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QSplitterHandle::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQSplitterHandle::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QSplitterHandle::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQSplitterHandle::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QSplitterHandle::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQSplitterHandle::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QSplitterHandle::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSplitterHandle::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QSplitterHandle::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSplitterHandle::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QSplitterHandle::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSplitterHandle::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QSplitterHandle::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSplitterHandle::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QSplitterHandle::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QSplitterHandle::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QSplitterHandle::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QSplitterHandle::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitterHandle::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QSplitterHandle::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQSplitterHandle::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QSplitterHandle::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQSplitterHandle::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQSplitterHandle::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQSplitterHandle::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSplitterHandle::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSplitterHandle::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQSplitterHandle::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQSplitterHandle::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQSplitterHandle::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQSplitterHandle::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQSplitterHandle::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQSplitterHandle::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQSplitterHandle::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQSplitterHandle::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQSplitterHandle::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQSplitterHandle::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQSplitterHandle::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQSplitterHandle::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQSplitterHandle::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQSplitterHandle::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QSplitterHandle::paintEvent(a0) : paintEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSplitterHandle::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSplitterHandle::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQSplitterHandle::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSplitterHandle::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

bool sipQSplitterHandle::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QSplitterHandle::event(a0) : event(a0));
}

void sipQSplitterHandle::sipProtect_moveSplitter(int a0)
{
    QSplitterHandle::moveSplitter(a0);
}

int sipQSplitterHandle::sipProtect_closestLegalPosition(int a0)
{
    return QSplitterHandle::closestLegalPosition(a0);
}

void sipQSplitterHandle::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QSplitterHandle::resizeEvent(a0) : resizeEvent(a0));
}


PyDoc_STRVAR(doc_QSplitterHandle_sender, "QSplitterHandle.sender() -> QObject");

extern "C" {static PyObject *meth_QSplitterHandle_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 126729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_sender, doc_QSplitterHandle_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_receivers, "QSplitterHandle.receivers(signal) -> int");

extern "C" {static PyObject *meth_QSplitterHandle_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSplitterHandle, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 126788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_receivers, doc_QSplitterHandle_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_timerEvent, "QSplitterHandle.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_timerEvent, doc_QSplitterHandle_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_childEvent, "QSplitterHandle.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_childEvent, doc_QSplitterHandle_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_customEvent, "QSplitterHandle.customEvent(QEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_customEvent, doc_QSplitterHandle_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_connectNotify, "QSplitterHandle.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSplitterHandle_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_connectNotify, doc_QSplitterHandle_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_disconnectNotify, "QSplitterHandle.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSplitterHandle_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_disconnectNotify, doc_QSplitterHandle_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_senderSignalIndex, "QSplitterHandle.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QSplitterHandle_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_senderSignalIndex, doc_QSplitterHandle_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_isSignalConnected, "QSplitterHandle.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSplitterHandle_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_isSignalConnected, doc_QSplitterHandle_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_mouseDoubleClickEvent, "QSplitterHandle.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_mouseDoubleClickEvent, doc_QSplitterHandle_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_wheelEvent, "QSplitterHandle.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_wheelEvent, doc_QSplitterHandle_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_keyPressEvent, "QSplitterHandle.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_keyPressEvent, doc_QSplitterHandle_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_keyReleaseEvent, "QSplitterHandle.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_keyReleaseEvent, doc_QSplitterHandle_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_focusInEvent, "QSplitterHandle.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_focusInEvent, doc_QSplitterHandle_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_focusOutEvent, "QSplitterHandle.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_focusOutEvent, doc_QSplitterHandle_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_enterEvent, "QSplitterHandle.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_enterEvent, doc_QSplitterHandle_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_leaveEvent, "QSplitterHandle.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_leaveEvent, doc_QSplitterHandle_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_moveEvent, "QSplitterHandle.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_moveEvent, doc_QSplitterHandle_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_closeEvent, "QSplitterHandle.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_closeEvent, doc_QSplitterHandle_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_contextMenuEvent, "QSplitterHandle.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_contextMenuEvent, doc_QSplitterHandle_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_tabletEvent, "QSplitterHandle.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_tabletEvent, doc_QSplitterHandle_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_actionEvent, "QSplitterHandle.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_actionEvent, doc_QSplitterHandle_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_dragEnterEvent, "QSplitterHandle.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_dragEnterEvent, doc_QSplitterHandle_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_dragMoveEvent, "QSplitterHandle.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_dragMoveEvent, doc_QSplitterHandle_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_dragLeaveEvent, "QSplitterHandle.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_dragLeaveEvent, doc_QSplitterHandle_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_dropEvent, "QSplitterHandle.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_dropEvent, doc_QSplitterHandle_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_showEvent, "QSplitterHandle.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_showEvent, doc_QSplitterHandle_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_hideEvent, "QSplitterHandle.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_hideEvent, doc_QSplitterHandle_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_changeEvent, "QSplitterHandle.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_changeEvent, doc_QSplitterHandle_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_metric, "QSplitterHandle.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QSplitterHandle_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_metric, doc_QSplitterHandle_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_inputMethodEvent, "QSplitterHandle.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_inputMethodEvent, doc_QSplitterHandle_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_updateMicroFocus, "QSplitterHandle.updateMicroFocus()");

extern "C" {static PyObject *meth_QSplitterHandle_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_updateMicroFocus, doc_QSplitterHandle_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_create, "QSplitterHandle.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QSplitterHandle_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQSplitterHandle *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_create, doc_QSplitterHandle_create);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_destroy, "QSplitterHandle.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QSplitterHandle_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQSplitterHandle *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QSplitterHandle, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_destroy, doc_QSplitterHandle_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_focusNextPrevChild, "QSplitterHandle.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QSplitterHandle_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QSplitterHandle, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_focusNextPrevChild, doc_QSplitterHandle_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_focusNextChild, "QSplitterHandle.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QSplitterHandle_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_focusNextChild, doc_QSplitterHandle_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_focusPreviousChild, "QSplitterHandle.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QSplitterHandle_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_focusPreviousChild, doc_QSplitterHandle_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_nativeEvent, "QSplitterHandle.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QSplitterHandle_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_nativeEvent, doc_QSplitterHandle_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_sharedPainter, "QSplitterHandle.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QSplitterHandle_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_sharedPainter, doc_QSplitterHandle_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_initPainter, "QSplitterHandle.initPainter(QPainter)");

extern "C" {static PyObject *meth_QSplitterHandle_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_initPainter, doc_QSplitterHandle_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_setOrientation, "QSplitterHandle.setOrientation(Qt.Orientation)");

extern "C" {static PyObject *meth_QSplitterHandle_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        QSplitterHandle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            sipCpp->setOrientation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_setOrientation, doc_QSplitterHandle_setOrientation);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_orientation, "QSplitterHandle.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QSplitterHandle_orientation(PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitterHandle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_orientation, doc_QSplitterHandle_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_opaqueResize, "QSplitterHandle.opaqueResize() -> bool");

extern "C" {static PyObject *meth_QSplitterHandle_opaqueResize(PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_opaqueResize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitterHandle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->opaqueResize();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_opaqueResize, doc_QSplitterHandle_opaqueResize);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_splitter, "QSplitterHandle.splitter() -> QSplitter");

extern "C" {static PyObject *meth_QSplitterHandle_splitter(PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_splitter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitterHandle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            QSplitter*sipRes;

            sipRes = sipCpp->splitter();

            return sipConvertFromType(sipRes,sipType_QSplitter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_splitter, doc_QSplitterHandle_splitter);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_sizeHint, "QSplitterHandle.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QSplitterHandle_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSplitterHandle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitterHandle, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QSplitterHandle::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_sizeHint, doc_QSplitterHandle_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_paintEvent, "QSplitterHandle.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_paintEvent, doc_QSplitterHandle_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_mouseMoveEvent, "QSplitterHandle.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_mouseMoveEvent, doc_QSplitterHandle_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_mousePressEvent, "QSplitterHandle.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_mousePressEvent, doc_QSplitterHandle_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_mouseReleaseEvent, "QSplitterHandle.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_mouseReleaseEvent, doc_QSplitterHandle_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_event, "QSplitterHandle.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QSplitterHandle_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_event, doc_QSplitterHandle_event);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_moveSplitter, "QSplitterHandle.moveSplitter(int)");

extern "C" {static PyObject *meth_QSplitterHandle_moveSplitter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_moveSplitter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QSplitterHandle, &sipCpp, &a0))
        {
            sipCpp->sipProtect_moveSplitter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_moveSplitter, doc_QSplitterHandle_moveSplitter);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_closestLegalPosition, "QSplitterHandle.closestLegalPosition(int) -> int");

extern "C" {static PyObject *meth_QSplitterHandle_closestLegalPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_closestLegalPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QSplitterHandle, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_closestLegalPosition(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_closestLegalPosition, doc_QSplitterHandle_closestLegalPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitterHandle_resizeEvent, "QSplitterHandle.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QSplitterHandle_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitterHandle_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQSplitterHandle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitterHandle, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitterHandle, sipName_resizeEvent, doc_QSplitterHandle_resizeEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSplitterHandle(void *, const sipTypeDef *);}
static void *cast_QSplitterHandle(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSplitterHandle)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QSplitterHandle *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSplitterHandle(void *, int);}
static void release_QSplitterHandle(void *sipCppV,int)
{
    QSplitterHandle *sipCpp = reinterpret_cast<QSplitterHandle *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSplitterHandle(sipSimpleWrapper *);}
static void dealloc_QSplitterHandle(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSplitterHandle *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSplitterHandle(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSplitterHandle(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSplitterHandle(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSplitterHandle *sipCpp = 0;

    {
        Qt::Orientation a0;
        QSplitter* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "EJH", sipType_Qt_Orientation, &a0, sipType_QSplitter, &a1, sipOwner))
        {
            sipCpp = new sipQSplitterHandle(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSplitterHandle[] = {{454, 255, 1}};


static PyMethodDef methods_QSplitterHandle[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QSplitterHandle_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QSplitterHandle_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSplitterHandle_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QSplitterHandle_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closestLegalPosition), (PyCFunction)meth_QSplitterHandle_closestLegalPosition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitterHandle_closestLegalPosition)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSplitterHandle_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QSplitterHandle_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QSplitterHandle_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSplitterHandle_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QSplitterHandle_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSplitterHandle_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QSplitterHandle_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QSplitterHandle_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QSplitterHandle_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QSplitterHandle_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QSplitterHandle_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSplitterHandle_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitterHandle_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QSplitterHandle_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QSplitterHandle_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QSplitterHandle_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QSplitterHandle_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QSplitterHandle_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QSplitterHandle_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QSplitterHandle_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QSplitterHandle_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSplitterHandle_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QSplitterHandle_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QSplitterHandle_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QSplitterHandle_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QSplitterHandle_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QSplitterHandle_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QSplitterHandle_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitterHandle_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QSplitterHandle_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitterHandle_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QSplitterHandle_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitterHandle_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QSplitterHandle_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveSplitter), (PyCFunction)meth_QSplitterHandle_moveSplitter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitterHandle_moveSplitter)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QSplitterHandle_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueResize), meth_QSplitterHandle_opaqueResize, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitterHandle_opaqueResize)},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QSplitterHandle_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitterHandle_orientation)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QSplitterHandle_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitterHandle_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSplitterHandle_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QSplitterHandle_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitterHandle_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSplitterHandle_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSplitterHandle_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_QSplitterHandle_setOrientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitterHandle_setOrientation)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QSplitterHandle_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QSplitterHandle_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QSplitterHandle_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitterHandle_sizeHint)},
    {SIP_MLNAME_CAST(sipName_splitter), meth_QSplitterHandle_splitter, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitterHandle_splitter)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QSplitterHandle_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSplitterHandle_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QSplitterHandle_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QSplitterHandle_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QSplitterHandle, "\1QSplitterHandle(Qt.Orientation, QSplitter)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSplitterHandle = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSplitterHandle,
        {0}
    },
    {
        sipNameNr_QSplitterHandle,
        {0, 0, 1},
        53, methods_QSplitterHandle,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSplitterHandle,
    -1,
    -1,
    supers_QSplitterHandle,
    0,
    init_type_QSplitterHandle,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSplitterHandle,
    0,
    0,
    0,
    release_QSplitterHandle,
    cast_QSplitterHandle,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QSplitterHandle::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 128435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 128439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 128445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 128451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 79 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsplitter.sip"
#include <qsplitter.h>
#line 128454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 128457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 629 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 128463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 128466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 128472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 128475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 128478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 128481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 128484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 128490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 128496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 128502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 128505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 128508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 128511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 128514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 128517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 128520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 128523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 128526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 128529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 128532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 128535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 128583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 128586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 128592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 128595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 128598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 128604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 128607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 128610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 128613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 128616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 128619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 128622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 128625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 128631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 128634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 128637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 128640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 128643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 128646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQSplitter : public QSplitter
{
public:
    sipQSplitter(QWidget*);
    sipQSplitter(Qt::Orientation,QWidget*);
    virtual ~sipQSplitter();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtect_drawFrame(QPainter*);
    QSplitterHandle* sipProtectVirt_createHandle(bool);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_moveSplitter(int,int);
    void sipProtect_setRubberBand(int);
    int sipProtect_closestLegalPosition(int,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void paintEvent(QPaintEvent*);
    void changeEvent(QEvent*);
    void resizeEvent(QResizeEvent*);
    bool event(QEvent*);
    void childEvent(QChildEvent*);
    QSplitterHandle* createHandle();
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSplitter(const sipQSplitter &);
    sipQSplitter &operator = (const sipQSplitter &);

    char sipPyMethods[47];
};

sipQSplitter::sipQSplitter(QWidget*a0): QSplitter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSplitter::sipQSplitter(Qt::Orientation a0,QWidget*a1): QSplitter(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSplitter::~sipQSplitter()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSplitter::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSplitter);
}

int sipQSplitter::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QSplitter::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QSplitter,_c,_id,_a);

    return _id;
}

void *sipQSplitter::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QSplitter, _clname, &sipCpp) ? sipCpp : QSplitter::qt_metacast(_clname));
}

void sipQSplitter::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QSplitter::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QSplitter::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QSplitter::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QSplitter::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSplitter::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QSplitter::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQSplitter::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QSplitter::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQSplitter::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QSplitter::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSplitter::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QSplitter::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSplitter::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QSplitter::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSplitter::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QSplitter::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQSplitter::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QSplitter::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QSplitter::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSplitter::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QSplitter::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QSplitter::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QSplitter::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QSplitter::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QSplitter::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QSplitter::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QSplitter::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QSplitter::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QSplitter::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QSplitter::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QSplitter::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QSplitter::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QSplitter::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QSplitter::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QSplitter::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QSplitter::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QSplitter::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QSplitter::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QSplitter::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QSplitter::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QSplitter::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QSplitter::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QSplitter::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQSplitter::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QSplitter::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQSplitter::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QSplitter::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QSplitter::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSplitter::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QSplitter::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSplitter::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QSplitter::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QSplitter::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QSplitter::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSplitter::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QSplitter::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplitter::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QSplitter::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSplitterHandle* sipQSplitter::createHandle()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_createHandle);

    if (!sipMeth)
        return QSplitter::createHandle();

    extern QSplitterHandle* sipVH_QtWidgets_80(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_80(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQSplitter::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QSplitter::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQSplitter::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QSplitter::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQSplitter::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQSplitter::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQSplitter::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSplitter::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQSplitter::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSplitter::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSplitter::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQSplitter::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQSplitter::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQSplitter::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQSplitter::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQSplitter::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQSplitter::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQSplitter::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQSplitter::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQSplitter::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQSplitter::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQSplitter::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQSplitter::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQSplitter::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQSplitter::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQSplitter::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQSplitter::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQSplitter::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQSplitter::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQSplitter::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQSplitter::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQSplitter::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQSplitter::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQSplitter::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQSplitter::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQSplitter::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQSplitter::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQSplitter::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQSplitter::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQSplitter::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQSplitter::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQSplitter::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQSplitter::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQSplitter::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQSplitter::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQSplitter::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QFrame::paintEvent(a0) : paintEvent(a0));
}

void sipQSplitter::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

QSplitterHandle* sipQSplitter::sipProtectVirt_createHandle(bool sipSelfWasArg)
{
    return (sipSelfWasArg ? QSplitter::createHandle() : createHandle());
}

void sipQSplitter::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QSplitter::childEvent(a0) : childEvent(a0));
}

bool sipQSplitter::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QSplitter::event(a0) : event(a0));
}

void sipQSplitter::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QSplitter::resizeEvent(a0) : resizeEvent(a0));
}

void sipQSplitter::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QSplitter::changeEvent(a0) : changeEvent(a0));
}

void sipQSplitter::sipProtect_moveSplitter(int a0,int a1)
{
    QSplitter::moveSplitter(a0,a1);
}

void sipQSplitter::sipProtect_setRubberBand(int a0)
{
    QSplitter::setRubberBand(a0);
}

int sipQSplitter::sipProtect_closestLegalPosition(int a0,int a1)
{
    return QSplitter::closestLegalPosition(a0,a1);
}


PyDoc_STRVAR(doc_QSplitter_sender, "QSplitter.sender() -> QObject");

extern "C" {static PyObject *meth_QSplitter_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 129916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_sender, doc_QSplitter_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_receivers, "QSplitter.receivers(signal) -> int");

extern "C" {static PyObject *meth_QSplitter_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 129975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_receivers, doc_QSplitter_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_timerEvent, "QSplitter.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QSplitter_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_timerEvent, doc_QSplitter_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_customEvent, "QSplitter.customEvent(QEvent)");

extern "C" {static PyObject *meth_QSplitter_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_customEvent, doc_QSplitter_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_connectNotify, "QSplitter.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSplitter_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_connectNotify, doc_QSplitter_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_disconnectNotify, "QSplitter.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSplitter_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_disconnectNotify, doc_QSplitter_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_senderSignalIndex, "QSplitter.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QSplitter_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_senderSignalIndex, doc_QSplitter_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_isSignalConnected, "QSplitter.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSplitter_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_isSignalConnected, doc_QSplitter_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_mousePressEvent, "QSplitter.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplitter_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_mousePressEvent, doc_QSplitter_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_mouseReleaseEvent, "QSplitter.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplitter_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_mouseReleaseEvent, doc_QSplitter_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_mouseDoubleClickEvent, "QSplitter.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplitter_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_mouseDoubleClickEvent, doc_QSplitter_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_mouseMoveEvent, "QSplitter.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplitter_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_mouseMoveEvent, doc_QSplitter_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_wheelEvent, "QSplitter.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QSplitter_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_wheelEvent, doc_QSplitter_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_keyPressEvent, "QSplitter.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSplitter_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_keyPressEvent, doc_QSplitter_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_keyReleaseEvent, "QSplitter.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSplitter_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_keyReleaseEvent, doc_QSplitter_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_focusInEvent, "QSplitter.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSplitter_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_focusInEvent, doc_QSplitter_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_focusOutEvent, "QSplitter.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSplitter_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_focusOutEvent, doc_QSplitter_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_enterEvent, "QSplitter.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QSplitter_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_enterEvent, doc_QSplitter_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_leaveEvent, "QSplitter.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QSplitter_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_leaveEvent, doc_QSplitter_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_moveEvent, "QSplitter.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QSplitter_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_moveEvent, doc_QSplitter_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_closeEvent, "QSplitter.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QSplitter_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_closeEvent, doc_QSplitter_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_contextMenuEvent, "QSplitter.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QSplitter_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_contextMenuEvent, doc_QSplitter_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_tabletEvent, "QSplitter.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QSplitter_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_tabletEvent, doc_QSplitter_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_actionEvent, "QSplitter.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QSplitter_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_actionEvent, doc_QSplitter_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_dragEnterEvent, "QSplitter.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QSplitter_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_dragEnterEvent, doc_QSplitter_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_dragMoveEvent, "QSplitter.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QSplitter_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_dragMoveEvent, doc_QSplitter_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_dragLeaveEvent, "QSplitter.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QSplitter_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_dragLeaveEvent, doc_QSplitter_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_dropEvent, "QSplitter.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QSplitter_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_dropEvent, doc_QSplitter_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_showEvent, "QSplitter.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QSplitter_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_showEvent, doc_QSplitter_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_hideEvent, "QSplitter.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QSplitter_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_hideEvent, doc_QSplitter_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_metric, "QSplitter.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QSplitter_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_metric, doc_QSplitter_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_inputMethodEvent, "QSplitter.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QSplitter_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_inputMethodEvent, doc_QSplitter_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_updateMicroFocus, "QSplitter.updateMicroFocus()");

extern "C" {static PyObject *meth_QSplitter_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_updateMicroFocus, doc_QSplitter_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_create, "QSplitter.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QSplitter_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQSplitter *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QSplitter, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_create, doc_QSplitter_create);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_destroy, "QSplitter.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QSplitter_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQSplitter *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QSplitter, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_destroy, doc_QSplitter_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_focusNextPrevChild, "QSplitter.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QSplitter_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_focusNextPrevChild, doc_QSplitter_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_focusNextChild, "QSplitter.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QSplitter_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_focusNextChild, doc_QSplitter_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_focusPreviousChild, "QSplitter.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QSplitter_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_focusPreviousChild, doc_QSplitter_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_nativeEvent, "QSplitter.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QSplitter_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_nativeEvent, doc_QSplitter_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_sharedPainter, "QSplitter.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QSplitter_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_sharedPainter, doc_QSplitter_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_initPainter, "QSplitter.initPainter(QPainter)");

extern "C" {static PyObject *meth_QSplitter_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_initPainter, doc_QSplitter_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_paintEvent, "QSplitter.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QSplitter_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_paintEvent, doc_QSplitter_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_drawFrame, "QSplitter.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QSplitter_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_drawFrame, doc_QSplitter_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_addWidget, "QSplitter.addWidget(QWidget)");

extern "C" {static PyObject *meth_QSplitter_addWidget(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_addWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->addWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_addWidget, doc_QSplitter_addWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_insertWidget, "QSplitter.insertWidget(int, QWidget)");

extern "C" {static PyObject *meth_QSplitter_insertWidget(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_insertWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget* a1;
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QSplitter, &sipCpp, &a0, sipType_QWidget, &a1))
        {
            sipCpp->insertWidget(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_insertWidget, doc_QSplitter_insertWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_setOrientation, "QSplitter.setOrientation(Qt.Orientation)");

extern "C" {static PyObject *meth_QSplitter_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSplitter, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            sipCpp->setOrientation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_setOrientation, doc_QSplitter_setOrientation);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_orientation, "QSplitter.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QSplitter_orientation(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_orientation, doc_QSplitter_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_setChildrenCollapsible, "QSplitter.setChildrenCollapsible(bool)");

extern "C" {static PyObject *meth_QSplitter_setChildrenCollapsible(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_setChildrenCollapsible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            sipCpp->setChildrenCollapsible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_setChildrenCollapsible, doc_QSplitter_setChildrenCollapsible);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_childrenCollapsible, "QSplitter.childrenCollapsible() -> bool");

extern "C" {static PyObject *meth_QSplitter_childrenCollapsible(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_childrenCollapsible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->childrenCollapsible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_childrenCollapsible, doc_QSplitter_childrenCollapsible);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_setCollapsible, "QSplitter.setCollapsible(int, bool)");

extern "C" {static PyObject *meth_QSplitter_setCollapsible(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_setCollapsible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QSplitter, &sipCpp, &a0, &a1))
        {
            sipCpp->setCollapsible(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_setCollapsible, doc_QSplitter_setCollapsible);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_isCollapsible, "QSplitter.isCollapsible(int) -> bool");

extern "C" {static PyObject *meth_QSplitter_isCollapsible(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_isCollapsible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isCollapsible(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_isCollapsible, doc_QSplitter_isCollapsible);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_setOpaqueResize, "QSplitter.setOpaqueResize(bool opaque=True)");

extern "C" {static PyObject *meth_QSplitter_setOpaqueResize(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_setOpaqueResize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        QSplitter *sipCpp;

        static const char *sipKwdList[] = {
            sipName_opaque,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|b", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            sipCpp->setOpaqueResize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_setOpaqueResize, doc_QSplitter_setOpaqueResize);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_opaqueResize, "QSplitter.opaqueResize() -> bool");

extern "C" {static PyObject *meth_QSplitter_opaqueResize(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_opaqueResize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->opaqueResize();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_opaqueResize, doc_QSplitter_opaqueResize);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_refresh, "QSplitter.refresh()");

extern "C" {static PyObject *meth_QSplitter_refresh(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_refresh(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            sipCpp->refresh();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_refresh, doc_QSplitter_refresh);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_sizeHint, "QSplitter.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QSplitter_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QSplitter::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_sizeHint, doc_QSplitter_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_minimumSizeHint, "QSplitter.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QSplitter_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QSplitter::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_minimumSizeHint, doc_QSplitter_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_sizes, "QSplitter.sizes() -> list-of-int");

extern "C" {static PyObject *meth_QSplitter_sizes(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_sizes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            QList<int>*sipRes;

            sipRes = new QList<int>(sipCpp->sizes());

            return sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_sizes, doc_QSplitter_sizes);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_setSizes, "QSplitter.setSizes(list-of-int)");

extern "C" {static PyObject *meth_QSplitter_setSizes(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_setSizes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<int>* a0;
        int a0State = 0;
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QList_1800,&a0, &a0State))
        {
            sipCpp->setSizes(*a0);
            sipReleaseType(const_cast<QList<int> *>(a0),sipType_QList_1800,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_setSizes, doc_QSplitter_setSizes);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_saveState, "QSplitter.saveState() -> QByteArray");

extern "C" {static PyObject *meth_QSplitter_saveState(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_saveState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            QByteArray*sipRes;

            sipRes = new QByteArray(sipCpp->saveState());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_saveState, doc_QSplitter_saveState);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_restoreState, "QSplitter.restoreState(QByteArray) -> bool");

extern "C" {static PyObject *meth_QSplitter_restoreState(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_restoreState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->restoreState(*a0);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_restoreState, doc_QSplitter_restoreState);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_handleWidth, "QSplitter.handleWidth() -> int");

extern "C" {static PyObject *meth_QSplitter_handleWidth(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_handleWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->handleWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_handleWidth, doc_QSplitter_handleWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_setHandleWidth, "QSplitter.setHandleWidth(int)");

extern "C" {static PyObject *meth_QSplitter_setHandleWidth(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_setHandleWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            sipCpp->setHandleWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_setHandleWidth, doc_QSplitter_setHandleWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_indexOf, "QSplitter.indexOf(QWidget) -> int");

extern "C" {static PyObject *meth_QSplitter_indexOf(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_indexOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QWidget, &a0))
        {
            int sipRes;

            sipRes = sipCpp->indexOf(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_indexOf, doc_QSplitter_indexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_widget, "QSplitter.widget(int) -> QWidget");

extern "C" {static PyObject *meth_QSplitter_widget(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_widget, doc_QSplitter_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_count, "QSplitter.count() -> int");

extern "C" {static PyObject *meth_QSplitter_count(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_count, doc_QSplitter_count);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_getRange, "QSplitter.getRange(int) -> (int, int)");

extern "C" {static PyObject *meth_QSplitter_getRange(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_getRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            sipCpp->getRange(a0,&a1,&a2);

            return sipBuildResult(0,"(ii)",a1,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_getRange, doc_QSplitter_getRange);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_handle, "QSplitter.handle(int) -> QSplitterHandle");

extern "C" {static PyObject *meth_QSplitter_handle(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_handle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            QSplitterHandle*sipRes;

            sipRes = sipCpp->handle(a0);

            return sipConvertFromType(sipRes,sipType_QSplitterHandle,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_handle, doc_QSplitter_handle);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_setStretchFactor, "QSplitter.setStretchFactor(int, int)");

extern "C" {static PyObject *meth_QSplitter_setStretchFactor(PyObject *, PyObject *);}
static PyObject *meth_QSplitter_setStretchFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QSplitter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QSplitter, &sipCpp, &a0, &a1))
        {
            sipCpp->setStretchFactor(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_setStretchFactor, doc_QSplitter_setStretchFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_createHandle, "QSplitter.createHandle() -> QSplitterHandle");

extern "C" {static PyObject *meth_QSplitter_createHandle(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_createHandle(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplitter, &sipCpp))
        {
            QSplitterHandle*sipRes;

            sipRes = sipCpp->sipProtectVirt_createHandle(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QSplitterHandle,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_createHandle, doc_QSplitter_createHandle);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_childEvent, "QSplitter.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QSplitter_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_childEvent, doc_QSplitter_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_event, "QSplitter.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QSplitter_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_event, doc_QSplitter_event);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_resizeEvent, "QSplitter.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QSplitter_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_resizeEvent, doc_QSplitter_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_changeEvent, "QSplitter.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QSplitter_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplitter, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_changeEvent, doc_QSplitter_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_moveSplitter, "QSplitter.moveSplitter(int, int)");

extern "C" {static PyObject *meth_QSplitter_moveSplitter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_moveSplitter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QSplitter, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_moveSplitter(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_moveSplitter, doc_QSplitter_moveSplitter);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_setRubberBand, "QSplitter.setRubberBand(int)");

extern "C" {static PyObject *meth_QSplitter_setRubberBand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_setRubberBand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QSplitter, &sipCpp, &a0))
        {
            sipCpp->sipProtect_setRubberBand(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_setRubberBand, doc_QSplitter_setRubberBand);

    return NULL;
}


PyDoc_STRVAR(doc_QSplitter_closestLegalPosition, "QSplitter.closestLegalPosition(int, int) -> int");

extern "C" {static PyObject *meth_QSplitter_closestLegalPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplitter_closestLegalPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQSplitter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QSplitter, &sipCpp, &a0, &a1))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_closestLegalPosition(a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplitter, sipName_closestLegalPosition, doc_QSplitter_closestLegalPosition);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QSplitter___len__(PyObject *);}
static SIP_SSIZE_T slot_QSplitter___len__(PyObject *sipSelf)
{
    QSplitter *sipCpp = reinterpret_cast<QSplitter *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSplitter));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 132093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSplitter(void *, const sipTypeDef *);}
static void *cast_QSplitter(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSplitter)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFrame)->ctd_cast((QFrame *)(QSplitter *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSplitter(void *, int);}
static void release_QSplitter(void *sipCppV,int)
{
    QSplitter *sipCpp = reinterpret_cast<QSplitter *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSplitter(sipSimpleWrapper *);}
static void dealloc_QSplitter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSplitter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSplitter(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSplitter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSplitter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSplitter *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQSplitter(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Qt::Orientation a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQSplitter(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSplitter[] = {{98, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QSplitter[] = {
    {(void *)slot_QSplitter___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QSplitter[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QSplitter_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addWidget), meth_QSplitter_addWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_addWidget)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QSplitter_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitter_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSplitter_childEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitter_childEvent)},
    {SIP_MLNAME_CAST(sipName_childrenCollapsible), meth_QSplitter_childrenCollapsible, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_childrenCollapsible)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QSplitter_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closestLegalPosition), (PyCFunction)meth_QSplitter_closestLegalPosition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitter_closestLegalPosition)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSplitter_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QSplitter_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QSplitter_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_count)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QSplitter_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createHandle), (PyCFunction)meth_QSplitter_createHandle, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitter_createHandle)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSplitter_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QSplitter_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSplitter_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QSplitter_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QSplitter_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QSplitter_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QSplitter_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QSplitter_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QSplitter_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSplitter_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitter_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QSplitter_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QSplitter_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QSplitter_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QSplitter_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QSplitter_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_getRange), meth_QSplitter_getRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_getRange)},
    {SIP_MLNAME_CAST(sipName_handle), meth_QSplitter_handle, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_handle)},
    {SIP_MLNAME_CAST(sipName_handleWidth), meth_QSplitter_handleWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_handleWidth)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QSplitter_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexOf), meth_QSplitter_indexOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_indexOf)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QSplitter_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QSplitter_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertWidget), meth_QSplitter_insertWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_insertWidget)},
    {SIP_MLNAME_CAST(sipName_isCollapsible), meth_QSplitter_isCollapsible, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_isCollapsible)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSplitter_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QSplitter_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QSplitter_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QSplitter_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QSplitter_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QSplitter_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QSplitter_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QSplitter_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QSplitter_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QSplitter_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QSplitter_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveSplitter), (PyCFunction)meth_QSplitter_moveSplitter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitter_moveSplitter)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QSplitter_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueResize), meth_QSplitter_opaqueResize, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_opaqueResize)},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QSplitter_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_orientation)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QSplitter_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSplitter_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_refresh), meth_QSplitter_refresh, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_refresh)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QSplitter_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitter_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_restoreState), meth_QSplitter_restoreState, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_restoreState)},
    {SIP_MLNAME_CAST(sipName_saveState), meth_QSplitter_saveState, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_saveState)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSplitter_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSplitter_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setChildrenCollapsible), meth_QSplitter_setChildrenCollapsible, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_setChildrenCollapsible)},
    {SIP_MLNAME_CAST(sipName_setCollapsible), meth_QSplitter_setCollapsible, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_setCollapsible)},
    {SIP_MLNAME_CAST(sipName_setHandleWidth), meth_QSplitter_setHandleWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_setHandleWidth)},
    {SIP_MLNAME_CAST(sipName_setOpaqueResize), (PyCFunction)meth_QSplitter_setOpaqueResize, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitter_setOpaqueResize)},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_QSplitter_setOrientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_setOrientation)},
    {SIP_MLNAME_CAST(sipName_setRubberBand), (PyCFunction)meth_QSplitter_setRubberBand, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplitter_setRubberBand)},
    {SIP_MLNAME_CAST(sipName_setSizes), meth_QSplitter_setSizes, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_setSizes)},
    {SIP_MLNAME_CAST(sipName_setStretchFactor), meth_QSplitter_setStretchFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_setStretchFactor)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QSplitter_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QSplitter_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QSplitter_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_sizeHint)},
    {SIP_MLNAME_CAST(sipName_sizes), meth_QSplitter_sizes, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_sizes)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QSplitter_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSplitter_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QSplitter_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QSplitter_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QSplitter_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplitter_widget)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSplitter[] = {
    {"splitterMoved(int,int)", "\1QSplitter.splitterMoved[int, int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSplitter, "\1QSplitter(QWidget parent=None)\n"
    "QSplitter(Qt.Orientation, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSplitter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSplitter,
        {0}
    },
    {
        sipNameNr_QSplitter,
        {0, 0, 1},
        76, methods_QSplitter,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSplitter,
    -1,
    -1,
    supers_QSplitter,
    slots_QSplitter,
    init_type_QSplitter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSplitter,
    0,
    0,
    0,
    release_QSplitter,
    cast_QSplitter,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QSplitter::staticMetaObject,
    0,
    signals_QSplitter,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsplashscreen.sip"
#include <qsplashscreen.h>
#line 132348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 132352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 132355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 132358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 132364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 132367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 132370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 132373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 132376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 132379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 132382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 132385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 132388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 132391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 132394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 132397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 132400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 132403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 132406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 132409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 132412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 132415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 132418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 132421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 132424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 132427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 132430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 132433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 132436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 132487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 132490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 132493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 132496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 132499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 132502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 132505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 132508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 132511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 132514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 132517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 132520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 132523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 132526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 132529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 132532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 132535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 132538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 132541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 132544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 132547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 132550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 132553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQSplashScreen : public QSplashScreen
{
public:
    sipQSplashScreen(const QPixmap&,Qt::WindowFlags);
    sipQSplashScreen(QWidget*,const QPixmap&,Qt::WindowFlags);
    virtual ~sipQSplashScreen();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_drawContents(bool,QPainter*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    void drawContents(QPainter*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSplashScreen(const sipQSplashScreen &);
    sipQSplashScreen &operator = (const sipQSplashScreen &);

    char sipPyMethods[47];
};

sipQSplashScreen::sipQSplashScreen(const QPixmap& a0,Qt::WindowFlags a1): QSplashScreen(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSplashScreen::sipQSplashScreen(QWidget*a0,const QPixmap& a1,Qt::WindowFlags a2): QSplashScreen(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSplashScreen::~sipQSplashScreen()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSplashScreen::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSplashScreen);
}

int sipQSplashScreen::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QSplashScreen::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QSplashScreen,_c,_id,_a);

    return _id;
}

void *sipQSplashScreen::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QSplashScreen, _clname, &sipCpp) ? sipCpp : QSplashScreen::qt_metacast(_clname));
}

void sipQSplashScreen::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QSplashScreen::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QSplashScreen::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QSplashScreen::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QSplashScreen::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QSplashScreen::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSplashScreen::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QSplashScreen::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQSplashScreen::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QSplashScreen::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQSplashScreen::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QSplashScreen::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSplashScreen::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QSplashScreen::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSplashScreen::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QSplashScreen::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSplashScreen::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QSplashScreen::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQSplashScreen::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QSplashScreen::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QSplashScreen::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSplashScreen::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QSplashScreen::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QSplashScreen::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QSplashScreen::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QSplashScreen::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QSplashScreen::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QSplashScreen::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QSplashScreen::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QSplashScreen::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QSplashScreen::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QSplashScreen::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QSplashScreen::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QSplashScreen::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QSplashScreen::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QSplashScreen::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QSplashScreen::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QSplashScreen::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QSplashScreen::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QSplashScreen::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QSplashScreen::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QSplashScreen::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QSplashScreen::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QSplashScreen::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QSplashScreen::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QSplashScreen::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QSplashScreen::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQSplashScreen::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QSplashScreen::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQSplashScreen::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QSplashScreen::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQSplashScreen::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QSplashScreen::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQSplashScreen::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QSplashScreen::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSplashScreen::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QSplashScreen::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSplashScreen::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QSplashScreen::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSplashScreen::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QSplashScreen::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSplashScreen::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QSplashScreen::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSplashScreen::drawContents(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_drawContents);

    if (!sipMeth)
    {
        QSplashScreen::drawContents(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQSplashScreen::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQSplashScreen::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQSplashScreen::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSplashScreen::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSplashScreen::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQSplashScreen::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQSplashScreen::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQSplashScreen::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQSplashScreen::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQSplashScreen::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQSplashScreen::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQSplashScreen::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQSplashScreen::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQSplashScreen::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQSplashScreen::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQSplashScreen::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQSplashScreen::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQSplashScreen::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQSplashScreen::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQSplashScreen::sipProtectVirt_drawContents(bool sipSelfWasArg,QPainter*a0)
{
    (sipSelfWasArg ? QSplashScreen::drawContents(a0) : drawContents(a0));
}

bool sipQSplashScreen::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QSplashScreen::event(a0) : event(a0));
}

void sipQSplashScreen::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSplashScreen::mousePressEvent(a0) : mousePressEvent(a0));
}


PyDoc_STRVAR(doc_QSplashScreen_sender, "QSplashScreen.sender() -> QObject");

extern "C" {static PyObject *meth_QSplashScreen_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 133802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_sender, doc_QSplashScreen_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_receivers, "QSplashScreen.receivers(signal) -> int");

extern "C" {static PyObject *meth_QSplashScreen_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSplashScreen, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 133861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_receivers, doc_QSplashScreen_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_timerEvent, "QSplashScreen.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QSplashScreen_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_timerEvent, doc_QSplashScreen_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_childEvent, "QSplashScreen.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QSplashScreen_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_childEvent, doc_QSplashScreen_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_customEvent, "QSplashScreen.customEvent(QEvent)");

extern "C" {static PyObject *meth_QSplashScreen_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_customEvent, doc_QSplashScreen_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_connectNotify, "QSplashScreen.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSplashScreen_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_connectNotify, doc_QSplashScreen_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_disconnectNotify, "QSplashScreen.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSplashScreen_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_disconnectNotify, doc_QSplashScreen_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_senderSignalIndex, "QSplashScreen.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QSplashScreen_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_senderSignalIndex, doc_QSplashScreen_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_isSignalConnected, "QSplashScreen.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSplashScreen_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_isSignalConnected, doc_QSplashScreen_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_mouseReleaseEvent, "QSplashScreen.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplashScreen_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_mouseReleaseEvent, doc_QSplashScreen_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_mouseDoubleClickEvent, "QSplashScreen.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplashScreen_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_mouseDoubleClickEvent, doc_QSplashScreen_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_mouseMoveEvent, "QSplashScreen.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplashScreen_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_mouseMoveEvent, doc_QSplashScreen_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_wheelEvent, "QSplashScreen.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QSplashScreen_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_wheelEvent, doc_QSplashScreen_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_keyPressEvent, "QSplashScreen.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSplashScreen_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_keyPressEvent, doc_QSplashScreen_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_keyReleaseEvent, "QSplashScreen.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSplashScreen_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_keyReleaseEvent, doc_QSplashScreen_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_focusInEvent, "QSplashScreen.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSplashScreen_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_focusInEvent, doc_QSplashScreen_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_focusOutEvent, "QSplashScreen.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSplashScreen_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_focusOutEvent, doc_QSplashScreen_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_enterEvent, "QSplashScreen.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QSplashScreen_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_enterEvent, doc_QSplashScreen_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_leaveEvent, "QSplashScreen.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QSplashScreen_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_leaveEvent, doc_QSplashScreen_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_paintEvent, "QSplashScreen.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QSplashScreen_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_paintEvent, doc_QSplashScreen_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_moveEvent, "QSplashScreen.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QSplashScreen_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_moveEvent, doc_QSplashScreen_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_resizeEvent, "QSplashScreen.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QSplashScreen_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_resizeEvent, doc_QSplashScreen_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_closeEvent, "QSplashScreen.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QSplashScreen_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_closeEvent, doc_QSplashScreen_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_contextMenuEvent, "QSplashScreen.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QSplashScreen_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_contextMenuEvent, doc_QSplashScreen_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_tabletEvent, "QSplashScreen.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QSplashScreen_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_tabletEvent, doc_QSplashScreen_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_actionEvent, "QSplashScreen.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QSplashScreen_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_actionEvent, doc_QSplashScreen_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_dragEnterEvent, "QSplashScreen.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QSplashScreen_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_dragEnterEvent, doc_QSplashScreen_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_dragMoveEvent, "QSplashScreen.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QSplashScreen_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_dragMoveEvent, doc_QSplashScreen_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_dragLeaveEvent, "QSplashScreen.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QSplashScreen_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_dragLeaveEvent, doc_QSplashScreen_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_dropEvent, "QSplashScreen.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QSplashScreen_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_dropEvent, doc_QSplashScreen_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_showEvent, "QSplashScreen.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QSplashScreen_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_showEvent, doc_QSplashScreen_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_hideEvent, "QSplashScreen.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QSplashScreen_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_hideEvent, doc_QSplashScreen_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_changeEvent, "QSplashScreen.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QSplashScreen_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_changeEvent, doc_QSplashScreen_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_metric, "QSplashScreen.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QSplashScreen_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_metric, doc_QSplashScreen_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_inputMethodEvent, "QSplashScreen.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QSplashScreen_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_inputMethodEvent, doc_QSplashScreen_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_updateMicroFocus, "QSplashScreen.updateMicroFocus()");

extern "C" {static PyObject *meth_QSplashScreen_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_updateMicroFocus, doc_QSplashScreen_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_create, "QSplashScreen.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QSplashScreen_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQSplashScreen *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_create, doc_QSplashScreen_create);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_destroy, "QSplashScreen.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QSplashScreen_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQSplashScreen *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QSplashScreen, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_destroy, doc_QSplashScreen_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_focusNextPrevChild, "QSplashScreen.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QSplashScreen_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QSplashScreen, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_focusNextPrevChild, doc_QSplashScreen_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_focusNextChild, "QSplashScreen.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QSplashScreen_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_focusNextChild, doc_QSplashScreen_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_focusPreviousChild, "QSplashScreen.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QSplashScreen_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_focusPreviousChild, doc_QSplashScreen_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_nativeEvent, "QSplashScreen.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QSplashScreen_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_nativeEvent, doc_QSplashScreen_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_sharedPainter, "QSplashScreen.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QSplashScreen_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_sharedPainter, doc_QSplashScreen_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_initPainter, "QSplashScreen.initPainter(QPainter)");

extern "C" {static PyObject *meth_QSplashScreen_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_initPainter, doc_QSplashScreen_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_setPixmap, "QSplashScreen.setPixmap(QPixmap)");

extern "C" {static PyObject *meth_QSplashScreen_setPixmap(PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_setPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        QSplashScreen *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QPixmap, &a0))
        {
            sipCpp->setPixmap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_setPixmap, doc_QSplashScreen_setPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_pixmap, "QSplashScreen.pixmap() -> QPixmap");

extern "C" {static PyObject *meth_QSplashScreen_pixmap(PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_pixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplashScreen *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            QPixmap*sipRes;

            sipRes = new QPixmap(sipCpp->pixmap());

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_pixmap, doc_QSplashScreen_pixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_finish, "QSplashScreen.finish(QWidget)");

extern "C" {static PyObject *meth_QSplashScreen_finish(PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_finish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QSplashScreen *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->finish(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_finish, doc_QSplashScreen_finish);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_repaint, "QSplashScreen.repaint()");

extern "C" {static PyObject *meth_QSplashScreen_repaint(PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_repaint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSplashScreen *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            sipCpp->repaint();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_repaint, doc_QSplashScreen_repaint);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_message, "QSplashScreen.message() -> str");

extern "C" {static PyObject *meth_QSplashScreen_message(PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_message(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSplashScreen *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->message());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_message, doc_QSplashScreen_message);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_showMessage, "QSplashScreen.showMessage(str, int alignment=Qt.AlignLeft, QColor color=Qt.black)");

extern "C" {static PyObject *meth_QSplashScreen_showMessage(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_showMessage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        int a1 = Qt::AlignLeft;
        const QColor& a2def = Qt::black;
        const QColor* a2 = &a2def;
        int a2State = 0;
        QSplashScreen *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_alignment,
            sipName_color,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iJ1", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QColor, &a2, &a2State))
        {
            sipCpp->showMessage(*a0,a1,*a2);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QColor *>(a2),sipType_QColor,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_showMessage, doc_QSplashScreen_showMessage);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_clearMessage, "QSplashScreen.clearMessage()");

extern "C" {static PyObject *meth_QSplashScreen_clearMessage(PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_clearMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSplashScreen *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSplashScreen, &sipCpp))
        {
            sipCpp->clearMessage();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_clearMessage, doc_QSplashScreen_clearMessage);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_drawContents, "QSplashScreen.drawContents(QPainter)");

extern "C" {static PyObject *meth_QSplashScreen_drawContents(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_drawContents(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_drawContents(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_drawContents, doc_QSplashScreen_drawContents);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_event, "QSplashScreen.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QSplashScreen_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_event, doc_QSplashScreen_event);

    return NULL;
}


PyDoc_STRVAR(doc_QSplashScreen_mousePressEvent, "QSplashScreen.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSplashScreen_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSplashScreen_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSplashScreen *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSplashScreen, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSplashScreen, sipName_mousePressEvent, doc_QSplashScreen_mousePressEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSplashScreen(void *, const sipTypeDef *);}
static void *cast_QSplashScreen(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSplashScreen)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QSplashScreen *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSplashScreen(void *, int);}
static void release_QSplashScreen(void *sipCppV,int)
{
    QSplashScreen *sipCpp = reinterpret_cast<QSplashScreen *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSplashScreen(sipSimpleWrapper *);}
static void dealloc_QSplashScreen(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSplashScreen *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSplashScreen(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSplashScreen(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSplashScreen(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSplashScreen *sipCpp = 0;

    {
        const QPixmap& a0def = QPixmap();
        const QPixmap* a0 = &a0def;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_pixmap,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J9J1", sipType_QPixmap, &a0, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQSplashScreen(*a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;
        const QPixmap& a1def = QPixmap();
        const QPixmap* a1 = &a1def;
        Qt::WindowFlags a2def = 0;
        Qt::WindowFlags* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_pixmap,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|J9J1", sipType_QWidget, &a0, sipOwner, sipType_QPixmap, &a1, sipType_Qt_WindowFlags, &a2, &a2State))
        {
            sipCpp = new sipQSplashScreen(a0,*a1,*a2);
            sipReleaseType(a2,sipType_Qt_WindowFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSplashScreen[] = {{454, 255, 1}};


static PyMethodDef methods_QSplashScreen[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QSplashScreen_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QSplashScreen_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSplashScreen_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearMessage), meth_QSplashScreen_clearMessage, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplashScreen_clearMessage)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QSplashScreen_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSplashScreen_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QSplashScreen_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QSplashScreen_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSplashScreen_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QSplashScreen_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSplashScreen_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QSplashScreen_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QSplashScreen_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QSplashScreen_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawContents), (PyCFunction)meth_QSplashScreen_drawContents, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplashScreen_drawContents)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QSplashScreen_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QSplashScreen_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSplashScreen_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplashScreen_event)},
    {SIP_MLNAME_CAST(sipName_finish), meth_QSplashScreen_finish, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplashScreen_finish)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QSplashScreen_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QSplashScreen_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QSplashScreen_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QSplashScreen_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QSplashScreen_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QSplashScreen_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QSplashScreen_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QSplashScreen_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSplashScreen_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QSplashScreen_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QSplashScreen_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QSplashScreen_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_message), meth_QSplashScreen_message, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplashScreen_message)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QSplashScreen_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QSplashScreen_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QSplashScreen_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QSplashScreen_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplashScreen_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QSplashScreen_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QSplashScreen_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QSplashScreen_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QSplashScreen_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_QSplashScreen_pixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplashScreen_pixmap)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSplashScreen_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_repaint), meth_QSplashScreen_repaint, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplashScreen_repaint)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QSplashScreen_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSplashScreen_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSplashScreen_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_QSplashScreen_setPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QSplashScreen_setPixmap)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QSplashScreen_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QSplashScreen_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), (PyCFunction)meth_QSplashScreen_showMessage, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSplashScreen_showMessage)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QSplashScreen_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSplashScreen_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QSplashScreen_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QSplashScreen_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSplashScreen[] = {
    {"messageChanged(QString)", "\1QSplashScreen.messageChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSplashScreen, "\1QSplashScreen(QPixmap pixmap=QPixmap(), Qt.WindowFlags flags=0)\n"
    "QSplashScreen(QWidget, QPixmap pixmap=QPixmap(), Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSplashScreen = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSplashScreen,
        {0}
    },
    {
        sipNameNr_QSplashScreen,
        {0, 0, 1},
        54, methods_QSplashScreen,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSplashScreen,
    -1,
    -1,
    supers_QSplashScreen,
    0,
    init_type_QSplashScreen,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSplashScreen,
    0,
    0,
    0,
    release_QSplashScreen,
    cast_QSplashScreen,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QSplashScreen::staticMetaObject,
    0,
    signals_QSplashScreen,
    0
};

#line 75 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qspinbox.sip"
#include <qspinbox.h>
#line 135588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 135592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 135595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 135598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 135601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 135607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 135610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 135613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 135616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 135625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 135637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 135655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 135661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 135664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 135667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 135670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 135676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 135679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 135685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 135691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 135694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 135697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 135700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 135703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 135706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 135709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 135712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 135715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 135718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 135721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 135745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 135748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 135751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 135754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 135757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 135760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 135766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 135769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 135772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 135775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 135778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 135781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 135784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 135787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 135790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 135793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 135796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 135799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 135802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 135805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 135808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDoubleSpinBox : public QDoubleSpinBox
{
public:
    sipQDoubleSpinBox(QWidget*);
    virtual ~sipQDoubleSpinBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    QLineEdit* sipProtect_lineEdit() const;
    void sipProtect_setLineEdit(QLineEdit*);
    QAbstractSpinBox::StepEnabled sipProtectVirt_stepEnabled(bool) const;
    void sipProtect_initStyleOption(QStyleOptionSpinBox*) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    QAbstractSpinBox::StepEnabled stepEnabled() const;
    void showEvent(QShowEvent*);
    void paintEvent(QPaintEvent*);
    void timerEvent(QTimerEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void wheelEvent(QWheelEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void resizeEvent(QResizeEvent*);
    void clear();
    void stepBy(int);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void fixup(QString&) const;
    QString textFromValue(double) const;
    double valueFromText(const QString&) const;
    QValidator::State validate(QString&,int&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDoubleSpinBox(const sipQDoubleSpinBox &);
    sipQDoubleSpinBox &operator = (const sipQDoubleSpinBox &);

    char sipPyMethods[53];
};

sipQDoubleSpinBox::sipQDoubleSpinBox(QWidget*a0): QDoubleSpinBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDoubleSpinBox::~sipQDoubleSpinBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDoubleSpinBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDoubleSpinBox);
}

int sipQDoubleSpinBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDoubleSpinBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDoubleSpinBox,_c,_id,_a);

    return _id;
}

void *sipQDoubleSpinBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDoubleSpinBox, _clname, &sipCpp) ? sipCpp : QDoubleSpinBox::qt_metacast(_clname));
}

void sipQDoubleSpinBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDoubleSpinBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDoubleSpinBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDoubleSpinBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDoubleSpinBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDoubleSpinBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QDoubleSpinBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQDoubleSpinBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QDoubleSpinBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDoubleSpinBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QDoubleSpinBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDoubleSpinBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QDoubleSpinBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDoubleSpinBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QDoubleSpinBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDoubleSpinBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QDoubleSpinBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQDoubleSpinBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QDoubleSpinBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQDoubleSpinBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QDoubleSpinBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QDoubleSpinBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDoubleSpinBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QDoubleSpinBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQDoubleSpinBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QDoubleSpinBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QAbstractSpinBox::StepEnabled sipQDoubleSpinBox::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return QDoubleSpinBox::stepEnabled();

    extern QAbstractSpinBox::StepEnabled sipVH_QtWidgets_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_137(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDoubleSpinBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QDoubleSpinBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDoubleSpinBox::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        QDoubleSpinBox::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDoubleSpinBox::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
        QDoubleSpinBox::stepBy(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDoubleSpinBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDoubleSpinBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQDoubleSpinBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QDoubleSpinBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDoubleSpinBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QDoubleSpinBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDoubleSpinBox::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        QDoubleSpinBox::fixup(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

    ((sipVH_QtGui_18)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QString sipQDoubleSpinBox::textFromValue(double a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_textFromValue);

    if (!sipMeth)
        return QDoubleSpinBox::textFromValue(a0);

    extern QString sipVH_QtWidgets_81(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double);

    return sipVH_QtWidgets_81(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

double sipQDoubleSpinBox::valueFromText(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_valueFromText);

    if (!sipMeth)
        return QDoubleSpinBox::valueFromText(a0);

    extern double sipVH_QtWidgets_82(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtWidgets_82(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QValidator::State sipQDoubleSpinBox::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return QDoubleSpinBox::validate(a0,a1);

    typedef QValidator::State (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

    return ((sipVH_QtGui_15)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[15]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QObject* sipQDoubleSpinBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDoubleSpinBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDoubleSpinBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDoubleSpinBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDoubleSpinBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQDoubleSpinBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQDoubleSpinBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQDoubleSpinBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQDoubleSpinBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQDoubleSpinBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQDoubleSpinBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQDoubleSpinBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQDoubleSpinBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQDoubleSpinBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQDoubleSpinBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQDoubleSpinBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::wheelEvent(a0) : wheelEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::focusInEvent(a0) : focusInEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::changeEvent(a0) : changeEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::closeEvent(a0) : closeEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::hideEvent(a0) : hideEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::timerEvent(a0) : timerEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::paintEvent(a0) : paintEvent(a0));
}

void sipQDoubleSpinBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::showEvent(a0) : showEvent(a0));
}

QLineEdit* sipQDoubleSpinBox::sipProtect_lineEdit() const
{
    return QAbstractSpinBox::lineEdit();
}

void sipQDoubleSpinBox::sipProtect_setLineEdit(QLineEdit*a0)
{
    QAbstractSpinBox::setLineEdit(a0);
}

QAbstractSpinBox::StepEnabled sipQDoubleSpinBox::sipProtectVirt_stepEnabled(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractSpinBox::stepEnabled() : stepEnabled());
}

void sipQDoubleSpinBox::sipProtect_initStyleOption(QStyleOptionSpinBox*a0) const
{
    QAbstractSpinBox::initStyleOption(a0);
}


PyDoc_STRVAR(doc_QDoubleSpinBox_sender, "QDoubleSpinBox.sender() -> QObject");

extern "C" {static PyObject *meth_QDoubleSpinBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 137165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_sender, doc_QDoubleSpinBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_receivers, "QDoubleSpinBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDoubleSpinBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 137224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_receivers, doc_QDoubleSpinBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_childEvent, "QDoubleSpinBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_childEvent, doc_QDoubleSpinBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_customEvent, "QDoubleSpinBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_customEvent, doc_QDoubleSpinBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_connectNotify, "QDoubleSpinBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDoubleSpinBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_connectNotify, doc_QDoubleSpinBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_disconnectNotify, "QDoubleSpinBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDoubleSpinBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_disconnectNotify, doc_QDoubleSpinBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_senderSignalIndex, "QDoubleSpinBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDoubleSpinBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_senderSignalIndex, doc_QDoubleSpinBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_isSignalConnected, "QDoubleSpinBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDoubleSpinBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_isSignalConnected, doc_QDoubleSpinBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_mouseDoubleClickEvent, "QDoubleSpinBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_mouseDoubleClickEvent, doc_QDoubleSpinBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_enterEvent, "QDoubleSpinBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_enterEvent, doc_QDoubleSpinBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_leaveEvent, "QDoubleSpinBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_leaveEvent, doc_QDoubleSpinBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_moveEvent, "QDoubleSpinBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_moveEvent, doc_QDoubleSpinBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_tabletEvent, "QDoubleSpinBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_tabletEvent, doc_QDoubleSpinBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_actionEvent, "QDoubleSpinBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_actionEvent, doc_QDoubleSpinBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_dragEnterEvent, "QDoubleSpinBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_dragEnterEvent, doc_QDoubleSpinBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_dragMoveEvent, "QDoubleSpinBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_dragMoveEvent, doc_QDoubleSpinBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_dragLeaveEvent, "QDoubleSpinBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_dragLeaveEvent, doc_QDoubleSpinBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_dropEvent, "QDoubleSpinBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_dropEvent, doc_QDoubleSpinBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_metric, "QDoubleSpinBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QDoubleSpinBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_metric, doc_QDoubleSpinBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_inputMethodEvent, "QDoubleSpinBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_inputMethodEvent, doc_QDoubleSpinBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_updateMicroFocus, "QDoubleSpinBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QDoubleSpinBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_updateMicroFocus, doc_QDoubleSpinBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_create, "QDoubleSpinBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QDoubleSpinBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQDoubleSpinBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_create, doc_QDoubleSpinBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_destroy, "QDoubleSpinBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QDoubleSpinBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQDoubleSpinBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_destroy, doc_QDoubleSpinBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_focusNextPrevChild, "QDoubleSpinBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QDoubleSpinBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_focusNextPrevChild, doc_QDoubleSpinBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_focusNextChild, "QDoubleSpinBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QDoubleSpinBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_focusNextChild, doc_QDoubleSpinBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_focusPreviousChild, "QDoubleSpinBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QDoubleSpinBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_focusPreviousChild, doc_QDoubleSpinBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_nativeEvent, "QDoubleSpinBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QDoubleSpinBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_nativeEvent, doc_QDoubleSpinBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_sharedPainter, "QDoubleSpinBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QDoubleSpinBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_sharedPainter, doc_QDoubleSpinBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_initPainter, "QDoubleSpinBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QDoubleSpinBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_initPainter, doc_QDoubleSpinBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_resizeEvent, "QDoubleSpinBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_resizeEvent, doc_QDoubleSpinBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_keyPressEvent, "QDoubleSpinBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_keyPressEvent, doc_QDoubleSpinBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_keyReleaseEvent, "QDoubleSpinBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_keyReleaseEvent, doc_QDoubleSpinBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_wheelEvent, "QDoubleSpinBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_wheelEvent, doc_QDoubleSpinBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_focusInEvent, "QDoubleSpinBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_focusInEvent, doc_QDoubleSpinBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_focusOutEvent, "QDoubleSpinBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_focusOutEvent, doc_QDoubleSpinBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_contextMenuEvent, "QDoubleSpinBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_contextMenuEvent, doc_QDoubleSpinBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_changeEvent, "QDoubleSpinBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_changeEvent, doc_QDoubleSpinBox_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_closeEvent, "QDoubleSpinBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_closeEvent, doc_QDoubleSpinBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_hideEvent, "QDoubleSpinBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_hideEvent, doc_QDoubleSpinBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_mousePressEvent, "QDoubleSpinBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_mousePressEvent, doc_QDoubleSpinBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_mouseReleaseEvent, "QDoubleSpinBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_mouseReleaseEvent, doc_QDoubleSpinBox_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_mouseMoveEvent, "QDoubleSpinBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_mouseMoveEvent, doc_QDoubleSpinBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_timerEvent, "QDoubleSpinBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_timerEvent, doc_QDoubleSpinBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_paintEvent, "QDoubleSpinBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_paintEvent, doc_QDoubleSpinBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_showEvent, "QDoubleSpinBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QDoubleSpinBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_showEvent, doc_QDoubleSpinBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_lineEdit, "QDoubleSpinBox.lineEdit() -> QLineEdit");

extern "C" {static PyObject *meth_QDoubleSpinBox_lineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_lineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            QLineEdit*sipRes;

            sipRes = sipCpp->sipProtect_lineEdit();

            return sipConvertFromType(sipRes,sipType_QLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_lineEdit, doc_QDoubleSpinBox_lineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_setLineEdit, "QDoubleSpinBox.setLineEdit(QLineEdit)");

extern "C" {static PyObject *meth_QDoubleSpinBox_setLineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_setLineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit* a0;
        sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QLineEdit, &a0))
        {
            sipCpp->sipProtect_setLineEdit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_setLineEdit, doc_QDoubleSpinBox_setLineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_stepEnabled, "QDoubleSpinBox.stepEnabled() -> QAbstractSpinBox.StepEnabled");

extern "C" {static PyObject *meth_QDoubleSpinBox_stepEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_stepEnabled(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled(sipCpp->sipProtectVirt_stepEnabled(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_stepEnabled, doc_QDoubleSpinBox_stepEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_initStyleOption, "QDoubleSpinBox.initStyleOption(QStyleOptionSpinBox)");

extern "C" {static PyObject *meth_QDoubleSpinBox_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionSpinBox* a0;
        const sipQDoubleSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QStyleOptionSpinBox, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_initStyleOption, doc_QDoubleSpinBox_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_value, "QDoubleSpinBox.value() -> float");

extern "C" {static PyObject *meth_QDoubleSpinBox_value(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            double sipRes;

            sipRes = sipCpp->value();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_value, doc_QDoubleSpinBox_value);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_prefix, "QDoubleSpinBox.prefix() -> str");

extern "C" {static PyObject *meth_QDoubleSpinBox_prefix(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_prefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->prefix());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_prefix, doc_QDoubleSpinBox_prefix);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_setPrefix, "QDoubleSpinBox.setPrefix(str)");

extern "C" {static PyObject *meth_QDoubleSpinBox_setPrefix(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_setPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPrefix(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_setPrefix, doc_QDoubleSpinBox_setPrefix);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_suffix, "QDoubleSpinBox.suffix() -> str");

extern "C" {static PyObject *meth_QDoubleSpinBox_suffix(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_suffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->suffix());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_suffix, doc_QDoubleSpinBox_suffix);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_setSuffix, "QDoubleSpinBox.setSuffix(str)");

extern "C" {static PyObject *meth_QDoubleSpinBox_setSuffix(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_setSuffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setSuffix(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_setSuffix, doc_QDoubleSpinBox_setSuffix);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_cleanText, "QDoubleSpinBox.cleanText() -> str");

extern "C" {static PyObject *meth_QDoubleSpinBox_cleanText(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_cleanText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->cleanText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_cleanText, doc_QDoubleSpinBox_cleanText);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_singleStep, "QDoubleSpinBox.singleStep() -> float");

extern "C" {static PyObject *meth_QDoubleSpinBox_singleStep(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_singleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            double sipRes;

            sipRes = sipCpp->singleStep();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_singleStep, doc_QDoubleSpinBox_singleStep);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_setSingleStep, "QDoubleSpinBox.setSingleStep(float)");

extern "C" {static PyObject *meth_QDoubleSpinBox_setSingleStep(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_setSingleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0))
        {
            sipCpp->setSingleStep(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_setSingleStep, doc_QDoubleSpinBox_setSingleStep);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_minimum, "QDoubleSpinBox.minimum() -> float");

extern "C" {static PyObject *meth_QDoubleSpinBox_minimum(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_minimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            double sipRes;

            sipRes = sipCpp->minimum();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_minimum, doc_QDoubleSpinBox_minimum);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_setMinimum, "QDoubleSpinBox.setMinimum(float)");

extern "C" {static PyObject *meth_QDoubleSpinBox_setMinimum(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_setMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0))
        {
            sipCpp->setMinimum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_setMinimum, doc_QDoubleSpinBox_setMinimum);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_maximum, "QDoubleSpinBox.maximum() -> float");

extern "C" {static PyObject *meth_QDoubleSpinBox_maximum(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_maximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            double sipRes;

            sipRes = sipCpp->maximum();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_maximum, doc_QDoubleSpinBox_maximum);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_setMaximum, "QDoubleSpinBox.setMaximum(float)");

extern "C" {static PyObject *meth_QDoubleSpinBox_setMaximum(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_setMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0))
        {
            sipCpp->setMaximum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_setMaximum, doc_QDoubleSpinBox_setMaximum);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_setRange, "QDoubleSpinBox.setRange(float, float)");

extern "C" {static PyObject *meth_QDoubleSpinBox_setRange(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        double a1;
        QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0, &a1))
        {
            sipCpp->setRange(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_setRange, doc_QDoubleSpinBox_setRange);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_decimals, "QDoubleSpinBox.decimals() -> int");

extern "C" {static PyObject *meth_QDoubleSpinBox_decimals(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_decimals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDoubleSpinBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->decimals();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_decimals, doc_QDoubleSpinBox_decimals);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_setDecimals, "QDoubleSpinBox.setDecimals(int)");

extern "C" {static PyObject *meth_QDoubleSpinBox_setDecimals(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_setDecimals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0))
        {
            sipCpp->setDecimals(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_setDecimals, doc_QDoubleSpinBox_setDecimals);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_validate, "QDoubleSpinBox.validate(str, int) -> (QValidator.State, str, int)");

extern "C" {static PyObject *meth_QDoubleSpinBox_validate(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_validate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        int a1;
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            sipRes = (sipSelfWasArg ? sipCpp->QDoubleSpinBox::validate(*a0,a1) : sipCpp->validate(*a0,a1));

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_validate, doc_QDoubleSpinBox_validate);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_valueFromText, "QDoubleSpinBox.valueFromText(str) -> float");

extern "C" {static PyObject *meth_QDoubleSpinBox_valueFromText(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_valueFromText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            double sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QDoubleSpinBox::valueFromText(*a0) : sipCpp->valueFromText(*a0));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_valueFromText, doc_QDoubleSpinBox_valueFromText);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_textFromValue, "QDoubleSpinBox.textFromValue(float) -> str");

extern "C" {static PyObject *meth_QDoubleSpinBox_textFromValue(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_textFromValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        double a0;
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString((sipSelfWasArg ? sipCpp->QDoubleSpinBox::textFromValue(a0) : sipCpp->textFromValue(a0)));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_textFromValue, doc_QDoubleSpinBox_textFromValue);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_fixup, "QDoubleSpinBox.fixup(str) -> str");

extern "C" {static PyObject *meth_QDoubleSpinBox_fixup(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_fixup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        const QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            (sipSelfWasArg ? sipCpp->QDoubleSpinBox::fixup(*a0) : sipCpp->fixup(*a0));

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_fixup, doc_QDoubleSpinBox_fixup);

    return NULL;
}


PyDoc_STRVAR(doc_QDoubleSpinBox_setValue, "QDoubleSpinBox.setValue(float)");

extern "C" {static PyObject *meth_QDoubleSpinBox_setValue(PyObject *, PyObject *);}
static PyObject *meth_QDoubleSpinBox_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        QDoubleSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDoubleSpinBox, &sipCpp, &a0))
        {
            sipCpp->setValue(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDoubleSpinBox, sipName_setValue, doc_QDoubleSpinBox_setValue);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDoubleSpinBox(void *, const sipTypeDef *);}
static void *cast_QDoubleSpinBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDoubleSpinBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractSpinBox)->ctd_cast((QAbstractSpinBox *)(QDoubleSpinBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDoubleSpinBox(void *, int);}
static void release_QDoubleSpinBox(void *sipCppV,int)
{
    QDoubleSpinBox *sipCpp = reinterpret_cast<QDoubleSpinBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDoubleSpinBox(sipSimpleWrapper *);}
static void dealloc_QDoubleSpinBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDoubleSpinBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDoubleSpinBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDoubleSpinBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDoubleSpinBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDoubleSpinBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQDoubleSpinBox(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDoubleSpinBox[] = {{20, 255, 1}};


static PyMethodDef methods_QDoubleSpinBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QDoubleSpinBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QDoubleSpinBox_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDoubleSpinBox_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cleanText), meth_QDoubleSpinBox_cleanText, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_cleanText)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QDoubleSpinBox_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDoubleSpinBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDoubleSpinBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDoubleSpinBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDoubleSpinBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_decimals), meth_QDoubleSpinBox_decimals, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_decimals)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QDoubleSpinBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDoubleSpinBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDoubleSpinBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDoubleSpinBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDoubleSpinBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDoubleSpinBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QDoubleSpinBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fixup), meth_QDoubleSpinBox_fixup, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_fixup)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDoubleSpinBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QDoubleSpinBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QDoubleSpinBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDoubleSpinBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QDoubleSpinBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QDoubleSpinBox_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QDoubleSpinBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QDoubleSpinBox_initStyleOption, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDoubleSpinBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDoubleSpinBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDoubleSpinBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDoubleSpinBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QDoubleSpinBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEdit), (PyCFunction)meth_QDoubleSpinBox_lineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maximum), meth_QDoubleSpinBox_maximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_maximum)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QDoubleSpinBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimum), meth_QDoubleSpinBox_minimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_minimum)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDoubleSpinBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDoubleSpinBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDoubleSpinBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDoubleSpinBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QDoubleSpinBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QDoubleSpinBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QDoubleSpinBox_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_prefix), meth_QDoubleSpinBox_prefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_prefix)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDoubleSpinBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QDoubleSpinBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDoubleSpinBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDoubleSpinBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDecimals), meth_QDoubleSpinBox_setDecimals, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_setDecimals)},
    {SIP_MLNAME_CAST(sipName_setLineEdit), (PyCFunction)meth_QDoubleSpinBox_setLineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximum), meth_QDoubleSpinBox_setMaximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_setMaximum)},
    {SIP_MLNAME_CAST(sipName_setMinimum), meth_QDoubleSpinBox_setMinimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_setMinimum)},
    {SIP_MLNAME_CAST(sipName_setPrefix), meth_QDoubleSpinBox_setPrefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_setPrefix)},
    {SIP_MLNAME_CAST(sipName_setRange), meth_QDoubleSpinBox_setRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_setRange)},
    {SIP_MLNAME_CAST(sipName_setSingleStep), meth_QDoubleSpinBox_setSingleStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_setSingleStep)},
    {SIP_MLNAME_CAST(sipName_setSuffix), meth_QDoubleSpinBox_setSuffix, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_setSuffix)},
    {SIP_MLNAME_CAST(sipName_setValue), meth_QDoubleSpinBox_setValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_setValue)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QDoubleSpinBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QDoubleSpinBox_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_singleStep), meth_QDoubleSpinBox_singleStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_singleStep)},
    {SIP_MLNAME_CAST(sipName_stepEnabled), (PyCFunction)meth_QDoubleSpinBox_stepEnabled, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_suffix), meth_QDoubleSpinBox_suffix, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_suffix)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QDoubleSpinBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textFromValue), meth_QDoubleSpinBox_textFromValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_textFromValue)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDoubleSpinBox_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDoubleSpinBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_QDoubleSpinBox_validate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_validate)},
    {SIP_MLNAME_CAST(sipName_value), meth_QDoubleSpinBox_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_value)},
    {SIP_MLNAME_CAST(sipName_valueFromText), meth_QDoubleSpinBox_valueFromText, METH_VARARGS, SIP_MLDOC_CAST(doc_QDoubleSpinBox_valueFromText)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDoubleSpinBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDoubleSpinBox[] = {
    {"valueChanged(double)", "\1QDoubleSpinBox.valueChanged[float]", 0, 0},
    {"valueChanged(QString)", "\1QDoubleSpinBox.valueChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDoubleSpinBox, "\1QDoubleSpinBox(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDoubleSpinBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDoubleSpinBox,
        {0}
    },
    {
        sipNameNr_QDoubleSpinBox,
        {0, 0, 1},
        69, methods_QDoubleSpinBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDoubleSpinBox,
    -1,
    -1,
    supers_QDoubleSpinBox,
    0,
    init_type_QDoubleSpinBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDoubleSpinBox,
    0,
    0,
    0,
    release_QDoubleSpinBox,
    cast_QDoubleSpinBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDoubleSpinBox::staticMetaObject,
    0,
    signals_QDoubleSpinBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qspinbox.sip"
#include <qspinbox.h>
#line 139352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 139356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 139359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 139362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 139365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 139368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 139371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 139374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 139377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 139380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 139383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 139392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 139419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 139422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 139425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 139428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 139431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 139434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 139437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 139440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 139443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 139446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 139449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 139452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 139455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 139458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 139461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 139464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 139467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 139470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 139473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 139476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 139479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 139482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 139485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 139509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 139512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 139515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 139518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 139521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 139524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 139527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 139530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 139533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 139536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 139539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 139542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 139545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 139548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 139551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 139554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 139557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 139560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 139563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 139566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 139569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 139572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQSpinBox : public QSpinBox
{
public:
    sipQSpinBox(QWidget*);
    virtual ~sipQSpinBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    QLineEdit* sipProtect_lineEdit() const;
    void sipProtect_setLineEdit(QLineEdit*);
    QAbstractSpinBox::StepEnabled sipProtectVirt_stepEnabled(bool) const;
    void sipProtect_initStyleOption(QStyleOptionSpinBox*) const;
    QValidator::State sipProtectVirt_validate(bool,QString&,int&) const;
    int sipProtectVirt_valueFromText(bool,const QString&) const;
    QString sipProtectVirt_textFromValue(bool,int) const;
    void sipProtectVirt_fixup(bool,QString&) const;
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    QAbstractSpinBox::StepEnabled stepEnabled() const;
    void showEvent(QShowEvent*);
    void paintEvent(QPaintEvent*);
    void timerEvent(QTimerEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void wheelEvent(QWheelEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void resizeEvent(QResizeEvent*);
    void clear();
    void stepBy(int);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    bool event(QEvent*);
    void fixup(QString&) const;
    QString textFromValue(int) const;
    int valueFromText(const QString&) const;
    QValidator::State validate(QString&,int&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSpinBox(const sipQSpinBox &);
    sipQSpinBox &operator = (const sipQSpinBox &);

    char sipPyMethods[53];
};

sipQSpinBox::sipQSpinBox(QWidget*a0): QSpinBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSpinBox::~sipQSpinBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSpinBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSpinBox);
}

int sipQSpinBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QSpinBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QSpinBox,_c,_id,_a);

    return _id;
}

void *sipQSpinBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QSpinBox, _clname, &sipCpp) ? sipCpp : QSpinBox::qt_metacast(_clname));
}

void sipQSpinBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QSpinBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QSpinBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QSpinBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QSpinBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSpinBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QSpinBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQSpinBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QSpinBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQSpinBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QSpinBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSpinBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QSpinBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSpinBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QSpinBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSpinBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QSpinBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QSpinBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSpinBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QSpinBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QSpinBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QSpinBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QSpinBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QSpinBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QSpinBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QSpinBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QSpinBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QSpinBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QSpinBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QSpinBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQSpinBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QSpinBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQSpinBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QSpinBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QSpinBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSpinBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QSpinBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQSpinBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QSpinBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QAbstractSpinBox::StepEnabled sipQSpinBox::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return QSpinBox::stepEnabled();

    extern QAbstractSpinBox::StepEnabled sipVH_QtWidgets_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_137(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSpinBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QSpinBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QSpinBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QSpinBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QSpinBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QSpinBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QSpinBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QSpinBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QSpinBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QSpinBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QSpinBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QSpinBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QSpinBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QSpinBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QSpinBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QSpinBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QSpinBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        QSpinBox::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSpinBox::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
        QSpinBox::stepBy(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQSpinBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QSpinBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQSpinBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QSpinBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSpinBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QSpinBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSpinBox::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        QSpinBox::fixup(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

    ((sipVH_QtGui_18)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QString sipQSpinBox::textFromValue(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_textFromValue);

    if (!sipMeth)
        return QSpinBox::textFromValue(a0);

    extern QString sipVH_QtWidgets_83(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_83(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSpinBox::valueFromText(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_valueFromText);

    if (!sipMeth)
        return QSpinBox::valueFromText(a0);

    extern int sipVH_QtWidgets_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtWidgets_84(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QValidator::State sipQSpinBox::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return QSpinBox::validate(a0,a1);

    typedef QValidator::State (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

    return ((sipVH_QtGui_15)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[15]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QObject* sipQSpinBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQSpinBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQSpinBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQSpinBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQSpinBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSpinBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSpinBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQSpinBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQSpinBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQSpinBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQSpinBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQSpinBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQSpinBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQSpinBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQSpinBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQSpinBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQSpinBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQSpinBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQSpinBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQSpinBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQSpinBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQSpinBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQSpinBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQSpinBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQSpinBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQSpinBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQSpinBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQSpinBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQSpinBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQSpinBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQSpinBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQSpinBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQSpinBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::wheelEvent(a0) : wheelEvent(a0));
}

void sipQSpinBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::focusInEvent(a0) : focusInEvent(a0));
}

void sipQSpinBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQSpinBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQSpinBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::changeEvent(a0) : changeEvent(a0));
}

void sipQSpinBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::closeEvent(a0) : closeEvent(a0));
}

void sipQSpinBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::hideEvent(a0) : hideEvent(a0));
}

void sipQSpinBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQSpinBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQSpinBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQSpinBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::timerEvent(a0) : timerEvent(a0));
}

void sipQSpinBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::paintEvent(a0) : paintEvent(a0));
}

void sipQSpinBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::showEvent(a0) : showEvent(a0));
}

QLineEdit* sipQSpinBox::sipProtect_lineEdit() const
{
    return QAbstractSpinBox::lineEdit();
}

void sipQSpinBox::sipProtect_setLineEdit(QLineEdit*a0)
{
    QAbstractSpinBox::setLineEdit(a0);
}

QAbstractSpinBox::StepEnabled sipQSpinBox::sipProtectVirt_stepEnabled(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractSpinBox::stepEnabled() : stepEnabled());
}

void sipQSpinBox::sipProtect_initStyleOption(QStyleOptionSpinBox*a0) const
{
    QAbstractSpinBox::initStyleOption(a0);
}

QValidator::State sipQSpinBox::sipProtectVirt_validate(bool sipSelfWasArg,QString& a0,int& a1) const
{
    return (sipSelfWasArg ? QSpinBox::validate(a0,a1) : validate(a0,a1));
}

int sipQSpinBox::sipProtectVirt_valueFromText(bool sipSelfWasArg,const QString& a0) const
{
    return (sipSelfWasArg ? QSpinBox::valueFromText(a0) : valueFromText(a0));
}

QString sipQSpinBox::sipProtectVirt_textFromValue(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QSpinBox::textFromValue(a0) : textFromValue(a0));
}

void sipQSpinBox::sipProtectVirt_fixup(bool sipSelfWasArg,QString& a0) const
{
    (sipSelfWasArg ? QSpinBox::fixup(a0) : fixup(a0));
}

bool sipQSpinBox::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QSpinBox::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QSpinBox_sender, "QSpinBox.sender() -> QObject");

extern "C" {static PyObject *meth_QSpinBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 140959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_sender, doc_QSpinBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_receivers, "QSpinBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QSpinBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSpinBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 141018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_receivers, doc_QSpinBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_childEvent, "QSpinBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QSpinBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_childEvent, doc_QSpinBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_customEvent, "QSpinBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QSpinBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_customEvent, doc_QSpinBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_connectNotify, "QSpinBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSpinBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_connectNotify, doc_QSpinBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_disconnectNotify, "QSpinBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSpinBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_disconnectNotify, doc_QSpinBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_senderSignalIndex, "QSpinBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QSpinBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_senderSignalIndex, doc_QSpinBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_isSignalConnected, "QSpinBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSpinBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_isSignalConnected, doc_QSpinBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_mouseDoubleClickEvent, "QSpinBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSpinBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_mouseDoubleClickEvent, doc_QSpinBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_enterEvent, "QSpinBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QSpinBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_enterEvent, doc_QSpinBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_leaveEvent, "QSpinBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QSpinBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_leaveEvent, doc_QSpinBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_moveEvent, "QSpinBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QSpinBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_moveEvent, doc_QSpinBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_tabletEvent, "QSpinBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QSpinBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_tabletEvent, doc_QSpinBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_actionEvent, "QSpinBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QSpinBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_actionEvent, doc_QSpinBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_dragEnterEvent, "QSpinBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QSpinBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_dragEnterEvent, doc_QSpinBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_dragMoveEvent, "QSpinBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QSpinBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_dragMoveEvent, doc_QSpinBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_dragLeaveEvent, "QSpinBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QSpinBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_dragLeaveEvent, doc_QSpinBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_dropEvent, "QSpinBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QSpinBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_dropEvent, doc_QSpinBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_metric, "QSpinBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QSpinBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_metric, doc_QSpinBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_inputMethodEvent, "QSpinBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QSpinBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_inputMethodEvent, doc_QSpinBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_updateMicroFocus, "QSpinBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QSpinBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_updateMicroFocus, doc_QSpinBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_create, "QSpinBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QSpinBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQSpinBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_create, doc_QSpinBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_destroy, "QSpinBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QSpinBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQSpinBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QSpinBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_destroy, doc_QSpinBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_focusNextPrevChild, "QSpinBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QSpinBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QSpinBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_focusNextPrevChild, doc_QSpinBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_focusNextChild, "QSpinBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QSpinBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_focusNextChild, doc_QSpinBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_focusPreviousChild, "QSpinBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QSpinBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_focusPreviousChild, doc_QSpinBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_nativeEvent, "QSpinBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QSpinBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_nativeEvent, doc_QSpinBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_sharedPainter, "QSpinBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QSpinBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_sharedPainter, doc_QSpinBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_initPainter, "QSpinBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QSpinBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_initPainter, doc_QSpinBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_resizeEvent, "QSpinBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QSpinBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_resizeEvent, doc_QSpinBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_keyPressEvent, "QSpinBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSpinBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_keyPressEvent, doc_QSpinBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_keyReleaseEvent, "QSpinBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSpinBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_keyReleaseEvent, doc_QSpinBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_wheelEvent, "QSpinBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QSpinBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_wheelEvent, doc_QSpinBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_focusInEvent, "QSpinBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSpinBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_focusInEvent, doc_QSpinBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_focusOutEvent, "QSpinBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSpinBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_focusOutEvent, doc_QSpinBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_contextMenuEvent, "QSpinBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QSpinBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_contextMenuEvent, doc_QSpinBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_changeEvent, "QSpinBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QSpinBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_changeEvent, doc_QSpinBox_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_closeEvent, "QSpinBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QSpinBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_closeEvent, doc_QSpinBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_hideEvent, "QSpinBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QSpinBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_hideEvent, doc_QSpinBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_mousePressEvent, "QSpinBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSpinBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_mousePressEvent, doc_QSpinBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_mouseReleaseEvent, "QSpinBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSpinBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_mouseReleaseEvent, doc_QSpinBox_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_mouseMoveEvent, "QSpinBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSpinBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_mouseMoveEvent, doc_QSpinBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_timerEvent, "QSpinBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QSpinBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_timerEvent, doc_QSpinBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_paintEvent, "QSpinBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QSpinBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_paintEvent, doc_QSpinBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_showEvent, "QSpinBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QSpinBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_showEvent, doc_QSpinBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_lineEdit, "QSpinBox.lineEdit() -> QLineEdit");

extern "C" {static PyObject *meth_QSpinBox_lineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_lineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            QLineEdit*sipRes;

            sipRes = sipCpp->sipProtect_lineEdit();

            return sipConvertFromType(sipRes,sipType_QLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_lineEdit, doc_QSpinBox_lineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_setLineEdit, "QSpinBox.setLineEdit(QLineEdit)");

extern "C" {static PyObject *meth_QSpinBox_setLineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_setLineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QLineEdit, &a0))
        {
            sipCpp->sipProtect_setLineEdit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_setLineEdit, doc_QSpinBox_setLineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_stepEnabled, "QSpinBox.stepEnabled() -> QAbstractSpinBox.StepEnabled");

extern "C" {static PyObject *meth_QSpinBox_stepEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_stepEnabled(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled(sipCpp->sipProtectVirt_stepEnabled(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_stepEnabled, doc_QSpinBox_stepEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_initStyleOption, "QSpinBox.initStyleOption(QStyleOptionSpinBox)");

extern "C" {static PyObject *meth_QSpinBox_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionSpinBox* a0;
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QStyleOptionSpinBox, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_initStyleOption, doc_QSpinBox_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_value, "QSpinBox.value() -> int");

extern "C" {static PyObject *meth_QSpinBox_value(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->value();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_value, doc_QSpinBox_value);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_prefix, "QSpinBox.prefix() -> str");

extern "C" {static PyObject *meth_QSpinBox_prefix(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_prefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->prefix());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_prefix, doc_QSpinBox_prefix);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_setPrefix, "QSpinBox.setPrefix(str)");

extern "C" {static PyObject *meth_QSpinBox_setPrefix(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_setPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPrefix(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_setPrefix, doc_QSpinBox_setPrefix);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_suffix, "QSpinBox.suffix() -> str");

extern "C" {static PyObject *meth_QSpinBox_suffix(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_suffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->suffix());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_suffix, doc_QSpinBox_suffix);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_setSuffix, "QSpinBox.setSuffix(str)");

extern "C" {static PyObject *meth_QSpinBox_setSuffix(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_setSuffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setSuffix(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_setSuffix, doc_QSpinBox_setSuffix);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_cleanText, "QSpinBox.cleanText() -> str");

extern "C" {static PyObject *meth_QSpinBox_cleanText(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_cleanText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->cleanText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_cleanText, doc_QSpinBox_cleanText);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_singleStep, "QSpinBox.singleStep() -> int");

extern "C" {static PyObject *meth_QSpinBox_singleStep(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_singleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->singleStep();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_singleStep, doc_QSpinBox_singleStep);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_setSingleStep, "QSpinBox.setSingleStep(int)");

extern "C" {static PyObject *meth_QSpinBox_setSingleStep(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_setSingleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSpinBox, &sipCpp, &a0))
        {
            sipCpp->setSingleStep(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_setSingleStep, doc_QSpinBox_setSingleStep);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_minimum, "QSpinBox.minimum() -> int");

extern "C" {static PyObject *meth_QSpinBox_minimum(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_minimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minimum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_minimum, doc_QSpinBox_minimum);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_setMinimum, "QSpinBox.setMinimum(int)");

extern "C" {static PyObject *meth_QSpinBox_setMinimum(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_setMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSpinBox, &sipCpp, &a0))
        {
            sipCpp->setMinimum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_setMinimum, doc_QSpinBox_setMinimum);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_maximum, "QSpinBox.maximum() -> int");

extern "C" {static PyObject *meth_QSpinBox_maximum(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_maximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maximum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_maximum, doc_QSpinBox_maximum);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_setMaximum, "QSpinBox.setMaximum(int)");

extern "C" {static PyObject *meth_QSpinBox_setMaximum(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_setMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSpinBox, &sipCpp, &a0))
        {
            sipCpp->setMaximum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_setMaximum, doc_QSpinBox_setMaximum);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_setRange, "QSpinBox.setRange(int, int)");

extern "C" {static PyObject *meth_QSpinBox_setRange(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QSpinBox, &sipCpp, &a0, &a1))
        {
            sipCpp->setRange(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_setRange, doc_QSpinBox_setRange);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_validate, "QSpinBox.validate(str, int) -> (QValidator.State, str, int)");

extern "C" {static PyObject *meth_QSpinBox_validate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_validate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        int a1;
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1i", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            sipRes = sipCpp->sipProtectVirt_validate(sipSelfWasArg,*a0,a1);

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_validate, doc_QSpinBox_validate);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_valueFromText, "QSpinBox.valueFromText(str) -> int");

extern "C" {static PyObject *meth_QSpinBox_valueFromText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_valueFromText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_valueFromText(sipSelfWasArg,*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_valueFromText, doc_QSpinBox_valueFromText);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_textFromValue, "QSpinBox.textFromValue(int) -> str");

extern "C" {static PyObject *meth_QSpinBox_textFromValue(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_textFromValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QSpinBox, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->sipProtectVirt_textFromValue(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_textFromValue, doc_QSpinBox_textFromValue);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_fixup, "QSpinBox.fixup(str) -> str");

extern "C" {static PyObject *meth_QSpinBox_fixup(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_fixup(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        const sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            sipCpp->sipProtectVirt_fixup(sipSelfWasArg,*a0);

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_fixup, doc_QSpinBox_fixup);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_event, "QSpinBox.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QSpinBox_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_event, doc_QSpinBox_event);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_setValue, "QSpinBox.setValue(int)");

extern "C" {static PyObject *meth_QSpinBox_setValue(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSpinBox, &sipCpp, &a0))
        {
            sipCpp->setValue(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_setValue, doc_QSpinBox_setValue);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_displayIntegerBase, "QSpinBox.displayIntegerBase() -> int");

extern "C" {static PyObject *meth_QSpinBox_displayIntegerBase(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_displayIntegerBase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpinBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->displayIntegerBase();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_displayIntegerBase, doc_QSpinBox_displayIntegerBase);

    return NULL;
}


PyDoc_STRVAR(doc_QSpinBox_setDisplayIntegerBase, "QSpinBox.setDisplayIntegerBase(int)");

extern "C" {static PyObject *meth_QSpinBox_setDisplayIntegerBase(PyObject *, PyObject *);}
static PyObject *meth_QSpinBox_setDisplayIntegerBase(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSpinBox, &sipCpp, &a0))
        {
            sipCpp->setDisplayIntegerBase(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpinBox, sipName_setDisplayIntegerBase, doc_QSpinBox_setDisplayIntegerBase);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSpinBox(void *, const sipTypeDef *);}
static void *cast_QSpinBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSpinBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractSpinBox)->ctd_cast((QAbstractSpinBox *)(QSpinBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSpinBox(void *, int);}
static void release_QSpinBox(void *sipCppV,int)
{
    QSpinBox *sipCpp = reinterpret_cast<QSpinBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSpinBox(sipSimpleWrapper *);}
static void dealloc_QSpinBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSpinBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSpinBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSpinBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSpinBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSpinBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQSpinBox(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSpinBox[] = {{20, 255, 1}};


static PyMethodDef methods_QSpinBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QSpinBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QSpinBox_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSpinBox_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cleanText), meth_QSpinBox_cleanText, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_cleanText)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QSpinBox_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSpinBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QSpinBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QSpinBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSpinBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QSpinBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSpinBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_displayIntegerBase), meth_QSpinBox_displayIntegerBase, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_displayIntegerBase)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QSpinBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QSpinBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QSpinBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QSpinBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QSpinBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSpinBox_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSpinBox_event)},
    {SIP_MLNAME_CAST(sipName_fixup), (PyCFunction)meth_QSpinBox_fixup, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSpinBox_fixup)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QSpinBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QSpinBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QSpinBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QSpinBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QSpinBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QSpinBox_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QSpinBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QSpinBox_initStyleOption, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QSpinBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSpinBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QSpinBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QSpinBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QSpinBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEdit), (PyCFunction)meth_QSpinBox_lineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maximum), meth_QSpinBox_maximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_maximum)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QSpinBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimum), meth_QSpinBox_minimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_minimum)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QSpinBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QSpinBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QSpinBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QSpinBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QSpinBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QSpinBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QSpinBox_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_prefix), meth_QSpinBox_prefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_prefix)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSpinBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QSpinBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSpinBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSpinBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisplayIntegerBase), meth_QSpinBox_setDisplayIntegerBase, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_setDisplayIntegerBase)},
    {SIP_MLNAME_CAST(sipName_setLineEdit), (PyCFunction)meth_QSpinBox_setLineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximum), meth_QSpinBox_setMaximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_setMaximum)},
    {SIP_MLNAME_CAST(sipName_setMinimum), meth_QSpinBox_setMinimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_setMinimum)},
    {SIP_MLNAME_CAST(sipName_setPrefix), meth_QSpinBox_setPrefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_setPrefix)},
    {SIP_MLNAME_CAST(sipName_setRange), meth_QSpinBox_setRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_setRange)},
    {SIP_MLNAME_CAST(sipName_setSingleStep), meth_QSpinBox_setSingleStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_setSingleStep)},
    {SIP_MLNAME_CAST(sipName_setSuffix), meth_QSpinBox_setSuffix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_setSuffix)},
    {SIP_MLNAME_CAST(sipName_setValue), meth_QSpinBox_setValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_setValue)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QSpinBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QSpinBox_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_singleStep), meth_QSpinBox_singleStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_singleStep)},
    {SIP_MLNAME_CAST(sipName_stepEnabled), (PyCFunction)meth_QSpinBox_stepEnabled, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_suffix), meth_QSpinBox_suffix, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_suffix)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QSpinBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textFromValue), (PyCFunction)meth_QSpinBox_textFromValue, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSpinBox_textFromValue)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSpinBox_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QSpinBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), (PyCFunction)meth_QSpinBox_validate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSpinBox_validate)},
    {SIP_MLNAME_CAST(sipName_value), meth_QSpinBox_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpinBox_value)},
    {SIP_MLNAME_CAST(sipName_valueFromText), (PyCFunction)meth_QSpinBox_valueFromText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSpinBox_valueFromText)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QSpinBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QSpinBox[] = {
    {"valueChanged(int)", "\1QSpinBox.valueChanged[int]", 0, 0},
    {"valueChanged(QString)", "\1QSpinBox.valueChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QSpinBox, "\1QSpinBox(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSpinBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSpinBox,
        {0}
    },
    {
        sipNameNr_QSpinBox,
        {0, 0, 1},
        70, methods_QSpinBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSpinBox,
    -1,
    -1,
    supers_QSpinBox,
    0,
    init_type_QSpinBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSpinBox,
    0,
    0,
    0,
    release_QSpinBox,
    cast_QSpinBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QSpinBox::staticMetaObject,
    0,
    signals_QSpinBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qslider.sip"
#include <qslider.h>
#line 143176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 143180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 143183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 143192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 143195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 143198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 143204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 143210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 143213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 143216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 143219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 143222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 143225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 143228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 143231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 143234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 143237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 143240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 143243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 143246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 143249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 143252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 143255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 143258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 143261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 143264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 143267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 143270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 143273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 143276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 143279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 143321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 143324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 143327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 143330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 143333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 143336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 143339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 143342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 143345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 143348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 143351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 143354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 143357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 143360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 143363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 143366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 143369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 143372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 143375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 143378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 143381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 143384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQSlider : public QSlider
{
public:
    sipQSlider(QWidget*);
    sipQSlider(Qt::Orientation,QWidget*);
    virtual ~sipQSlider();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipSliderChange {
        SliderRangeChange = QAbstractSlider::SliderRangeChange,
        SliderOrientationChange = QAbstractSlider::SliderOrientationChange,
        SliderStepsChange = QAbstractSlider::SliderStepsChange,
        SliderValueChange = QAbstractSlider::SliderValueChange
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_setRepeatAction(QAbstractSlider::SliderAction,int,int);
    QAbstractSlider::SliderAction sipProtect_repeatAction() const;
    void sipProtectVirt_sliderChange(bool,int);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_initStyleOption(QStyleOptionSlider*) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void timerEvent(QTimerEvent*);
    void keyPressEvent(QKeyEvent*);
    void sliderChange(QAbstractSlider::SliderChange);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSlider(const sipQSlider &);
    sipQSlider &operator = (const sipQSlider &);

    char sipPyMethods[47];
};

sipQSlider::sipQSlider(QWidget*a0): QSlider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSlider::sipQSlider(Qt::Orientation a0,QWidget*a1): QSlider(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSlider::~sipQSlider()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSlider::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSlider);
}

int sipQSlider::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QSlider::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QSlider,_c,_id,_a);

    return _id;
}

void *sipQSlider::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QSlider, _clname, &sipCpp) ? sipCpp : QSlider::qt_metacast(_clname));
}

void sipQSlider::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QSlider::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QSlider::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QSlider::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QSlider::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSlider::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QSlider::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQSlider::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QSlider::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQSlider::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QSlider::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSlider::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QSlider::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSlider::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QSlider::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSlider::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QSlider::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQSlider::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QSlider::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QSlider::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSlider::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QSlider::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QSlider::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QSlider::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QSlider::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QSlider::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QSlider::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QSlider::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QSlider::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QSlider::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QSlider::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QSlider::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QSlider::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QSlider::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QSlider::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QSlider::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QSlider::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QSlider::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QSlider::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QSlider::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQSlider::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QSlider::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQSlider::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QSlider::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QSlider::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSlider::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QSlider::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSlider::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QSlider::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QSlider::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QSlider::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QSlider::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::sliderChange(QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
        QSlider::sliderChange(a0);
        return;
    }

    extern void sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_85(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0);
}

void sipQSlider::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QSlider::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QSlider::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QSlider::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSlider::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QSlider::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSlider::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QSlider::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQSlider::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QSlider::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQSlider::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QSlider::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQSlider::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQSlider::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQSlider::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQSlider::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQSlider::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSlider::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSlider::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQSlider::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQSlider::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQSlider::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQSlider::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQSlider::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQSlider::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQSlider::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQSlider::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQSlider::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQSlider::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQSlider::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQSlider::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQSlider::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQSlider::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQSlider::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQSlider::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQSlider::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQSlider::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQSlider::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQSlider::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQSlider::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQSlider::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQSlider::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQSlider::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQSlider::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQSlider::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQSlider::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQSlider::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQSlider::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQSlider::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQSlider::sipProtect_setRepeatAction(QAbstractSlider::SliderAction a0,int a1,int a2)
{
    QAbstractSlider::setRepeatAction(a0,a1,a2);
}

QAbstractSlider::SliderAction sipQSlider::sipProtect_repeatAction() const
{
    return QAbstractSlider::repeatAction();
}

void sipQSlider::sipProtectVirt_sliderChange(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractSlider::sliderChange((QAbstractSlider::SliderChange)a0) : sliderChange((QAbstractSlider::SliderChange)a0));
}

void sipQSlider::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQSlider::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::timerEvent(a0) : timerEvent(a0));
}

void sipQSlider::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::wheelEvent(a0) : wheelEvent(a0));
}

void sipQSlider::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::changeEvent(a0) : changeEvent(a0));
}

void sipQSlider::sipProtect_initStyleOption(QStyleOptionSlider*a0) const
{
    QSlider::initStyleOption(a0);
}

void sipQSlider::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QSlider::paintEvent(a0) : paintEvent(a0));
}

void sipQSlider::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSlider::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQSlider::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSlider::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQSlider::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSlider::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}


PyDoc_STRVAR(doc_QSlider_sender, "QSlider.sender() -> QObject");

extern "C" {static PyObject *meth_QSlider_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 144653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_sender, doc_QSlider_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_receivers, "QSlider.receivers(signal) -> int");

extern "C" {static PyObject *meth_QSlider_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSlider, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 144712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_receivers, doc_QSlider_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_childEvent, "QSlider.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QSlider_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_childEvent, doc_QSlider_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_customEvent, "QSlider.customEvent(QEvent)");

extern "C" {static PyObject *meth_QSlider_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_customEvent, doc_QSlider_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_connectNotify, "QSlider.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSlider_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSlider, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_connectNotify, doc_QSlider_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_disconnectNotify, "QSlider.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSlider_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSlider, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_disconnectNotify, doc_QSlider_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_senderSignalIndex, "QSlider.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QSlider_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_senderSignalIndex, doc_QSlider_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_isSignalConnected, "QSlider.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSlider_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSlider, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_isSignalConnected, doc_QSlider_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_mouseDoubleClickEvent, "QSlider.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSlider_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_mouseDoubleClickEvent, doc_QSlider_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_keyReleaseEvent, "QSlider.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSlider_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_keyReleaseEvent, doc_QSlider_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_focusInEvent, "QSlider.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSlider_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_focusInEvent, doc_QSlider_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_focusOutEvent, "QSlider.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSlider_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_focusOutEvent, doc_QSlider_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_enterEvent, "QSlider.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QSlider_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_enterEvent, doc_QSlider_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_leaveEvent, "QSlider.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QSlider_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_leaveEvent, doc_QSlider_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_moveEvent, "QSlider.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QSlider_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_moveEvent, doc_QSlider_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_resizeEvent, "QSlider.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QSlider_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_resizeEvent, doc_QSlider_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_closeEvent, "QSlider.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QSlider_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_closeEvent, doc_QSlider_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_contextMenuEvent, "QSlider.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QSlider_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_contextMenuEvent, doc_QSlider_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_tabletEvent, "QSlider.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QSlider_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_tabletEvent, doc_QSlider_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_actionEvent, "QSlider.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QSlider_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_actionEvent, doc_QSlider_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_dragEnterEvent, "QSlider.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QSlider_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_dragEnterEvent, doc_QSlider_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_dragMoveEvent, "QSlider.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QSlider_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_dragMoveEvent, doc_QSlider_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_dragLeaveEvent, "QSlider.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QSlider_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_dragLeaveEvent, doc_QSlider_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_dropEvent, "QSlider.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QSlider_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_dropEvent, doc_QSlider_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_showEvent, "QSlider.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QSlider_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_showEvent, doc_QSlider_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_hideEvent, "QSlider.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QSlider_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_hideEvent, doc_QSlider_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_metric, "QSlider.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QSlider_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QSlider, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_metric, doc_QSlider_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_inputMethodEvent, "QSlider.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QSlider_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_inputMethodEvent, doc_QSlider_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_updateMicroFocus, "QSlider.updateMicroFocus()");

extern "C" {static PyObject *meth_QSlider_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_updateMicroFocus, doc_QSlider_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_create, "QSlider.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QSlider_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQSlider *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QSlider, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_create, doc_QSlider_create);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_destroy, "QSlider.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QSlider_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQSlider *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QSlider, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_destroy, doc_QSlider_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_focusNextPrevChild, "QSlider.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QSlider_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QSlider, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_focusNextPrevChild, doc_QSlider_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_focusNextChild, "QSlider.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QSlider_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_focusNextChild, doc_QSlider_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_focusPreviousChild, "QSlider.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QSlider_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_focusPreviousChild, doc_QSlider_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_nativeEvent, "QSlider.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QSlider_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QSlider, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_nativeEvent, doc_QSlider_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_sharedPainter, "QSlider.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QSlider_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_sharedPainter, doc_QSlider_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_initPainter, "QSlider.initPainter(QPainter)");

extern "C" {static PyObject *meth_QSlider_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_initPainter, doc_QSlider_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_setRepeatAction, "QSlider.setRepeatAction(QAbstractSlider.SliderAction, int thresholdTime=500, int repeatTime=50)");

extern "C" {static PyObject *meth_QSlider_setRepeatAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_setRepeatAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSlider::SliderAction a0;
        int a1 = 500;
        int a2 = 50;
        sipQSlider *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_thresholdTime,
            sipName_repeatTime,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|ii", &sipSelf, sipType_QSlider, &sipCpp, sipType_QAbstractSlider_SliderAction, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_setRepeatAction(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_setRepeatAction, doc_QSlider_setRepeatAction);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_repeatAction, "QSlider.repeatAction() -> QAbstractSlider.SliderAction");

extern "C" {static PyObject *meth_QSlider_repeatAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_repeatAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            QAbstractSlider::SliderAction sipRes;

            sipRes = sipCpp->sipProtect_repeatAction();

            return sipConvertFromEnum(sipRes,sipType_QAbstractSlider_SliderAction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_repeatAction, doc_QSlider_repeatAction);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_sliderChange, "QSlider.sliderChange(QAbstractSlider.SliderChange)");

extern "C" {static PyObject *meth_QSlider_sliderChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_sliderChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QSlider, &sipCpp, sipType_QAbstractSlider_SliderChange, &a0))
        {
            sipCpp->sipProtectVirt_sliderChange(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_sliderChange, doc_QSlider_sliderChange);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_keyPressEvent, "QSlider.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSlider_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_keyPressEvent, doc_QSlider_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_timerEvent, "QSlider.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QSlider_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_timerEvent, doc_QSlider_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_wheelEvent, "QSlider.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QSlider_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_wheelEvent, doc_QSlider_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_changeEvent, "QSlider.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QSlider_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_changeEvent, doc_QSlider_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_sizeHint, "QSlider.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QSlider_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QSlider_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QSlider::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_sizeHint, doc_QSlider_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_minimumSizeHint, "QSlider.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QSlider_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QSlider_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QSlider::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_minimumSizeHint, doc_QSlider_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_setTickPosition, "QSlider.setTickPosition(QSlider.TickPosition)");

extern "C" {static PyObject *meth_QSlider_setTickPosition(PyObject *, PyObject *);}
static PyObject *meth_QSlider_setTickPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSlider::TickPosition a0;
        QSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSlider, &sipCpp, sipType_QSlider_TickPosition, &a0))
        {
            sipCpp->setTickPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_setTickPosition, doc_QSlider_setTickPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_tickPosition, "QSlider.tickPosition() -> QSlider.TickPosition");

extern "C" {static PyObject *meth_QSlider_tickPosition(PyObject *, PyObject *);}
static PyObject *meth_QSlider_tickPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            QSlider::TickPosition sipRes;

            sipRes = sipCpp->tickPosition();

            return sipConvertFromEnum(sipRes,sipType_QSlider_TickPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_tickPosition, doc_QSlider_tickPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_setTickInterval, "QSlider.setTickInterval(int)");

extern "C" {static PyObject *meth_QSlider_setTickInterval(PyObject *, PyObject *);}
static PyObject *meth_QSlider_setTickInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSlider, &sipCpp, &a0))
        {
            sipCpp->setTickInterval(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_setTickInterval, doc_QSlider_setTickInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_tickInterval, "QSlider.tickInterval() -> int");

extern "C" {static PyObject *meth_QSlider_tickInterval(PyObject *, PyObject *);}
static PyObject *meth_QSlider_tickInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSlider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->tickInterval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_tickInterval, doc_QSlider_tickInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_event, "QSlider.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QSlider_event(PyObject *, PyObject *);}
static PyObject *meth_QSlider_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QSlider::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_event, doc_QSlider_event);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_initStyleOption, "QSlider.initStyleOption(QStyleOptionSlider)");

extern "C" {static PyObject *meth_QSlider_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionSlider* a0;
        const sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QStyleOptionSlider, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_initStyleOption, doc_QSlider_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_paintEvent, "QSlider.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QSlider_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_paintEvent, doc_QSlider_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_mousePressEvent, "QSlider.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSlider_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_mousePressEvent, doc_QSlider_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_mouseReleaseEvent, "QSlider.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSlider_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_mouseReleaseEvent, doc_QSlider_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSlider_mouseMoveEvent, "QSlider.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSlider_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSlider_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSlider, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSlider, sipName_mouseMoveEvent, doc_QSlider_mouseMoveEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSlider(void *, const sipTypeDef *);}
static void *cast_QSlider(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSlider)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractSlider)->ctd_cast((QAbstractSlider *)(QSlider *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSlider(void *, int);}
static void release_QSlider(void *sipCppV,int)
{
    QSlider *sipCpp = reinterpret_cast<QSlider *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSlider(sipSimpleWrapper *);}
static void dealloc_QSlider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSlider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSlider(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSlider(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSlider(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSlider *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQSlider(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Qt::Orientation a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQSlider(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSlider[] = {{17, 255, 1}};


static PyMethodDef methods_QSlider[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QSlider_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QSlider_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSlider_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QSlider_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSlider_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QSlider_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QSlider_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSlider_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QSlider_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSlider_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QSlider_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QSlider_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QSlider_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QSlider_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QSlider_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_QSlider_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QSlider_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QSlider_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QSlider_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QSlider_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QSlider_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QSlider_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QSlider_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QSlider_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QSlider_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSlider_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QSlider_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSlider_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QSlider_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QSlider_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QSlider_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QSlider_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QSlider_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QSlider_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QSlider_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QSlider_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSlider_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QSlider_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSlider_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QSlider_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSlider_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QSlider_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QSlider_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QSlider_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSlider_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSlider_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_repeatAction), (PyCFunction)meth_QSlider_repeatAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QSlider_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSlider_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSlider_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setRepeatAction), (PyCFunction)meth_QSlider_setRepeatAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setTickInterval), meth_QSlider_setTickInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QSlider_setTickInterval)},
    {SIP_MLNAME_CAST(sipName_setTickPosition), meth_QSlider_setTickPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QSlider_setTickPosition)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QSlider_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QSlider_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QSlider_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QSlider_sizeHint)},
    {SIP_MLNAME_CAST(sipName_sliderChange), (PyCFunction)meth_QSlider_sliderChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QSlider_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tickInterval), meth_QSlider_tickInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QSlider_tickInterval)},
    {SIP_MLNAME_CAST(sipName_tickPosition), meth_QSlider_tickPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QSlider_tickPosition)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSlider_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QSlider_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QSlider_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QSlider[] = {
    {sipName_NoTicks, static_cast<int>(QSlider::NoTicks), 273},
    {sipName_TicksAbove, static_cast<int>(QSlider::TicksAbove), 273},
    {sipName_TicksBelow, static_cast<int>(QSlider::TicksBelow), 273},
    {sipName_TicksBothSides, static_cast<int>(QSlider::TicksBothSides), 273},
    {sipName_TicksLeft, static_cast<int>(QSlider::TicksLeft), 273},
    {sipName_TicksRight, static_cast<int>(QSlider::TicksRight), 273},
};

PyDoc_STRVAR(doc_QSlider, "\1QSlider(QWidget parent=None)\n"
    "QSlider(Qt.Orientation, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSlider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSlider,
        {0}
    },
    {
        sipNameNr_QSlider,
        {0, 0, 1},
        56, methods_QSlider,
        6, enummembers_QSlider,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSlider,
    -1,
    -1,
    supers_QSlider,
    0,
    init_type_QSlider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSlider,
    0,
    0,
    0,
    release_QSlider,
    cast_QSlider,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QSlider::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 146484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 146488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QSizePolicy_ControlTypes___bool__(PyObject *);}
static int slot_QSizePolicy_ControlTypes___bool__(PyObject *sipSelf)
{
    QSizePolicy::ControlTypes *sipCpp = reinterpret_cast<QSizePolicy::ControlTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy_ControlTypes));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSizePolicy::ControlTypes::Int() != 0);
#line 146506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QSizePolicy::ControlTypes *sipCpp = reinterpret_cast<QSizePolicy::ControlTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy_ControlTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy::ControlTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSizePolicy_ControlTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSizePolicy::ControlTypes::Int() != a0->operator QSizePolicy::ControlTypes::Int());
#line 146536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QSizePolicy::ControlTypes *>(a0),sipType_QSizePolicy_ControlTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QSizePolicy_ControlTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QSizePolicy::ControlTypes *sipCpp = reinterpret_cast<QSizePolicy::ControlTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy_ControlTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy::ControlTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSizePolicy_ControlTypes, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QSizePolicy::ControlTypes::Int() == a0->operator QSizePolicy::ControlTypes::Int());
#line 146572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QSizePolicy::ControlTypes *>(a0),sipType_QSizePolicy_ControlTypes,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QSizePolicy_ControlTypes,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___invert__(PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___invert__(PyObject *sipSelf)
{
    QSizePolicy::ControlTypes *sipCpp = reinterpret_cast<QSizePolicy::ControlTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy_ControlTypes));

    if (!sipCpp)
        return 0;


    {
        {
            QSizePolicy::ControlTypes*sipRes;

            sipRes = new QSizePolicy::ControlTypes(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy_ControlTypes,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___and__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSizePolicy_ControlTypes, &a0, &a0State, &a1))
        {
            QSizePolicy::ControlTypes*sipRes;

            sipRes = new QSizePolicy::ControlTypes((*a0 & a1));
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy_ControlTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___xor__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;
        QSizePolicy::ControlTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QSizePolicy_ControlTypes, &a0, &a0State, sipType_QSizePolicy_ControlTypes, &a1, &a1State))
        {
            QSizePolicy::ControlTypes*sipRes;

            sipRes = new QSizePolicy::ControlTypes((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,a0State);
            sipReleaseType(a1,sipType_QSizePolicy_ControlTypes,a1State);

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy_ControlTypes,NULL);
        }
    }

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSizePolicy_ControlTypes, &a0, &a0State, &a1))
        {
            QSizePolicy::ControlTypes*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QSizePolicy::ControlTypes(*a0 ^ a1);
#line 146675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy_ControlTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___or__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;
        QSizePolicy::ControlTypes* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QSizePolicy_ControlTypes, &a0, &a0State, sipType_QSizePolicy_ControlTypes, &a1, &a1State))
        {
            QSizePolicy::ControlTypes*sipRes;

            sipRes = new QSizePolicy::ControlTypes((*a0 | *a1));
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,a0State);
            sipReleaseType(a1,sipType_QSizePolicy_ControlTypes,a1State);

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy_ControlTypes,NULL);
        }
    }

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QSizePolicy_ControlTypes, &a0, &a0State, &a1))
        {
            QSizePolicy::ControlTypes*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QSizePolicy::ControlTypes(*a0 | a1);
#line 146725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,a0State);

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy_ControlTypes,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___int__(PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___int__(PyObject *sipSelf)
{
    QSizePolicy::ControlTypes *sipCpp = reinterpret_cast<QSizePolicy::ControlTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy_ControlTypes));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QSizePolicy_ControlTypes___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSizePolicy_ControlTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QSizePolicy::ControlTypes *sipCpp = reinterpret_cast<QSizePolicy::ControlTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy_ControlTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSizePolicy_ControlTypes, &a0, &a0State))
        {
            sipCpp->QSizePolicy::ControlTypes::operator^=(*a0);
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,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_QSizePolicy_ControlTypes___ior__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSizePolicy_ControlTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QSizePolicy::ControlTypes *sipCpp = reinterpret_cast<QSizePolicy::ControlTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy_ControlTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QSizePolicy_ControlTypes, &a0, &a0State))
        {
            sipCpp->QSizePolicy::ControlTypes::operator|=(*a0);
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,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_QSizePolicy_ControlTypes___iand__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy_ControlTypes___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QSizePolicy_ControlTypes)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QSizePolicy::ControlTypes *sipCpp = reinterpret_cast<QSizePolicy::ControlTypes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy_ControlTypes));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QSizePolicy::ControlTypes::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSizePolicy_ControlTypes(void *, const sipTypeDef *);}
static void *cast_QSizePolicy_ControlTypes(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QSizePolicy_ControlTypes)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSizePolicy_ControlTypes(void *, int);}
static void release_QSizePolicy_ControlTypes(void *sipCppV,int)
{
    delete reinterpret_cast<QSizePolicy::ControlTypes *>(sipCppV);
}


extern "C" {static void assign_QSizePolicy_ControlTypes(void *, SIP_SSIZE_T, const void *);}
static void assign_QSizePolicy_ControlTypes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QSizePolicy::ControlTypes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QSizePolicy::ControlTypes *>(sipSrc);
}


extern "C" {static void *array_QSizePolicy_ControlTypes(SIP_SSIZE_T);}
static void *array_QSizePolicy_ControlTypes(SIP_SSIZE_T sipNrElem)
{
    return new QSizePolicy::ControlTypes[sipNrElem];
}


extern "C" {static void *copy_QSizePolicy_ControlTypes(const void *, SIP_SSIZE_T);}
static void *copy_QSizePolicy_ControlTypes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QSizePolicy::ControlTypes(reinterpret_cast<const QSizePolicy::ControlTypes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSizePolicy_ControlTypes(sipSimpleWrapper *);}
static void dealloc_QSizePolicy_ControlTypes(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QSizePolicy_ControlTypes(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QSizePolicy_ControlTypes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSizePolicy_ControlTypes(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QSizePolicy::ControlTypes *sipCpp = 0;

    {
        const QSizePolicy::ControlTypes* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QSizePolicy_ControlTypes, &a0, &a0State))
        {
            sipCpp = new QSizePolicy::ControlTypes(*a0);
            sipReleaseType(const_cast<QSizePolicy::ControlTypes *>(a0),sipType_QSizePolicy_ControlTypes,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QSizePolicy::ControlTypes(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QSizePolicy::ControlTypes();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QSizePolicy_ControlTypes(PyObject *, void **, int *, PyObject *);}
static int convertTo_QSizePolicy_ControlTypes(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QSizePolicy::ControlTypes **sipCppPtr = reinterpret_cast<QSizePolicy::ControlTypes **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QSizePolicy::ControlTypes is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSizePolicy_ControlType)) ||
            sipCanConvertToType(sipPy, sipType_QSizePolicy_ControlTypes, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QSizePolicy_ControlType)))
{
    *sipCppPtr = new QSizePolicy::ControlTypes(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QSizePolicy::ControlTypes *>(sipConvertToType(sipPy, sipType_QSizePolicy_ControlTypes, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 147002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSizePolicy_ControlTypes[] = {
    {(void *)slot_QSizePolicy_ControlTypes___bool__, bool_slot},
    {(void *)slot_QSizePolicy_ControlTypes___ne__, ne_slot},
    {(void *)slot_QSizePolicy_ControlTypes___eq__, eq_slot},
    {(void *)slot_QSizePolicy_ControlTypes___invert__, invert_slot},
    {(void *)slot_QSizePolicy_ControlTypes___and__, and_slot},
    {(void *)slot_QSizePolicy_ControlTypes___xor__, xor_slot},
    {(void *)slot_QSizePolicy_ControlTypes___or__, or_slot},
    {(void *)slot_QSizePolicy_ControlTypes___int__, int_slot},
    {(void *)slot_QSizePolicy_ControlTypes___ixor__, ixor_slot},
    {(void *)slot_QSizePolicy_ControlTypes___ior__, ior_slot},
    {(void *)slot_QSizePolicy_ControlTypes___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QSizePolicy_ControlTypes, "\1QSizePolicy.ControlTypes(QSizePolicy.ControlTypes)\n"
    "QSizePolicy.ControlTypes(int)\n"
    "QSizePolicy.ControlTypes()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSizePolicy_ControlTypes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSizePolicy__ControlTypes,
        {0}
    },
    {
        sipNameNr_ControlTypes,
        {267, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSizePolicy_ControlTypes,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSizePolicy_ControlTypes,
    init_type_QSizePolicy_ControlTypes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSizePolicy_ControlTypes,
    assign_QSizePolicy_ControlTypes,
    array_QSizePolicy_ControlTypes,
    copy_QSizePolicy_ControlTypes,
    release_QSizePolicy_ControlTypes,
    cast_QSizePolicy_ControlTypes,
    convertTo_QSizePolicy_ControlTypes,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 147084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 147088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 147091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QSizePolicy_horizontalPolicy, "QSizePolicy.horizontalPolicy() -> QSizePolicy.Policy");

extern "C" {static PyObject *meth_QSizePolicy_horizontalPolicy(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_horizontalPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            QSizePolicy::Policy sipRes;

            sipRes = sipCpp->horizontalPolicy();

            return sipConvertFromEnum(sipRes,sipType_QSizePolicy_Policy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_horizontalPolicy, doc_QSizePolicy_horizontalPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_verticalPolicy, "QSizePolicy.verticalPolicy() -> QSizePolicy.Policy");

extern "C" {static PyObject *meth_QSizePolicy_verticalPolicy(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_verticalPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            QSizePolicy::Policy sipRes;

            sipRes = sipCpp->verticalPolicy();

            return sipConvertFromEnum(sipRes,sipType_QSizePolicy_Policy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_verticalPolicy, doc_QSizePolicy_verticalPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_setHorizontalPolicy, "QSizePolicy.setHorizontalPolicy(QSizePolicy.Policy)");

extern "C" {static PyObject *meth_QSizePolicy_setHorizontalPolicy(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_setHorizontalPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::Policy a0;
        QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSizePolicy, &sipCpp, sipType_QSizePolicy_Policy, &a0))
        {
            sipCpp->setHorizontalPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_setHorizontalPolicy, doc_QSizePolicy_setHorizontalPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_setVerticalPolicy, "QSizePolicy.setVerticalPolicy(QSizePolicy.Policy)");

extern "C" {static PyObject *meth_QSizePolicy_setVerticalPolicy(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_setVerticalPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::Policy a0;
        QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSizePolicy, &sipCpp, sipType_QSizePolicy_Policy, &a0))
        {
            sipCpp->setVerticalPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_setVerticalPolicy, doc_QSizePolicy_setVerticalPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_expandingDirections, "QSizePolicy.expandingDirections() -> Qt.Orientations");

extern "C" {static PyObject *meth_QSizePolicy_expandingDirections(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_expandingDirections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            Qt::Orientations*sipRes;

            sipRes = new Qt::Orientations(sipCpp->expandingDirections());

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_expandingDirections, doc_QSizePolicy_expandingDirections);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_setHeightForWidth, "QSizePolicy.setHeightForWidth(bool)");

extern "C" {static PyObject *meth_QSizePolicy_setHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_setHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSizePolicy, &sipCpp, &a0))
        {
            sipCpp->setHeightForWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_setHeightForWidth, doc_QSizePolicy_setHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_hasHeightForWidth, "QSizePolicy.hasHeightForWidth() -> bool");

extern "C" {static PyObject *meth_QSizePolicy_hasHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_hasHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasHeightForWidth();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_hasHeightForWidth, doc_QSizePolicy_hasHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_horizontalStretch, "QSizePolicy.horizontalStretch() -> int");

extern "C" {static PyObject *meth_QSizePolicy_horizontalStretch(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_horizontalStretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->horizontalStretch();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_horizontalStretch, doc_QSizePolicy_horizontalStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_verticalStretch, "QSizePolicy.verticalStretch() -> int");

extern "C" {static PyObject *meth_QSizePolicy_verticalStretch(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_verticalStretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->verticalStretch();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_verticalStretch, doc_QSizePolicy_verticalStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_setHorizontalStretch, "QSizePolicy.setHorizontalStretch(int)");

extern "C" {static PyObject *meth_QSizePolicy_setHorizontalStretch(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_setHorizontalStretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSizePolicy, &sipCpp, &a0))
        {
            sipCpp->setHorizontalStretch(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_setHorizontalStretch, doc_QSizePolicy_setHorizontalStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_setVerticalStretch, "QSizePolicy.setVerticalStretch(int)");

extern "C" {static PyObject *meth_QSizePolicy_setVerticalStretch(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_setVerticalStretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QSizePolicy, &sipCpp, &a0))
        {
            sipCpp->setVerticalStretch(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_setVerticalStretch, doc_QSizePolicy_setVerticalStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_transpose, "QSizePolicy.transpose()");

extern "C" {static PyObject *meth_QSizePolicy_transpose(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_transpose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            sipCpp->transpose();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_transpose, doc_QSizePolicy_transpose);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_controlType, "QSizePolicy.controlType() -> QSizePolicy.ControlType");

extern "C" {static PyObject *meth_QSizePolicy_controlType(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_controlType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            QSizePolicy::ControlType sipRes;

            sipRes = sipCpp->controlType();

            return sipConvertFromEnum(sipRes,sipType_QSizePolicy_ControlType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_controlType, doc_QSizePolicy_controlType);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_setControlType, "QSizePolicy.setControlType(QSizePolicy.ControlType)");

extern "C" {static PyObject *meth_QSizePolicy_setControlType(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_setControlType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::ControlType a0;
        QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QSizePolicy, &sipCpp, sipType_QSizePolicy_ControlType, &a0))
        {
            sipCpp->setControlType(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_setControlType, doc_QSizePolicy_setControlType);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_setWidthForHeight, "QSizePolicy.setWidthForHeight(bool)");

extern "C" {static PyObject *meth_QSizePolicy_setWidthForHeight(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_setWidthForHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSizePolicy, &sipCpp, &a0))
        {
            sipCpp->setWidthForHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_setWidthForHeight, doc_QSizePolicy_setWidthForHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_hasWidthForHeight, "QSizePolicy.hasWidthForHeight() -> bool");

extern "C" {static PyObject *meth_QSizePolicy_hasWidthForHeight(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_hasWidthForHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasWidthForHeight();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_hasWidthForHeight, doc_QSizePolicy_hasWidthForHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_retainSizeWhenHidden, "QSizePolicy.retainSizeWhenHidden() -> bool");

extern "C" {static PyObject *meth_QSizePolicy_retainSizeWhenHidden(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_retainSizeWhenHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizePolicy, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->retainSizeWhenHidden();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_retainSizeWhenHidden, doc_QSizePolicy_retainSizeWhenHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QSizePolicy_setRetainSizeWhenHidden, "QSizePolicy.setRetainSizeWhenHidden(bool)");

extern "C" {static PyObject *meth_QSizePolicy_setRetainSizeWhenHidden(PyObject *, PyObject *);}
static PyObject *meth_QSizePolicy_setRetainSizeWhenHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QSizePolicy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSizePolicy, &sipCpp, &a0))
        {
            sipCpp->setRetainSizeWhenHidden(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizePolicy, sipName_setRetainSizeWhenHidden, doc_QSizePolicy_setRetainSizeWhenHidden);

    return NULL;
}


extern "C" {static PyObject *slot_QSizePolicy___ne__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QSizePolicy *sipCpp = reinterpret_cast<QSizePolicy *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSizePolicy, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->QSizePolicy::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QSizePolicy,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QSizePolicy___eq__(PyObject *,PyObject *);}
static PyObject *slot_QSizePolicy___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QSizePolicy *sipCpp = reinterpret_cast<QSizePolicy *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QSizePolicy));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QSizePolicy, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->QSizePolicy::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QSizePolicy,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSizePolicy(void *, const sipTypeDef *);}
static void *cast_QSizePolicy(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QSizePolicy)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSizePolicy(void *, int);}
static void release_QSizePolicy(void *sipCppV,int)
{
    delete reinterpret_cast<QSizePolicy *>(sipCppV);
}


extern "C" {static void assign_QSizePolicy(void *, SIP_SSIZE_T, const void *);}
static void assign_QSizePolicy(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QSizePolicy *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QSizePolicy *>(sipSrc);
}


extern "C" {static void *array_QSizePolicy(SIP_SSIZE_T);}
static void *array_QSizePolicy(SIP_SSIZE_T sipNrElem)
{
    return new QSizePolicy[sipNrElem];
}


extern "C" {static void *copy_QSizePolicy(const void *, SIP_SSIZE_T);}
static void *copy_QSizePolicy(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QSizePolicy(reinterpret_cast<const QSizePolicy *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QSizePolicy(sipSimpleWrapper *);}
static void dealloc_QSizePolicy(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QSizePolicy(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QSizePolicy(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSizePolicy(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QSizePolicy *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QSizePolicy();

            return sipCpp;
        }
    }

    {
        QSizePolicy::Policy a0;
        QSizePolicy::Policy a1;
        QSizePolicy::ControlType a2 = QSizePolicy::DefaultType;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "EE|E", sipType_QSizePolicy_Policy, &a0, sipType_QSizePolicy_Policy, &a1, sipType_QSizePolicy_ControlType, &a2))
        {
            sipCpp = new QSizePolicy(a0,a1,a2);

            return sipCpp;
        }
    }

    {
        const QVariant* a0;
        PyObject *a0Wrapper;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "@J1", &a0Wrapper, sipType_QVariant, &a0, &a0State))
        {
            sipErrorState sipError = sipErrorNone;

#line 57 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
        if (a0->canConvert<QSizePolicy>())
            sipCpp = new QSizePolicy(a0->value<QSizePolicy>());
        else
            sipError = sipBadCallableArg(0, a0Wrapper);
#line 147740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            if (sipError == sipErrorNone)
                return sipCpp;

            if (sipUnused)
            {
                Py_XDECREF(*sipUnused);
            }

            sipAddException(sipError, sipParseErr);

            if (sipError == sipErrorFail)
                return NULL;
        }
    }

    {
        const QSizePolicy* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSizePolicy, &a0))
        {
            sipCpp = new QSizePolicy(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QSizePolicy[] = {
    {(void *)slot_QSizePolicy___ne__, ne_slot},
    {(void *)slot_QSizePolicy___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QSizePolicy[] = {
    {SIP_MLNAME_CAST(sipName_controlType), meth_QSizePolicy_controlType, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_controlType)},
    {SIP_MLNAME_CAST(sipName_expandingDirections), meth_QSizePolicy_expandingDirections, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_expandingDirections)},
    {SIP_MLNAME_CAST(sipName_hasHeightForWidth), meth_QSizePolicy_hasHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_hasHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_hasWidthForHeight), meth_QSizePolicy_hasWidthForHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_hasWidthForHeight)},
    {SIP_MLNAME_CAST(sipName_horizontalPolicy), meth_QSizePolicy_horizontalPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_horizontalPolicy)},
    {SIP_MLNAME_CAST(sipName_horizontalStretch), meth_QSizePolicy_horizontalStretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_horizontalStretch)},
    {SIP_MLNAME_CAST(sipName_retainSizeWhenHidden), meth_QSizePolicy_retainSizeWhenHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_retainSizeWhenHidden)},
    {SIP_MLNAME_CAST(sipName_setControlType), meth_QSizePolicy_setControlType, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_setControlType)},
    {SIP_MLNAME_CAST(sipName_setHeightForWidth), meth_QSizePolicy_setHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_setHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_setHorizontalPolicy), meth_QSizePolicy_setHorizontalPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_setHorizontalPolicy)},
    {SIP_MLNAME_CAST(sipName_setHorizontalStretch), meth_QSizePolicy_setHorizontalStretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_setHorizontalStretch)},
    {SIP_MLNAME_CAST(sipName_setRetainSizeWhenHidden), meth_QSizePolicy_setRetainSizeWhenHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_setRetainSizeWhenHidden)},
    {SIP_MLNAME_CAST(sipName_setVerticalPolicy), meth_QSizePolicy_setVerticalPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_setVerticalPolicy)},
    {SIP_MLNAME_CAST(sipName_setVerticalStretch), meth_QSizePolicy_setVerticalStretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_setVerticalStretch)},
    {SIP_MLNAME_CAST(sipName_setWidthForHeight), meth_QSizePolicy_setWidthForHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_setWidthForHeight)},
    {SIP_MLNAME_CAST(sipName_transpose), meth_QSizePolicy_transpose, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_transpose)},
    {SIP_MLNAME_CAST(sipName_verticalPolicy), meth_QSizePolicy_verticalPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_verticalPolicy)},
    {SIP_MLNAME_CAST(sipName_verticalStretch), meth_QSizePolicy_verticalStretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizePolicy_verticalStretch)}
};

static sipEnumMemberDef enummembers_QSizePolicy[] = {
    {sipName_ButtonBox, static_cast<int>(QSizePolicy::ButtonBox), 268},
    {sipName_CheckBox, static_cast<int>(QSizePolicy::CheckBox), 268},
    {sipName_ComboBox, static_cast<int>(QSizePolicy::ComboBox), 268},
    {sipName_DefaultType, static_cast<int>(QSizePolicy::DefaultType), 268},
    {sipName_ExpandFlag, static_cast<int>(QSizePolicy::ExpandFlag), 271},
    {sipName_Expanding, static_cast<int>(QSizePolicy::Expanding), 270},
    {sipName_Fixed, static_cast<int>(QSizePolicy::Fixed), 270},
    {sipName_Frame, static_cast<int>(QSizePolicy::Frame), 268},
    {sipName_GroupBox, static_cast<int>(QSizePolicy::GroupBox), 268},
    {sipName_GrowFlag, static_cast<int>(QSizePolicy::GrowFlag), 271},
    {sipName_IgnoreFlag, static_cast<int>(QSizePolicy::IgnoreFlag), 271},
    {sipName_Ignored, static_cast<int>(QSizePolicy::Ignored), 270},
    {sipName_Label, static_cast<int>(QSizePolicy::Label), 268},
    {sipName_Line, static_cast<int>(QSizePolicy::Line), 268},
    {sipName_LineEdit, static_cast<int>(QSizePolicy::LineEdit), 268},
    {sipName_Maximum, static_cast<int>(QSizePolicy::Maximum), 270},
    {sipName_Minimum, static_cast<int>(QSizePolicy::Minimum), 270},
    {sipName_MinimumExpanding, static_cast<int>(QSizePolicy::MinimumExpanding), 270},
    {sipName_Preferred, static_cast<int>(QSizePolicy::Preferred), 270},
    {sipName_PushButton, static_cast<int>(QSizePolicy::PushButton), 268},
    {sipName_RadioButton, static_cast<int>(QSizePolicy::RadioButton), 268},
    {sipName_ShrinkFlag, static_cast<int>(QSizePolicy::ShrinkFlag), 271},
    {sipName_Slider, static_cast<int>(QSizePolicy::Slider), 268},
    {sipName_SpinBox, static_cast<int>(QSizePolicy::SpinBox), 268},
    {sipName_TabWidget, static_cast<int>(QSizePolicy::TabWidget), 268},
    {sipName_ToolButton, static_cast<int>(QSizePolicy::ToolButton), 268},
};

PyDoc_STRVAR(doc_QSizePolicy, "\1QSizePolicy()\n"
    "QSizePolicy(QSizePolicy.Policy, QSizePolicy.Policy, QSizePolicy.ControlType type=QSizePolicy.DefaultType)\n"
    "QSizePolicy(QVariant)\n"
    "QSizePolicy(QSizePolicy)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSizePolicy = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSizePolicy,
        {0}
    },
    {
        sipNameNr_QSizePolicy,
        {0, 0, 1},
        18, methods_QSizePolicy,
        26, enummembers_QSizePolicy,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSizePolicy,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QSizePolicy,
    init_type_QSizePolicy,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSizePolicy,
    assign_QSizePolicy,
    array_QSizePolicy,
    copy_QSizePolicy,
    release_QSizePolicy,
    cast_QSizePolicy,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizegrip.sip"
#include <qsizegrip.h>
#line 147894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 147898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 147901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 147904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 147907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 147910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 147913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 147916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 147919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 147922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 147925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 147928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 147931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 147934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 147937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 147940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 147943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 147946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 147949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 147952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 147955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 147958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 147961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 147964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 147967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 147970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 147973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 147976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 147979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 147982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 147985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 147988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 147991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 147994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 147997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 148033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 148036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 148039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 148042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 148045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 148048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 148051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 148054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 148057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 148060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 148063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 148066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 148069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 148072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 148075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 148078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 148081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 148084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 148087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 148090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 148093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 148096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQSizeGrip : public QSizeGrip
{
public:
    sipQSizeGrip(QWidget*);
    virtual ~sipQSizeGrip();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    int devType() const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void moveEvent(QMoveEvent*);
    bool event(QEvent*);
    bool eventFilter(QObject*,QEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    void setVisible(bool);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSizeGrip(const sipQSizeGrip &);
    sipQSizeGrip &operator = (const sipQSizeGrip &);

    char sipPyMethods[46];
};

sipQSizeGrip::sipQSizeGrip(QWidget*a0): QSizeGrip(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSizeGrip::~sipQSizeGrip()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSizeGrip::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSizeGrip);
}

int sipQSizeGrip::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QSizeGrip::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QSizeGrip,_c,_id,_a);

    return _id;
}

void *sipQSizeGrip::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QSizeGrip, _clname, &sipCpp) ? sipCpp : QSizeGrip::qt_metacast(_clname));
}

void sipQSizeGrip::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QSizeGrip::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QSizeGrip::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QSizeGrip::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QSizeGrip::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QSizeGrip::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QSizeGrip::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQSizeGrip::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QSizeGrip::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSizeGrip::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QSizeGrip::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQSizeGrip::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QSizeGrip::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQSizeGrip::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QSizeGrip::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQSizeGrip::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QSizeGrip::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QSizeGrip::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSizeGrip::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QSizeGrip::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QSizeGrip::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QSizeGrip::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QSizeGrip::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QSizeGrip::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QSizeGrip::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QSizeGrip::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QSizeGrip::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QSizeGrip::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QSizeGrip::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QSizeGrip::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QSizeGrip::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QSizeGrip::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QSizeGrip::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QSizeGrip::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QSizeGrip::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QSizeGrip::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QSizeGrip::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QSizeGrip::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQSizeGrip::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QSizeGrip::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQSizeGrip::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QSizeGrip::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQSizeGrip::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QSizeGrip::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQSizeGrip::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QSizeGrip::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSizeGrip::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QSizeGrip::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QSizeGrip::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QSizeGrip::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSizeGrip::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QSizeGrip::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSizeGrip::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QSizeGrip::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQSizeGrip::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QSizeGrip::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QSizeGrip::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QSizeGrip::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QSizeGrip::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSizeGrip::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QSizeGrip::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQSizeGrip::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QSizeGrip::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQSizeGrip::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQSizeGrip::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQSizeGrip::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSizeGrip::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSizeGrip::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQSizeGrip::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQSizeGrip::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQSizeGrip::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQSizeGrip::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQSizeGrip::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQSizeGrip::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQSizeGrip::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQSizeGrip::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQSizeGrip::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQSizeGrip::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQSizeGrip::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQSizeGrip::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQSizeGrip::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQSizeGrip::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QSizeGrip::paintEvent(a0) : paintEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSizeGrip::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSizeGrip::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QSizeGrip::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

bool sipQSizeGrip::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QSizeGrip::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQSizeGrip::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QSizeGrip::event(a0) : event(a0));
}

void sipQSizeGrip::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QSizeGrip::moveEvent(a0) : moveEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QSizeGrip::showEvent(a0) : showEvent(a0));
}

void sipQSizeGrip::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QSizeGrip::hideEvent(a0) : hideEvent(a0));
}


PyDoc_STRVAR(doc_QSizeGrip_sender, "QSizeGrip.sender() -> QObject");

extern "C" {static PyObject *meth_QSizeGrip_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSizeGrip, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 149320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_sender, doc_QSizeGrip_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_receivers, "QSizeGrip.receivers(signal) -> int");

extern "C" {static PyObject *meth_QSizeGrip_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSizeGrip, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 149379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_receivers, doc_QSizeGrip_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_timerEvent, "QSizeGrip.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QSizeGrip_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_timerEvent, doc_QSizeGrip_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_childEvent, "QSizeGrip.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QSizeGrip_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_childEvent, doc_QSizeGrip_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_customEvent, "QSizeGrip.customEvent(QEvent)");

extern "C" {static PyObject *meth_QSizeGrip_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_customEvent, doc_QSizeGrip_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_connectNotify, "QSizeGrip.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSizeGrip_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_connectNotify, doc_QSizeGrip_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_disconnectNotify, "QSizeGrip.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSizeGrip_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_disconnectNotify, doc_QSizeGrip_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_senderSignalIndex, "QSizeGrip.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QSizeGrip_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSizeGrip, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_senderSignalIndex, doc_QSizeGrip_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_isSignalConnected, "QSizeGrip.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSizeGrip_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_isSignalConnected, doc_QSizeGrip_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_mouseDoubleClickEvent, "QSizeGrip.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSizeGrip_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_mouseDoubleClickEvent, doc_QSizeGrip_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_wheelEvent, "QSizeGrip.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QSizeGrip_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_wheelEvent, doc_QSizeGrip_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_keyPressEvent, "QSizeGrip.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSizeGrip_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_keyPressEvent, doc_QSizeGrip_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_keyReleaseEvent, "QSizeGrip.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QSizeGrip_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_keyReleaseEvent, doc_QSizeGrip_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_focusInEvent, "QSizeGrip.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSizeGrip_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_focusInEvent, doc_QSizeGrip_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_focusOutEvent, "QSizeGrip.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QSizeGrip_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_focusOutEvent, doc_QSizeGrip_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_enterEvent, "QSizeGrip.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QSizeGrip_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_enterEvent, doc_QSizeGrip_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_leaveEvent, "QSizeGrip.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QSizeGrip_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_leaveEvent, doc_QSizeGrip_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_resizeEvent, "QSizeGrip.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QSizeGrip_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_resizeEvent, doc_QSizeGrip_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_closeEvent, "QSizeGrip.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QSizeGrip_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_closeEvent, doc_QSizeGrip_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_contextMenuEvent, "QSizeGrip.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QSizeGrip_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_contextMenuEvent, doc_QSizeGrip_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_tabletEvent, "QSizeGrip.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QSizeGrip_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_tabletEvent, doc_QSizeGrip_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_actionEvent, "QSizeGrip.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QSizeGrip_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_actionEvent, doc_QSizeGrip_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_dragEnterEvent, "QSizeGrip.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QSizeGrip_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_dragEnterEvent, doc_QSizeGrip_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_dragMoveEvent, "QSizeGrip.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QSizeGrip_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_dragMoveEvent, doc_QSizeGrip_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_dragLeaveEvent, "QSizeGrip.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QSizeGrip_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_dragLeaveEvent, doc_QSizeGrip_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_dropEvent, "QSizeGrip.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QSizeGrip_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_dropEvent, doc_QSizeGrip_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_changeEvent, "QSizeGrip.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QSizeGrip_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_changeEvent, doc_QSizeGrip_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_metric, "QSizeGrip.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QSizeGrip_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_metric, doc_QSizeGrip_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_inputMethodEvent, "QSizeGrip.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QSizeGrip_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_inputMethodEvent, doc_QSizeGrip_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_updateMicroFocus, "QSizeGrip.updateMicroFocus()");

extern "C" {static PyObject *meth_QSizeGrip_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSizeGrip, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_updateMicroFocus, doc_QSizeGrip_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_create, "QSizeGrip.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QSizeGrip_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQSizeGrip *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_create, doc_QSizeGrip_create);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_destroy, "QSizeGrip.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QSizeGrip_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQSizeGrip *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QSizeGrip, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_destroy, doc_QSizeGrip_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_focusNextPrevChild, "QSizeGrip.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QSizeGrip_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QSizeGrip, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_focusNextPrevChild, doc_QSizeGrip_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_focusNextChild, "QSizeGrip.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QSizeGrip_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSizeGrip, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_focusNextChild, doc_QSizeGrip_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_focusPreviousChild, "QSizeGrip.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QSizeGrip_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSizeGrip, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_focusPreviousChild, doc_QSizeGrip_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_nativeEvent, "QSizeGrip.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QSizeGrip_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_nativeEvent, doc_QSizeGrip_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_sharedPainter, "QSizeGrip.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QSizeGrip_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSizeGrip, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_sharedPainter, doc_QSizeGrip_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_initPainter, "QSizeGrip.initPainter(QPainter)");

extern "C" {static PyObject *meth_QSizeGrip_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_initPainter, doc_QSizeGrip_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_sizeHint, "QSizeGrip.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QSizeGrip_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSizeGrip *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSizeGrip, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QSizeGrip::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_sizeHint, doc_QSizeGrip_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_setVisible, "QSizeGrip.setVisible(bool)");

extern "C" {static PyObject *meth_QSizeGrip_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QSizeGrip *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QSizeGrip, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QSizeGrip::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_setVisible, doc_QSizeGrip_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_paintEvent, "QSizeGrip.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QSizeGrip_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_paintEvent, doc_QSizeGrip_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_mousePressEvent, "QSizeGrip.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSizeGrip_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_mousePressEvent, doc_QSizeGrip_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_mouseReleaseEvent, "QSizeGrip.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSizeGrip_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_mouseReleaseEvent, doc_QSizeGrip_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_mouseMoveEvent, "QSizeGrip.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QSizeGrip_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_mouseMoveEvent, doc_QSizeGrip_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_eventFilter, "QSizeGrip.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QSizeGrip_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_eventFilter, doc_QSizeGrip_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_event, "QSizeGrip.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QSizeGrip_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_event, doc_QSizeGrip_event);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_moveEvent, "QSizeGrip.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QSizeGrip_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_moveEvent, doc_QSizeGrip_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_showEvent, "QSizeGrip.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QSizeGrip_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_showEvent, doc_QSizeGrip_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSizeGrip_hideEvent, "QSizeGrip.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QSizeGrip_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSizeGrip_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQSizeGrip *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSizeGrip, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSizeGrip, sipName_hideEvent, doc_QSizeGrip_hideEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSizeGrip(void *, const sipTypeDef *);}
static void *cast_QSizeGrip(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSizeGrip)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QSizeGrip *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSizeGrip(void *, int);}
static void release_QSizeGrip(void *sipCppV,int)
{
    QSizeGrip *sipCpp = reinterpret_cast<QSizeGrip *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSizeGrip(sipSimpleWrapper *);}
static void dealloc_QSizeGrip(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSizeGrip *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSizeGrip(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSizeGrip(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSizeGrip(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSizeGrip *sipCpp = 0;

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQSizeGrip(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSizeGrip[] = {{454, 255, 1}};


static PyMethodDef methods_QSizeGrip[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QSizeGrip_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QSizeGrip_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSizeGrip_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QSizeGrip_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSizeGrip_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QSizeGrip_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QSizeGrip_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSizeGrip_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QSizeGrip_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSizeGrip_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QSizeGrip_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QSizeGrip_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QSizeGrip_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QSizeGrip_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QSizeGrip_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QSizeGrip_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSizeGrip_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QSizeGrip_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSizeGrip_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QSizeGrip_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QSizeGrip_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QSizeGrip_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QSizeGrip_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QSizeGrip_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QSizeGrip_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSizeGrip_hideEvent)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QSizeGrip_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QSizeGrip_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSizeGrip_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QSizeGrip_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QSizeGrip_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QSizeGrip_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QSizeGrip_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QSizeGrip_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QSizeGrip_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSizeGrip_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QSizeGrip_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSizeGrip_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QSizeGrip_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSizeGrip_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QSizeGrip_moveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSizeGrip_moveEvent)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QSizeGrip_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QSizeGrip_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSizeGrip_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSizeGrip_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QSizeGrip_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSizeGrip_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSizeGrip_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QSizeGrip_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeGrip_setVisible)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QSizeGrip_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QSizeGrip_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSizeGrip_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QSizeGrip_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QSizeGrip_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QSizeGrip_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSizeGrip_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QSizeGrip_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QSizeGrip_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QSizeGrip, "\1QSizeGrip(QWidget)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSizeGrip = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSizeGrip,
        {0}
    },
    {
        sipNameNr_QSizeGrip,
        {0, 0, 1},
        49, methods_QSizeGrip,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSizeGrip,
    -1,
    -1,
    supers_QSizeGrip,
    0,
    init_type_QSizeGrip,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSizeGrip,
    0,
    0,
    0,
    release_QSizeGrip,
    cast_QSizeGrip,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QSizeGrip::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qshortcut.sip"
#include <qshortcut.h>
#line 150916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 150920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 150923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 150929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 150932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 150935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 150938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 150941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 150944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 150947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 150950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 150953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 150956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 150959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 150965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 150968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 150971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQShortcut : public QShortcut
{
public:
    sipQShortcut(QWidget*);
    sipQShortcut(const QKeySequence&,QWidget*,const char*,const char*,Qt::ShortcutContext);
    virtual ~sipQShortcut();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQShortcut(const sipQShortcut &);
    sipQShortcut &operator = (const sipQShortcut &);

    char sipPyMethods[7];
};

sipQShortcut::sipQShortcut(QWidget*a0): QShortcut(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQShortcut::sipQShortcut(const QKeySequence& a0,QWidget*a1,const char*a2,const char*a3,Qt::ShortcutContext a4): QShortcut(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQShortcut::~sipQShortcut()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQShortcut::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QShortcut);
}

int sipQShortcut::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QShortcut::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QShortcut,_c,_id,_a);

    return _id;
}

void *sipQShortcut::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QShortcut, _clname, &sipCpp) ? sipCpp : QShortcut::qt_metacast(_clname));
}

void sipQShortcut::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QShortcut::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQShortcut::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QShortcut::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQShortcut::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QShortcut::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQShortcut::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QShortcut::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQShortcut::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QShortcut::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQShortcut::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QShortcut::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQShortcut::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QShortcut::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQShortcut::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQShortcut::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQShortcut::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQShortcut::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQShortcut::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQShortcut::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQShortcut::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQShortcut::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQShortcut::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQShortcut::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QShortcut::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QShortcut_sender, "QShortcut.sender() -> QObject");

extern "C" {static PyObject *meth_QShortcut_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QShortcut, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 151271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_sender, doc_QShortcut_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_receivers, "QShortcut.receivers(signal) -> int");

extern "C" {static PyObject *meth_QShortcut_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QShortcut, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 151330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_receivers, doc_QShortcut_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_timerEvent, "QShortcut.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QShortcut_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QShortcut, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_timerEvent, doc_QShortcut_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_childEvent, "QShortcut.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QShortcut_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QShortcut, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_childEvent, doc_QShortcut_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_customEvent, "QShortcut.customEvent(QEvent)");

extern "C" {static PyObject *meth_QShortcut_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QShortcut, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_customEvent, doc_QShortcut_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_connectNotify, "QShortcut.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QShortcut_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QShortcut, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_connectNotify, doc_QShortcut_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_disconnectNotify, "QShortcut.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QShortcut_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QShortcut, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_disconnectNotify, doc_QShortcut_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_senderSignalIndex, "QShortcut.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QShortcut_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QShortcut, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_senderSignalIndex, doc_QShortcut_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_isSignalConnected, "QShortcut.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QShortcut_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QShortcut, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_isSignalConnected, doc_QShortcut_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_setKey, "QShortcut.setKey(QKeySequence)");

extern "C" {static PyObject *meth_QShortcut_setKey(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_setKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QShortcut, &sipCpp, sipType_QKeySequence, &a0, &a0State))
        {
            sipCpp->setKey(*a0);
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_setKey, doc_QShortcut_setKey);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_key, "QShortcut.key() -> QKeySequence");

extern "C" {static PyObject *meth_QShortcut_key(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_key(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QShortcut, &sipCpp))
        {
            QKeySequence*sipRes;

            sipRes = new QKeySequence(sipCpp->key());

            return sipConvertFromNewType(sipRes,sipType_QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_key, doc_QShortcut_key);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_setEnabled, "QShortcut.setEnabled(bool)");

extern "C" {static PyObject *meth_QShortcut_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QShortcut, &sipCpp, &a0))
        {
            sipCpp->setEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_setEnabled, doc_QShortcut_setEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_isEnabled, "QShortcut.isEnabled() -> bool");

extern "C" {static PyObject *meth_QShortcut_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QShortcut, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_isEnabled, doc_QShortcut_isEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_setContext, "QShortcut.setContext(Qt.ShortcutContext)");

extern "C" {static PyObject *meth_QShortcut_setContext(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_setContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ShortcutContext a0;
        QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QShortcut, &sipCpp, sipType_Qt_ShortcutContext, &a0))
        {
            sipCpp->setContext(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_setContext, doc_QShortcut_setContext);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_context, "QShortcut.context() -> Qt.ShortcutContext");

extern "C" {static PyObject *meth_QShortcut_context(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_context(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QShortcut, &sipCpp))
        {
            Qt::ShortcutContext sipRes;

            sipRes = sipCpp->context();

            return sipConvertFromEnum(sipRes,sipType_Qt_ShortcutContext);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_context, doc_QShortcut_context);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_setWhatsThis, "QShortcut.setWhatsThis(str)");

extern "C" {static PyObject *meth_QShortcut_setWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_setWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QShortcut, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWhatsThis(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_setWhatsThis, doc_QShortcut_setWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_whatsThis, "QShortcut.whatsThis() -> str");

extern "C" {static PyObject *meth_QShortcut_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_whatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QShortcut, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->whatsThis());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_whatsThis, doc_QShortcut_whatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_id, "QShortcut.id() -> int");

extern "C" {static PyObject *meth_QShortcut_id(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QShortcut, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->id();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_id, doc_QShortcut_id);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_parentWidget, "QShortcut.parentWidget() -> QWidget");

extern "C" {static PyObject *meth_QShortcut_parentWidget(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_parentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QShortcut, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->parentWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_parentWidget, doc_QShortcut_parentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_setAutoRepeat, "QShortcut.setAutoRepeat(bool)");

extern "C" {static PyObject *meth_QShortcut_setAutoRepeat(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_setAutoRepeat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QShortcut, &sipCpp, &a0))
        {
            sipCpp->setAutoRepeat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_setAutoRepeat, doc_QShortcut_setAutoRepeat);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_autoRepeat, "QShortcut.autoRepeat() -> bool");

extern "C" {static PyObject *meth_QShortcut_autoRepeat(PyObject *, PyObject *);}
static PyObject *meth_QShortcut_autoRepeat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QShortcut *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QShortcut, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoRepeat();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_autoRepeat, doc_QShortcut_autoRepeat);

    return NULL;
}


PyDoc_STRVAR(doc_QShortcut_event, "QShortcut.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QShortcut_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QShortcut_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQShortcut *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QShortcut, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QShortcut, sipName_event, doc_QShortcut_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QShortcut(void *, const sipTypeDef *);}
static void *cast_QShortcut(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QShortcut)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QShortcut *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QShortcut(void *, int);}
static void release_QShortcut(void *sipCppV,int)
{
    QShortcut *sipCpp = reinterpret_cast<QShortcut *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QShortcut(sipSimpleWrapper *);}
static void dealloc_QShortcut(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQShortcut *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QShortcut(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QShortcut(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QShortcut(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQShortcut *sipCpp = 0;

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQShortcut(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QKeySequence* a0;
        int a0State = 0;
        QWidget* a1;
        PyObject * a2 = 0;
        PyObject * a3 = 0;
        Qt::ShortcutContext a4 = Qt::WindowShortcut;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_member,
            sipName_ambiguousMember,
            sipName_context,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1JH|P0P0E", sipType_QKeySequence, &a0, &a0State, sipType_QWidget, &a1, sipOwner, &a2, &a3, sipType_Qt_ShortcutContext, &a4))
        {
            sipErrorState sipError = sipErrorNone;

#line 33 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qshortcut.sip"
        // Construct the shortcut without any connections.
        Py_BEGIN_ALLOW_THREADS
        sipCpp = new sipQShortcut(*a0, a1, 0, 0, a4);
        Py_END_ALLOW_THREADS
        
        if (a2)
        {
            QObject *rx2;
            QByteArray member2;
        
            if ((sipError = pyqt5_qtwidgets_get_connection_parts(a2, sipCpp, "()", false, &rx2, member2)) == sipErrorNone)
            {
                Py_BEGIN_ALLOW_THREADS
                QObject::connect(sipCpp, SIGNAL(activated()), rx2,
                        member2.constData());
                Py_END_ALLOW_THREADS
            }
            else
            {
                delete sipCpp;
                
                if (sipError == sipErrorContinue)
                    sipError = sipBadCallableArg(2, a2);
            }
        }
        
        if (a3)
        {
            QObject *rx3;
            QByteArray member3;
        
            if ((sipError = pyqt5_qtwidgets_get_connection_parts(a3, sipCpp, "()", false, &rx3, member3)) == sipErrorNone)
            {
                Py_BEGIN_ALLOW_THREADS
                QObject::connect(sipCpp, SIGNAL(activatedAmbiguously()), rx3,
                        member3.constData());
                Py_END_ALLOW_THREADS
            }
            else
            {
                delete sipCpp;
                
                if (sipError == sipErrorContinue)
                    sipError = sipBadCallableArg(3, a3);
            }
        }
#line 152030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            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_QShortcut[] = {{162, 0, 1}};


static PyMethodDef methods_QShortcut[] = {
    {SIP_MLNAME_CAST(sipName_autoRepeat), meth_QShortcut_autoRepeat, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_autoRepeat)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QShortcut_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QShortcut_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_context), meth_QShortcut_context, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_context)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QShortcut_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QShortcut_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QShortcut_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QShortcut_event)},
    {SIP_MLNAME_CAST(sipName_id), meth_QShortcut_id, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_id)},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_QShortcut_isEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_isEnabled)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QShortcut_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_key), meth_QShortcut_key, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_key)},
    {SIP_MLNAME_CAST(sipName_parentWidget), meth_QShortcut_parentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_parentWidget)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QShortcut_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QShortcut_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QShortcut_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoRepeat), meth_QShortcut_setAutoRepeat, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_setAutoRepeat)},
    {SIP_MLNAME_CAST(sipName_setContext), meth_QShortcut_setContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_setContext)},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_QShortcut_setEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_setEnabled)},
    {SIP_MLNAME_CAST(sipName_setKey), meth_QShortcut_setKey, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_setKey)},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_QShortcut_setWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_setWhatsThis)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QShortcut_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_QShortcut_whatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QShortcut_whatsThis)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QShortcut[] = {
    {"activatedAmbiguously()", "\1QShortcut.activatedAmbiguously", 0, 0},
    {"activated()", "\1QShortcut.activated", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QShortcut, "\1QShortcut(QWidget)\n"
    "QShortcut(QKeySequence, QWidget, slot member=0, slot ambiguousMember=0, Qt.ShortcutContext context=Qt.WindowShortcut)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QShortcut = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QShortcut,
        {0}
    },
    {
        sipNameNr_QShortcut,
        {0, 0, 1},
        22, methods_QShortcut,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QShortcut,
    -1,
    -1,
    supers_QShortcut,
    0,
    init_type_QShortcut,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QShortcut,
    0,
    0,
    0,
    release_QShortcut,
    cast_QShortcut,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QShortcut::staticMetaObject,
    0,
    signals_QShortcut,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollerproperties.sip"
#include <qscrollerproperties.h>
#line 152154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 152158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQScrollerProperties : public QScrollerProperties
{
public:
    sipQScrollerProperties();
    sipQScrollerProperties(const QScrollerProperties&);
    ~sipQScrollerProperties();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQScrollerProperties(const sipQScrollerProperties &);
    sipQScrollerProperties &operator = (const sipQScrollerProperties &);
};

sipQScrollerProperties::sipQScrollerProperties(): QScrollerProperties(), sipPySelf(0)
{
}

sipQScrollerProperties::sipQScrollerProperties(const QScrollerProperties& a0): QScrollerProperties(a0), sipPySelf(0)
{
}

sipQScrollerProperties::~sipQScrollerProperties()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QScrollerProperties_setDefaultScrollerProperties, "QScrollerProperties.setDefaultScrollerProperties(QScrollerProperties)");

extern "C" {static PyObject *meth_QScrollerProperties_setDefaultScrollerProperties(PyObject *, PyObject *);}
static PyObject *meth_QScrollerProperties_setDefaultScrollerProperties(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScrollerProperties* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QScrollerProperties, &a0))
        {
            QScrollerProperties::setDefaultScrollerProperties(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollerProperties, sipName_setDefaultScrollerProperties, doc_QScrollerProperties_setDefaultScrollerProperties);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollerProperties_unsetDefaultScrollerProperties, "QScrollerProperties.unsetDefaultScrollerProperties()");

extern "C" {static PyObject *meth_QScrollerProperties_unsetDefaultScrollerProperties(PyObject *, PyObject *);}
static PyObject *meth_QScrollerProperties_unsetDefaultScrollerProperties(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QScrollerProperties::unsetDefaultScrollerProperties();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollerProperties, sipName_unsetDefaultScrollerProperties, doc_QScrollerProperties_unsetDefaultScrollerProperties);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollerProperties_scrollMetric, "QScrollerProperties.scrollMetric(QScrollerProperties.ScrollMetric) -> QVariant");

extern "C" {static PyObject *meth_QScrollerProperties_scrollMetric(PyObject *, PyObject *);}
static PyObject *meth_QScrollerProperties_scrollMetric(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QScrollerProperties::ScrollMetric a0;
        const QScrollerProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QScrollerProperties, &sipCpp, sipType_QScrollerProperties_ScrollMetric, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->scrollMetric(a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollerProperties, sipName_scrollMetric, doc_QScrollerProperties_scrollMetric);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollerProperties_setScrollMetric, "QScrollerProperties.setScrollMetric(QScrollerProperties.ScrollMetric, QVariant)");

extern "C" {static PyObject *meth_QScrollerProperties_setScrollMetric(PyObject *, PyObject *);}
static PyObject *meth_QScrollerProperties_setScrollMetric(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QScrollerProperties::ScrollMetric a0;
        const QVariant* a1;
        int a1State = 0;
        QScrollerProperties *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QScrollerProperties, &sipCpp, sipType_QScrollerProperties_ScrollMetric, &a0, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setScrollMetric(a0,*a1);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollerProperties, sipName_setScrollMetric, doc_QScrollerProperties_setScrollMetric);

    return NULL;
}


extern "C" {static PyObject *slot_QScrollerProperties___ne__(PyObject *,PyObject *);}
static PyObject *slot_QScrollerProperties___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QScrollerProperties *sipCpp = reinterpret_cast<QScrollerProperties *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QScrollerProperties));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QScrollerProperties* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QScrollerProperties, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->QScrollerProperties::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QScrollerProperties,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QScrollerProperties___eq__(PyObject *,PyObject *);}
static PyObject *slot_QScrollerProperties___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QScrollerProperties *sipCpp = reinterpret_cast<QScrollerProperties *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QScrollerProperties));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QScrollerProperties* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QScrollerProperties, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->QScrollerProperties::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QScrollerProperties,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QScrollerProperties(void *, const sipTypeDef *);}
static void *cast_QScrollerProperties(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QScrollerProperties)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QScrollerProperties(void *, int);}
static void release_QScrollerProperties(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQScrollerProperties *>(sipCppV);
    else
        delete reinterpret_cast<QScrollerProperties *>(sipCppV);
}


extern "C" {static void assign_QScrollerProperties(void *, SIP_SSIZE_T, const void *);}
static void assign_QScrollerProperties(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QScrollerProperties *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QScrollerProperties *>(sipSrc);
}


extern "C" {static void *array_QScrollerProperties(SIP_SSIZE_T);}
static void *array_QScrollerProperties(SIP_SSIZE_T sipNrElem)
{
    return new QScrollerProperties[sipNrElem];
}


extern "C" {static void *copy_QScrollerProperties(const void *, SIP_SSIZE_T);}
static void *copy_QScrollerProperties(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QScrollerProperties(reinterpret_cast<const QScrollerProperties *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QScrollerProperties(sipSimpleWrapper *);}
static void dealloc_QScrollerProperties(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQScrollerProperties *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QScrollerProperties(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QScrollerProperties(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QScrollerProperties(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQScrollerProperties *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQScrollerProperties();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QScrollerProperties* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QScrollerProperties, &a0))
        {
            sipCpp = new sipQScrollerProperties(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QScrollerProperties[] = {
    {(void *)slot_QScrollerProperties___ne__, ne_slot},
    {(void *)slot_QScrollerProperties___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QScrollerProperties[] = {
    {SIP_MLNAME_CAST(sipName_scrollMetric), meth_QScrollerProperties_scrollMetric, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollerProperties_scrollMetric)},
    {SIP_MLNAME_CAST(sipName_setDefaultScrollerProperties), meth_QScrollerProperties_setDefaultScrollerProperties, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollerProperties_setDefaultScrollerProperties)},
    {SIP_MLNAME_CAST(sipName_setScrollMetric), meth_QScrollerProperties_setScrollMetric, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollerProperties_setScrollMetric)},
    {SIP_MLNAME_CAST(sipName_unsetDefaultScrollerProperties), meth_QScrollerProperties_unsetDefaultScrollerProperties, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollerProperties_unsetDefaultScrollerProperties)}
};

static sipEnumMemberDef enummembers_QScrollerProperties[] = {
    {sipName_AcceleratingFlickMaximumTime, static_cast<int>(QScrollerProperties::AcceleratingFlickMaximumTime), 264},
    {sipName_AcceleratingFlickSpeedupFactor, static_cast<int>(QScrollerProperties::AcceleratingFlickSpeedupFactor), 264},
    {sipName_AxisLockThreshold, static_cast<int>(QScrollerProperties::AxisLockThreshold), 264},
    {sipName_DecelerationFactor, static_cast<int>(QScrollerProperties::DecelerationFactor), 264},
    {sipName_DragStartDistance, static_cast<int>(QScrollerProperties::DragStartDistance), 264},
    {sipName_DragVelocitySmoothingFactor, static_cast<int>(QScrollerProperties::DragVelocitySmoothingFactor), 264},
    {sipName_Fps20, static_cast<int>(QScrollerProperties::Fps20), 262},
    {sipName_Fps30, static_cast<int>(QScrollerProperties::Fps30), 262},
    {sipName_Fps60, static_cast<int>(QScrollerProperties::Fps60), 262},
    {sipName_FrameRate, static_cast<int>(QScrollerProperties::FrameRate), 264},
    {sipName_HorizontalOvershootPolicy, static_cast<int>(QScrollerProperties::HorizontalOvershootPolicy), 264},
    {sipName_MaximumClickThroughVelocity, static_cast<int>(QScrollerProperties::MaximumClickThroughVelocity), 264},
    {sipName_MaximumVelocity, static_cast<int>(QScrollerProperties::MaximumVelocity), 264},
    {sipName_MinimumVelocity, static_cast<int>(QScrollerProperties::MinimumVelocity), 264},
    {sipName_MousePressEventDelay, static_cast<int>(QScrollerProperties::MousePressEventDelay), 264},
    {sipName_OvershootAlwaysOff, static_cast<int>(QScrollerProperties::OvershootAlwaysOff), 263},
    {sipName_OvershootAlwaysOn, static_cast<int>(QScrollerProperties::OvershootAlwaysOn), 263},
    {sipName_OvershootDragDistanceFactor, static_cast<int>(QScrollerProperties::OvershootDragDistanceFactor), 264},
    {sipName_OvershootDragResistanceFactor, static_cast<int>(QScrollerProperties::OvershootDragResistanceFactor), 264},
    {sipName_OvershootScrollDistanceFactor, static_cast<int>(QScrollerProperties::OvershootScrollDistanceFactor), 264},
    {sipName_OvershootScrollTime, static_cast<int>(QScrollerProperties::OvershootScrollTime), 264},
    {sipName_OvershootWhenScrollable, static_cast<int>(QScrollerProperties::OvershootWhenScrollable), 263},
    {sipName_ScrollMetricCount, static_cast<int>(QScrollerProperties::ScrollMetricCount), 264},
    {sipName_ScrollingCurve, static_cast<int>(QScrollerProperties::ScrollingCurve), 264},
    {sipName_SnapPositionRatio, static_cast<int>(QScrollerProperties::SnapPositionRatio), 264},
    {sipName_SnapTime, static_cast<int>(QScrollerProperties::SnapTime), 264},
    {sipName_Standard, static_cast<int>(QScrollerProperties::Standard), 262},
    {sipName_VerticalOvershootPolicy, static_cast<int>(QScrollerProperties::VerticalOvershootPolicy), 264},
};

PyDoc_STRVAR(doc_QScrollerProperties, "\1QScrollerProperties()\n"
    "QScrollerProperties(QScrollerProperties)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QScrollerProperties = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QScrollerProperties,
        {0}
    },
    {
        sipNameNr_QScrollerProperties,
        {0, 0, 1},
        4, methods_QScrollerProperties,
        28, enummembers_QScrollerProperties,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QScrollerProperties,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QScrollerProperties,
    init_type_QScrollerProperties,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QScrollerProperties,
    assign_QScrollerProperties,
    array_QScrollerProperties,
    copy_QScrollerProperties,
    release_QScrollerProperties,
    cast_QScrollerProperties,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscroller.sip"
#include <qscroller.h>
#line 152558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 152562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollerproperties.sip"
#include <qscrollerproperties.h>
#line 152565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 152568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 152571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 731 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 152574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 152577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 152580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 152583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 152586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 152589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 152592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 152595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 152598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 152601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 152604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 152607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 152610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 152613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 152616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 152619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 152622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QScroller_hasScroller, "QScroller.hasScroller(QObject) -> bool");

extern "C" {static PyObject *meth_QScroller_hasScroller(PyObject *, PyObject *);}
static PyObject *meth_QScroller_hasScroller(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QObject, &a0))
        {
            bool sipRes;

            sipRes = QScroller::hasScroller(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_hasScroller, doc_QScroller_hasScroller);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_scroller, "QScroller.scroller(QObject) -> QScroller");

extern "C" {static PyObject *meth_QScroller_scroller(PyObject *, PyObject *);}
static PyObject *meth_QScroller_scroller(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QObject, &a0))
        {
            QScroller*sipRes;

            sipRes = QScroller::scroller(a0);

            return sipConvertFromType(sipRes,sipType_QScroller,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_scroller, doc_QScroller_scroller);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_grabGesture, "QScroller.grabGesture(QObject, QScroller.ScrollerGestureType scrollGestureType=QScroller.TouchGesture) -> Qt.GestureType");

extern "C" {static PyObject *meth_QScroller_grabGesture(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScroller_grabGesture(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;
        QScroller::ScrollerGestureType a1 = QScroller::TouchGesture;

        static const char *sipKwdList[] = {
            NULL,
            sipName_scrollGestureType,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8|E", sipType_QObject, &a0, sipType_QScroller_ScrollerGestureType, &a1))
        {
            Qt::GestureType sipRes;

            sipRes = QScroller::grabGesture(a0,a1);

            return sipConvertFromEnum(sipRes,sipType_Qt_GestureType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_grabGesture, doc_QScroller_grabGesture);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_grabbedGesture, "QScroller.grabbedGesture(QObject) -> Qt.GestureType");

extern "C" {static PyObject *meth_QScroller_grabbedGesture(PyObject *, PyObject *);}
static PyObject *meth_QScroller_grabbedGesture(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QObject, &a0))
        {
            Qt::GestureType sipRes;

            sipRes = QScroller::grabbedGesture(a0);

            return sipConvertFromEnum(sipRes,sipType_Qt_GestureType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_grabbedGesture, doc_QScroller_grabbedGesture);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_ungrabGesture, "QScroller.ungrabGesture(QObject)");

extern "C" {static PyObject *meth_QScroller_ungrabGesture(PyObject *, PyObject *);}
static PyObject *meth_QScroller_ungrabGesture(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QObject* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QObject, &a0))
        {
            QScroller::ungrabGesture(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_ungrabGesture, doc_QScroller_ungrabGesture);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_activeScrollers, "QScroller.activeScrollers() -> list-of-QScroller");

extern "C" {static PyObject *meth_QScroller_activeScrollers(PyObject *, PyObject *);}
static PyObject *meth_QScroller_activeScrollers(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList<QScroller*>*sipRes;

            sipRes = new QList<QScroller*>(QScroller::activeScrollers());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QScroller,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_activeScrollers, doc_QScroller_activeScrollers);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_target, "QScroller.target() -> QObject");

extern "C" {static PyObject *meth_QScroller_target(PyObject *, PyObject *);}
static PyObject *meth_QScroller_target(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            QObject*sipRes;

            sipRes = sipCpp->target();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_target, doc_QScroller_target);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_state, "QScroller.state() -> QScroller.State");

extern "C" {static PyObject *meth_QScroller_state(PyObject *, PyObject *);}
static PyObject *meth_QScroller_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            QScroller::State sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_QScroller_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_state, doc_QScroller_state);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_handleInput, "QScroller.handleInput(QScroller.Input, QPointF, int timestamp=0) -> bool");

extern "C" {static PyObject *meth_QScroller_handleInput(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScroller_handleInput(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QScroller::Input a0;
        const QPointF* a1;
        int a1State = 0;
        qint64 a2 = 0;
        QScroller *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_timestamp,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ1|n", &sipSelf, sipType_QScroller, &sipCpp, sipType_QScroller_Input, &a0, sipType_QPointF, &a1, &a1State, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->handleInput(a0,*a1,a2);
            sipReleaseType(const_cast<QPointF *>(a1),sipType_QPointF,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_handleInput, doc_QScroller_handleInput);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_stop, "QScroller.stop()");

extern "C" {static PyObject *meth_QScroller_stop(PyObject *, PyObject *);}
static PyObject *meth_QScroller_stop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            sipCpp->stop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_stop, doc_QScroller_stop);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_velocity, "QScroller.velocity() -> QPointF");

extern "C" {static PyObject *meth_QScroller_velocity(PyObject *, PyObject *);}
static PyObject *meth_QScroller_velocity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->velocity());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_velocity, doc_QScroller_velocity);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_finalPosition, "QScroller.finalPosition() -> QPointF");

extern "C" {static PyObject *meth_QScroller_finalPosition(PyObject *, PyObject *);}
static PyObject *meth_QScroller_finalPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->finalPosition());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_finalPosition, doc_QScroller_finalPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_pixelPerMeter, "QScroller.pixelPerMeter() -> QPointF");

extern "C" {static PyObject *meth_QScroller_pixelPerMeter(PyObject *, PyObject *);}
static PyObject *meth_QScroller_pixelPerMeter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->pixelPerMeter());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_pixelPerMeter, doc_QScroller_pixelPerMeter);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_scrollerProperties, "QScroller.scrollerProperties() -> QScrollerProperties");

extern "C" {static PyObject *meth_QScroller_scrollerProperties(PyObject *, PyObject *);}
static PyObject *meth_QScroller_scrollerProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            QScrollerProperties*sipRes;

            sipRes = new QScrollerProperties(sipCpp->scrollerProperties());

            return sipConvertFromNewType(sipRes,sipType_QScrollerProperties,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_scrollerProperties, doc_QScroller_scrollerProperties);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_setSnapPositionsX, "QScroller.setSnapPositionsX(list-of-float)\n"
    "QScroller.setSnapPositionsX(float, float)");

extern "C" {static PyObject *meth_QScroller_setSnapPositionsX(PyObject *, PyObject *);}
static PyObject *meth_QScroller_setSnapPositionsX(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<qreal>* a0;
        int a0State = 0;
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QScroller, &sipCpp, sipType_QList_2400,&a0, &a0State))
        {
            sipCpp->setSnapPositionsX(*a0);
            sipReleaseType(const_cast<QList<qreal> *>(a0),sipType_QList_2400,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QScroller, &sipCpp, &a0, &a1))
        {
            sipCpp->setSnapPositionsX(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_setSnapPositionsX, doc_QScroller_setSnapPositionsX);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_setSnapPositionsY, "QScroller.setSnapPositionsY(list-of-float)\n"
    "QScroller.setSnapPositionsY(float, float)");

extern "C" {static PyObject *meth_QScroller_setSnapPositionsY(PyObject *, PyObject *);}
static PyObject *meth_QScroller_setSnapPositionsY(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<qreal>* a0;
        int a0State = 0;
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QScroller, &sipCpp, sipType_QList_2400,&a0, &a0State))
        {
            sipCpp->setSnapPositionsY(*a0);
            sipReleaseType(const_cast<QList<qreal> *>(a0),sipType_QList_2400,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QScroller, &sipCpp, &a0, &a1))
        {
            sipCpp->setSnapPositionsY(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_setSnapPositionsY, doc_QScroller_setSnapPositionsY);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_setScrollerProperties, "QScroller.setScrollerProperties(QScrollerProperties)");

extern "C" {static PyObject *meth_QScroller_setScrollerProperties(PyObject *, PyObject *);}
static PyObject *meth_QScroller_setScrollerProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScrollerProperties* a0;
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QScroller, &sipCpp, sipType_QScrollerProperties, &a0))
        {
            sipCpp->setScrollerProperties(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_setScrollerProperties, doc_QScroller_setScrollerProperties);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_scrollTo, "QScroller.scrollTo(QPointF)\n"
    "QScroller.scrollTo(QPointF, int)");

extern "C" {static PyObject *meth_QScroller_scrollTo(PyObject *, PyObject *);}
static PyObject *meth_QScroller_scrollTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QScroller, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->scrollTo(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QPointF* a0;
        int a0State = 0;
        int a1;
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_QScroller, &sipCpp, sipType_QPointF, &a0, &a0State, &a1))
        {
            sipCpp->scrollTo(*a0,a1);
            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_QScroller, sipName_scrollTo, doc_QScroller_scrollTo);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_ensureVisible, "QScroller.ensureVisible(QRectF, float, float)\n"
    "QScroller.ensureVisible(QRectF, float, float, int)");

extern "C" {static PyObject *meth_QScroller_ensureVisible(PyObject *, PyObject *);}
static PyObject *meth_QScroller_ensureVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        qreal a1;
        qreal a2;
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9dd", &sipSelf, sipType_QScroller, &sipCpp, sipType_QRectF, &a0, &a1, &a2))
        {
            sipCpp->ensureVisible(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QRectF* a0;
        qreal a1;
        qreal a2;
        int a3;
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9ddi", &sipSelf, sipType_QScroller, &sipCpp, sipType_QRectF, &a0, &a1, &a2, &a3))
        {
            sipCpp->ensureVisible(*a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_ensureVisible, doc_QScroller_ensureVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QScroller_resendPrepareEvent, "QScroller.resendPrepareEvent()");

extern "C" {static PyObject *meth_QScroller_resendPrepareEvent(PyObject *, PyObject *);}
static PyObject *meth_QScroller_resendPrepareEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QScroller *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScroller, &sipCpp))
        {
            sipCpp->resendPrepareEvent();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScroller, sipName_resendPrepareEvent, doc_QScroller_resendPrepareEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QScroller(void *, const sipTypeDef *);}
static void *cast_QScroller(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QScroller)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QScroller *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QScroller(void *, int);}
static void release_QScroller(void *,int)
{
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QScroller[] = {{162, 0, 1}};


static PyMethodDef methods_QScroller[] = {
    {SIP_MLNAME_CAST(sipName_activeScrollers), meth_QScroller_activeScrollers, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_activeScrollers)},
    {SIP_MLNAME_CAST(sipName_ensureVisible), meth_QScroller_ensureVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_ensureVisible)},
    {SIP_MLNAME_CAST(sipName_finalPosition), meth_QScroller_finalPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_finalPosition)},
    {SIP_MLNAME_CAST(sipName_grabGesture), (PyCFunction)meth_QScroller_grabGesture, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScroller_grabGesture)},
    {SIP_MLNAME_CAST(sipName_grabbedGesture), meth_QScroller_grabbedGesture, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_grabbedGesture)},
    {SIP_MLNAME_CAST(sipName_handleInput), (PyCFunction)meth_QScroller_handleInput, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScroller_handleInput)},
    {SIP_MLNAME_CAST(sipName_hasScroller), meth_QScroller_hasScroller, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_hasScroller)},
    {SIP_MLNAME_CAST(sipName_pixelPerMeter), meth_QScroller_pixelPerMeter, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_pixelPerMeter)},
    {SIP_MLNAME_CAST(sipName_resendPrepareEvent), meth_QScroller_resendPrepareEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_resendPrepareEvent)},
    {SIP_MLNAME_CAST(sipName_scrollTo), meth_QScroller_scrollTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_scrollTo)},
    {SIP_MLNAME_CAST(sipName_scroller), meth_QScroller_scroller, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_scroller)},
    {SIP_MLNAME_CAST(sipName_scrollerProperties), meth_QScroller_scrollerProperties, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_scrollerProperties)},
    {SIP_MLNAME_CAST(sipName_setScrollerProperties), meth_QScroller_setScrollerProperties, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_setScrollerProperties)},
    {SIP_MLNAME_CAST(sipName_setSnapPositionsX), meth_QScroller_setSnapPositionsX, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_setSnapPositionsX)},
    {SIP_MLNAME_CAST(sipName_setSnapPositionsY), meth_QScroller_setSnapPositionsY, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_setSnapPositionsY)},
    {SIP_MLNAME_CAST(sipName_state), meth_QScroller_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_state)},
    {SIP_MLNAME_CAST(sipName_stop), meth_QScroller_stop, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_stop)},
    {SIP_MLNAME_CAST(sipName_target), meth_QScroller_target, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_target)},
    {SIP_MLNAME_CAST(sipName_ungrabGesture), meth_QScroller_ungrabGesture, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_ungrabGesture)},
    {SIP_MLNAME_CAST(sipName_velocity), meth_QScroller_velocity, METH_VARARGS, SIP_MLDOC_CAST(doc_QScroller_velocity)}
};

static sipEnumMemberDef enummembers_QScroller[] = {
    {sipName_Dragging, static_cast<int>(QScroller::Dragging), 260},
    {sipName_Inactive, static_cast<int>(QScroller::Inactive), 260},
    {sipName_InputMove, static_cast<int>(QScroller::InputMove), 258},
    {sipName_InputPress, static_cast<int>(QScroller::InputPress), 258},
    {sipName_InputRelease, static_cast<int>(QScroller::InputRelease), 258},
    {sipName_LeftMouseButtonGesture, static_cast<int>(QScroller::LeftMouseButtonGesture), 259},
    {sipName_MiddleMouseButtonGesture, static_cast<int>(QScroller::MiddleMouseButtonGesture), 259},
    {sipName_Pressed, static_cast<int>(QScroller::Pressed), 260},
    {sipName_RightMouseButtonGesture, static_cast<int>(QScroller::RightMouseButtonGesture), 259},
    {sipName_Scrolling, static_cast<int>(QScroller::Scrolling), 260},
    {sipName_TouchGesture, static_cast<int>(QScroller::TouchGesture), 259},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QScroller[] = {
    {"scrollerPropertiesChanged(QScrollerProperties)", "\1QScroller.scrollerPropertiesChanged[QScrollerProperties]", 0, 0},
    {"stateChanged(QScroller::State)", "\1QScroller.stateChanged[QScroller.State]", 0, 0},
    {0, 0, 0, 0}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QScroller = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QScroller,
        {0}
    },
    {
        sipNameNr_QScroller,
        {0, 0, 1},
        20, methods_QScroller,
        11, enummembers_QScroller,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QScroller,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QScroller,
    cast_QScroller,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QScroller::staticMetaObject,
    0,
    signals_QScroller,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 153378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 153382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 153385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 153388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 153406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 153409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 153412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 153415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 153421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 153424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 153427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 153430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 153433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 153436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 153439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 153442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 153445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 153448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 153451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 153454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 153457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 153460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 153463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 153466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 153469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 153472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 153475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 153478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 153481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 153484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 153487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 153523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 153526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 153529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 153532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 153535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 153538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 153541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 153544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 153547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 153550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 153553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 153556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 153559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 153562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 153565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 153568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 153571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 153574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 153577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 153580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 153583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 153586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQScrollBar : public QScrollBar
{
public:
    sipQScrollBar(QWidget*);
    sipQScrollBar(Qt::Orientation,QWidget*);
    virtual ~sipQScrollBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipSliderChange {
        SliderRangeChange = QAbstractSlider::SliderRangeChange,
        SliderOrientationChange = QAbstractSlider::SliderOrientationChange,
        SliderStepsChange = QAbstractSlider::SliderStepsChange,
        SliderValueChange = QAbstractSlider::SliderValueChange
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_setRepeatAction(QAbstractSlider::SliderAction,int,int);
    QAbstractSlider::SliderAction sipProtect_repeatAction() const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_initStyleOption(QStyleOptionSlider*) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_sliderChange(bool,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    void keyPressEvent(QKeyEvent*);
    void sliderChange(QAbstractSlider::SliderChange);
    void wheelEvent(QWheelEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void hideEvent(QHideEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQScrollBar(const sipQScrollBar &);
    sipQScrollBar &operator = (const sipQScrollBar &);

    char sipPyMethods[47];
};

sipQScrollBar::sipQScrollBar(QWidget*a0): QScrollBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQScrollBar::sipQScrollBar(Qt::Orientation a0,QWidget*a1): QScrollBar(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQScrollBar::~sipQScrollBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQScrollBar::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QScrollBar);
}

int sipQScrollBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QScrollBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QScrollBar,_c,_id,_a);

    return _id;
}

void *sipQScrollBar::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QScrollBar, _clname, &sipCpp) ? sipCpp : QScrollBar::qt_metacast(_clname));
}

void sipQScrollBar::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QScrollBar::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QScrollBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QScrollBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QScrollBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQScrollBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QScrollBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQScrollBar::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QScrollBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQScrollBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QScrollBar::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQScrollBar::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QScrollBar::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQScrollBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QScrollBar::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQScrollBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QScrollBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQScrollBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QScrollBar::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QScrollBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQScrollBar::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QScrollBar::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QScrollBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QScrollBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QScrollBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QScrollBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QScrollBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QScrollBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QScrollBar::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QScrollBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QScrollBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QScrollBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QScrollBar::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QScrollBar::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QScrollBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QScrollBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QScrollBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QScrollBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQScrollBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QScrollBar::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQScrollBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QScrollBar::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQScrollBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QScrollBar::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQScrollBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QScrollBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQScrollBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QScrollBar::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQScrollBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QScrollBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QScrollBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QScrollBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::sliderChange(QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
        QScrollBar::sliderChange(a0);
        return;
    }

    extern void sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_85(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0);
}

void sipQScrollBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QScrollBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QScrollBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QScrollBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QScrollBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QScrollBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QScrollBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QScrollBar::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQScrollBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QScrollBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQScrollBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QScrollBar::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQScrollBar::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQScrollBar::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQScrollBar::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQScrollBar::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQScrollBar::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQScrollBar::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQScrollBar::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQScrollBar::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQScrollBar::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQScrollBar::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQScrollBar::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQScrollBar::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQScrollBar::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQScrollBar::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQScrollBar::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQScrollBar::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQScrollBar::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQScrollBar::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQScrollBar::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQScrollBar::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQScrollBar::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQScrollBar::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQScrollBar::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQScrollBar::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

int sipQScrollBar::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQScrollBar::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQScrollBar::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQScrollBar::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQScrollBar::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQScrollBar::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQScrollBar::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQScrollBar::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQScrollBar::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQScrollBar::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQScrollBar::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQScrollBar::sipProtect_setRepeatAction(QAbstractSlider::SliderAction a0,int a1,int a2)
{
    QAbstractSlider::setRepeatAction(a0,a1,a2);
}

QAbstractSlider::SliderAction sipQScrollBar::sipProtect_repeatAction() const
{
    return QAbstractSlider::repeatAction();
}

void sipQScrollBar::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQScrollBar::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::timerEvent(a0) : timerEvent(a0));
}

void sipQScrollBar::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::changeEvent(a0) : changeEvent(a0));
}

void sipQScrollBar::sipProtect_initStyleOption(QStyleOptionSlider*a0) const
{
    QScrollBar::initStyleOption(a0);
}

void sipQScrollBar::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QScrollBar::paintEvent(a0) : paintEvent(a0));
}

void sipQScrollBar::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QScrollBar::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQScrollBar::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QScrollBar::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQScrollBar::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QScrollBar::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQScrollBar::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QScrollBar::hideEvent(a0) : hideEvent(a0));
}

void sipQScrollBar::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QScrollBar::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQScrollBar::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QScrollBar::wheelEvent(a0) : wheelEvent(a0));
}

void sipQScrollBar::sipProtectVirt_sliderChange(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QScrollBar::sliderChange((QAbstractSlider::SliderChange)a0) : sliderChange((QAbstractSlider::SliderChange)a0));
}


PyDoc_STRVAR(doc_QScrollBar_sender, "QScrollBar.sender() -> QObject");

extern "C" {static PyObject *meth_QScrollBar_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollBar, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 154855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_sender, doc_QScrollBar_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_receivers, "QScrollBar.receivers(signal) -> int");

extern "C" {static PyObject *meth_QScrollBar_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QScrollBar, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 154914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_receivers, doc_QScrollBar_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_childEvent, "QScrollBar.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QScrollBar_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_childEvent, doc_QScrollBar_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_customEvent, "QScrollBar.customEvent(QEvent)");

extern "C" {static PyObject *meth_QScrollBar_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_customEvent, doc_QScrollBar_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_connectNotify, "QScrollBar.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QScrollBar_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_connectNotify, doc_QScrollBar_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_disconnectNotify, "QScrollBar.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QScrollBar_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_disconnectNotify, doc_QScrollBar_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_senderSignalIndex, "QScrollBar.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QScrollBar_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_senderSignalIndex, doc_QScrollBar_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_isSignalConnected, "QScrollBar.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QScrollBar_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_isSignalConnected, doc_QScrollBar_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_mouseDoubleClickEvent, "QScrollBar.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QScrollBar_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_mouseDoubleClickEvent, doc_QScrollBar_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_keyReleaseEvent, "QScrollBar.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QScrollBar_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_keyReleaseEvent, doc_QScrollBar_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_focusInEvent, "QScrollBar.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QScrollBar_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_focusInEvent, doc_QScrollBar_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_focusOutEvent, "QScrollBar.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QScrollBar_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_focusOutEvent, doc_QScrollBar_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_enterEvent, "QScrollBar.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QScrollBar_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_enterEvent, doc_QScrollBar_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_leaveEvent, "QScrollBar.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QScrollBar_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_leaveEvent, doc_QScrollBar_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_moveEvent, "QScrollBar.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QScrollBar_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_moveEvent, doc_QScrollBar_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_resizeEvent, "QScrollBar.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QScrollBar_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_resizeEvent, doc_QScrollBar_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_closeEvent, "QScrollBar.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QScrollBar_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_closeEvent, doc_QScrollBar_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_tabletEvent, "QScrollBar.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QScrollBar_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_tabletEvent, doc_QScrollBar_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_actionEvent, "QScrollBar.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QScrollBar_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_actionEvent, doc_QScrollBar_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_dragEnterEvent, "QScrollBar.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QScrollBar_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_dragEnterEvent, doc_QScrollBar_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_dragMoveEvent, "QScrollBar.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QScrollBar_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_dragMoveEvent, doc_QScrollBar_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_dragLeaveEvent, "QScrollBar.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QScrollBar_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_dragLeaveEvent, doc_QScrollBar_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_dropEvent, "QScrollBar.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QScrollBar_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_dropEvent, doc_QScrollBar_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_showEvent, "QScrollBar.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QScrollBar_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_showEvent, doc_QScrollBar_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_metric, "QScrollBar.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QScrollBar_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_metric, doc_QScrollBar_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_inputMethodEvent, "QScrollBar.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QScrollBar_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_inputMethodEvent, doc_QScrollBar_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_updateMicroFocus, "QScrollBar.updateMicroFocus()");

extern "C" {static PyObject *meth_QScrollBar_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollBar, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_updateMicroFocus, doc_QScrollBar_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_create, "QScrollBar.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QScrollBar_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQScrollBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_create, doc_QScrollBar_create);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_destroy, "QScrollBar.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QScrollBar_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQScrollBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QScrollBar, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_destroy, doc_QScrollBar_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_focusNextPrevChild, "QScrollBar.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QScrollBar_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QScrollBar, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_focusNextPrevChild, doc_QScrollBar_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_focusNextChild, "QScrollBar.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QScrollBar_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_focusNextChild, doc_QScrollBar_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_focusPreviousChild, "QScrollBar.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QScrollBar_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_focusPreviousChild, doc_QScrollBar_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_nativeEvent, "QScrollBar.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QScrollBar_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_nativeEvent, doc_QScrollBar_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_sharedPainter, "QScrollBar.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QScrollBar_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollBar, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_sharedPainter, doc_QScrollBar_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_initPainter, "QScrollBar.initPainter(QPainter)");

extern "C" {static PyObject *meth_QScrollBar_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_initPainter, doc_QScrollBar_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_setRepeatAction, "QScrollBar.setRepeatAction(QAbstractSlider.SliderAction, int thresholdTime=500, int repeatTime=50)");

extern "C" {static PyObject *meth_QScrollBar_setRepeatAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_setRepeatAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSlider::SliderAction a0;
        int a1 = 500;
        int a2 = 50;
        sipQScrollBar *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_thresholdTime,
            sipName_repeatTime,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|ii", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QAbstractSlider_SliderAction, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_setRepeatAction(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_setRepeatAction, doc_QScrollBar_setRepeatAction);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_repeatAction, "QScrollBar.repeatAction() -> QAbstractSlider.SliderAction");

extern "C" {static PyObject *meth_QScrollBar_repeatAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_repeatAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollBar, &sipCpp))
        {
            QAbstractSlider::SliderAction sipRes;

            sipRes = sipCpp->sipProtect_repeatAction();

            return sipConvertFromEnum(sipRes,sipType_QAbstractSlider_SliderAction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_repeatAction, doc_QScrollBar_repeatAction);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_keyPressEvent, "QScrollBar.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QScrollBar_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_keyPressEvent, doc_QScrollBar_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_timerEvent, "QScrollBar.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QScrollBar_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_timerEvent, doc_QScrollBar_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_changeEvent, "QScrollBar.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QScrollBar_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_changeEvent, doc_QScrollBar_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_sizeHint, "QScrollBar.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QScrollBar_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScrollBar, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QScrollBar::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_sizeHint, doc_QScrollBar_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_event, "QScrollBar.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QScrollBar_event(PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QScrollBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QScrollBar::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_event, doc_QScrollBar_event);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_initStyleOption, "QScrollBar.initStyleOption(QStyleOptionSlider)");

extern "C" {static PyObject *meth_QScrollBar_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionSlider* a0;
        const sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QStyleOptionSlider, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_initStyleOption, doc_QScrollBar_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_paintEvent, "QScrollBar.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QScrollBar_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_paintEvent, doc_QScrollBar_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_mousePressEvent, "QScrollBar.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QScrollBar_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_mousePressEvent, doc_QScrollBar_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_mouseReleaseEvent, "QScrollBar.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QScrollBar_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_mouseReleaseEvent, doc_QScrollBar_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_mouseMoveEvent, "QScrollBar.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QScrollBar_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_mouseMoveEvent, doc_QScrollBar_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_hideEvent, "QScrollBar.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QScrollBar_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_hideEvent, doc_QScrollBar_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_contextMenuEvent, "QScrollBar.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QScrollBar_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_contextMenuEvent, doc_QScrollBar_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_wheelEvent, "QScrollBar.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QScrollBar_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_wheelEvent, doc_QScrollBar_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollBar_sliderChange, "QScrollBar.sliderChange(QAbstractSlider.SliderChange)");

extern "C" {static PyObject *meth_QScrollBar_sliderChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollBar_sliderChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQScrollBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QScrollBar, &sipCpp, sipType_QAbstractSlider_SliderChange, &a0))
        {
            sipCpp->sipProtectVirt_sliderChange(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollBar, sipName_sliderChange, doc_QScrollBar_sliderChange);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QScrollBar(void *, const sipTypeDef *);}
static void *cast_QScrollBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QScrollBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractSlider)->ctd_cast((QAbstractSlider *)(QScrollBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QScrollBar(void *, int);}
static void release_QScrollBar(void *sipCppV,int)
{
    QScrollBar *sipCpp = reinterpret_cast<QScrollBar *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QScrollBar(sipSimpleWrapper *);}
static void dealloc_QScrollBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQScrollBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QScrollBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QScrollBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QScrollBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQScrollBar *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQScrollBar(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Qt::Orientation a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQScrollBar(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QScrollBar[] = {{17, 255, 1}};


static PyMethodDef methods_QScrollBar[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QScrollBar_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QScrollBar_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QScrollBar_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QScrollBar_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QScrollBar_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QScrollBar_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollBar_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QScrollBar_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QScrollBar_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QScrollBar_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QScrollBar_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QScrollBar_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QScrollBar_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QScrollBar_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QScrollBar_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QScrollBar_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_QScrollBar_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollBar_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QScrollBar_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QScrollBar_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QScrollBar_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QScrollBar_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QScrollBar_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QScrollBar_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollBar_hideEvent)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QScrollBar_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QScrollBar_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollBar_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QScrollBar_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QScrollBar_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QScrollBar_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QScrollBar_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QScrollBar_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QScrollBar_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QScrollBar_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QScrollBar_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollBar_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QScrollBar_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollBar_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QScrollBar_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollBar_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QScrollBar_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QScrollBar_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QScrollBar_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollBar_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QScrollBar_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_repeatAction), (PyCFunction)meth_QScrollBar_repeatAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QScrollBar_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QScrollBar_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QScrollBar_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setRepeatAction), (PyCFunction)meth_QScrollBar_setRepeatAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QScrollBar_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QScrollBar_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QScrollBar_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollBar_sizeHint)},
    {SIP_MLNAME_CAST(sipName_sliderChange), (PyCFunction)meth_QScrollBar_sliderChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollBar_sliderChange)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QScrollBar_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QScrollBar_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QScrollBar_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QScrollBar_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollBar_wheelEvent)}
};

PyDoc_STRVAR(doc_QScrollBar, "\1QScrollBar(QWidget parent=None)\n"
    "QScrollBar(Qt.Orientation, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QScrollBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QScrollBar,
        {0}
    },
    {
        sipNameNr_QScrollBar,
        {0, 0, 1},
        51, methods_QScrollBar,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QScrollBar,
    -1,
    -1,
    supers_QScrollBar,
    0,
    init_type_QScrollBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QScrollBar,
    0,
    0,
    0,
    release_QScrollBar,
    cast_QScrollBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QScrollBar::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollarea.sip"
#include <qscrollarea.h>
#line 156536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 156540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 156543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 156549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 156558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 156564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 156594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 156600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 156603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 156606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 156609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 156612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 156615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 156618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 156624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 156633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 156636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 156639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 156642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 156645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 156648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 156651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 156654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 156657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 156660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 156663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 156666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 156690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 156693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 156699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 156702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 156705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 156711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 156714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 156717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 156720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 156723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 156726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 156732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 156738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 156741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 156744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 156747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 156750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 156753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQScrollArea : public QScrollArea
{
public:
    sipQScrollArea(QWidget*);
    virtual ~sipQScrollArea();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    QSize sipProtectVirt_viewportSizeHint(bool) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    void keyPressEvent(QKeyEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    bool viewportEvent(QEvent*);
    QSize minimumSizeHint() const;
    QSize viewportSizeHint() const;
    void scrollContentsBy(int,int);
    void resizeEvent(QResizeEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool focusNextPrevChild(bool);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQScrollArea(const sipQScrollArea &);
    sipQScrollArea &operator = (const sipQScrollArea &);

    char sipPyMethods[50];
};

sipQScrollArea::sipQScrollArea(QWidget*a0): QScrollArea(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQScrollArea::~sipQScrollArea()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQScrollArea::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QScrollArea);
}

int sipQScrollArea::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QScrollArea::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QScrollArea,_c,_id,_a);

    return _id;
}

void *sipQScrollArea::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QScrollArea, _clname, &sipCpp) ? sipCpp : QScrollArea::qt_metacast(_clname));
}

void sipQScrollArea::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QScrollArea::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QScrollArea::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QScrollArea::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QScrollArea::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QScrollArea::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QScrollArea::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQScrollArea::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QScrollArea::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQScrollArea::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QScrollArea::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQScrollArea::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QScrollArea::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQScrollArea::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QScrollArea::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QScrollArea::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQScrollArea::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QScrollArea::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QScrollArea::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QScrollArea::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QScrollArea::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QScrollArea::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QScrollArea::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QScrollArea::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QScrollArea::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QScrollArea::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QScrollArea::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QScrollArea::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QScrollArea::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQScrollArea::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QScrollArea::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQScrollArea::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QScrollArea::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QScrollArea::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQScrollArea::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QScrollArea::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQScrollArea::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QScrollArea::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QScrollArea::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QScrollArea::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QScrollArea::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QScrollArea::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QScrollArea::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QScrollArea::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QScrollArea::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QScrollArea::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QScrollArea::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QScrollArea::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QScrollArea::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QScrollArea::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQScrollArea::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QScrollArea::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQScrollArea::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QScrollArea::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQScrollArea::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QScrollArea::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQScrollArea::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QScrollArea::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQScrollArea::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QScrollArea::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQScrollArea::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QScrollArea::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQScrollArea::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QScrollArea::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQScrollArea::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QScrollArea::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQScrollArea::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QScrollArea::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQScrollArea::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QScrollArea::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQScrollArea::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQScrollArea::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQScrollArea::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQScrollArea::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQScrollArea::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQScrollArea::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQScrollArea::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQScrollArea::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQScrollArea::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQScrollArea::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQScrollArea::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQScrollArea::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQScrollArea::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQScrollArea::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQScrollArea::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQScrollArea::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQScrollArea::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQScrollArea::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQScrollArea::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQScrollArea::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQScrollArea::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQScrollArea::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQScrollArea::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQScrollArea::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQScrollArea::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQScrollArea::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQScrollArea::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQScrollArea::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQScrollArea::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQScrollArea::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQScrollArea::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQScrollArea::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQScrollArea::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQScrollArea::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

bool sipQScrollArea::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractScrollArea::viewportEvent(a0) : viewportEvent(a0));
}

void sipQScrollArea::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::paintEvent(a0) : paintEvent(a0));
}

void sipQScrollArea::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQScrollArea::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQScrollArea::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQScrollArea::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQScrollArea::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQScrollArea::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQScrollArea::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQScrollArea::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQScrollArea::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQScrollArea::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dropEvent(a0) : dropEvent(a0));
}

void sipQScrollArea::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::keyPressEvent(a0) : keyPressEvent(a0));
}

bool sipQScrollArea::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QScrollArea::event(a0) : event(a0));
}

bool sipQScrollArea::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQScrollArea::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QScrollArea::resizeEvent(a0) : resizeEvent(a0));
}

void sipQScrollArea::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QScrollArea::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

QSize sipQScrollArea::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QScrollArea::viewportSizeHint() : viewportSizeHint());
}


PyDoc_STRVAR(doc_QScrollArea_sender, "QScrollArea.sender() -> QObject");

extern "C" {static PyObject *meth_QScrollArea_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 158077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_sender, doc_QScrollArea_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_receivers, "QScrollArea.receivers(signal) -> int");

extern "C" {static PyObject *meth_QScrollArea_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QScrollArea, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 158136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_receivers, doc_QScrollArea_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_timerEvent, "QScrollArea.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QScrollArea_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_timerEvent, doc_QScrollArea_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_childEvent, "QScrollArea.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QScrollArea_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_childEvent, doc_QScrollArea_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_customEvent, "QScrollArea.customEvent(QEvent)");

extern "C" {static PyObject *meth_QScrollArea_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_customEvent, doc_QScrollArea_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_connectNotify, "QScrollArea.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QScrollArea_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_connectNotify, doc_QScrollArea_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_disconnectNotify, "QScrollArea.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QScrollArea_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_disconnectNotify, doc_QScrollArea_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_senderSignalIndex, "QScrollArea.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QScrollArea_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_senderSignalIndex, doc_QScrollArea_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_isSignalConnected, "QScrollArea.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QScrollArea_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_isSignalConnected, doc_QScrollArea_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_keyReleaseEvent, "QScrollArea.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QScrollArea_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_keyReleaseEvent, doc_QScrollArea_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_focusInEvent, "QScrollArea.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QScrollArea_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_focusInEvent, doc_QScrollArea_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_focusOutEvent, "QScrollArea.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QScrollArea_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_focusOutEvent, doc_QScrollArea_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_enterEvent, "QScrollArea.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QScrollArea_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_enterEvent, doc_QScrollArea_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_leaveEvent, "QScrollArea.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QScrollArea_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_leaveEvent, doc_QScrollArea_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_moveEvent, "QScrollArea.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QScrollArea_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_moveEvent, doc_QScrollArea_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_closeEvent, "QScrollArea.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QScrollArea_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_closeEvent, doc_QScrollArea_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_tabletEvent, "QScrollArea.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QScrollArea_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_tabletEvent, doc_QScrollArea_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_actionEvent, "QScrollArea.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QScrollArea_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_actionEvent, doc_QScrollArea_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_showEvent, "QScrollArea.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QScrollArea_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_showEvent, doc_QScrollArea_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_hideEvent, "QScrollArea.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QScrollArea_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_hideEvent, doc_QScrollArea_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_metric, "QScrollArea.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QScrollArea_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_metric, doc_QScrollArea_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_inputMethodEvent, "QScrollArea.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QScrollArea_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_inputMethodEvent, doc_QScrollArea_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_updateMicroFocus, "QScrollArea.updateMicroFocus()");

extern "C" {static PyObject *meth_QScrollArea_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_updateMicroFocus, doc_QScrollArea_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_create, "QScrollArea.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QScrollArea_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQScrollArea *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_create, doc_QScrollArea_create);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_destroy, "QScrollArea.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QScrollArea_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQScrollArea *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QScrollArea, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_destroy, doc_QScrollArea_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_focusNextChild, "QScrollArea.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QScrollArea_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_focusNextChild, doc_QScrollArea_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_focusPreviousChild, "QScrollArea.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QScrollArea_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_focusPreviousChild, doc_QScrollArea_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_nativeEvent, "QScrollArea.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QScrollArea_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_nativeEvent, doc_QScrollArea_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_sharedPainter, "QScrollArea.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QScrollArea_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_sharedPainter, doc_QScrollArea_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_initPainter, "QScrollArea.initPainter(QPainter)");

extern "C" {static PyObject *meth_QScrollArea_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_initPainter, doc_QScrollArea_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_changeEvent, "QScrollArea.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QScrollArea_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_changeEvent, doc_QScrollArea_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_drawFrame, "QScrollArea.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QScrollArea_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_drawFrame, doc_QScrollArea_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_setViewportMargins, "QScrollArea.setViewportMargins(int, int, int, int)\n"
    "QScrollArea.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QScrollArea_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QScrollArea, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_setViewportMargins, doc_QScrollArea_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_viewportEvent, "QScrollArea.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QScrollArea_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_viewportEvent, doc_QScrollArea_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_paintEvent, "QScrollArea.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QScrollArea_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_paintEvent, doc_QScrollArea_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_mousePressEvent, "QScrollArea.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QScrollArea_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_mousePressEvent, doc_QScrollArea_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_mouseReleaseEvent, "QScrollArea.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QScrollArea_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_mouseReleaseEvent, doc_QScrollArea_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_mouseDoubleClickEvent, "QScrollArea.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QScrollArea_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_mouseDoubleClickEvent, doc_QScrollArea_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_mouseMoveEvent, "QScrollArea.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QScrollArea_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_mouseMoveEvent, doc_QScrollArea_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_wheelEvent, "QScrollArea.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QScrollArea_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_wheelEvent, doc_QScrollArea_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_contextMenuEvent, "QScrollArea.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QScrollArea_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_contextMenuEvent, doc_QScrollArea_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_dragEnterEvent, "QScrollArea.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QScrollArea_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_dragEnterEvent, doc_QScrollArea_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_dragMoveEvent, "QScrollArea.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QScrollArea_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_dragMoveEvent, doc_QScrollArea_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_dragLeaveEvent, "QScrollArea.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QScrollArea_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_dragLeaveEvent, doc_QScrollArea_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_dropEvent, "QScrollArea.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QScrollArea_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_dropEvent, doc_QScrollArea_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_keyPressEvent, "QScrollArea.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QScrollArea_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_keyPressEvent, doc_QScrollArea_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_widget, "QScrollArea.widget() -> QWidget");

extern "C" {static PyObject *meth_QScrollArea_widget(PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_widget, doc_QScrollArea_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_setWidget, "QScrollArea.setWidget(QWidget)");

extern "C" {static PyObject *meth_QScrollArea_setWidget(PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_setWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_setWidget, doc_QScrollArea_setWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_takeWidget, "QScrollArea.takeWidget() -> QWidget");

extern "C" {static PyObject *meth_QScrollArea_takeWidget(PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_takeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->takeWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_takeWidget, doc_QScrollArea_takeWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_widgetResizable, "QScrollArea.widgetResizable() -> bool");

extern "C" {static PyObject *meth_QScrollArea_widgetResizable(PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_widgetResizable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->widgetResizable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_widgetResizable, doc_QScrollArea_widgetResizable);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_setWidgetResizable, "QScrollArea.setWidgetResizable(bool)");

extern "C" {static PyObject *meth_QScrollArea_setWidgetResizable(PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_setWidgetResizable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QScrollArea, &sipCpp, &a0))
        {
            sipCpp->setWidgetResizable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_setWidgetResizable, doc_QScrollArea_setWidgetResizable);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_alignment, "QScrollArea.alignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QScrollArea_alignment(PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_alignment, doc_QScrollArea_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_setAlignment, "QScrollArea.setAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QScrollArea_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_setAlignment, doc_QScrollArea_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_sizeHint, "QScrollArea.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QScrollArea_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QScrollArea::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_sizeHint, doc_QScrollArea_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_focusNextPrevChild, "QScrollArea.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QScrollArea_focusNextPrevChild(PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QScrollArea, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QScrollArea::focusNextPrevChild(a0) : sipCpp->focusNextPrevChild(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_focusNextPrevChild, doc_QScrollArea_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_ensureVisible, "QScrollArea.ensureVisible(int, int, int xMargin=50, int yMargin=50)");

extern "C" {static PyObject *meth_QScrollArea_ensureVisible(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_ensureVisible(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2 = 50;
        int a3 = 50;
        QScrollArea *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_xMargin,
            sipName_yMargin,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|ii", &sipSelf, sipType_QScrollArea, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->ensureVisible(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_ensureVisible, doc_QScrollArea_ensureVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_ensureWidgetVisible, "QScrollArea.ensureWidgetVisible(QWidget, int xMargin=50, int yMargin=50)");

extern "C" {static PyObject *meth_QScrollArea_ensureWidgetVisible(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_ensureWidgetVisible(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        int a1 = 50;
        int a2 = 50;
        QScrollArea *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_xMargin,
            sipName_yMargin,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|ii", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QWidget, &a0, &a1, &a2))
        {
            sipCpp->ensureWidgetVisible(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_ensureWidgetVisible, doc_QScrollArea_ensureWidgetVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_event, "QScrollArea.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QScrollArea_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_event, doc_QScrollArea_event);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_eventFilter, "QScrollArea.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QScrollArea_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_eventFilter, doc_QScrollArea_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_resizeEvent, "QScrollArea.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QScrollArea_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QScrollArea, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_resizeEvent, doc_QScrollArea_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_scrollContentsBy, "QScrollArea.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QScrollArea_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QScrollArea, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_scrollContentsBy, doc_QScrollArea_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QScrollArea_viewportSizeHint, "QScrollArea.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QScrollArea_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QScrollArea_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QScrollArea, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QScrollArea, sipName_viewportSizeHint, doc_QScrollArea_viewportSizeHint);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QScrollArea(void *, const sipTypeDef *);}
static void *cast_QScrollArea(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QScrollArea)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractScrollArea)->ctd_cast((QAbstractScrollArea *)(QScrollArea *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QScrollArea(void *, int);}
static void release_QScrollArea(void *sipCppV,int)
{
    QScrollArea *sipCpp = reinterpret_cast<QScrollArea *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QScrollArea(sipSimpleWrapper *);}
static void dealloc_QScrollArea(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQScrollArea *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QScrollArea(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QScrollArea(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QScrollArea(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQScrollArea *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQScrollArea(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QScrollArea[] = {{15, 255, 1}};


static PyMethodDef methods_QScrollArea[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QScrollArea_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QScrollArea_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollArea_alignment)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QScrollArea_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QScrollArea_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QScrollArea_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QScrollArea_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QScrollArea_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QScrollArea_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QScrollArea_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QScrollArea_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QScrollArea_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QScrollArea_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QScrollArea_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QScrollArea_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QScrollArea_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QScrollArea_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_ensureVisible), (PyCFunction)meth_QScrollArea_ensureVisible, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollArea_ensureVisible)},
    {SIP_MLNAME_CAST(sipName_ensureWidgetVisible), (PyCFunction)meth_QScrollArea_ensureWidgetVisible, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollArea_ensureWidgetVisible)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QScrollArea_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QScrollArea_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollArea_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QScrollArea_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollArea_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QScrollArea_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QScrollArea_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), meth_QScrollArea_focusNextPrevChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollArea_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QScrollArea_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QScrollArea_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QScrollArea_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QScrollArea_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QScrollArea_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QScrollArea_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QScrollArea_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QScrollArea_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QScrollArea_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QScrollArea_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QScrollArea_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QScrollArea_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QScrollArea_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QScrollArea_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QScrollArea_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QScrollArea_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QScrollArea_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QScrollArea_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QScrollArea_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollArea_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QScrollArea_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollArea_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QScrollArea_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QScrollArea_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QScrollArea_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollArea_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QScrollArea_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_QScrollArea_setWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollArea_setWidget)},
    {SIP_MLNAME_CAST(sipName_setWidgetResizable), meth_QScrollArea_setWidgetResizable, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollArea_setWidgetResizable)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QScrollArea_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QScrollArea_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QScrollArea_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollArea_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QScrollArea_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_takeWidget), meth_QScrollArea_takeWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollArea_takeWidget)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QScrollArea_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QScrollArea_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QScrollArea_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QScrollArea_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QScrollArea_viewportSizeHint)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QScrollArea_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QScrollArea_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollArea_widget)},
    {SIP_MLNAME_CAST(sipName_widgetResizable), meth_QScrollArea_widgetResizable, METH_VARARGS, SIP_MLDOC_CAST(doc_QScrollArea_widgetResizable)}
};

PyDoc_STRVAR(doc_QScrollArea, "\1QScrollArea(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QScrollArea = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QScrollArea,
        {0}
    },
    {
        sipNameNr_QScrollArea,
        {0, 0, 1},
        62, methods_QScrollArea,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QScrollArea,
    -1,
    -1,
    supers_QScrollArea,
    0,
    init_type_QScrollArea,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QScrollArea,
    0,
    0,
    0,
    release_QScrollArea,
    cast_QScrollArea,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QScrollArea::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qrubberband.sip"
#include <qrubberband.h>
#line 160082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 160086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 160104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 160107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 160110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 160113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 160116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 160119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 160122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 160125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 160128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 160134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 160140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 160149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 160152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 160155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 160158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 160161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 160164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 160167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 160170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 160173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 160176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 160179 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160185 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160191 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160194 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160197 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160203 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160206 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160209 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160218 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 160221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 160224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 160227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 160230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 160233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 160236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 160242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 160245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 160248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 160251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 160254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 160257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 160263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 160266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 160269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 160272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 160275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 160278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 160281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 160284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 160287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQRubberBand : public QRubberBand
{
public:
    sipQRubberBand(QRubberBand::Shape,QWidget*);
    virtual ~sipQRubberBand();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionRubberBand*) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void moveEvent(QMoveEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQRubberBand(const sipQRubberBand &);
    sipQRubberBand &operator = (const sipQRubberBand &);

    char sipPyMethods[46];
};

sipQRubberBand::sipQRubberBand(QRubberBand::Shape a0,QWidget*a1): QRubberBand(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQRubberBand::~sipQRubberBand()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQRubberBand::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QRubberBand);
}

int sipQRubberBand::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QRubberBand::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QRubberBand,_c,_id,_a);

    return _id;
}

void *sipQRubberBand::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QRubberBand, _clname, &sipCpp) ? sipCpp : QRubberBand::qt_metacast(_clname));
}

void sipQRubberBand::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QRubberBand::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QRubberBand::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QRubberBand::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QRubberBand::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QRubberBand::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQRubberBand::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QRubberBand::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQRubberBand::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QRubberBand::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQRubberBand::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QRubberBand::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQRubberBand::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QRubberBand::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQRubberBand::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QRubberBand::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQRubberBand::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QRubberBand::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQRubberBand::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QRubberBand::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QRubberBand::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQRubberBand::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QRubberBand::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QRubberBand::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QRubberBand::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QRubberBand::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QRubberBand::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QRubberBand::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QRubberBand::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QRubberBand::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QRubberBand::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QRubberBand::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QRubberBand::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QRubberBand::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QRubberBand::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QRubberBand::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QRubberBand::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QRubberBand::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QRubberBand::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QRubberBand::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QRubberBand::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QRubberBand::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QRubberBand::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQRubberBand::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QRubberBand::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQRubberBand::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QRubberBand::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQRubberBand::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QRubberBand::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQRubberBand::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QRubberBand::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQRubberBand::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QRubberBand::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQRubberBand::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QRubberBand::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQRubberBand::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QRubberBand::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QRubberBand::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QRubberBand::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QRubberBand::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRubberBand::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QRubberBand::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQRubberBand::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QRubberBand::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQRubberBand::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQRubberBand::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQRubberBand::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQRubberBand::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQRubberBand::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQRubberBand::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQRubberBand::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQRubberBand::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQRubberBand::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQRubberBand::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQRubberBand::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQRubberBand::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQRubberBand::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQRubberBand::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQRubberBand::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQRubberBand::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQRubberBand::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQRubberBand::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQRubberBand::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQRubberBand::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQRubberBand::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQRubberBand::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQRubberBand::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQRubberBand::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQRubberBand::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQRubberBand::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQRubberBand::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQRubberBand::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQRubberBand::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQRubberBand::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQRubberBand::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQRubberBand::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQRubberBand::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQRubberBand::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQRubberBand::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQRubberBand::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQRubberBand::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQRubberBand::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQRubberBand::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQRubberBand::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQRubberBand::sipProtect_initStyleOption(QStyleOptionRubberBand*a0) const
{
    QRubberBand::initStyleOption(a0);
}

bool sipQRubberBand::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QRubberBand::event(a0) : event(a0));
}

void sipQRubberBand::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QRubberBand::paintEvent(a0) : paintEvent(a0));
}

void sipQRubberBand::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QRubberBand::changeEvent(a0) : changeEvent(a0));
}

void sipQRubberBand::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QRubberBand::showEvent(a0) : showEvent(a0));
}

void sipQRubberBand::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QRubberBand::resizeEvent(a0) : resizeEvent(a0));
}

void sipQRubberBand::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QRubberBand::moveEvent(a0) : moveEvent(a0));
}


PyDoc_STRVAR(doc_QRubberBand_sender, "QRubberBand.sender() -> QObject");

extern "C" {static PyObject *meth_QRubberBand_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRubberBand, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 161511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_sender, doc_QRubberBand_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_receivers, "QRubberBand.receivers(signal) -> int");

extern "C" {static PyObject *meth_QRubberBand_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QRubberBand, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 161570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_receivers, doc_QRubberBand_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_timerEvent, "QRubberBand.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QRubberBand_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_timerEvent, doc_QRubberBand_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_childEvent, "QRubberBand.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QRubberBand_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_childEvent, doc_QRubberBand_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_customEvent, "QRubberBand.customEvent(QEvent)");

extern "C" {static PyObject *meth_QRubberBand_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_customEvent, doc_QRubberBand_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_connectNotify, "QRubberBand.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QRubberBand_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_connectNotify, doc_QRubberBand_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_disconnectNotify, "QRubberBand.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QRubberBand_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_disconnectNotify, doc_QRubberBand_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_senderSignalIndex, "QRubberBand.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QRubberBand_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRubberBand, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_senderSignalIndex, doc_QRubberBand_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_isSignalConnected, "QRubberBand.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QRubberBand_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_isSignalConnected, doc_QRubberBand_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_mousePressEvent, "QRubberBand.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QRubberBand_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_mousePressEvent, doc_QRubberBand_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_mouseReleaseEvent, "QRubberBand.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QRubberBand_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_mouseReleaseEvent, doc_QRubberBand_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_mouseDoubleClickEvent, "QRubberBand.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QRubberBand_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_mouseDoubleClickEvent, doc_QRubberBand_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_mouseMoveEvent, "QRubberBand.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QRubberBand_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_mouseMoveEvent, doc_QRubberBand_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_wheelEvent, "QRubberBand.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QRubberBand_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_wheelEvent, doc_QRubberBand_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_keyPressEvent, "QRubberBand.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QRubberBand_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_keyPressEvent, doc_QRubberBand_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_keyReleaseEvent, "QRubberBand.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QRubberBand_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_keyReleaseEvent, doc_QRubberBand_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_focusInEvent, "QRubberBand.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QRubberBand_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_focusInEvent, doc_QRubberBand_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_focusOutEvent, "QRubberBand.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QRubberBand_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_focusOutEvent, doc_QRubberBand_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_enterEvent, "QRubberBand.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QRubberBand_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_enterEvent, doc_QRubberBand_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_leaveEvent, "QRubberBand.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QRubberBand_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_leaveEvent, doc_QRubberBand_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_closeEvent, "QRubberBand.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QRubberBand_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_closeEvent, doc_QRubberBand_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_contextMenuEvent, "QRubberBand.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QRubberBand_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_contextMenuEvent, doc_QRubberBand_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_tabletEvent, "QRubberBand.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QRubberBand_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_tabletEvent, doc_QRubberBand_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_actionEvent, "QRubberBand.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QRubberBand_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_actionEvent, doc_QRubberBand_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_dragEnterEvent, "QRubberBand.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QRubberBand_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_dragEnterEvent, doc_QRubberBand_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_dragMoveEvent, "QRubberBand.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QRubberBand_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_dragMoveEvent, doc_QRubberBand_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_dragLeaveEvent, "QRubberBand.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QRubberBand_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_dragLeaveEvent, doc_QRubberBand_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_dropEvent, "QRubberBand.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QRubberBand_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_dropEvent, doc_QRubberBand_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_hideEvent, "QRubberBand.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QRubberBand_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_hideEvent, doc_QRubberBand_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_metric, "QRubberBand.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QRubberBand_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_metric, doc_QRubberBand_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_inputMethodEvent, "QRubberBand.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QRubberBand_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_inputMethodEvent, doc_QRubberBand_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_updateMicroFocus, "QRubberBand.updateMicroFocus()");

extern "C" {static PyObject *meth_QRubberBand_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRubberBand, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_updateMicroFocus, doc_QRubberBand_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_create, "QRubberBand.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QRubberBand_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQRubberBand *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_create, doc_QRubberBand_create);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_destroy, "QRubberBand.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QRubberBand_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQRubberBand *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QRubberBand, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_destroy, doc_QRubberBand_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_focusNextPrevChild, "QRubberBand.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QRubberBand_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QRubberBand, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_focusNextPrevChild, doc_QRubberBand_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_focusNextChild, "QRubberBand.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QRubberBand_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRubberBand, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_focusNextChild, doc_QRubberBand_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_focusPreviousChild, "QRubberBand.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QRubberBand_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRubberBand, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_focusPreviousChild, doc_QRubberBand_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_nativeEvent, "QRubberBand.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QRubberBand_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_nativeEvent, doc_QRubberBand_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_sharedPainter, "QRubberBand.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QRubberBand_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRubberBand, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_sharedPainter, doc_QRubberBand_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_initPainter, "QRubberBand.initPainter(QPainter)");

extern "C" {static PyObject *meth_QRubberBand_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_initPainter, doc_QRubberBand_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_shape, "QRubberBand.shape() -> QRubberBand.Shape");

extern "C" {static PyObject *meth_QRubberBand_shape(PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRubberBand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRubberBand, &sipCpp))
        {
            QRubberBand::Shape sipRes;

            sipRes = sipCpp->shape();

            return sipConvertFromEnum(sipRes,sipType_QRubberBand_Shape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_shape, doc_QRubberBand_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_setGeometry, "QRubberBand.setGeometry(QRect)\n"
    "QRubberBand.setGeometry(int, int, int, int)");

extern "C" {static PyObject *meth_QRubberBand_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        QRubberBand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->setGeometry(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;
        QRubberBand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QRubberBand, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setGeometry(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_setGeometry, doc_QRubberBand_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_move, "QRubberBand.move(QPoint)\n"
    "QRubberBand.move(int, int)");

extern "C" {static PyObject *meth_QRubberBand_move(PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_move(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        QRubberBand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->move(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        QRubberBand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QRubberBand, &sipCpp, &a0, &a1))
        {
            sipCpp->move(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_move, doc_QRubberBand_move);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_resize, "QRubberBand.resize(int, int)\n"
    "QRubberBand.resize(QSize)");

extern "C" {static PyObject *meth_QRubberBand_resize(PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_resize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QRubberBand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QRubberBand, &sipCpp, &a0, &a1))
        {
            sipCpp->resize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QSize* a0;
        QRubberBand *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->resize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_resize, doc_QRubberBand_resize);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_initStyleOption, "QRubberBand.initStyleOption(QStyleOptionRubberBand)");

extern "C" {static PyObject *meth_QRubberBand_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionRubberBand* a0;
        const sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QStyleOptionRubberBand, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_initStyleOption, doc_QRubberBand_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_event, "QRubberBand.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QRubberBand_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_event, doc_QRubberBand_event);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_paintEvent, "QRubberBand.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QRubberBand_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_paintEvent, doc_QRubberBand_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_changeEvent, "QRubberBand.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QRubberBand_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_changeEvent, doc_QRubberBand_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_showEvent, "QRubberBand.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QRubberBand_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_showEvent, doc_QRubberBand_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_resizeEvent, "QRubberBand.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QRubberBand_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_resizeEvent, doc_QRubberBand_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRubberBand_moveEvent, "QRubberBand.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QRubberBand_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRubberBand_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQRubberBand *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRubberBand, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRubberBand, sipName_moveEvent, doc_QRubberBand_moveEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QRubberBand(void *, const sipTypeDef *);}
static void *cast_QRubberBand(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QRubberBand)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QRubberBand *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRubberBand(void *, int);}
static void release_QRubberBand(void *sipCppV,int)
{
    QRubberBand *sipCpp = reinterpret_cast<QRubberBand *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QRubberBand(sipSimpleWrapper *);}
static void dealloc_QRubberBand(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQRubberBand *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QRubberBand(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QRubberBand(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRubberBand(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQRubberBand *sipCpp = 0;

    {
        QRubberBand::Shape a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_QRubberBand_Shape, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQRubberBand(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QRubberBand[] = {{454, 255, 1}};


static PyMethodDef methods_QRubberBand[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QRubberBand_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QRubberBand_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRubberBand_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QRubberBand_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QRubberBand_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QRubberBand_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QRubberBand_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QRubberBand_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QRubberBand_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QRubberBand_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QRubberBand_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QRubberBand_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QRubberBand_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QRubberBand_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QRubberBand_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QRubberBand_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QRubberBand_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRubberBand_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QRubberBand_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QRubberBand_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QRubberBand_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QRubberBand_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QRubberBand_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QRubberBand_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QRubberBand_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QRubberBand_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRubberBand_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QRubberBand_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QRubberBand_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QRubberBand_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QRubberBand_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QRubberBand_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QRubberBand_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QRubberBand_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QRubberBand_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QRubberBand_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QRubberBand_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_move), meth_QRubberBand_move, METH_VARARGS, SIP_MLDOC_CAST(doc_QRubberBand_move)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QRubberBand_moveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRubberBand_moveEvent)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QRubberBand_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QRubberBand_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRubberBand_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QRubberBand_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resize), meth_QRubberBand_resize, METH_VARARGS, SIP_MLDOC_CAST(doc_QRubberBand_resize)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QRubberBand_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRubberBand_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QRubberBand_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QRubberBand_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QRubberBand_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QRubberBand_setGeometry)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QRubberBand_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QRubberBand_shape)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QRubberBand_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QRubberBand_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRubberBand_showEvent)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QRubberBand_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QRubberBand_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QRubberBand_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QRubberBand_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QRubberBand[] = {
    {sipName_Line, static_cast<int>(QRubberBand::Line), 254},
    {sipName_Rectangle, static_cast<int>(QRubberBand::Rectangle), 254},
};

PyDoc_STRVAR(doc_QRubberBand, "\1QRubberBand(QRubberBand.Shape, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QRubberBand = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRubberBand,
        {0}
    },
    {
        sipNameNr_QRubberBand,
        {0, 0, 1},
        51, methods_QRubberBand,
        2, enummembers_QRubberBand,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRubberBand,
    -1,
    -1,
    supers_QRubberBand,
    0,
    init_type_QRubberBand,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRubberBand,
    0,
    0,
    0,
    release_QRubberBand,
    cast_QRubberBand,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QRubberBand::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qradiobutton.sip"
#include <qradiobutton.h>
#line 163216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 163220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 163223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 163232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 163235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 163238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 163241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 163244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 163253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 163256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 163259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 163262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 163265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 163268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 163274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 163277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 163283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 163292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 163295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 163298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 163301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 163304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 163307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 163310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 163313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 163316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 163319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 163322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 163364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 163367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 163370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 163373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 163376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 163379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 163385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 163388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 163391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 163394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 163397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 163400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 163403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 163406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 163409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 163412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 163415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 163418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 163421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 163424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQRadioButton : public QRadioButton
{
public:
    sipQRadioButton(QWidget*);
    sipQRadioButton(const QString&,QWidget*);
    virtual ~sipQRadioButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_checkStateSet(bool);
    void sipProtectVirt_nextCheckState(bool);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtect_initStyleOption(QStyleOptionButton*) const;
    bool sipProtectVirt_hitButton(bool,const QPoint&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void timerEvent(QTimerEvent*);
    void changeEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void nextCheckState();
    void checkStateSet();
    void mouseMoveEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    bool hitButton(const QPoint&) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQRadioButton(const sipQRadioButton &);
    sipQRadioButton &operator = (const sipQRadioButton &);

    char sipPyMethods[49];
};

sipQRadioButton::sipQRadioButton(QWidget*a0): QRadioButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQRadioButton::sipQRadioButton(const QString& a0,QWidget*a1): QRadioButton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQRadioButton::~sipQRadioButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQRadioButton::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QRadioButton);
}

int sipQRadioButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QRadioButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QRadioButton,_c,_id,_a);

    return _id;
}

void *sipQRadioButton::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QRadioButton, _clname, &sipCpp) ? sipCpp : QRadioButton::qt_metacast(_clname));
}

void sipQRadioButton::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QRadioButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QRadioButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QRadioButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QRadioButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQRadioButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QRadioButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQRadioButton::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QRadioButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQRadioButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QRadioButton::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQRadioButton::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QRadioButton::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQRadioButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QRadioButton::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQRadioButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QRadioButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQRadioButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QRadioButton::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QRadioButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQRadioButton::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QRadioButton::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QRadioButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QRadioButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QRadioButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QRadioButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QRadioButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QRadioButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QRadioButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QRadioButton::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QRadioButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QRadioButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QRadioButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QRadioButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QRadioButton::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QRadioButton::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QRadioButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QRadioButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQRadioButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QRadioButton::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQRadioButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QRadioButton::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QRadioButton::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQRadioButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QRadioButton::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQRadioButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QRadioButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QRadioButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QRadioButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QRadioButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QRadioButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QRadioButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QRadioButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QRadioButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        QRadioButton::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQRadioButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        QRadioButton::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQRadioButton::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QRadioButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQRadioButton::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QRadioButton::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQRadioButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QRadioButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQRadioButton::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return QRadioButton::hitButton(a0);

    extern bool sipVH_QtWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_36(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQRadioButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QRadioButton::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQRadioButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QRadioButton::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQRadioButton::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQRadioButton::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQRadioButton::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQRadioButton::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQRadioButton::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQRadioButton::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQRadioButton::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQRadioButton::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQRadioButton::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQRadioButton::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQRadioButton::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQRadioButton::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQRadioButton::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQRadioButton::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQRadioButton::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQRadioButton::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQRadioButton::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQRadioButton::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQRadioButton::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQRadioButton::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQRadioButton::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQRadioButton::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQRadioButton::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQRadioButton::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQRadioButton::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQRadioButton::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQRadioButton::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQRadioButton::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQRadioButton::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQRadioButton::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQRadioButton::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQRadioButton::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQRadioButton::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQRadioButton::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQRadioButton::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQRadioButton::sipProtectVirt_checkStateSet(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractButton::checkStateSet() : checkStateSet());
}

void sipQRadioButton::sipProtectVirt_nextCheckState(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractButton::nextCheckState() : nextCheckState());
}

void sipQRadioButton::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQRadioButton::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQRadioButton::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQRadioButton::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQRadioButton::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::focusInEvent(a0) : focusInEvent(a0));
}

void sipQRadioButton::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQRadioButton::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::changeEvent(a0) : changeEvent(a0));
}

void sipQRadioButton::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::timerEvent(a0) : timerEvent(a0));
}

void sipQRadioButton::sipProtect_initStyleOption(QStyleOptionButton*a0) const
{
    QRadioButton::initStyleOption(a0);
}

bool sipQRadioButton::sipProtectVirt_hitButton(bool sipSelfWasArg,const QPoint& a0) const
{
    return (sipSelfWasArg ? QRadioButton::hitButton(a0) : hitButton(a0));
}

bool sipQRadioButton::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QRadioButton::event(a0) : event(a0));
}

void sipQRadioButton::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QRadioButton::paintEvent(a0) : paintEvent(a0));
}

void sipQRadioButton::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QRadioButton::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}


PyDoc_STRVAR(doc_QRadioButton_sender, "QRadioButton.sender() -> QObject");

extern "C" {static PyObject *meth_QRadioButton_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 164726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_sender, doc_QRadioButton_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_receivers, "QRadioButton.receivers(signal) -> int");

extern "C" {static PyObject *meth_QRadioButton_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QRadioButton, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 164785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_receivers, doc_QRadioButton_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_childEvent, "QRadioButton.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QRadioButton_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_childEvent, doc_QRadioButton_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_customEvent, "QRadioButton.customEvent(QEvent)");

extern "C" {static PyObject *meth_QRadioButton_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_customEvent, doc_QRadioButton_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_connectNotify, "QRadioButton.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QRadioButton_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_connectNotify, doc_QRadioButton_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_disconnectNotify, "QRadioButton.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QRadioButton_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_disconnectNotify, doc_QRadioButton_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_senderSignalIndex, "QRadioButton.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QRadioButton_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_senderSignalIndex, doc_QRadioButton_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_isSignalConnected, "QRadioButton.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QRadioButton_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_isSignalConnected, doc_QRadioButton_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_mouseDoubleClickEvent, "QRadioButton.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QRadioButton_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_mouseDoubleClickEvent, doc_QRadioButton_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_wheelEvent, "QRadioButton.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QRadioButton_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_wheelEvent, doc_QRadioButton_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_enterEvent, "QRadioButton.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QRadioButton_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_enterEvent, doc_QRadioButton_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_leaveEvent, "QRadioButton.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QRadioButton_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_leaveEvent, doc_QRadioButton_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_moveEvent, "QRadioButton.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QRadioButton_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_moveEvent, doc_QRadioButton_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_resizeEvent, "QRadioButton.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QRadioButton_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_resizeEvent, doc_QRadioButton_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_closeEvent, "QRadioButton.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QRadioButton_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_closeEvent, doc_QRadioButton_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_contextMenuEvent, "QRadioButton.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QRadioButton_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_contextMenuEvent, doc_QRadioButton_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_tabletEvent, "QRadioButton.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QRadioButton_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_tabletEvent, doc_QRadioButton_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_actionEvent, "QRadioButton.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QRadioButton_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_actionEvent, doc_QRadioButton_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_dragEnterEvent, "QRadioButton.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QRadioButton_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_dragEnterEvent, doc_QRadioButton_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_dragMoveEvent, "QRadioButton.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QRadioButton_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_dragMoveEvent, doc_QRadioButton_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_dragLeaveEvent, "QRadioButton.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QRadioButton_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_dragLeaveEvent, doc_QRadioButton_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_dropEvent, "QRadioButton.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QRadioButton_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_dropEvent, doc_QRadioButton_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_showEvent, "QRadioButton.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QRadioButton_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_showEvent, doc_QRadioButton_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_hideEvent, "QRadioButton.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QRadioButton_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_hideEvent, doc_QRadioButton_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_metric, "QRadioButton.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QRadioButton_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_metric, doc_QRadioButton_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_inputMethodEvent, "QRadioButton.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QRadioButton_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_inputMethodEvent, doc_QRadioButton_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_updateMicroFocus, "QRadioButton.updateMicroFocus()");

extern "C" {static PyObject *meth_QRadioButton_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_updateMicroFocus, doc_QRadioButton_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_create, "QRadioButton.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QRadioButton_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQRadioButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_create, doc_QRadioButton_create);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_destroy, "QRadioButton.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QRadioButton_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQRadioButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QRadioButton, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_destroy, doc_QRadioButton_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_focusNextPrevChild, "QRadioButton.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QRadioButton_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QRadioButton, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_focusNextPrevChild, doc_QRadioButton_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_focusNextChild, "QRadioButton.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QRadioButton_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_focusNextChild, doc_QRadioButton_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_focusPreviousChild, "QRadioButton.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QRadioButton_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_focusPreviousChild, doc_QRadioButton_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_nativeEvent, "QRadioButton.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QRadioButton_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_nativeEvent, doc_QRadioButton_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_sharedPainter, "QRadioButton.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QRadioButton_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_sharedPainter, doc_QRadioButton_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_initPainter, "QRadioButton.initPainter(QPainter)");

extern "C" {static PyObject *meth_QRadioButton_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_initPainter, doc_QRadioButton_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_checkStateSet, "QRadioButton.checkStateSet()");

extern "C" {static PyObject *meth_QRadioButton_checkStateSet(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_checkStateSet(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_checkStateSet(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_checkStateSet, doc_QRadioButton_checkStateSet);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_nextCheckState, "QRadioButton.nextCheckState()");

extern "C" {static PyObject *meth_QRadioButton_nextCheckState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_nextCheckState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_nextCheckState(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_nextCheckState, doc_QRadioButton_nextCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_keyPressEvent, "QRadioButton.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QRadioButton_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_keyPressEvent, doc_QRadioButton_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_keyReleaseEvent, "QRadioButton.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QRadioButton_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_keyReleaseEvent, doc_QRadioButton_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_mousePressEvent, "QRadioButton.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QRadioButton_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_mousePressEvent, doc_QRadioButton_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_mouseReleaseEvent, "QRadioButton.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QRadioButton_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_mouseReleaseEvent, doc_QRadioButton_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_focusInEvent, "QRadioButton.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QRadioButton_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_focusInEvent, doc_QRadioButton_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_focusOutEvent, "QRadioButton.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QRadioButton_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_focusOutEvent, doc_QRadioButton_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_changeEvent, "QRadioButton.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QRadioButton_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_changeEvent, doc_QRadioButton_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_timerEvent, "QRadioButton.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QRadioButton_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_timerEvent, doc_QRadioButton_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_sizeHint, "QRadioButton.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QRadioButton_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QRadioButton::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_sizeHint, doc_QRadioButton_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_minimumSizeHint, "QRadioButton.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QRadioButton_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRadioButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QRadioButton, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QRadioButton::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_minimumSizeHint, doc_QRadioButton_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_initStyleOption, "QRadioButton.initStyleOption(QStyleOptionButton)");

extern "C" {static PyObject *meth_QRadioButton_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionButton* a0;
        const sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QStyleOptionButton, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_initStyleOption, doc_QRadioButton_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_hitButton, "QRadioButton.hitButton(QPoint) -> bool");

extern "C" {static PyObject *meth_QRadioButton_hitButton(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_hitButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QPoint, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_hitButton(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_hitButton, doc_QRadioButton_hitButton);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_event, "QRadioButton.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QRadioButton_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_event, doc_QRadioButton_event);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_paintEvent, "QRadioButton.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QRadioButton_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_paintEvent, doc_QRadioButton_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QRadioButton_mouseMoveEvent, "QRadioButton.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QRadioButton_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QRadioButton_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQRadioButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QRadioButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QRadioButton, sipName_mouseMoveEvent, doc_QRadioButton_mouseMoveEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QRadioButton(void *, const sipTypeDef *);}
static void *cast_QRadioButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QRadioButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractButton)->ctd_cast((QAbstractButton *)(QRadioButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QRadioButton(void *, int);}
static void release_QRadioButton(void *sipCppV,int)
{
    QRadioButton *sipCpp = reinterpret_cast<QRadioButton *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QRadioButton(sipSimpleWrapper *);}
static void dealloc_QRadioButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQRadioButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QRadioButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QRadioButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QRadioButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQRadioButton *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQRadioButton(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQRadioButton(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QRadioButton[] = {{0, 255, 1}};


static PyMethodDef methods_QRadioButton[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QRadioButton_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QRadioButton_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_checkStateSet), (PyCFunction)meth_QRadioButton_checkStateSet, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QRadioButton_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QRadioButton_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QRadioButton_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QRadioButton_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QRadioButton_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QRadioButton_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QRadioButton_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QRadioButton_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QRadioButton_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QRadioButton_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QRadioButton_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QRadioButton_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QRadioButton_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QRadioButton_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRadioButton_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QRadioButton_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QRadioButton_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QRadioButton_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QRadioButton_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QRadioButton_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QRadioButton_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hitButton), (PyCFunction)meth_QRadioButton_hitButton, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRadioButton_hitButton)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QRadioButton_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QRadioButton_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRadioButton_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QRadioButton_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QRadioButton_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QRadioButton_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QRadioButton_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QRadioButton_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QRadioButton_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QRadioButton_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioButton_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QRadioButton_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QRadioButton_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRadioButton_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QRadioButton_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QRadioButton_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QRadioButton_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QRadioButton_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nextCheckState), (PyCFunction)meth_QRadioButton_nextCheckState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QRadioButton_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QRadioButton_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QRadioButton_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QRadioButton_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QRadioButton_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QRadioButton_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QRadioButton_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QRadioButton_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QRadioButton_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QRadioButton_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QRadioButton_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QRadioButton_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QRadioButton_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QRadioButton_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QRadioButton, "\1QRadioButton(QWidget parent=None)\n"
    "QRadioButton(str, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QRadioButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QRadioButton,
        {0}
    },
    {
        sipNameNr_QRadioButton,
        {0, 0, 1},
        52, methods_QRadioButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QRadioButton,
    -1,
    -1,
    supers_QRadioButton,
    0,
    init_type_QRadioButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QRadioButton,
    0,
    0,
    0,
    release_QRadioButton,
    cast_QRadioButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QRadioButton::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qprogressdialog.sip"
#include <qprogressdialog.h>
#line 166431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 166435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 166441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 166447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 166456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qprogressbar.sip"
#include <qprogressbar.h>
#line 166459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qpushbutton.sip"
#include <qpushbutton.h>
#line 166462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlabel.sip"
#include <qlabel.h>
#line 166465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 166468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 166477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 166480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 166483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 166486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 166489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 166492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 166498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 166507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 166510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 166513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 166516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 166519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 166522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 166525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 166528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 166531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 166534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 166537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 166540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 166579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 166582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 166588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 166591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 166594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 166600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 166603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 166606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 166609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 166612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 166615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 166618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 166621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 166627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 166630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 166633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 166636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 166639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 166642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQProgressDialog : public QProgressDialog
{
public:
    sipQProgressDialog(QWidget*,Qt::WindowFlags);
    sipQProgressDialog(const QString&,const QString&,int,int,QWidget*,Qt::WindowFlags);
    virtual ~sipQProgressDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtect_forceShow();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void keyPressEvent(QKeyEvent*);
    void open();
    void reject();
    void accept();
    void done(int);
    int exec();
    QSize minimumSizeHint() const;
    void setVisible(bool);
    void showEvent(QShowEvent*);
    void changeEvent(QEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQProgressDialog(const sipQProgressDialog &);
    sipQProgressDialog &operator = (const sipQProgressDialog &);

    char sipPyMethods[51];
};

sipQProgressDialog::sipQProgressDialog(QWidget*a0,Qt::WindowFlags a1): QProgressDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQProgressDialog::sipQProgressDialog(const QString& a0,const QString& a1,int a2,int a3,QWidget*a4,Qt::WindowFlags a5): QProgressDialog(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQProgressDialog::~sipQProgressDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQProgressDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QProgressDialog);
}

int sipQProgressDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QProgressDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QProgressDialog,_c,_id,_a);

    return _id;
}

void *sipQProgressDialog::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QProgressDialog, _clname, &sipCpp) ? sipCpp : QProgressDialog::qt_metacast(_clname));
}

void sipQProgressDialog::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QProgressDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QProgressDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QProgressDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QProgressDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QProgressDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QProgressDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQProgressDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QProgressDialog::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQProgressDialog::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QProgressDialog::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQProgressDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QProgressDialog::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQProgressDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QProgressDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQProgressDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QProgressDialog::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QProgressDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQProgressDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QProgressDialog::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QProgressDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QProgressDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QProgressDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QProgressDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QProgressDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QProgressDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QProgressDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QProgressDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QProgressDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QProgressDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QProgressDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QProgressDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QProgressDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QProgressDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QProgressDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QProgressDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QProgressDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QProgressDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QProgressDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQProgressDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QProgressDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQProgressDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QProgressDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQProgressDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QProgressDialog::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQProgressDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QProgressDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQProgressDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QProgressDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQProgressDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QProgressDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QProgressDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        QProgressDialog::open();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQProgressDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QProgressDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQProgressDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QProgressDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQProgressDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QProgressDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQProgressDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return QProgressDialog::exec();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQProgressDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QProgressDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQProgressDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QProgressDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QProgressDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QProgressDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QProgressDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QProgressDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQProgressDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QProgressDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQProgressDialog::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQProgressDialog::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQProgressDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQProgressDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQProgressDialog::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQProgressDialog::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQProgressDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQProgressDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQProgressDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQProgressDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQProgressDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQProgressDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQProgressDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQProgressDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQProgressDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQProgressDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQProgressDialog::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQProgressDialog::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQProgressDialog::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQProgressDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQProgressDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQProgressDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QProgressDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QProgressDialog::closeEvent(a0) : closeEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QProgressDialog::changeEvent(a0) : changeEvent(a0));
}

void sipQProgressDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QProgressDialog::showEvent(a0) : showEvent(a0));
}

void sipQProgressDialog::sipProtect_forceShow()
{
    QProgressDialog::forceShow();
}


PyDoc_STRVAR(doc_QProgressDialog_sender, "QProgressDialog.sender() -> QObject");

extern "C" {static PyObject *meth_QProgressDialog_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 167970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_sender, doc_QProgressDialog_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_receivers, "QProgressDialog.receivers(signal) -> int");

extern "C" {static PyObject *meth_QProgressDialog_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 168029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_receivers, doc_QProgressDialog_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_timerEvent, "QProgressDialog.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QProgressDialog_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_timerEvent, doc_QProgressDialog_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_childEvent, "QProgressDialog.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QProgressDialog_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_childEvent, doc_QProgressDialog_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_customEvent, "QProgressDialog.customEvent(QEvent)");

extern "C" {static PyObject *meth_QProgressDialog_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_customEvent, doc_QProgressDialog_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_connectNotify, "QProgressDialog.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QProgressDialog_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_connectNotify, doc_QProgressDialog_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_disconnectNotify, "QProgressDialog.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QProgressDialog_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_disconnectNotify, doc_QProgressDialog_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_senderSignalIndex, "QProgressDialog.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QProgressDialog_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_senderSignalIndex, doc_QProgressDialog_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_isSignalConnected, "QProgressDialog.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QProgressDialog_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_isSignalConnected, doc_QProgressDialog_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_event, "QProgressDialog.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QProgressDialog_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_event, doc_QProgressDialog_event);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_mousePressEvent, "QProgressDialog.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QProgressDialog_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_mousePressEvent, doc_QProgressDialog_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_mouseReleaseEvent, "QProgressDialog.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QProgressDialog_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_mouseReleaseEvent, doc_QProgressDialog_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_mouseDoubleClickEvent, "QProgressDialog.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QProgressDialog_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_mouseDoubleClickEvent, doc_QProgressDialog_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_mouseMoveEvent, "QProgressDialog.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QProgressDialog_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_mouseMoveEvent, doc_QProgressDialog_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_wheelEvent, "QProgressDialog.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QProgressDialog_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_wheelEvent, doc_QProgressDialog_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_keyReleaseEvent, "QProgressDialog.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QProgressDialog_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_keyReleaseEvent, doc_QProgressDialog_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_focusInEvent, "QProgressDialog.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QProgressDialog_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_focusInEvent, doc_QProgressDialog_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_focusOutEvent, "QProgressDialog.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QProgressDialog_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_focusOutEvent, doc_QProgressDialog_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_enterEvent, "QProgressDialog.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QProgressDialog_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_enterEvent, doc_QProgressDialog_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_leaveEvent, "QProgressDialog.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QProgressDialog_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_leaveEvent, doc_QProgressDialog_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_paintEvent, "QProgressDialog.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QProgressDialog_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_paintEvent, doc_QProgressDialog_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_moveEvent, "QProgressDialog.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QProgressDialog_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_moveEvent, doc_QProgressDialog_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_tabletEvent, "QProgressDialog.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QProgressDialog_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_tabletEvent, doc_QProgressDialog_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_actionEvent, "QProgressDialog.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QProgressDialog_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_actionEvent, doc_QProgressDialog_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_dragEnterEvent, "QProgressDialog.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QProgressDialog_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_dragEnterEvent, doc_QProgressDialog_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_dragMoveEvent, "QProgressDialog.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QProgressDialog_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_dragMoveEvent, doc_QProgressDialog_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_dragLeaveEvent, "QProgressDialog.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QProgressDialog_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_dragLeaveEvent, doc_QProgressDialog_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_dropEvent, "QProgressDialog.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QProgressDialog_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_dropEvent, doc_QProgressDialog_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_hideEvent, "QProgressDialog.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QProgressDialog_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_hideEvent, doc_QProgressDialog_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_metric, "QProgressDialog.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QProgressDialog_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_metric, doc_QProgressDialog_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_inputMethodEvent, "QProgressDialog.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QProgressDialog_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_inputMethodEvent, doc_QProgressDialog_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_updateMicroFocus, "QProgressDialog.updateMicroFocus()");

extern "C" {static PyObject *meth_QProgressDialog_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_updateMicroFocus, doc_QProgressDialog_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_create, "QProgressDialog.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QProgressDialog_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQProgressDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_create, doc_QProgressDialog_create);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_destroy, "QProgressDialog.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QProgressDialog_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQProgressDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_destroy, doc_QProgressDialog_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_focusNextPrevChild, "QProgressDialog.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QProgressDialog_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_focusNextPrevChild, doc_QProgressDialog_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_focusNextChild, "QProgressDialog.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QProgressDialog_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_focusNextChild, doc_QProgressDialog_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_focusPreviousChild, "QProgressDialog.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QProgressDialog_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_focusPreviousChild, doc_QProgressDialog_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_nativeEvent, "QProgressDialog.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QProgressDialog_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_nativeEvent, doc_QProgressDialog_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_sharedPainter, "QProgressDialog.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QProgressDialog_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_sharedPainter, doc_QProgressDialog_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_initPainter, "QProgressDialog.initPainter(QPainter)");

extern "C" {static PyObject *meth_QProgressDialog_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_initPainter, doc_QProgressDialog_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_keyPressEvent, "QProgressDialog.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QProgressDialog_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_keyPressEvent, doc_QProgressDialog_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_contextMenuEvent, "QProgressDialog.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QProgressDialog_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_contextMenuEvent, doc_QProgressDialog_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_eventFilter, "QProgressDialog.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QProgressDialog_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_eventFilter, doc_QProgressDialog_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setLabel, "QProgressDialog.setLabel(QLabel)");

extern "C" {static PyObject *meth_QProgressDialog_setLabel(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setLabel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLabel* a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QLabel, &a0))
        {
            sipCpp->setLabel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setLabel, doc_QProgressDialog_setLabel);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setCancelButton, "QProgressDialog.setCancelButton(QPushButton)");

extern "C" {static PyObject *meth_QProgressDialog_setCancelButton(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setCancelButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPushButton* a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QPushButton, &a0))
        {
            sipCpp->setCancelButton(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setCancelButton, doc_QProgressDialog_setCancelButton);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setBar, "QProgressDialog.setBar(QProgressBar)");

extern "C" {static PyObject *meth_QProgressDialog_setBar(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QProgressBar* a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QProgressBar, &a0))
        {
            sipCpp->setBar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setBar, doc_QProgressDialog_setBar);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_wasCanceled, "QProgressDialog.wasCanceled() -> bool");

extern "C" {static PyObject *meth_QProgressDialog_wasCanceled(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_wasCanceled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->wasCanceled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_wasCanceled, doc_QProgressDialog_wasCanceled);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_minimum, "QProgressDialog.minimum() -> int");

extern "C" {static PyObject *meth_QProgressDialog_minimum(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_minimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minimum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_minimum, doc_QProgressDialog_minimum);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_maximum, "QProgressDialog.maximum() -> int");

extern "C" {static PyObject *meth_QProgressDialog_maximum(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_maximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maximum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_maximum, doc_QProgressDialog_maximum);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setRange, "QProgressDialog.setRange(int, int)");

extern "C" {static PyObject *meth_QProgressDialog_setRange(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->setRange(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setRange, doc_QProgressDialog_setRange);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_value, "QProgressDialog.value() -> int");

extern "C" {static PyObject *meth_QProgressDialog_value(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->value();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_value, doc_QProgressDialog_value);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_sizeHint, "QProgressDialog.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QProgressDialog_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QProgressDialog::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_sizeHint, doc_QProgressDialog_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_labelText, "QProgressDialog.labelText() -> str");

extern "C" {static PyObject *meth_QProgressDialog_labelText(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_labelText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->labelText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_labelText, doc_QProgressDialog_labelText);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_minimumDuration, "QProgressDialog.minimumDuration() -> int");

extern "C" {static PyObject *meth_QProgressDialog_minimumDuration(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_minimumDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minimumDuration();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_minimumDuration, doc_QProgressDialog_minimumDuration);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setAutoReset, "QProgressDialog.setAutoReset(bool)");

extern "C" {static PyObject *meth_QProgressDialog_setAutoReset(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setAutoReset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0))
        {
            sipCpp->setAutoReset(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setAutoReset, doc_QProgressDialog_setAutoReset);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_autoReset, "QProgressDialog.autoReset() -> bool");

extern "C" {static PyObject *meth_QProgressDialog_autoReset(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_autoReset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoReset();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_autoReset, doc_QProgressDialog_autoReset);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setAutoClose, "QProgressDialog.setAutoClose(bool)");

extern "C" {static PyObject *meth_QProgressDialog_setAutoClose(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setAutoClose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0))
        {
            sipCpp->setAutoClose(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setAutoClose, doc_QProgressDialog_setAutoClose);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_autoClose, "QProgressDialog.autoClose() -> bool");

extern "C" {static PyObject *meth_QProgressDialog_autoClose(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_autoClose(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoClose();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_autoClose, doc_QProgressDialog_autoClose);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_cancel, "QProgressDialog.cancel()");

extern "C" {static PyObject *meth_QProgressDialog_cancel(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_cancel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            sipCpp->cancel();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_cancel, doc_QProgressDialog_cancel);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_reset, "QProgressDialog.reset()");

extern "C" {static PyObject *meth_QProgressDialog_reset(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            sipCpp->reset();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_reset, doc_QProgressDialog_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setMaximum, "QProgressDialog.setMaximum(int)");

extern "C" {static PyObject *meth_QProgressDialog_setMaximum(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0))
        {
            sipCpp->setMaximum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setMaximum, doc_QProgressDialog_setMaximum);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setMinimum, "QProgressDialog.setMinimum(int)");

extern "C" {static PyObject *meth_QProgressDialog_setMinimum(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0))
        {
            sipCpp->setMinimum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setMinimum, doc_QProgressDialog_setMinimum);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setValue, "QProgressDialog.setValue(int)");

extern "C" {static PyObject *meth_QProgressDialog_setValue(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0))
        {
            sipCpp->setValue(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setValue, doc_QProgressDialog_setValue);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setLabelText, "QProgressDialog.setLabelText(str)");

extern "C" {static PyObject *meth_QProgressDialog_setLabelText(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setLabelText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setLabelText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setLabelText, doc_QProgressDialog_setLabelText);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setCancelButtonText, "QProgressDialog.setCancelButtonText(str)");

extern "C" {static PyObject *meth_QProgressDialog_setCancelButtonText(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setCancelButtonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCancelButtonText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setCancelButtonText, doc_QProgressDialog_setCancelButtonText);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_setMinimumDuration, "QProgressDialog.setMinimumDuration(int)");

extern "C" {static PyObject *meth_QProgressDialog_setMinimumDuration(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_setMinimumDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0))
        {
            sipCpp->setMinimumDuration(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_setMinimumDuration, doc_QProgressDialog_setMinimumDuration);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_resizeEvent, "QProgressDialog.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QProgressDialog_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_resizeEvent, doc_QProgressDialog_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_closeEvent, "QProgressDialog.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QProgressDialog_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_closeEvent, doc_QProgressDialog_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_changeEvent, "QProgressDialog.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QProgressDialog_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_changeEvent, doc_QProgressDialog_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_showEvent, "QProgressDialog.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QProgressDialog_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_showEvent, doc_QProgressDialog_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_forceShow, "QProgressDialog.forceShow()");

extern "C" {static PyObject *meth_QProgressDialog_forceShow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_forceShow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQProgressDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            sipCpp->sipProtect_forceShow();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressDialog, sipName_forceShow, doc_QProgressDialog_forceShow);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressDialog_open, "QProgressDialog.open()\n"
    "QProgressDialog.open(slot)");

extern "C" {static PyObject *meth_QProgressDialog_open(PyObject *, PyObject *);}
static PyObject *meth_QProgressDialog_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QProgressDialog::open() : sipCpp->open());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
        QProgressDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0", &sipSelf, sipType_QProgressDialog, &sipCpp, &a0))
        {
            sipErrorState sipError = sipErrorNone;

#line 73 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qprogressdialog.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipCpp->open(receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 170022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.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_QProgressDialog, sipName_open, doc_QProgressDialog_open);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QProgressDialog(void *, const sipTypeDef *);}
static void *cast_QProgressDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QProgressDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDialog)->ctd_cast((QDialog *)(QProgressDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QProgressDialog(void *, int);}
static void release_QProgressDialog(void *sipCppV,int)
{
    QProgressDialog *sipCpp = reinterpret_cast<QProgressDialog *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QProgressDialog(sipSimpleWrapper *);}
static void dealloc_QProgressDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQProgressDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QProgressDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QProgressDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QProgressDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQProgressDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQProgressDialog(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        int a2;
        int a3;
        QWidget* a4 = 0;
        Qt::WindowFlags a5def = 0;
        Qt::WindowFlags* a5 = &a5def;
        int a5State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1ii|JHJ1", sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2, &a3, sipType_QWidget, &a4, sipOwner, sipType_Qt_WindowFlags, &a5, &a5State))
        {
            sipCpp = new sipQProgressDialog(*a0,*a1,a2,a3,a4,*a5);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a5,sipType_Qt_WindowFlags,a5State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QProgressDialog[] = {{60, 255, 1}};


static PyMethodDef methods_QProgressDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QProgressDialog_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_autoClose), meth_QProgressDialog_autoClose, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_autoClose)},
    {SIP_MLNAME_CAST(sipName_autoReset), meth_QProgressDialog_autoReset, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_autoReset)},
    {SIP_MLNAME_CAST(sipName_cancel), meth_QProgressDialog_cancel, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_cancel)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QProgressDialog_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProgressDialog_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QProgressDialog_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QProgressDialog_closeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProgressDialog_closeEvent)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QProgressDialog_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QProgressDialog_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QProgressDialog_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QProgressDialog_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QProgressDialog_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QProgressDialog_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QProgressDialog_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QProgressDialog_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QProgressDialog_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QProgressDialog_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QProgressDialog_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QProgressDialog_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QProgressDialog_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QProgressDialog_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QProgressDialog_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QProgressDialog_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QProgressDialog_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QProgressDialog_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_forceShow), (PyCFunction)meth_QProgressDialog_forceShow, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProgressDialog_forceShow)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QProgressDialog_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QProgressDialog_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QProgressDialog_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QProgressDialog_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QProgressDialog_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QProgressDialog_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_labelText), meth_QProgressDialog_labelText, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_labelText)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QProgressDialog_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maximum), meth_QProgressDialog_maximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_maximum)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QProgressDialog_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimum), meth_QProgressDialog_minimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_minimum)},
    {SIP_MLNAME_CAST(sipName_minimumDuration), meth_QProgressDialog_minimumDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_minimumDuration)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QProgressDialog_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QProgressDialog_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QProgressDialog_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QProgressDialog_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QProgressDialog_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QProgressDialog_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_QProgressDialog_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_open)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QProgressDialog_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QProgressDialog_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_QProgressDialog_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_reset)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QProgressDialog_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProgressDialog_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QProgressDialog_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QProgressDialog_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoClose), meth_QProgressDialog_setAutoClose, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setAutoClose)},
    {SIP_MLNAME_CAST(sipName_setAutoReset), meth_QProgressDialog_setAutoReset, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setAutoReset)},
    {SIP_MLNAME_CAST(sipName_setBar), meth_QProgressDialog_setBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setBar)},
    {SIP_MLNAME_CAST(sipName_setCancelButton), meth_QProgressDialog_setCancelButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setCancelButton)},
    {SIP_MLNAME_CAST(sipName_setCancelButtonText), meth_QProgressDialog_setCancelButtonText, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setCancelButtonText)},
    {SIP_MLNAME_CAST(sipName_setLabel), meth_QProgressDialog_setLabel, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setLabel)},
    {SIP_MLNAME_CAST(sipName_setLabelText), meth_QProgressDialog_setLabelText, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setLabelText)},
    {SIP_MLNAME_CAST(sipName_setMaximum), meth_QProgressDialog_setMaximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setMaximum)},
    {SIP_MLNAME_CAST(sipName_setMinimum), meth_QProgressDialog_setMinimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setMinimum)},
    {SIP_MLNAME_CAST(sipName_setMinimumDuration), meth_QProgressDialog_setMinimumDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setMinimumDuration)},
    {SIP_MLNAME_CAST(sipName_setRange), meth_QProgressDialog_setRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setRange)},
    {SIP_MLNAME_CAST(sipName_setValue), meth_QProgressDialog_setValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_setValue)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QProgressDialog_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QProgressDialog_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProgressDialog_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QProgressDialog_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QProgressDialog_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QProgressDialog_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QProgressDialog_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_QProgressDialog_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_value)},
    {SIP_MLNAME_CAST(sipName_wasCanceled), meth_QProgressDialog_wasCanceled, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressDialog_wasCanceled)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QProgressDialog_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QProgressDialog[] = {
    {"canceled()", "\1QProgressDialog.canceled", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QProgressDialog, "\1QProgressDialog(QWidget parent=None, Qt.WindowFlags flags=0)\n"
    "QProgressDialog(str, str, int, int, QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QProgressDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QProgressDialog,
        {0}
    },
    {
        sipNameNr_QProgressDialog,
        {0, 0, 1},
        72, methods_QProgressDialog,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QProgressDialog,
    -1,
    -1,
    supers_QProgressDialog,
    0,
    init_type_QProgressDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QProgressDialog,
    0,
    0,
    0,
    release_QProgressDialog,
    cast_QProgressDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QProgressDialog::staticMetaObject,
    0,
    signals_QProgressDialog,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qprogressbar.sip"
#include <qprogressbar.h>
#line 170298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 170302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 170311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 170317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 170320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 170326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 170329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 170332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 170335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 170341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 170344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 170350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 170356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 170359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 170362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 170365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 170368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 170371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 170374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 170377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 170380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 170383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 170386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 170389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 170440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 170443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 170449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 170452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 170455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 170461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 170464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 170467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 170470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 170473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 170476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 170482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 170485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 170491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 170494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 170497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 170500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 170503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 170506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQProgressBar : public QProgressBar
{
public:
    sipQProgressBar(QWidget*);
    virtual ~sipQProgressBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionProgressBar*) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    QString text() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQProgressBar(const sipQProgressBar &);
    sipQProgressBar &operator = (const sipQProgressBar &);

    char sipPyMethods[47];
};

sipQProgressBar::sipQProgressBar(QWidget*a0): QProgressBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQProgressBar::~sipQProgressBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQProgressBar::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QProgressBar);
}

int sipQProgressBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QProgressBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QProgressBar,_c,_id,_a);

    return _id;
}

void *sipQProgressBar::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QProgressBar, _clname, &sipCpp) ? sipCpp : QProgressBar::qt_metacast(_clname));
}

void sipQProgressBar::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QProgressBar::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QProgressBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QProgressBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QProgressBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QProgressBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQProgressBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QProgressBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQProgressBar::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QProgressBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQProgressBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QProgressBar::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQProgressBar::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QProgressBar::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQProgressBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QProgressBar::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQProgressBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QProgressBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQProgressBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QProgressBar::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QProgressBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQProgressBar::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QProgressBar::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QProgressBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QProgressBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QProgressBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QProgressBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QProgressBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QProgressBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QProgressBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QProgressBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QProgressBar::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QProgressBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QProgressBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QProgressBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QProgressBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QProgressBar::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QProgressBar::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QProgressBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QProgressBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QProgressBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QProgressBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QProgressBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QProgressBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QProgressBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QProgressBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QProgressBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQProgressBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QProgressBar::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQProgressBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QProgressBar::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQProgressBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QProgressBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQProgressBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QProgressBar::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQProgressBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QProgressBar::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQProgressBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QProgressBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQProgressBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QProgressBar::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQProgressBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QProgressBar::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QString sipQProgressBar::text() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_text);

    if (!sipMeth)
        return QProgressBar::text();

    typedef QString (*sipVH_QtCore_16)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_16)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[16]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQProgressBar::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQProgressBar::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQProgressBar::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQProgressBar::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQProgressBar::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQProgressBar::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQProgressBar::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQProgressBar::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQProgressBar::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQProgressBar::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQProgressBar::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQProgressBar::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQProgressBar::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQProgressBar::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQProgressBar::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQProgressBar::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQProgressBar::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQProgressBar::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQProgressBar::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQProgressBar::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQProgressBar::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQProgressBar::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQProgressBar::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQProgressBar::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQProgressBar::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQProgressBar::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQProgressBar::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQProgressBar::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQProgressBar::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQProgressBar::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQProgressBar::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQProgressBar::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQProgressBar::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQProgressBar::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQProgressBar::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQProgressBar::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQProgressBar::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQProgressBar::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQProgressBar::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQProgressBar::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQProgressBar::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQProgressBar::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQProgressBar::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQProgressBar::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQProgressBar::sipProtect_initStyleOption(QStyleOptionProgressBar*a0) const
{
    QProgressBar::initStyleOption(a0);
}

bool sipQProgressBar::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QProgressBar::event(a0) : event(a0));
}

void sipQProgressBar::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QProgressBar::paintEvent(a0) : paintEvent(a0));
}


PyDoc_STRVAR(doc_QProgressBar_sender, "QProgressBar.sender() -> QObject");

extern "C" {static PyObject *meth_QProgressBar_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 171746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_sender, doc_QProgressBar_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_receivers, "QProgressBar.receivers(signal) -> int");

extern "C" {static PyObject *meth_QProgressBar_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QProgressBar, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 171805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_receivers, doc_QProgressBar_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_timerEvent, "QProgressBar.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QProgressBar_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_timerEvent, doc_QProgressBar_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_childEvent, "QProgressBar.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QProgressBar_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_childEvent, doc_QProgressBar_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_customEvent, "QProgressBar.customEvent(QEvent)");

extern "C" {static PyObject *meth_QProgressBar_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_customEvent, doc_QProgressBar_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_connectNotify, "QProgressBar.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QProgressBar_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_connectNotify, doc_QProgressBar_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_disconnectNotify, "QProgressBar.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QProgressBar_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_disconnectNotify, doc_QProgressBar_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_senderSignalIndex, "QProgressBar.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QProgressBar_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_senderSignalIndex, doc_QProgressBar_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_isSignalConnected, "QProgressBar.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QProgressBar_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_isSignalConnected, doc_QProgressBar_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_mousePressEvent, "QProgressBar.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QProgressBar_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_mousePressEvent, doc_QProgressBar_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_mouseReleaseEvent, "QProgressBar.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QProgressBar_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_mouseReleaseEvent, doc_QProgressBar_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_mouseDoubleClickEvent, "QProgressBar.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QProgressBar_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_mouseDoubleClickEvent, doc_QProgressBar_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_mouseMoveEvent, "QProgressBar.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QProgressBar_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_mouseMoveEvent, doc_QProgressBar_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_wheelEvent, "QProgressBar.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QProgressBar_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_wheelEvent, doc_QProgressBar_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_keyPressEvent, "QProgressBar.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QProgressBar_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_keyPressEvent, doc_QProgressBar_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_keyReleaseEvent, "QProgressBar.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QProgressBar_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_keyReleaseEvent, doc_QProgressBar_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_focusInEvent, "QProgressBar.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QProgressBar_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_focusInEvent, doc_QProgressBar_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_focusOutEvent, "QProgressBar.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QProgressBar_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_focusOutEvent, doc_QProgressBar_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_enterEvent, "QProgressBar.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QProgressBar_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_enterEvent, doc_QProgressBar_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_leaveEvent, "QProgressBar.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QProgressBar_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_leaveEvent, doc_QProgressBar_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_moveEvent, "QProgressBar.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QProgressBar_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_moveEvent, doc_QProgressBar_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_resizeEvent, "QProgressBar.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QProgressBar_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_resizeEvent, doc_QProgressBar_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_closeEvent, "QProgressBar.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QProgressBar_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_closeEvent, doc_QProgressBar_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_contextMenuEvent, "QProgressBar.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QProgressBar_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_contextMenuEvent, doc_QProgressBar_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_tabletEvent, "QProgressBar.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QProgressBar_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_tabletEvent, doc_QProgressBar_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_actionEvent, "QProgressBar.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QProgressBar_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_actionEvent, doc_QProgressBar_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_dragEnterEvent, "QProgressBar.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QProgressBar_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_dragEnterEvent, doc_QProgressBar_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_dragMoveEvent, "QProgressBar.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QProgressBar_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_dragMoveEvent, doc_QProgressBar_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_dragLeaveEvent, "QProgressBar.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QProgressBar_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_dragLeaveEvent, doc_QProgressBar_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_dropEvent, "QProgressBar.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QProgressBar_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_dropEvent, doc_QProgressBar_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_showEvent, "QProgressBar.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QProgressBar_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_showEvent, doc_QProgressBar_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_hideEvent, "QProgressBar.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QProgressBar_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_hideEvent, doc_QProgressBar_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_changeEvent, "QProgressBar.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QProgressBar_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_changeEvent, doc_QProgressBar_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_metric, "QProgressBar.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QProgressBar_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_metric, doc_QProgressBar_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_inputMethodEvent, "QProgressBar.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QProgressBar_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_inputMethodEvent, doc_QProgressBar_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_updateMicroFocus, "QProgressBar.updateMicroFocus()");

extern "C" {static PyObject *meth_QProgressBar_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_updateMicroFocus, doc_QProgressBar_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_create, "QProgressBar.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QProgressBar_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQProgressBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_create, doc_QProgressBar_create);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_destroy, "QProgressBar.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QProgressBar_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQProgressBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QProgressBar, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_destroy, doc_QProgressBar_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_focusNextPrevChild, "QProgressBar.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QProgressBar_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QProgressBar, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_focusNextPrevChild, doc_QProgressBar_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_focusNextChild, "QProgressBar.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QProgressBar_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_focusNextChild, doc_QProgressBar_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_focusPreviousChild, "QProgressBar.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QProgressBar_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_focusPreviousChild, doc_QProgressBar_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_nativeEvent, "QProgressBar.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QProgressBar_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_nativeEvent, doc_QProgressBar_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_sharedPainter, "QProgressBar.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QProgressBar_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_sharedPainter, doc_QProgressBar_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_initPainter, "QProgressBar.initPainter(QPainter)");

extern "C" {static PyObject *meth_QProgressBar_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_initPainter, doc_QProgressBar_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_minimum, "QProgressBar.minimum() -> int");

extern "C" {static PyObject *meth_QProgressBar_minimum(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_minimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minimum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_minimum, doc_QProgressBar_minimum);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_maximum, "QProgressBar.maximum() -> int");

extern "C" {static PyObject *meth_QProgressBar_maximum(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_maximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maximum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_maximum, doc_QProgressBar_maximum);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setRange, "QProgressBar.setRange(int, int)");

extern "C" {static PyObject *meth_QProgressBar_setRange(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QProgressBar, &sipCpp, &a0, &a1))
        {
            sipCpp->setRange(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setRange, doc_QProgressBar_setRange);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_value, "QProgressBar.value() -> int");

extern "C" {static PyObject *meth_QProgressBar_value(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->value();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_value, doc_QProgressBar_value);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_text, "QProgressBar.text() -> str");

extern "C" {static PyObject *meth_QProgressBar_text(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString((sipSelfWasArg ? sipCpp->QProgressBar::text() : sipCpp->text()));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_text, doc_QProgressBar_text);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setTextVisible, "QProgressBar.setTextVisible(bool)");

extern "C" {static PyObject *meth_QProgressBar_setTextVisible(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setTextVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QProgressBar, &sipCpp, &a0))
        {
            sipCpp->setTextVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setTextVisible, doc_QProgressBar_setTextVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_isTextVisible, "QProgressBar.isTextVisible() -> bool");

extern "C" {static PyObject *meth_QProgressBar_isTextVisible(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_isTextVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isTextVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_isTextVisible, doc_QProgressBar_isTextVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_alignment, "QProgressBar.alignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QProgressBar_alignment(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_alignment, doc_QProgressBar_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setAlignment, "QProgressBar.setAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QProgressBar_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setAlignment, doc_QProgressBar_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_sizeHint, "QProgressBar.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QProgressBar_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QProgressBar::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_sizeHint, doc_QProgressBar_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_minimumSizeHint, "QProgressBar.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QProgressBar_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QProgressBar::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_minimumSizeHint, doc_QProgressBar_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_orientation, "QProgressBar.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QProgressBar_orientation(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_orientation, doc_QProgressBar_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setInvertedAppearance, "QProgressBar.setInvertedAppearance(bool)");

extern "C" {static PyObject *meth_QProgressBar_setInvertedAppearance(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setInvertedAppearance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QProgressBar, &sipCpp, &a0))
        {
            sipCpp->setInvertedAppearance(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setInvertedAppearance, doc_QProgressBar_setInvertedAppearance);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setTextDirection, "QProgressBar.setTextDirection(QProgressBar.Direction)");

extern "C" {static PyObject *meth_QProgressBar_setTextDirection(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setTextDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QProgressBar::Direction a0;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QProgressBar_Direction, &a0))
        {
            sipCpp->setTextDirection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setTextDirection, doc_QProgressBar_setTextDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setFormat, "QProgressBar.setFormat(str)");

extern "C" {static PyObject *meth_QProgressBar_setFormat(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setFormat(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setFormat, doc_QProgressBar_setFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_format, "QProgressBar.format() -> str");

extern "C" {static PyObject *meth_QProgressBar_format(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_format(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->format());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_format, doc_QProgressBar_format);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_resetFormat, "QProgressBar.resetFormat()");

extern "C" {static PyObject *meth_QProgressBar_resetFormat(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_resetFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            sipCpp->resetFormat();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_resetFormat, doc_QProgressBar_resetFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_reset, "QProgressBar.reset()");

extern "C" {static PyObject *meth_QProgressBar_reset(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QProgressBar, &sipCpp))
        {
            sipCpp->reset();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_reset, doc_QProgressBar_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setMinimum, "QProgressBar.setMinimum(int)");

extern "C" {static PyObject *meth_QProgressBar_setMinimum(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QProgressBar, &sipCpp, &a0))
        {
            sipCpp->setMinimum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setMinimum, doc_QProgressBar_setMinimum);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setMaximum, "QProgressBar.setMaximum(int)");

extern "C" {static PyObject *meth_QProgressBar_setMaximum(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QProgressBar, &sipCpp, &a0))
        {
            sipCpp->setMaximum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setMaximum, doc_QProgressBar_setMaximum);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setValue, "QProgressBar.setValue(int)");

extern "C" {static PyObject *meth_QProgressBar_setValue(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QProgressBar, &sipCpp, &a0))
        {
            sipCpp->setValue(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setValue, doc_QProgressBar_setValue);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_setOrientation, "QProgressBar.setOrientation(Qt.Orientation)");

extern "C" {static PyObject *meth_QProgressBar_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        QProgressBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            sipCpp->setOrientation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_setOrientation, doc_QProgressBar_setOrientation);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_initStyleOption, "QProgressBar.initStyleOption(QStyleOptionProgressBar)");

extern "C" {static PyObject *meth_QProgressBar_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionProgressBar* a0;
        const sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QStyleOptionProgressBar, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_initStyleOption, doc_QProgressBar_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_event, "QProgressBar.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QProgressBar_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_event, doc_QProgressBar_event);

    return NULL;
}


PyDoc_STRVAR(doc_QProgressBar_paintEvent, "QProgressBar.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QProgressBar_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QProgressBar_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQProgressBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QProgressBar, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QProgressBar, sipName_paintEvent, doc_QProgressBar_paintEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QProgressBar(void *, const sipTypeDef *);}
static void *cast_QProgressBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QProgressBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QProgressBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QProgressBar(void *, int);}
static void release_QProgressBar(void *sipCppV,int)
{
    QProgressBar *sipCpp = reinterpret_cast<QProgressBar *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QProgressBar(sipSimpleWrapper *);}
static void dealloc_QProgressBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQProgressBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QProgressBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QProgressBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QProgressBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQProgressBar *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQProgressBar(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QProgressBar[] = {{454, 255, 1}};


static PyMethodDef methods_QProgressBar[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QProgressBar_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QProgressBar_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_alignment)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QProgressBar_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QProgressBar_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QProgressBar_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QProgressBar_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QProgressBar_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QProgressBar_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QProgressBar_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QProgressBar_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QProgressBar_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QProgressBar_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QProgressBar_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QProgressBar_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QProgressBar_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QProgressBar_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QProgressBar_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProgressBar_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QProgressBar_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QProgressBar_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QProgressBar_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QProgressBar_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QProgressBar_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_format), meth_QProgressBar_format, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_format)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QProgressBar_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QProgressBar_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QProgressBar_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProgressBar_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QProgressBar_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QProgressBar_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTextVisible), meth_QProgressBar_isTextVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_isTextVisible)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QProgressBar_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QProgressBar_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QProgressBar_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maximum), meth_QProgressBar_maximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_maximum)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QProgressBar_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimum), meth_QProgressBar_minimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_minimum)},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QProgressBar_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QProgressBar_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QProgressBar_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QProgressBar_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QProgressBar_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QProgressBar_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QProgressBar_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QProgressBar_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_orientation)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QProgressBar_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QProgressBar_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QProgressBar_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_QProgressBar_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_reset)},
    {SIP_MLNAME_CAST(sipName_resetFormat), meth_QProgressBar_resetFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_resetFormat)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QProgressBar_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QProgressBar_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QProgressBar_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QProgressBar_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setFormat), meth_QProgressBar_setFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setFormat)},
    {SIP_MLNAME_CAST(sipName_setInvertedAppearance), meth_QProgressBar_setInvertedAppearance, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setInvertedAppearance)},
    {SIP_MLNAME_CAST(sipName_setMaximum), meth_QProgressBar_setMaximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setMaximum)},
    {SIP_MLNAME_CAST(sipName_setMinimum), meth_QProgressBar_setMinimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setMinimum)},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_QProgressBar_setOrientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setOrientation)},
    {SIP_MLNAME_CAST(sipName_setRange), meth_QProgressBar_setRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setRange)},
    {SIP_MLNAME_CAST(sipName_setTextDirection), meth_QProgressBar_setTextDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setTextDirection)},
    {SIP_MLNAME_CAST(sipName_setTextVisible), meth_QProgressBar_setTextVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setTextVisible)},
    {SIP_MLNAME_CAST(sipName_setValue), meth_QProgressBar_setValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_setValue)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QProgressBar_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QProgressBar_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QProgressBar_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QProgressBar_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_QProgressBar_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_text)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QProgressBar_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QProgressBar_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_QProgressBar_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QProgressBar_value)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QProgressBar_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QProgressBar[] = {
    {sipName_BottomToTop, static_cast<int>(QProgressBar::BottomToTop), 249},
    {sipName_TopToBottom, static_cast<int>(QProgressBar::TopToBottom), 249},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QProgressBar[] = {
    {"valueChanged(int)", "\1QProgressBar.valueChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QProgressBar, "\1QProgressBar(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QProgressBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QProgressBar,
        {0}
    },
    {
        sipNameNr_QProgressBar,
        {0, 0, 1},
        69, methods_QProgressBar,
        2, enummembers_QProgressBar,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QProgressBar,
    -1,
    -1,
    supers_QProgressBar,
    0,
    init_type_QProgressBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QProgressBar,
    0,
    0,
    0,
    release_QProgressBar,
    cast_QProgressBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QProgressBar::staticMetaObject,
    0,
    signals_QProgressBar,
    0
};

#line 189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qplaintextedit.sip"
#include <qplaintextedit.h>
#line 173919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 40 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 173923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 129 "sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 173926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 173929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 65 "sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 173932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 173935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 173938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 173941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 173944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 46 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 173949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 173952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextlayout.sip"
#include <qtextlayout.h>
#line 173955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 63 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 173958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 89 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 173961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 173964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 173967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 173970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 173973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 173976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 173979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 173982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 173985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 173988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 173991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 173994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 173997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 174000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 174003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 174006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 174009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQPlainTextDocumentLayout : public QPlainTextDocumentLayout
{
public:
    sipQPlainTextDocumentLayout(QTextDocument*);
    virtual ~sipQPlainTextDocumentLayout();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_resizeInlineObject(bool,QTextInlineObject,int,const QTextFormat&);
    void sipProtectVirt_positionInlineObject(bool,QTextInlineObject,int,const QTextFormat&);
    void sipProtectVirt_drawInlineObject(bool,QPainter*,const QRectF&,QTextInlineObject,int,const QTextFormat&);
    QTextCharFormat sipProtect_format(int);
    void sipProtectVirt_documentChanged(bool,int,int,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void drawInlineObject(QPainter*,const QRectF&,QTextInlineObject,int,const QTextFormat&);
    void positionInlineObject(QTextInlineObject,int,const QTextFormat&);
    void resizeInlineObject(QTextInlineObject,int,const QTextFormat&);
    void documentChanged(int,int,int);
    QRectF blockBoundingRect(const QTextBlock&) const;
    QRectF frameBoundingRect(QTextFrame*) const;
    QSizeF documentSize() const;
    int pageCount() const;
    int hitTest(const QPointF&,Qt::HitTestAccuracy) const;
    void draw(QPainter*,const QAbstractTextDocumentLayout::PaintContext&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQPlainTextDocumentLayout(const sipQPlainTextDocumentLayout &);
    sipQPlainTextDocumentLayout &operator = (const sipQPlainTextDocumentLayout &);

    char sipPyMethods[17];
};

sipQPlainTextDocumentLayout::sipQPlainTextDocumentLayout(QTextDocument*a0): QPlainTextDocumentLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPlainTextDocumentLayout::~sipQPlainTextDocumentLayout()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQPlainTextDocumentLayout::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPlainTextDocumentLayout);
}

int sipQPlainTextDocumentLayout::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QPlainTextDocumentLayout::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QPlainTextDocumentLayout,_c,_id,_a);

    return _id;
}

void *sipQPlainTextDocumentLayout::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QPlainTextDocumentLayout, _clname, &sipCpp) ? sipCpp : QPlainTextDocumentLayout::qt_metacast(_clname));
}

void sipQPlainTextDocumentLayout::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextDocumentLayout::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextDocumentLayout::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextDocumentLayout::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextDocumentLayout::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQPlainTextDocumentLayout::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QPlainTextDocumentLayout::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQPlainTextDocumentLayout::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QPlainTextDocumentLayout::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextDocumentLayout::drawInlineObject(QPainter*a0,const QRectF& a1,QTextInlineObject a2,int a3,const QTextFormat& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_drawInlineObject);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::drawInlineObject(a0,a1,a2,a3,a4);
        return;
    }

    typedef void (*sipVH_QtGui_69)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&,QTextInlineObject,int,const QTextFormat&);

    ((sipVH_QtGui_69)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[69]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

void sipQPlainTextDocumentLayout::positionInlineObject(QTextInlineObject a0,int a1,const QTextFormat& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_positionInlineObject);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::positionInlineObject(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_70)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTextInlineObject,int,const QTextFormat&);

    ((sipVH_QtGui_70)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[70]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQPlainTextDocumentLayout::resizeInlineObject(QTextInlineObject a0,int a1,const QTextFormat& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_resizeInlineObject);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::resizeInlineObject(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_70)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTextInlineObject,int,const QTextFormat&);

    ((sipVH_QtGui_70)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[70]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQPlainTextDocumentLayout::documentChanged(int a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_documentChanged);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::documentChanged(a0,a1,a2);
        return;
    }

    typedef void (*sipVH_QtGui_71)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);

    ((sipVH_QtGui_71)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[71]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QRectF sipQPlainTextDocumentLayout::blockBoundingRect(const QTextBlock& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_blockBoundingRect);

    if (!sipMeth)
        return QPlainTextDocumentLayout::blockBoundingRect(a0);

    typedef QRectF (*sipVH_QtGui_72)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QTextBlock&);

    return ((sipVH_QtGui_72)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[72]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRectF sipQPlainTextDocumentLayout::frameBoundingRect(QTextFrame*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_frameBoundingRect);

    if (!sipMeth)
        return QPlainTextDocumentLayout::frameBoundingRect(a0);

    typedef QRectF (*sipVH_QtGui_73)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTextFrame*);

    return ((sipVH_QtGui_73)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[73]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizeF sipQPlainTextDocumentLayout::documentSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_documentSize);

    if (!sipMeth)
        return QPlainTextDocumentLayout::documentSize();

    typedef QSizeF (*sipVH_QtGui_74)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_74)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[74]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQPlainTextDocumentLayout::pageCount() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_pageCount);

    if (!sipMeth)
        return QPlainTextDocumentLayout::pageCount();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQPlainTextDocumentLayout::hitTest(const QPointF& a0,Qt::HitTestAccuracy a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_hitTest);

    if (!sipMeth)
        return QPlainTextDocumentLayout::hitTest(a0,a1);

    typedef int (*sipVH_QtGui_75)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&,Qt::HitTestAccuracy);

    return ((sipVH_QtGui_75)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[75]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQPlainTextDocumentLayout::draw(QPainter*a0,const QAbstractTextDocumentLayout::PaintContext& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_draw);

    if (!sipMeth)
    {
        QPlainTextDocumentLayout::draw(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_76)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QAbstractTextDocumentLayout::PaintContext&);

    ((sipVH_QtGui_76)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[76]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QObject* sipQPlainTextDocumentLayout::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQPlainTextDocumentLayout::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQPlainTextDocumentLayout::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQPlainTextDocumentLayout::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQPlainTextDocumentLayout::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQPlainTextDocumentLayout::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPlainTextDocumentLayout::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPlainTextDocumentLayout::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQPlainTextDocumentLayout::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQPlainTextDocumentLayout::sipProtectVirt_resizeInlineObject(bool sipSelfWasArg,QTextInlineObject a0,int a1,const QTextFormat& a2)
{
    (sipSelfWasArg ? QAbstractTextDocumentLayout::resizeInlineObject(a0,a1,a2) : resizeInlineObject(a0,a1,a2));
}

void sipQPlainTextDocumentLayout::sipProtectVirt_positionInlineObject(bool sipSelfWasArg,QTextInlineObject a0,int a1,const QTextFormat& a2)
{
    (sipSelfWasArg ? QAbstractTextDocumentLayout::positionInlineObject(a0,a1,a2) : positionInlineObject(a0,a1,a2));
}

void sipQPlainTextDocumentLayout::sipProtectVirt_drawInlineObject(bool sipSelfWasArg,QPainter*a0,const QRectF& a1,QTextInlineObject a2,int a3,const QTextFormat& a4)
{
    (sipSelfWasArg ? QAbstractTextDocumentLayout::drawInlineObject(a0,a1,a2,a3,a4) : drawInlineObject(a0,a1,a2,a3,a4));
}

QTextCharFormat sipQPlainTextDocumentLayout::sipProtect_format(int a0)
{
    return QAbstractTextDocumentLayout::format(a0);
}

void sipQPlainTextDocumentLayout::sipProtectVirt_documentChanged(bool sipSelfWasArg,int a0,int a1,int a2)
{
    (sipSelfWasArg ? QPlainTextDocumentLayout::documentChanged(a0,a1,a2) : documentChanged(a0,a1,a2));
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_sender, "QPlainTextDocumentLayout.sender() -> QObject");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 174502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_sender, doc_QPlainTextDocumentLayout_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_receivers, "QPlainTextDocumentLayout.receivers(signal) -> int");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 174561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_receivers, doc_QPlainTextDocumentLayout_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_timerEvent, "QPlainTextDocumentLayout.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_timerEvent, doc_QPlainTextDocumentLayout_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_childEvent, "QPlainTextDocumentLayout.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_childEvent, doc_QPlainTextDocumentLayout_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_customEvent, "QPlainTextDocumentLayout.customEvent(QEvent)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_customEvent, doc_QPlainTextDocumentLayout_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_connectNotify, "QPlainTextDocumentLayout.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_connectNotify, doc_QPlainTextDocumentLayout_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_disconnectNotify, "QPlainTextDocumentLayout.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_disconnectNotify, doc_QPlainTextDocumentLayout_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_senderSignalIndex, "QPlainTextDocumentLayout.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_senderSignalIndex, doc_QPlainTextDocumentLayout_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_isSignalConnected, "QPlainTextDocumentLayout.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_isSignalConnected, doc_QPlainTextDocumentLayout_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_resizeInlineObject, "QPlainTextDocumentLayout.resizeInlineObject(QTextInlineObject, int, QTextFormat)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_resizeInlineObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_resizeInlineObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTextInlineObject* a0;
        int a1;
        const QTextFormat* a2;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iJ9", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QTextInlineObject, &a0, &a1, sipType_QTextFormat, &a2))
        {
            sipCpp->sipProtectVirt_resizeInlineObject(sipSelfWasArg,*a0,a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_resizeInlineObject, doc_QPlainTextDocumentLayout_resizeInlineObject);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_positionInlineObject, "QPlainTextDocumentLayout.positionInlineObject(QTextInlineObject, int, QTextFormat)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_positionInlineObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_positionInlineObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTextInlineObject* a0;
        int a1;
        const QTextFormat* a2;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iJ9", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QTextInlineObject, &a0, &a1, sipType_QTextFormat, &a2))
        {
            sipCpp->sipProtectVirt_positionInlineObject(sipSelfWasArg,*a0,a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_positionInlineObject, doc_QPlainTextDocumentLayout_positionInlineObject);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_drawInlineObject, "QPlainTextDocumentLayout.drawInlineObject(QPainter, QRectF, QTextInlineObject, int, QTextFormat)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_drawInlineObject(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_drawInlineObject(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRectF* a1;
        QTextInlineObject* a2;
        int a3;
        const QTextFormat* a4;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9iJ9", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1, sipType_QTextInlineObject, &a2, &a3, sipType_QTextFormat, &a4))
        {
            sipCpp->sipProtectVirt_drawInlineObject(sipSelfWasArg,a0,*a1,*a2,a3,*a4);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_drawInlineObject, doc_QPlainTextDocumentLayout_drawInlineObject);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_format, "QPlainTextDocumentLayout.format(int) -> QTextCharFormat");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_format(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_format(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, &a0))
        {
            QTextCharFormat*sipRes;

            sipRes = new QTextCharFormat(sipCpp->sipProtect_format(a0));

            return sipConvertFromNewType(sipRes,sipType_QTextCharFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_format, doc_QPlainTextDocumentLayout_format);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_draw, "QPlainTextDocumentLayout.draw(QPainter, QAbstractTextDocumentLayout.PaintContext)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_draw(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_draw(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QAbstractTextDocumentLayout::PaintContext* a1;
        QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QPainter, &a0, sipType_QAbstractTextDocumentLayout_PaintContext, &a1))
        {
            (sipSelfWasArg ? sipCpp->QPlainTextDocumentLayout::draw(a0,*a1) : sipCpp->draw(a0,*a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_draw, doc_QPlainTextDocumentLayout_draw);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_hitTest, "QPlainTextDocumentLayout.hitTest(QPointF, Qt.HitTestAccuracy) -> int");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_hitTest(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_hitTest(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        Qt::HitTestAccuracy a1;
        const QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_Qt_HitTestAccuracy, &a1))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QPlainTextDocumentLayout::hitTest(*a0,a1) : sipCpp->hitTest(*a0,a1));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_hitTest, doc_QPlainTextDocumentLayout_hitTest);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_pageCount, "QPlainTextDocumentLayout.pageCount() -> int");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_pageCount(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_pageCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QPlainTextDocumentLayout::pageCount() : sipCpp->pageCount());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_pageCount, doc_QPlainTextDocumentLayout_pageCount);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_documentSize, "QPlainTextDocumentLayout.documentSize() -> QSizeF");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_documentSize(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_documentSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->QPlainTextDocumentLayout::documentSize() : sipCpp->documentSize()));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_documentSize, doc_QPlainTextDocumentLayout_documentSize);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_frameBoundingRect, "QPlainTextDocumentLayout.frameBoundingRect(QTextFrame) -> QRectF");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_frameBoundingRect(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_frameBoundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTextFrame* a0;
        const QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QTextFrame, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QPlainTextDocumentLayout::frameBoundingRect(a0) : sipCpp->frameBoundingRect(a0)));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_frameBoundingRect, doc_QPlainTextDocumentLayout_frameBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_blockBoundingRect, "QPlainTextDocumentLayout.blockBoundingRect(QTextBlock) -> QRectF");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_blockBoundingRect(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_blockBoundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QTextBlock* a0;
        const QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QTextBlock, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QPlainTextDocumentLayout::blockBoundingRect(*a0) : sipCpp->blockBoundingRect(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_blockBoundingRect, doc_QPlainTextDocumentLayout_blockBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_ensureBlockLayout, "QPlainTextDocumentLayout.ensureBlockLayout(QTextBlock)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_ensureBlockLayout(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_ensureBlockLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBlock* a0;
        const QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, sipType_QTextBlock, &a0))
        {
            sipCpp->ensureBlockLayout(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_ensureBlockLayout, doc_QPlainTextDocumentLayout_ensureBlockLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_setCursorWidth, "QPlainTextDocumentLayout.setCursorWidth(int)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_setCursorWidth(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_setCursorWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, &a0))
        {
            sipCpp->setCursorWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_setCursorWidth, doc_QPlainTextDocumentLayout_setCursorWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_cursorWidth, "QPlainTextDocumentLayout.cursorWidth() -> int");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_cursorWidth(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_cursorWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->cursorWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_cursorWidth, doc_QPlainTextDocumentLayout_cursorWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_requestUpdate, "QPlainTextDocumentLayout.requestUpdate()");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_requestUpdate(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_requestUpdate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextDocumentLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp))
        {
            sipCpp->requestUpdate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_requestUpdate, doc_QPlainTextDocumentLayout_requestUpdate);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextDocumentLayout_documentChanged, "QPlainTextDocumentLayout.documentChanged(int, int, int)");

extern "C" {static PyObject *meth_QPlainTextDocumentLayout_documentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextDocumentLayout_documentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        int a2;
        sipQPlainTextDocumentLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biii", &sipSelf, sipType_QPlainTextDocumentLayout, &sipCpp, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_documentChanged(sipSelfWasArg,a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextDocumentLayout, sipName_documentChanged, doc_QPlainTextDocumentLayout_documentChanged);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QPlainTextDocumentLayout(void *, const sipTypeDef *);}
static void *cast_QPlainTextDocumentLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QPlainTextDocumentLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractTextDocumentLayout)->ctd_cast((QAbstractTextDocumentLayout *)(QPlainTextDocumentLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPlainTextDocumentLayout(void *, int);}
static void release_QPlainTextDocumentLayout(void *sipCppV,int)
{
    QPlainTextDocumentLayout *sipCpp = reinterpret_cast<QPlainTextDocumentLayout *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QPlainTextDocumentLayout(sipSimpleWrapper *);}
static void dealloc_QPlainTextDocumentLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQPlainTextDocumentLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QPlainTextDocumentLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QPlainTextDocumentLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPlainTextDocumentLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQPlainTextDocumentLayout *sipCpp = 0;

    {
        QTextDocument* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QTextDocument, &a0))
        {
            sipCpp = new sipQPlainTextDocumentLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPlainTextDocumentLayout[] = {{1, 1, 1}};


static PyMethodDef methods_QPlainTextDocumentLayout[] = {
    {SIP_MLNAME_CAST(sipName_blockBoundingRect), meth_QPlainTextDocumentLayout_blockBoundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_blockBoundingRect)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QPlainTextDocumentLayout_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QPlainTextDocumentLayout_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cursorWidth), meth_QPlainTextDocumentLayout_cursorWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_cursorWidth)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QPlainTextDocumentLayout_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QPlainTextDocumentLayout_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_documentChanged), (PyCFunction)meth_QPlainTextDocumentLayout_documentChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_documentChanged)},
    {SIP_MLNAME_CAST(sipName_documentSize), meth_QPlainTextDocumentLayout_documentSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_documentSize)},
    {SIP_MLNAME_CAST(sipName_draw), meth_QPlainTextDocumentLayout_draw, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_draw)},
    {SIP_MLNAME_CAST(sipName_drawInlineObject), (PyCFunction)meth_QPlainTextDocumentLayout_drawInlineObject, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_ensureBlockLayout), meth_QPlainTextDocumentLayout_ensureBlockLayout, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_ensureBlockLayout)},
    {SIP_MLNAME_CAST(sipName_format), (PyCFunction)meth_QPlainTextDocumentLayout_format, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_frameBoundingRect), meth_QPlainTextDocumentLayout_frameBoundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_frameBoundingRect)},
    {SIP_MLNAME_CAST(sipName_hitTest), meth_QPlainTextDocumentLayout_hitTest, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_hitTest)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QPlainTextDocumentLayout_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_pageCount), meth_QPlainTextDocumentLayout_pageCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_pageCount)},
    {SIP_MLNAME_CAST(sipName_positionInlineObject), (PyCFunction)meth_QPlainTextDocumentLayout_positionInlineObject, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QPlainTextDocumentLayout_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_requestUpdate), meth_QPlainTextDocumentLayout_requestUpdate, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_requestUpdate)},
    {SIP_MLNAME_CAST(sipName_resizeInlineObject), (PyCFunction)meth_QPlainTextDocumentLayout_resizeInlineObject, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QPlainTextDocumentLayout_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QPlainTextDocumentLayout_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCursorWidth), meth_QPlainTextDocumentLayout_setCursorWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextDocumentLayout_setCursorWidth)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QPlainTextDocumentLayout_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QPlainTextDocumentLayout, "\1QPlainTextDocumentLayout(QTextDocument)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QPlainTextDocumentLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPlainTextDocumentLayout,
        {0}
    },
    {
        sipNameNr_QPlainTextDocumentLayout,
        {0, 0, 1},
        24, methods_QPlainTextDocumentLayout,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPlainTextDocumentLayout,
    -1,
    -1,
    supers_QPlainTextDocumentLayout,
    0,
    init_type_QPlainTextDocumentLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPlainTextDocumentLayout,
    0,
    0,
    0,
    release_QPlainTextDocumentLayout,
    cast_QPlainTextDocumentLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QPlainTextDocumentLayout::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qplaintextedit.sip"
#include <qplaintextedit.h>
#line 175364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 175368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 175371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 175374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 46 "sip/QtGui/qabstracttextdocumentlayout.sip"
#include <qabstracttextdocumentlayout.h>
#line 175379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 175382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 129 "sip/QtGui/qtextobject.sip"
#include <qtextobject.h>
#line 175385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 175388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 175391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 175394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 175406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 175442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 175445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpagedpaintdevice.sip"
#include <qpagedpaintdevice.h>
#line 175448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 175451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 175454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 37 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtextedit.sip"
#include <qtextedit.h>
#line 175459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 175462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 175465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 40 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 175468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 175471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtextoption.sip"
#include <qtextoption.h>
#line 175474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 175477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 40 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 175483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 175486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 175489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 175495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 175498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 175501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 175504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 175507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 175510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 175513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 175516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 175519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 175525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 175534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 175537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 175540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 175543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 175546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 175549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 175552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 175555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 175558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 175561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 175576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 175579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 175582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 175585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 175588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 175591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 175597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 175600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 175603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 175606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 175609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 175612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 175615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 175618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 175621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 175624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 175627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 175630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 175633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQPlainTextEdit : public QPlainTextEdit
{
public:
    sipQPlainTextEdit(QWidget*);
    sipQPlainTextEdit(const QString&,QWidget*);
    virtual ~sipQPlainTextEdit();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QMimeData* sipProtectVirt_createMimeDataFromSelection(bool) const;
    bool sipProtectVirt_canInsertFromMimeData(bool,const QMimeData*) const;
    void sipProtectVirt_insertFromMimeData(bool,const QMimeData*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    QTextBlock sipProtect_firstVisibleBlock() const;
    QPointF sipProtect_contentOffset() const;
    QRectF sipProtect_blockBoundingRect(const QTextBlock&) const;
    QRectF sipProtect_blockBoundingGeometry(const QTextBlock&) const;
    QAbstractTextDocumentLayout::PaintContext sipProtect_getPaintContext() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    bool viewportEvent(QEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void scrollContentsBy(int,int);
    void insertFromMimeData(const QMimeData*);
    bool canInsertFromMimeData(const QMimeData*) const;
    QMimeData* createMimeDataFromSelection() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void wheelEvent(QWheelEvent*);
    void changeEvent(QEvent*);
    void showEvent(QShowEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    bool focusNextPrevChild(bool);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    QVariant loadResource(int,const QUrl&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQPlainTextEdit(const sipQPlainTextEdit &);
    sipQPlainTextEdit &operator = (const sipQPlainTextEdit &);

    char sipPyMethods[53];
};

sipQPlainTextEdit::sipQPlainTextEdit(QWidget*a0): QPlainTextEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPlainTextEdit::sipQPlainTextEdit(const QString& a0,QWidget*a1): QPlainTextEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPlainTextEdit::~sipQPlainTextEdit()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQPlainTextEdit::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPlainTextEdit);
}

int sipQPlainTextEdit::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QPlainTextEdit::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QPlainTextEdit,_c,_id,_a);

    return _id;
}

void *sipQPlainTextEdit::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QPlainTextEdit, _clname, &sipCpp) ? sipCpp : QPlainTextEdit::qt_metacast(_clname));
}

void sipQPlainTextEdit::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QPlainTextEdit::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QPlainTextEdit::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QPlainTextEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQPlainTextEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QPlainTextEdit::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQPlainTextEdit::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QPlainTextEdit::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQPlainTextEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QPlainTextEdit::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQPlainTextEdit::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QPlainTextEdit::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQPlainTextEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QPlainTextEdit::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQPlainTextEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QPlainTextEdit::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QPlainTextEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQPlainTextEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QPlainTextEdit::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQPlainTextEdit::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QPlainTextEdit::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQPlainTextEdit::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QPlainTextEdit::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQPlainTextEdit::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QPlainTextEdit::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQPlainTextEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QPlainTextEdit::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQPlainTextEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QPlainTextEdit::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQPlainTextEdit::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QPlainTextEdit::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQPlainTextEdit::insertFromMimeData(const QMimeData*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_insertFromMimeData);

    if (!sipMeth)
    {
        QPlainTextEdit::insertFromMimeData(a0);
        return;
    }

    extern void sipVH_QtWidgets_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    sipVH_QtWidgets_37(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQPlainTextEdit::canInsertFromMimeData(const QMimeData*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_canInsertFromMimeData);

    if (!sipMeth)
        return QPlainTextEdit::canInsertFromMimeData(a0);

    extern bool sipVH_QtWidgets_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*);

    return sipVH_QtWidgets_38(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QMimeData* sipQPlainTextEdit::createMimeDataFromSelection() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_createMimeDataFromSelection);

    if (!sipMeth)
        return QPlainTextEdit::createMimeDataFromSelection();

    extern QMimeData* sipVH_QtWidgets_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_39(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQPlainTextEdit::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QPlainTextEdit::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQPlainTextEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QPlainTextEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPlainTextEdit::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QPlainTextEdit::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQPlainTextEdit::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QPlainTextEdit::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQPlainTextEdit::loadResource(int a0,const QUrl& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_loadResource);

    if (!sipMeth)
        return QPlainTextEdit::loadResource(a0,a1);

    typedef QVariant (*sipVH_QtGui_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QUrl&);

    return ((sipVH_QtGui_20)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QObject* sipQPlainTextEdit::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQPlainTextEdit::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQPlainTextEdit::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPlainTextEdit::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPlainTextEdit::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQPlainTextEdit::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQPlainTextEdit::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQPlainTextEdit::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQPlainTextEdit::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQPlainTextEdit::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQPlainTextEdit::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQPlainTextEdit::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQPlainTextEdit::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQPlainTextEdit::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQPlainTextEdit::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQPlainTextEdit::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQPlainTextEdit::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQPlainTextEdit::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQPlainTextEdit::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

bool sipQPlainTextEdit::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractScrollArea::viewportEvent(a0) : viewportEvent(a0));
}

bool sipQPlainTextEdit::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQPlainTextEdit::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QPlainTextEdit::event(a0) : event(a0));
}

void sipQPlainTextEdit::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::timerEvent(a0) : timerEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::resizeEvent(a0) : resizeEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::paintEvent(a0) : paintEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

bool sipQPlainTextEdit::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QPlainTextEdit::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQPlainTextEdit::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::dropEvent(a0) : dropEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::focusInEvent(a0) : focusInEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::showEvent(a0) : showEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::changeEvent(a0) : changeEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::wheelEvent(a0) : wheelEvent(a0));
}

void sipQPlainTextEdit::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QMimeData* sipQPlainTextEdit::sipProtectVirt_createMimeDataFromSelection(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QPlainTextEdit::createMimeDataFromSelection() : createMimeDataFromSelection());
}

bool sipQPlainTextEdit::sipProtectVirt_canInsertFromMimeData(bool sipSelfWasArg,const QMimeData*a0) const
{
    return (sipSelfWasArg ? QPlainTextEdit::canInsertFromMimeData(a0) : canInsertFromMimeData(a0));
}

void sipQPlainTextEdit::sipProtectVirt_insertFromMimeData(bool sipSelfWasArg,const QMimeData*a0)
{
    (sipSelfWasArg ? QPlainTextEdit::insertFromMimeData(a0) : insertFromMimeData(a0));
}

void sipQPlainTextEdit::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QPlainTextEdit::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

QTextBlock sipQPlainTextEdit::sipProtect_firstVisibleBlock() const
{
    return QPlainTextEdit::firstVisibleBlock();
}

QPointF sipQPlainTextEdit::sipProtect_contentOffset() const
{
    return QPlainTextEdit::contentOffset();
}

QRectF sipQPlainTextEdit::sipProtect_blockBoundingRect(const QTextBlock& a0) const
{
    return QPlainTextEdit::blockBoundingRect(a0);
}

QRectF sipQPlainTextEdit::sipProtect_blockBoundingGeometry(const QTextBlock& a0) const
{
    return QPlainTextEdit::blockBoundingGeometry(a0);
}

QAbstractTextDocumentLayout::PaintContext sipQPlainTextEdit::sipProtect_getPaintContext() const
{
    return QPlainTextEdit::getPaintContext();
}


PyDoc_STRVAR(doc_QPlainTextEdit_sender, "QPlainTextEdit.sender() -> QObject");

extern "C" {static PyObject *meth_QPlainTextEdit_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 177062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_sender, doc_QPlainTextEdit_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_receivers, "QPlainTextEdit.receivers(signal) -> int");

extern "C" {static PyObject *meth_QPlainTextEdit_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 177121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_receivers, doc_QPlainTextEdit_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_childEvent, "QPlainTextEdit.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_childEvent, doc_QPlainTextEdit_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_customEvent, "QPlainTextEdit.customEvent(QEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_customEvent, doc_QPlainTextEdit_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_connectNotify, "QPlainTextEdit.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPlainTextEdit_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_connectNotify, doc_QPlainTextEdit_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_disconnectNotify, "QPlainTextEdit.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPlainTextEdit_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_disconnectNotify, doc_QPlainTextEdit_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_senderSignalIndex, "QPlainTextEdit.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QPlainTextEdit_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_senderSignalIndex, doc_QPlainTextEdit_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_isSignalConnected, "QPlainTextEdit.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_isSignalConnected, doc_QPlainTextEdit_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_enterEvent, "QPlainTextEdit.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_enterEvent, doc_QPlainTextEdit_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_leaveEvent, "QPlainTextEdit.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_leaveEvent, doc_QPlainTextEdit_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_moveEvent, "QPlainTextEdit.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_moveEvent, doc_QPlainTextEdit_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_closeEvent, "QPlainTextEdit.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_closeEvent, doc_QPlainTextEdit_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_tabletEvent, "QPlainTextEdit.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_tabletEvent, doc_QPlainTextEdit_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_actionEvent, "QPlainTextEdit.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_actionEvent, doc_QPlainTextEdit_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_hideEvent, "QPlainTextEdit.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_hideEvent, doc_QPlainTextEdit_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_metric, "QPlainTextEdit.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QPlainTextEdit_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_metric, doc_QPlainTextEdit_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_updateMicroFocus, "QPlainTextEdit.updateMicroFocus()");

extern "C" {static PyObject *meth_QPlainTextEdit_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_updateMicroFocus, doc_QPlainTextEdit_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_create, "QPlainTextEdit.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QPlainTextEdit_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQPlainTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_create, doc_QPlainTextEdit_create);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_destroy, "QPlainTextEdit.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QPlainTextEdit_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQPlainTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_destroy, doc_QPlainTextEdit_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_focusNextChild, "QPlainTextEdit.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_focusNextChild, doc_QPlainTextEdit_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_focusPreviousChild, "QPlainTextEdit.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_focusPreviousChild, doc_QPlainTextEdit_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_nativeEvent, "QPlainTextEdit.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QPlainTextEdit_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_nativeEvent, doc_QPlainTextEdit_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_sharedPainter, "QPlainTextEdit.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QPlainTextEdit_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_sharedPainter, doc_QPlainTextEdit_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_initPainter, "QPlainTextEdit.initPainter(QPainter)");

extern "C" {static PyObject *meth_QPlainTextEdit_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_initPainter, doc_QPlainTextEdit_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_drawFrame, "QPlainTextEdit.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QPlainTextEdit_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_drawFrame, doc_QPlainTextEdit_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setViewportMargins, "QPlainTextEdit.setViewportMargins(int, int, int, int)\n"
    "QPlainTextEdit.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QPlainTextEdit_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setViewportMargins, doc_QPlainTextEdit_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_viewportEvent, "QPlainTextEdit.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_viewportEvent, doc_QPlainTextEdit_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_eventFilter, "QPlainTextEdit.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_eventFilter, doc_QPlainTextEdit_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setDocument, "QPlainTextEdit.setDocument(QTextDocument)");

extern "C" {static PyObject *meth_QPlainTextEdit_setDocument(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setDocument(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextDocument* a0;
        PyObject *a0Keep;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0Keep, sipType_QTextDocument, &a0))
        {
            sipCpp->setDocument(a0);

            sipKeepReference(sipSelf, -40, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setDocument, doc_QPlainTextEdit_setDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_document, "QPlainTextEdit.document() -> QTextDocument");

extern "C" {static PyObject *meth_QPlainTextEdit_document(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_document(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QTextDocument*sipRes;

            sipRes = sipCpp->document();

            return sipConvertFromType(sipRes,sipType_QTextDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_document, doc_QPlainTextEdit_document);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setTextCursor, "QPlainTextEdit.setTextCursor(QTextCursor)");

extern "C" {static PyObject *meth_QPlainTextEdit_setTextCursor(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setTextCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCursor* a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTextCursor, &a0))
        {
            sipCpp->setTextCursor(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setTextCursor, doc_QPlainTextEdit_setTextCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_textCursor, "QPlainTextEdit.textCursor() -> QTextCursor");

extern "C" {static PyObject *meth_QPlainTextEdit_textCursor(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_textCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QTextCursor*sipRes;

            sipRes = new QTextCursor(sipCpp->textCursor());

            return sipConvertFromNewType(sipRes,sipType_QTextCursor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_textCursor, doc_QPlainTextEdit_textCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_isReadOnly, "QPlainTextEdit.isReadOnly() -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_isReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_isReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadOnly();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_isReadOnly, doc_QPlainTextEdit_isReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setReadOnly, "QPlainTextEdit.setReadOnly(bool)");

extern "C" {static PyObject *meth_QPlainTextEdit_setReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->setReadOnly(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setReadOnly, doc_QPlainTextEdit_setReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setTextInteractionFlags, "QPlainTextEdit.setTextInteractionFlags(Qt.TextInteractionFlags)");

extern "C" {static PyObject *meth_QPlainTextEdit_setTextInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setTextInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            sipCpp->setTextInteractionFlags(*a0);
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setTextInteractionFlags, doc_QPlainTextEdit_setTextInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_textInteractionFlags, "QPlainTextEdit.textInteractionFlags() -> Qt.TextInteractionFlags");

extern "C" {static PyObject *meth_QPlainTextEdit_textInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_textInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            Qt::TextInteractionFlags*sipRes;

            sipRes = new Qt::TextInteractionFlags(sipCpp->textInteractionFlags());

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_textInteractionFlags, doc_QPlainTextEdit_textInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_mergeCurrentCharFormat, "QPlainTextEdit.mergeCurrentCharFormat(QTextCharFormat)");

extern "C" {static PyObject *meth_QPlainTextEdit_mergeCurrentCharFormat(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_mergeCurrentCharFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCharFormat* a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTextCharFormat, &a0))
        {
            sipCpp->mergeCurrentCharFormat(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_mergeCurrentCharFormat, doc_QPlainTextEdit_mergeCurrentCharFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setCurrentCharFormat, "QPlainTextEdit.setCurrentCharFormat(QTextCharFormat)");

extern "C" {static PyObject *meth_QPlainTextEdit_setCurrentCharFormat(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setCurrentCharFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCharFormat* a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTextCharFormat, &a0))
        {
            sipCpp->setCurrentCharFormat(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setCurrentCharFormat, doc_QPlainTextEdit_setCurrentCharFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_currentCharFormat, "QPlainTextEdit.currentCharFormat() -> QTextCharFormat");

extern "C" {static PyObject *meth_QPlainTextEdit_currentCharFormat(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_currentCharFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QTextCharFormat*sipRes;

            sipRes = new QTextCharFormat(sipCpp->currentCharFormat());

            return sipConvertFromNewType(sipRes,sipType_QTextCharFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_currentCharFormat, doc_QPlainTextEdit_currentCharFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_tabChangesFocus, "QPlainTextEdit.tabChangesFocus() -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_tabChangesFocus(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_tabChangesFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tabChangesFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_tabChangesFocus, doc_QPlainTextEdit_tabChangesFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setTabChangesFocus, "QPlainTextEdit.setTabChangesFocus(bool)");

extern "C" {static PyObject *meth_QPlainTextEdit_setTabChangesFocus(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setTabChangesFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->setTabChangesFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setTabChangesFocus, doc_QPlainTextEdit_setTabChangesFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setDocumentTitle, "QPlainTextEdit.setDocumentTitle(str)");

extern "C" {static PyObject *meth_QPlainTextEdit_setDocumentTitle(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setDocumentTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDocumentTitle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setDocumentTitle, doc_QPlainTextEdit_setDocumentTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_documentTitle, "QPlainTextEdit.documentTitle() -> str");

extern "C" {static PyObject *meth_QPlainTextEdit_documentTitle(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_documentTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->documentTitle());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_documentTitle, doc_QPlainTextEdit_documentTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_isUndoRedoEnabled, "QPlainTextEdit.isUndoRedoEnabled() -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_isUndoRedoEnabled(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_isUndoRedoEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isUndoRedoEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_isUndoRedoEnabled, doc_QPlainTextEdit_isUndoRedoEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setUndoRedoEnabled, "QPlainTextEdit.setUndoRedoEnabled(bool)");

extern "C" {static PyObject *meth_QPlainTextEdit_setUndoRedoEnabled(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setUndoRedoEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->setUndoRedoEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setUndoRedoEnabled, doc_QPlainTextEdit_setUndoRedoEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setMaximumBlockCount, "QPlainTextEdit.setMaximumBlockCount(int)");

extern "C" {static PyObject *meth_QPlainTextEdit_setMaximumBlockCount(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setMaximumBlockCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->setMaximumBlockCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setMaximumBlockCount, doc_QPlainTextEdit_setMaximumBlockCount);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_maximumBlockCount, "QPlainTextEdit.maximumBlockCount() -> int");

extern "C" {static PyObject *meth_QPlainTextEdit_maximumBlockCount(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_maximumBlockCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maximumBlockCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_maximumBlockCount, doc_QPlainTextEdit_maximumBlockCount);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_lineWrapMode, "QPlainTextEdit.lineWrapMode() -> QPlainTextEdit.LineWrapMode");

extern "C" {static PyObject *meth_QPlainTextEdit_lineWrapMode(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_lineWrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QPlainTextEdit::LineWrapMode sipRes;

            sipRes = sipCpp->lineWrapMode();

            return sipConvertFromEnum(sipRes,sipType_QPlainTextEdit_LineWrapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_lineWrapMode, doc_QPlainTextEdit_lineWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setLineWrapMode, "QPlainTextEdit.setLineWrapMode(QPlainTextEdit.LineWrapMode)");

extern "C" {static PyObject *meth_QPlainTextEdit_setLineWrapMode(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setLineWrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit::LineWrapMode a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QPlainTextEdit_LineWrapMode, &a0))
        {
            sipCpp->setLineWrapMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setLineWrapMode, doc_QPlainTextEdit_setLineWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_wordWrapMode, "QPlainTextEdit.wordWrapMode() -> QTextOption.WrapMode");

extern "C" {static PyObject *meth_QPlainTextEdit_wordWrapMode(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_wordWrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QTextOption::WrapMode sipRes;

            sipRes = sipCpp->wordWrapMode();

            return sipConvertFromEnum(sipRes,sipType_QTextOption_WrapMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_wordWrapMode, doc_QPlainTextEdit_wordWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setWordWrapMode, "QPlainTextEdit.setWordWrapMode(QTextOption.WrapMode)");

extern "C" {static PyObject *meth_QPlainTextEdit_setWordWrapMode(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setWordWrapMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextOption::WrapMode a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTextOption_WrapMode, &a0))
        {
            sipCpp->setWordWrapMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setWordWrapMode, doc_QPlainTextEdit_setWordWrapMode);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setBackgroundVisible, "QPlainTextEdit.setBackgroundVisible(bool)");

extern "C" {static PyObject *meth_QPlainTextEdit_setBackgroundVisible(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setBackgroundVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->setBackgroundVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setBackgroundVisible, doc_QPlainTextEdit_setBackgroundVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_backgroundVisible, "QPlainTextEdit.backgroundVisible() -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_backgroundVisible(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_backgroundVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->backgroundVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_backgroundVisible, doc_QPlainTextEdit_backgroundVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setCenterOnScroll, "QPlainTextEdit.setCenterOnScroll(bool)");

extern "C" {static PyObject *meth_QPlainTextEdit_setCenterOnScroll(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setCenterOnScroll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->setCenterOnScroll(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setCenterOnScroll, doc_QPlainTextEdit_setCenterOnScroll);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_centerOnScroll, "QPlainTextEdit.centerOnScroll() -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_centerOnScroll(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_centerOnScroll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->centerOnScroll();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_centerOnScroll, doc_QPlainTextEdit_centerOnScroll);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_find, "QPlainTextEdit.find(str, QTextDocument.FindFlags options=0) -> bool\n"
    "QPlainTextEdit.find(QRegExp, QTextDocument.FindFlags options=0) -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_find(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_find(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QTextDocument::FindFlags a1def = 0;
        QTextDocument::FindFlags* a1 = &a1def;
        int a1State = 0;
        QPlainTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QString,&a0, &a0State, sipType_QTextDocument_FindFlags, &a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->find(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QTextDocument_FindFlags,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QRegExp* a0;
        QTextDocument::FindFlags a1def = 0;
        QTextDocument::FindFlags* a1 = &a1def;
        int a1State = 0;
        QPlainTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QRegExp, &a0, sipType_QTextDocument_FindFlags, &a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->find(*a0,*a1);
            sipReleaseType(a1,sipType_QTextDocument_FindFlags,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_find, doc_QPlainTextEdit_find);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_toPlainText, "QPlainTextEdit.toPlainText() -> str");

extern "C" {static PyObject *meth_QPlainTextEdit_toPlainText(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_toPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toPlainText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_toPlainText, doc_QPlainTextEdit_toPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_ensureCursorVisible, "QPlainTextEdit.ensureCursorVisible()");

extern "C" {static PyObject *meth_QPlainTextEdit_ensureCursorVisible(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_ensureCursorVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->ensureCursorVisible();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_ensureCursorVisible, doc_QPlainTextEdit_ensureCursorVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_loadResource, "QPlainTextEdit.loadResource(int, QUrl) -> QVariant");

extern "C" {static PyObject *meth_QPlainTextEdit_loadResource(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_loadResource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QUrl* a1;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0, sipType_QUrl, &a1))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QPlainTextEdit::loadResource(a0,*a1) : sipCpp->loadResource(a0,*a1)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_loadResource, doc_QPlainTextEdit_loadResource);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_createStandardContextMenu, "QPlainTextEdit.createStandardContextMenu() -> QMenu");

extern "C" {static PyObject *meth_QPlainTextEdit_createStandardContextMenu(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_createStandardContextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QMenu*sipRes;

            sipRes = sipCpp->createStandardContextMenu();

            return sipConvertFromNewType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_createStandardContextMenu, doc_QPlainTextEdit_createStandardContextMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_cursorForPosition, "QPlainTextEdit.cursorForPosition(QPoint) -> QTextCursor");

extern "C" {static PyObject *meth_QPlainTextEdit_cursorForPosition(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_cursorForPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QPoint, &a0))
        {
            QTextCursor*sipRes;

            sipRes = new QTextCursor(sipCpp->cursorForPosition(*a0));

            return sipConvertFromNewType(sipRes,sipType_QTextCursor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_cursorForPosition, doc_QPlainTextEdit_cursorForPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_cursorRect, "QPlainTextEdit.cursorRect(QTextCursor) -> QRect\n"
    "QPlainTextEdit.cursorRect() -> QRect");

extern "C" {static PyObject *meth_QPlainTextEdit_cursorRect(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_cursorRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCursor* a0;
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTextCursor, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->cursorRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->cursorRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_cursorRect, doc_QPlainTextEdit_cursorRect);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_overwriteMode, "QPlainTextEdit.overwriteMode() -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_overwriteMode(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_overwriteMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->overwriteMode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_overwriteMode, doc_QPlainTextEdit_overwriteMode);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setOverwriteMode, "QPlainTextEdit.setOverwriteMode(bool)");

extern "C" {static PyObject *meth_QPlainTextEdit_setOverwriteMode(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setOverwriteMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->setOverwriteMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setOverwriteMode, doc_QPlainTextEdit_setOverwriteMode);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_tabStopWidth, "QPlainTextEdit.tabStopWidth() -> int");

extern "C" {static PyObject *meth_QPlainTextEdit_tabStopWidth(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_tabStopWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->tabStopWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_tabStopWidth, doc_QPlainTextEdit_tabStopWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setTabStopWidth, "QPlainTextEdit.setTabStopWidth(int)");

extern "C" {static PyObject *meth_QPlainTextEdit_setTabStopWidth(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setTabStopWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->setTabStopWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setTabStopWidth, doc_QPlainTextEdit_setTabStopWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_cursorWidth, "QPlainTextEdit.cursorWidth() -> int");

extern "C" {static PyObject *meth_QPlainTextEdit_cursorWidth(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_cursorWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->cursorWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_cursorWidth, doc_QPlainTextEdit_cursorWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setCursorWidth, "QPlainTextEdit.setCursorWidth(int)");

extern "C" {static PyObject *meth_QPlainTextEdit_setCursorWidth(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setCursorWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->setCursorWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setCursorWidth, doc_QPlainTextEdit_setCursorWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setExtraSelections, "QPlainTextEdit.setExtraSelections(list-of-QTextEdit.ExtraSelection)");

extern "C" {static PyObject *meth_QPlainTextEdit_setExtraSelections(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setExtraSelections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QTextEdit::ExtraSelection>* a0;
        int a0State = 0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QList_0100QTextEdit_ExtraSelection,&a0, &a0State))
        {
            sipCpp->setExtraSelections(*a0);
            sipReleaseType(const_cast<QList<QTextEdit::ExtraSelection> *>(a0),sipType_QList_0100QTextEdit_ExtraSelection,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setExtraSelections, doc_QPlainTextEdit_setExtraSelections);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_extraSelections, "QPlainTextEdit.extraSelections() -> list-of-QTextEdit.ExtraSelection");

extern "C" {static PyObject *meth_QPlainTextEdit_extraSelections(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_extraSelections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QList<QTextEdit::ExtraSelection>*sipRes;

            sipRes = new QList<QTextEdit::ExtraSelection>(sipCpp->extraSelections());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QTextEdit_ExtraSelection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_extraSelections, doc_QPlainTextEdit_extraSelections);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_moveCursor, "QPlainTextEdit.moveCursor(QTextCursor.MoveOperation, QTextCursor.MoveMode mode=QTextCursor.MoveAnchor)");

extern "C" {static PyObject *meth_QPlainTextEdit_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QTextCursor::MoveOperation a0;
        QTextCursor::MoveMode a1 = QTextCursor::MoveAnchor;
        QPlainTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|E", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTextCursor_MoveOperation, &a0, sipType_QTextCursor_MoveMode, &a1))
        {
            sipCpp->moveCursor(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_moveCursor, doc_QPlainTextEdit_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_canPaste, "QPlainTextEdit.canPaste() -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_canPaste(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_canPaste(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->canPaste();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_canPaste, doc_QPlainTextEdit_canPaste);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_print_, "QPlainTextEdit.print_(QPagedPaintDevice)");

extern "C" {static PyObject *meth_QPlainTextEdit_print_(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_print_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPagedPaintDevice* a0;
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QPagedPaintDevice, &a0))
        {
            sipCpp->print(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_print_, doc_QPlainTextEdit_print_);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_blockCount, "QPlainTextEdit.blockCount() -> int");

extern "C" {static PyObject *meth_QPlainTextEdit_blockCount(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_blockCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->blockCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_blockCount, doc_QPlainTextEdit_blockCount);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setPlainText, "QPlainTextEdit.setPlainText(str)");

extern "C" {static PyObject *meth_QPlainTextEdit_setPlainText(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPlainText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setPlainText, doc_QPlainTextEdit_setPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_cut, "QPlainTextEdit.cut()");

extern "C" {static PyObject *meth_QPlainTextEdit_cut(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_cut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->cut();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_cut, doc_QPlainTextEdit_cut);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_copy, "QPlainTextEdit.copy()");

extern "C" {static PyObject *meth_QPlainTextEdit_copy(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_copy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->copy();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_copy, doc_QPlainTextEdit_copy);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_paste, "QPlainTextEdit.paste()");

extern "C" {static PyObject *meth_QPlainTextEdit_paste(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_paste(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->paste();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_paste, doc_QPlainTextEdit_paste);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_undo, "QPlainTextEdit.undo()");

extern "C" {static PyObject *meth_QPlainTextEdit_undo(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_undo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->undo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_undo, doc_QPlainTextEdit_undo);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_redo, "QPlainTextEdit.redo()");

extern "C" {static PyObject *meth_QPlainTextEdit_redo(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_redo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->redo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_redo, doc_QPlainTextEdit_redo);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_clear, "QPlainTextEdit.clear()");

extern "C" {static PyObject *meth_QPlainTextEdit_clear(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_clear, doc_QPlainTextEdit_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_selectAll, "QPlainTextEdit.selectAll()");

extern "C" {static PyObject *meth_QPlainTextEdit_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->selectAll();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_selectAll, doc_QPlainTextEdit_selectAll);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_insertPlainText, "QPlainTextEdit.insertPlainText(str)");

extern "C" {static PyObject *meth_QPlainTextEdit_insertPlainText(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_insertPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->insertPlainText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_insertPlainText, doc_QPlainTextEdit_insertPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_appendPlainText, "QPlainTextEdit.appendPlainText(str)");

extern "C" {static PyObject *meth_QPlainTextEdit_appendPlainText(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_appendPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->appendPlainText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_appendPlainText, doc_QPlainTextEdit_appendPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_appendHtml, "QPlainTextEdit.appendHtml(str)");

extern "C" {static PyObject *meth_QPlainTextEdit_appendHtml(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_appendHtml(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->appendHtml(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_appendHtml, doc_QPlainTextEdit_appendHtml);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_centerCursor, "QPlainTextEdit.centerCursor()");

extern "C" {static PyObject *meth_QPlainTextEdit_centerCursor(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_centerCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            sipCpp->centerCursor();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_centerCursor, doc_QPlainTextEdit_centerCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_event, "QPlainTextEdit.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_event, doc_QPlainTextEdit_event);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_timerEvent, "QPlainTextEdit.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_timerEvent, doc_QPlainTextEdit_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_keyPressEvent, "QPlainTextEdit.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_keyPressEvent, doc_QPlainTextEdit_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_keyReleaseEvent, "QPlainTextEdit.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_keyReleaseEvent, doc_QPlainTextEdit_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_resizeEvent, "QPlainTextEdit.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_resizeEvent, doc_QPlainTextEdit_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_paintEvent, "QPlainTextEdit.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_paintEvent, doc_QPlainTextEdit_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_mousePressEvent, "QPlainTextEdit.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_mousePressEvent, doc_QPlainTextEdit_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_mouseMoveEvent, "QPlainTextEdit.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_mouseMoveEvent, doc_QPlainTextEdit_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_mouseReleaseEvent, "QPlainTextEdit.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_mouseReleaseEvent, doc_QPlainTextEdit_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_mouseDoubleClickEvent, "QPlainTextEdit.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_mouseDoubleClickEvent, doc_QPlainTextEdit_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_focusNextPrevChild, "QPlainTextEdit.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_focusNextPrevChild, doc_QPlainTextEdit_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_contextMenuEvent, "QPlainTextEdit.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_contextMenuEvent, doc_QPlainTextEdit_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_dragEnterEvent, "QPlainTextEdit.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_dragEnterEvent, doc_QPlainTextEdit_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_dragLeaveEvent, "QPlainTextEdit.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_dragLeaveEvent, doc_QPlainTextEdit_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_dragMoveEvent, "QPlainTextEdit.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_dragMoveEvent, doc_QPlainTextEdit_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_dropEvent, "QPlainTextEdit.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_dropEvent, doc_QPlainTextEdit_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_focusInEvent, "QPlainTextEdit.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_focusInEvent, doc_QPlainTextEdit_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_focusOutEvent, "QPlainTextEdit.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_focusOutEvent, doc_QPlainTextEdit_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_showEvent, "QPlainTextEdit.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_showEvent, doc_QPlainTextEdit_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_changeEvent, "QPlainTextEdit.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_changeEvent, doc_QPlainTextEdit_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_wheelEvent, "QPlainTextEdit.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_wheelEvent, doc_QPlainTextEdit_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_inputMethodEvent, "QPlainTextEdit.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QPlainTextEdit_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_inputMethodEvent, doc_QPlainTextEdit_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_inputMethodQuery, "QPlainTextEdit.inputMethodQuery(Qt.InputMethodQuery) -> QVariant\n"
    "QPlainTextEdit.inputMethodQuery(Qt.InputMethodQuery, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QPlainTextEdit_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QPlainTextEdit::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    {
        Qt::InputMethodQuery a0;
        QVariant* a1;
        int a1State = 0;
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_Qt_InputMethodQuery, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->inputMethodQuery(a0,*a1));
            sipReleaseType(a1,sipType_QVariant,a1State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_inputMethodQuery, doc_QPlainTextEdit_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_createMimeDataFromSelection, "QPlainTextEdit.createMimeDataFromSelection() -> QMimeData");

extern "C" {static PyObject *meth_QPlainTextEdit_createMimeDataFromSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_createMimeDataFromSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QMimeData*sipRes;

            sipRes = sipCpp->sipProtectVirt_createMimeDataFromSelection(sipSelfWasArg);

            return sipConvertFromNewType(sipRes,sipType_QMimeData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_createMimeDataFromSelection, doc_QPlainTextEdit_createMimeDataFromSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_canInsertFromMimeData, "QPlainTextEdit.canInsertFromMimeData(QMimeData) -> bool");

extern "C" {static PyObject *meth_QPlainTextEdit_canInsertFromMimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_canInsertFromMimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMimeData, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_canInsertFromMimeData(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_canInsertFromMimeData, doc_QPlainTextEdit_canInsertFromMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_insertFromMimeData, "QPlainTextEdit.insertFromMimeData(QMimeData)");

extern "C" {static PyObject *meth_QPlainTextEdit_insertFromMimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_insertFromMimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMimeData* a0;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QMimeData, &a0))
        {
            sipCpp->sipProtectVirt_insertFromMimeData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_insertFromMimeData, doc_QPlainTextEdit_insertFromMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_scrollContentsBy, "QPlainTextEdit.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QPlainTextEdit_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_scrollContentsBy, doc_QPlainTextEdit_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_firstVisibleBlock, "QPlainTextEdit.firstVisibleBlock() -> QTextBlock");

extern "C" {static PyObject *meth_QPlainTextEdit_firstVisibleBlock(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_firstVisibleBlock(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QTextBlock*sipRes;

            sipRes = new QTextBlock(sipCpp->sipProtect_firstVisibleBlock());

            return sipConvertFromNewType(sipRes,sipType_QTextBlock,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_firstVisibleBlock, doc_QPlainTextEdit_firstVisibleBlock);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_contentOffset, "QPlainTextEdit.contentOffset() -> QPointF");

extern "C" {static PyObject *meth_QPlainTextEdit_contentOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_contentOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->sipProtect_contentOffset());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_contentOffset, doc_QPlainTextEdit_contentOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_blockBoundingRect, "QPlainTextEdit.blockBoundingRect(QTextBlock) -> QRectF");

extern "C" {static PyObject *meth_QPlainTextEdit_blockBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_blockBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBlock* a0;
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTextBlock, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sipProtect_blockBoundingRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_blockBoundingRect, doc_QPlainTextEdit_blockBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_blockBoundingGeometry, "QPlainTextEdit.blockBoundingGeometry(QTextBlock) -> QRectF");

extern "C" {static PyObject *meth_QPlainTextEdit_blockBoundingGeometry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_blockBoundingGeometry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextBlock* a0;
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QTextBlock, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sipProtect_blockBoundingGeometry(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_blockBoundingGeometry, doc_QPlainTextEdit_blockBoundingGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_getPaintContext, "QPlainTextEdit.getPaintContext() -> QAbstractTextDocumentLayout.PaintContext");

extern "C" {static PyObject *meth_QPlainTextEdit_getPaintContext(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_getPaintContext(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPlainTextEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QAbstractTextDocumentLayout::PaintContext*sipRes;

            sipRes = new QAbstractTextDocumentLayout::PaintContext(sipCpp->sipProtect_getPaintContext());

            return sipConvertFromNewType(sipRes,sipType_QAbstractTextDocumentLayout_PaintContext,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_getPaintContext, doc_QPlainTextEdit_getPaintContext);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_anchorAt, "QPlainTextEdit.anchorAt(QPoint) -> str");

extern "C" {static PyObject *meth_QPlainTextEdit_anchorAt(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_anchorAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QPoint, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->anchorAt(*a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_anchorAt, doc_QPlainTextEdit_anchorAt);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_zoomIn, "QPlainTextEdit.zoomIn(int range=1)");

extern "C" {static PyObject *meth_QPlainTextEdit_zoomIn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_zoomIn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        QPlainTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_range,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->zoomIn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_zoomIn, doc_QPlainTextEdit_zoomIn);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_zoomOut, "QPlainTextEdit.zoomOut(int range=1)");

extern "C" {static PyObject *meth_QPlainTextEdit_zoomOut(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_zoomOut(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        QPlainTextEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_range,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QPlainTextEdit, &sipCpp, &a0))
        {
            sipCpp->zoomOut(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_zoomOut, doc_QPlainTextEdit_zoomOut);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_setPlaceholderText, "QPlainTextEdit.setPlaceholderText(str)");

extern "C" {static PyObject *meth_QPlainTextEdit_setPlaceholderText(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_setPlaceholderText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPlainTextEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPlaceholderText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_setPlaceholderText, doc_QPlainTextEdit_setPlaceholderText);

    return NULL;
}


PyDoc_STRVAR(doc_QPlainTextEdit_placeholderText, "QPlainTextEdit.placeholderText() -> str");

extern "C" {static PyObject *meth_QPlainTextEdit_placeholderText(PyObject *, PyObject *);}
static PyObject *meth_QPlainTextEdit_placeholderText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPlainTextEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPlainTextEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->placeholderText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPlainTextEdit, sipName_placeholderText, doc_QPlainTextEdit_placeholderText);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QPlainTextEdit(void *, const sipTypeDef *);}
static void *cast_QPlainTextEdit(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QPlainTextEdit)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractScrollArea)->ctd_cast((QAbstractScrollArea *)(QPlainTextEdit *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPlainTextEdit(void *, int);}
static void release_QPlainTextEdit(void *sipCppV,int)
{
    QPlainTextEdit *sipCpp = reinterpret_cast<QPlainTextEdit *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QPlainTextEdit(sipSimpleWrapper *);}
static void dealloc_QPlainTextEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQPlainTextEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QPlainTextEdit(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QPlainTextEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPlainTextEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQPlainTextEdit *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQPlainTextEdit(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQPlainTextEdit(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPlainTextEdit[] = {{15, 255, 1}};


static PyMethodDef methods_QPlainTextEdit[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QPlainTextEdit_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_anchorAt), meth_QPlainTextEdit_anchorAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_anchorAt)},
    {SIP_MLNAME_CAST(sipName_appendHtml), meth_QPlainTextEdit_appendHtml, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_appendHtml)},
    {SIP_MLNAME_CAST(sipName_appendPlainText), meth_QPlainTextEdit_appendPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_appendPlainText)},
    {SIP_MLNAME_CAST(sipName_backgroundVisible), meth_QPlainTextEdit_backgroundVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_backgroundVisible)},
    {SIP_MLNAME_CAST(sipName_blockBoundingGeometry), (PyCFunction)meth_QPlainTextEdit_blockBoundingGeometry, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_blockBoundingGeometry)},
    {SIP_MLNAME_CAST(sipName_blockBoundingRect), (PyCFunction)meth_QPlainTextEdit_blockBoundingRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_blockBoundingRect)},
    {SIP_MLNAME_CAST(sipName_blockCount), meth_QPlainTextEdit_blockCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_blockCount)},
    {SIP_MLNAME_CAST(sipName_canInsertFromMimeData), (PyCFunction)meth_QPlainTextEdit_canInsertFromMimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_canInsertFromMimeData)},
    {SIP_MLNAME_CAST(sipName_canPaste), meth_QPlainTextEdit_canPaste, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_canPaste)},
    {SIP_MLNAME_CAST(sipName_centerCursor), meth_QPlainTextEdit_centerCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_centerCursor)},
    {SIP_MLNAME_CAST(sipName_centerOnScroll), meth_QPlainTextEdit_centerOnScroll, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_centerOnScroll)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QPlainTextEdit_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QPlainTextEdit_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QPlainTextEdit_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QPlainTextEdit_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QPlainTextEdit_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contentOffset), (PyCFunction)meth_QPlainTextEdit_contentOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_contentOffset)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QPlainTextEdit_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_copy), meth_QPlainTextEdit_copy, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_copy)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QPlainTextEdit_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createMimeDataFromSelection), (PyCFunction)meth_QPlainTextEdit_createMimeDataFromSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_createMimeDataFromSelection)},
    {SIP_MLNAME_CAST(sipName_createStandardContextMenu), meth_QPlainTextEdit_createStandardContextMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_createStandardContextMenu)},
    {SIP_MLNAME_CAST(sipName_currentCharFormat), meth_QPlainTextEdit_currentCharFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_currentCharFormat)},
    {SIP_MLNAME_CAST(sipName_cursorForPosition), meth_QPlainTextEdit_cursorForPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_cursorForPosition)},
    {SIP_MLNAME_CAST(sipName_cursorRect), meth_QPlainTextEdit_cursorRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_cursorRect)},
    {SIP_MLNAME_CAST(sipName_cursorWidth), meth_QPlainTextEdit_cursorWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_cursorWidth)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QPlainTextEdit_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cut), meth_QPlainTextEdit_cut, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_cut)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QPlainTextEdit_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QPlainTextEdit_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_document), meth_QPlainTextEdit_document, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_document)},
    {SIP_MLNAME_CAST(sipName_documentTitle), meth_QPlainTextEdit_documentTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_documentTitle)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QPlainTextEdit_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QPlainTextEdit_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QPlainTextEdit_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QPlainTextEdit_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QPlainTextEdit_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_dropEvent)},
    {SIP_MLNAME_CAST(sipName_ensureCursorVisible), meth_QPlainTextEdit_ensureCursorVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_ensureCursorVisible)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QPlainTextEdit_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QPlainTextEdit_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QPlainTextEdit_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_extraSelections), meth_QPlainTextEdit_extraSelections, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_extraSelections)},
    {SIP_MLNAME_CAST(sipName_find), (PyCFunction)meth_QPlainTextEdit_find, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_find)},
    {SIP_MLNAME_CAST(sipName_firstVisibleBlock), (PyCFunction)meth_QPlainTextEdit_firstVisibleBlock, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_firstVisibleBlock)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QPlainTextEdit_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QPlainTextEdit_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QPlainTextEdit_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QPlainTextEdit_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QPlainTextEdit_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_getPaintContext), (PyCFunction)meth_QPlainTextEdit_getPaintContext, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_getPaintContext)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QPlainTextEdit_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QPlainTextEdit_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QPlainTextEdit_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QPlainTextEdit_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_insertFromMimeData), (PyCFunction)meth_QPlainTextEdit_insertFromMimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_insertFromMimeData)},
    {SIP_MLNAME_CAST(sipName_insertPlainText), meth_QPlainTextEdit_insertPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_insertPlainText)},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_QPlainTextEdit_isReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_isReadOnly)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QPlainTextEdit_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isUndoRedoEnabled), meth_QPlainTextEdit_isUndoRedoEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_isUndoRedoEnabled)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QPlainTextEdit_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QPlainTextEdit_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QPlainTextEdit_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineWrapMode), meth_QPlainTextEdit_lineWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_lineWrapMode)},
    {SIP_MLNAME_CAST(sipName_loadResource), meth_QPlainTextEdit_loadResource, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_loadResource)},
    {SIP_MLNAME_CAST(sipName_maximumBlockCount), meth_QPlainTextEdit_maximumBlockCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_maximumBlockCount)},
    {SIP_MLNAME_CAST(sipName_mergeCurrentCharFormat), meth_QPlainTextEdit_mergeCurrentCharFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_mergeCurrentCharFormat)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QPlainTextEdit_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QPlainTextEdit_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QPlainTextEdit_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QPlainTextEdit_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QPlainTextEdit_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QPlainTextEdit_moveCursor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_moveCursor)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QPlainTextEdit_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QPlainTextEdit_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_overwriteMode), meth_QPlainTextEdit_overwriteMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_overwriteMode)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QPlainTextEdit_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_paintEvent)},
    {SIP_MLNAME_CAST(sipName_paste), meth_QPlainTextEdit_paste, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_paste)},
    {SIP_MLNAME_CAST(sipName_placeholderText), meth_QPlainTextEdit_placeholderText, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_placeholderText)},
    {SIP_MLNAME_CAST(sipName_print_), meth_QPlainTextEdit_print_, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_print_)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QPlainTextEdit_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_redo), meth_QPlainTextEdit_redo, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_redo)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QPlainTextEdit_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QPlainTextEdit_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_QPlainTextEdit_selectAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_selectAll)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QPlainTextEdit_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QPlainTextEdit_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBackgroundVisible), meth_QPlainTextEdit_setBackgroundVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setBackgroundVisible)},
    {SIP_MLNAME_CAST(sipName_setCenterOnScroll), meth_QPlainTextEdit_setCenterOnScroll, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setCenterOnScroll)},
    {SIP_MLNAME_CAST(sipName_setCurrentCharFormat), meth_QPlainTextEdit_setCurrentCharFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setCurrentCharFormat)},
    {SIP_MLNAME_CAST(sipName_setCursorWidth), meth_QPlainTextEdit_setCursorWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setCursorWidth)},
    {SIP_MLNAME_CAST(sipName_setDocument), meth_QPlainTextEdit_setDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setDocument)},
    {SIP_MLNAME_CAST(sipName_setDocumentTitle), meth_QPlainTextEdit_setDocumentTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setDocumentTitle)},
    {SIP_MLNAME_CAST(sipName_setExtraSelections), meth_QPlainTextEdit_setExtraSelections, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setExtraSelections)},
    {SIP_MLNAME_CAST(sipName_setLineWrapMode), meth_QPlainTextEdit_setLineWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setLineWrapMode)},
    {SIP_MLNAME_CAST(sipName_setMaximumBlockCount), meth_QPlainTextEdit_setMaximumBlockCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setMaximumBlockCount)},
    {SIP_MLNAME_CAST(sipName_setOverwriteMode), meth_QPlainTextEdit_setOverwriteMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setOverwriteMode)},
    {SIP_MLNAME_CAST(sipName_setPlaceholderText), meth_QPlainTextEdit_setPlaceholderText, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setPlaceholderText)},
    {SIP_MLNAME_CAST(sipName_setPlainText), meth_QPlainTextEdit_setPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setPlainText)},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_QPlainTextEdit_setReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setReadOnly)},
    {SIP_MLNAME_CAST(sipName_setTabChangesFocus), meth_QPlainTextEdit_setTabChangesFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setTabChangesFocus)},
    {SIP_MLNAME_CAST(sipName_setTabStopWidth), meth_QPlainTextEdit_setTabStopWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setTabStopWidth)},
    {SIP_MLNAME_CAST(sipName_setTextCursor), meth_QPlainTextEdit_setTextCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setTextCursor)},
    {SIP_MLNAME_CAST(sipName_setTextInteractionFlags), meth_QPlainTextEdit_setTextInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setTextInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_setUndoRedoEnabled), meth_QPlainTextEdit_setUndoRedoEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setUndoRedoEnabled)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QPlainTextEdit_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setWordWrapMode), meth_QPlainTextEdit_setWordWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_setWordWrapMode)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QPlainTextEdit_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QPlainTextEdit_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_showEvent)},
    {SIP_MLNAME_CAST(sipName_tabChangesFocus), meth_QPlainTextEdit_tabChangesFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_tabChangesFocus)},
    {SIP_MLNAME_CAST(sipName_tabStopWidth), meth_QPlainTextEdit_tabStopWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_tabStopWidth)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QPlainTextEdit_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textCursor), meth_QPlainTextEdit_textCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_textCursor)},
    {SIP_MLNAME_CAST(sipName_textInteractionFlags), meth_QPlainTextEdit_textInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_textInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QPlainTextEdit_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_timerEvent)},
    {SIP_MLNAME_CAST(sipName_toPlainText), meth_QPlainTextEdit_toPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_toPlainText)},
    {SIP_MLNAME_CAST(sipName_undo), meth_QPlainTextEdit_undo, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_undo)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QPlainTextEdit_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QPlainTextEdit_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QPlainTextEdit_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_wheelEvent)},
    {SIP_MLNAME_CAST(sipName_wordWrapMode), meth_QPlainTextEdit_wordWrapMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QPlainTextEdit_wordWrapMode)},
    {SIP_MLNAME_CAST(sipName_zoomIn), (PyCFunction)meth_QPlainTextEdit_zoomIn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_zoomIn)},
    {SIP_MLNAME_CAST(sipName_zoomOut), (PyCFunction)meth_QPlainTextEdit_zoomOut, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPlainTextEdit_zoomOut)}
};

static sipEnumMemberDef enummembers_QPlainTextEdit[] = {
    {sipName_NoWrap, static_cast<int>(QPlainTextEdit::NoWrap), 247},
    {sipName_WidgetWidth, static_cast<int>(QPlainTextEdit::WidgetWidth), 247},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QPlainTextEdit[] = {
    {"modificationChanged(bool)", "\1QPlainTextEdit.modificationChanged[bool]", 0, 0},
    {"blockCountChanged(int)", "\1QPlainTextEdit.blockCountChanged[int]", 0, 0},
    {"updateRequest(QRect,int)", "\1QPlainTextEdit.updateRequest[QRect, int]", 0, 0},
    {"cursorPositionChanged()", "\1QPlainTextEdit.cursorPositionChanged", 0, 0},
    {"selectionChanged()", "\1QPlainTextEdit.selectionChanged", 0, 0},
    {"copyAvailable(bool)", "\1QPlainTextEdit.copyAvailable[bool]", 0, 0},
    {"redoAvailable(bool)", "\1QPlainTextEdit.redoAvailable[bool]", 0, 0},
    {"undoAvailable(bool)", "\1QPlainTextEdit.undoAvailable[bool]", 0, 0},
    {"textChanged()", "\1QPlainTextEdit.textChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QPlainTextEdit, "\1QPlainTextEdit(QWidget parent=None)\n"
    "QPlainTextEdit(str, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QPlainTextEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPlainTextEdit,
        {0}
    },
    {
        sipNameNr_QPlainTextEdit,
        {0, 0, 1},
        123, methods_QPlainTextEdit,
        2, enummembers_QPlainTextEdit,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPlainTextEdit,
    -1,
    -1,
    supers_QPlainTextEdit,
    0,
    init_type_QPlainTextEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPlainTextEdit,
    0,
    0,
    0,
    release_QPlainTextEdit,
    cast_QPlainTextEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QPlainTextEdit::staticMetaObject,
    0,
    signals_QPlainTextEdit,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qopenglwidget.sip"
#include <qopenglwidget.h>
#line 180901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 180905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 180908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 180911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 180914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 180917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 180920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 180923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qimage.sip"
#include <qimage.h>
#line 180926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 50 "sip/QtGui/qopenglcontext.sip"
#include <qopenglcontext.h>
#line 180929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qsurfaceformat.sip"
#include <qsurfaceformat.h>
#line 180932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 180935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 180938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 180941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 180944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 180947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 180950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 180953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 180956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 180959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 180962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 180965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 180968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 180971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 180974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 180977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 180980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 180983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 180986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 180989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 180992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 180995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 180998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 181001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 181049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 181052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 181055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 181058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 181061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 181067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 181070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 181073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 181076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 181079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 181082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 181085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 181088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 181091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 181094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 181097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 181100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 181103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 181106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 181109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 181112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQOpenGLWidget : public QOpenGLWidget
{
public:
    sipQOpenGLWidget(QWidget*,Qt::WindowFlags);
    virtual ~sipQOpenGLWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_initializeGL(bool);
    void sipProtectVirt_resizeGL(bool,int,int);
    void sipProtectVirt_paintGL(bool);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    QPaintEngine* sipProtectVirt_paintEngine(bool) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    QPaintEngine* paintEngine() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    bool event(QEvent*);
    void resizeEvent(QResizeEvent*);
    void paintEvent(QPaintEvent*);
    void paintGL();
    void resizeGL(int,int);
    void initializeGL();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQOpenGLWidget(const sipQOpenGLWidget &);
    sipQOpenGLWidget &operator = (const sipQOpenGLWidget &);

    char sipPyMethods[49];
};

sipQOpenGLWidget::sipQOpenGLWidget(QWidget*a0,Qt::WindowFlags a1): QOpenGLWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQOpenGLWidget::~sipQOpenGLWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQOpenGLWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QOpenGLWidget);
}

int sipQOpenGLWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QOpenGLWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QOpenGLWidget,_c,_id,_a);

    return _id;
}

void *sipQOpenGLWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QOpenGLWidget, _clname, &sipCpp) ? sipCpp : QOpenGLWidget::qt_metacast(_clname));
}

void sipQOpenGLWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QOpenGLWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QOpenGLWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQOpenGLWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QOpenGLWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQOpenGLWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QOpenGLWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQOpenGLWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QOpenGLWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQOpenGLWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QOpenGLWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQOpenGLWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QOpenGLWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQOpenGLWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QOpenGLWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQOpenGLWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QOpenGLWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQOpenGLWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QOpenGLWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQOpenGLWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QOpenGLWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQOpenGLWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QOpenGLWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQOpenGLWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QOpenGLWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQOpenGLWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QOpenGLWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPaintEngine* sipQOpenGLWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QOpenGLWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQOpenGLWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QOpenGLWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQOpenGLWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QOpenGLWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QOpenGLWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQOpenGLWidget::paintGL()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_paintGL);

    if (!sipMeth)
    {
        QOpenGLWidget::paintGL();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQOpenGLWidget::resizeGL(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_resizeGL);

    if (!sipMeth)
    {
        QOpenGLWidget::resizeGL(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQOpenGLWidget::initializeGL()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_initializeGL);

    if (!sipMeth)
    {
        QOpenGLWidget::initializeGL();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQOpenGLWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQOpenGLWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQOpenGLWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQOpenGLWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQOpenGLWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQOpenGLWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQOpenGLWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQOpenGLWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQOpenGLWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQOpenGLWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQOpenGLWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQOpenGLWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQOpenGLWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQOpenGLWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQOpenGLWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQOpenGLWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQOpenGLWidget::sipProtectVirt_initializeGL(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QOpenGLWidget::initializeGL() : initializeGL());
}

void sipQOpenGLWidget::sipProtectVirt_resizeGL(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QOpenGLWidget::resizeGL(a0,a1) : resizeGL(a0,a1));
}

void sipQOpenGLWidget::sipProtectVirt_paintGL(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QOpenGLWidget::paintGL() : paintGL());
}

void sipQOpenGLWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QOpenGLWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQOpenGLWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QOpenGLWidget::resizeEvent(a0) : resizeEvent(a0));
}

bool sipQOpenGLWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QOpenGLWidget::event(a0) : event(a0));
}

int sipQOpenGLWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QOpenGLWidget::metric(a0) : metric(a0));
}

QPaintEngine* sipQOpenGLWidget::sipProtectVirt_paintEngine(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QOpenGLWidget::paintEngine() : paintEngine());
}


PyDoc_STRVAR(doc_QOpenGLWidget_sender, "QOpenGLWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QOpenGLWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 182411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_sender, doc_QOpenGLWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_receivers, "QOpenGLWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QOpenGLWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QOpenGLWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 182470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_receivers, doc_QOpenGLWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_timerEvent, "QOpenGLWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_timerEvent, doc_QOpenGLWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_childEvent, "QOpenGLWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_childEvent, doc_QOpenGLWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_customEvent, "QOpenGLWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_customEvent, doc_QOpenGLWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_connectNotify, "QOpenGLWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QOpenGLWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_connectNotify, doc_QOpenGLWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_disconnectNotify, "QOpenGLWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QOpenGLWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_disconnectNotify, doc_QOpenGLWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_senderSignalIndex, "QOpenGLWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QOpenGLWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_senderSignalIndex, doc_QOpenGLWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_isSignalConnected, "QOpenGLWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QOpenGLWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_isSignalConnected, doc_QOpenGLWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_mousePressEvent, "QOpenGLWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_mousePressEvent, doc_QOpenGLWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_mouseReleaseEvent, "QOpenGLWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_mouseReleaseEvent, doc_QOpenGLWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_mouseDoubleClickEvent, "QOpenGLWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_mouseDoubleClickEvent, doc_QOpenGLWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_mouseMoveEvent, "QOpenGLWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_mouseMoveEvent, doc_QOpenGLWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_wheelEvent, "QOpenGLWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_wheelEvent, doc_QOpenGLWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_keyPressEvent, "QOpenGLWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_keyPressEvent, doc_QOpenGLWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_keyReleaseEvent, "QOpenGLWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_keyReleaseEvent, doc_QOpenGLWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_focusInEvent, "QOpenGLWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_focusInEvent, doc_QOpenGLWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_focusOutEvent, "QOpenGLWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_focusOutEvent, doc_QOpenGLWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_enterEvent, "QOpenGLWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_enterEvent, doc_QOpenGLWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_leaveEvent, "QOpenGLWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_leaveEvent, doc_QOpenGLWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_moveEvent, "QOpenGLWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_moveEvent, doc_QOpenGLWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_closeEvent, "QOpenGLWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_closeEvent, doc_QOpenGLWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_contextMenuEvent, "QOpenGLWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_contextMenuEvent, doc_QOpenGLWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_tabletEvent, "QOpenGLWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_tabletEvent, doc_QOpenGLWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_actionEvent, "QOpenGLWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_actionEvent, doc_QOpenGLWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_dragEnterEvent, "QOpenGLWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_dragEnterEvent, doc_QOpenGLWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_dragMoveEvent, "QOpenGLWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_dragMoveEvent, doc_QOpenGLWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_dragLeaveEvent, "QOpenGLWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_dragLeaveEvent, doc_QOpenGLWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_dropEvent, "QOpenGLWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_dropEvent, doc_QOpenGLWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_showEvent, "QOpenGLWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_showEvent, doc_QOpenGLWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_hideEvent, "QOpenGLWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_hideEvent, doc_QOpenGLWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_changeEvent, "QOpenGLWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_changeEvent, doc_QOpenGLWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_inputMethodEvent, "QOpenGLWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_inputMethodEvent, doc_QOpenGLWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_updateMicroFocus, "QOpenGLWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QOpenGLWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_updateMicroFocus, doc_QOpenGLWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_create, "QOpenGLWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QOpenGLWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQOpenGLWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_create, doc_QOpenGLWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_destroy, "QOpenGLWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QOpenGLWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQOpenGLWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QOpenGLWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_destroy, doc_QOpenGLWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_focusNextPrevChild, "QOpenGLWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QOpenGLWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QOpenGLWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_focusNextPrevChild, doc_QOpenGLWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_focusNextChild, "QOpenGLWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QOpenGLWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_focusNextChild, doc_QOpenGLWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_focusPreviousChild, "QOpenGLWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QOpenGLWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_focusPreviousChild, doc_QOpenGLWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_nativeEvent, "QOpenGLWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QOpenGLWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_nativeEvent, doc_QOpenGLWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_sharedPainter, "QOpenGLWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QOpenGLWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_sharedPainter, doc_QOpenGLWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_initPainter, "QOpenGLWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QOpenGLWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_initPainter, doc_QOpenGLWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_setFormat, "QOpenGLWidget.setFormat(QSurfaceFormat)");

extern "C" {static PyObject *meth_QOpenGLWidget_setFormat(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_setFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSurfaceFormat* a0;
        QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QSurfaceFormat, &a0))
        {
            sipCpp->setFormat(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_setFormat, doc_QOpenGLWidget_setFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_format, "QOpenGLWidget.format() -> QSurfaceFormat");

extern "C" {static PyObject *meth_QOpenGLWidget_format(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_format(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            QSurfaceFormat*sipRes;

            sipRes = new QSurfaceFormat(sipCpp->format());

            return sipConvertFromNewType(sipRes,sipType_QSurfaceFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_format, doc_QOpenGLWidget_format);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_isValid, "QOpenGLWidget.isValid() -> bool");

extern "C" {static PyObject *meth_QOpenGLWidget_isValid(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_isValid(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_isValid, doc_QOpenGLWidget_isValid);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_makeCurrent, "QOpenGLWidget.makeCurrent()");

extern "C" {static PyObject *meth_QOpenGLWidget_makeCurrent(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_makeCurrent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            sipCpp->makeCurrent();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_makeCurrent, doc_QOpenGLWidget_makeCurrent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_doneCurrent, "QOpenGLWidget.doneCurrent()");

extern "C" {static PyObject *meth_QOpenGLWidget_doneCurrent(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_doneCurrent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            sipCpp->doneCurrent();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_doneCurrent, doc_QOpenGLWidget_doneCurrent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_context, "QOpenGLWidget.context() -> QOpenGLContext");

extern "C" {static PyObject *meth_QOpenGLWidget_context(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_context(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            QOpenGLContext*sipRes;

            sipRes = sipCpp->context();

            return sipConvertFromType(sipRes,sipType_QOpenGLContext,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_context, doc_QOpenGLWidget_context);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_defaultFramebufferObject, "QOpenGLWidget.defaultFramebufferObject() -> int");

extern "C" {static PyObject *meth_QOpenGLWidget_defaultFramebufferObject(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_defaultFramebufferObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            GLuint sipRes;

            sipRes = sipCpp->defaultFramebufferObject();

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_defaultFramebufferObject, doc_QOpenGLWidget_defaultFramebufferObject);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_grabFramebuffer, "QOpenGLWidget.grabFramebuffer() -> QImage");

extern "C" {static PyObject *meth_QOpenGLWidget_grabFramebuffer(PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_grabFramebuffer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QOpenGLWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            QImage*sipRes;

            sipRes = new QImage(sipCpp->grabFramebuffer());

            return sipConvertFromNewType(sipRes,sipType_QImage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_grabFramebuffer, doc_QOpenGLWidget_grabFramebuffer);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_initializeGL, "QOpenGLWidget.initializeGL()");

extern "C" {static PyObject *meth_QOpenGLWidget_initializeGL(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_initializeGL(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_initializeGL(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_initializeGL, doc_QOpenGLWidget_initializeGL);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_resizeGL, "QOpenGLWidget.resizeGL(int, int)");

extern "C" {static PyObject *meth_QOpenGLWidget_resizeGL(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_resizeGL(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QOpenGLWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_resizeGL(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_resizeGL, doc_QOpenGLWidget_resizeGL);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_paintGL, "QOpenGLWidget.paintGL()");

extern "C" {static PyObject *meth_QOpenGLWidget_paintGL(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_paintGL(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_paintGL(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_paintGL, doc_QOpenGLWidget_paintGL);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_paintEvent, "QOpenGLWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_paintEvent, doc_QOpenGLWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_resizeEvent, "QOpenGLWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QOpenGLWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_resizeEvent, doc_QOpenGLWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_event, "QOpenGLWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QOpenGLWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_event, doc_QOpenGLWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_metric, "QOpenGLWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QOpenGLWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QOpenGLWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_metric, doc_QOpenGLWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QOpenGLWidget_paintEngine, "QOpenGLWidget.paintEngine() -> QPaintEngine");

extern "C" {static PyObject *meth_QOpenGLWidget_paintEngine(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QOpenGLWidget_paintEngine(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQOpenGLWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QOpenGLWidget, &sipCpp))
        {
            QPaintEngine*sipRes;

            sipRes = sipCpp->sipProtectVirt_paintEngine(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPaintEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QOpenGLWidget, sipName_paintEngine, doc_QOpenGLWidget_paintEngine);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QOpenGLWidget(void *, const sipTypeDef *);}
static void *cast_QOpenGLWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QOpenGLWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QOpenGLWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QOpenGLWidget(void *, int);}
static void release_QOpenGLWidget(void *sipCppV,int)
{
    QOpenGLWidget *sipCpp = reinterpret_cast<QOpenGLWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QOpenGLWidget(sipSimpleWrapper *);}
static void dealloc_QOpenGLWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQOpenGLWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QOpenGLWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QOpenGLWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QOpenGLWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQOpenGLWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQOpenGLWidget(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QOpenGLWidget[] = {{454, 255, 1}};


static PyMethodDef methods_QOpenGLWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QOpenGLWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QOpenGLWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QOpenGLWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QOpenGLWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QOpenGLWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_context), meth_QOpenGLWidget_context, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_context)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QOpenGLWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QOpenGLWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QOpenGLWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultFramebufferObject), meth_QOpenGLWidget_defaultFramebufferObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_defaultFramebufferObject)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QOpenGLWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QOpenGLWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_doneCurrent), meth_QOpenGLWidget_doneCurrent, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_doneCurrent)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QOpenGLWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QOpenGLWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QOpenGLWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QOpenGLWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QOpenGLWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QOpenGLWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QOpenGLWidget_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QOpenGLWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QOpenGLWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QOpenGLWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QOpenGLWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QOpenGLWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_format), meth_QOpenGLWidget_format, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_format)},
    {SIP_MLNAME_CAST(sipName_grabFramebuffer), meth_QOpenGLWidget_grabFramebuffer, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_grabFramebuffer)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QOpenGLWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QOpenGLWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initializeGL), (PyCFunction)meth_QOpenGLWidget_initializeGL, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QOpenGLWidget_initializeGL)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QOpenGLWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QOpenGLWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QOpenGLWidget_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_isValid)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QOpenGLWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QOpenGLWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QOpenGLWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_makeCurrent), meth_QOpenGLWidget_makeCurrent, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_makeCurrent)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QOpenGLWidget_metric, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QOpenGLWidget_metric)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QOpenGLWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QOpenGLWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QOpenGLWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QOpenGLWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QOpenGLWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QOpenGLWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEngine), (PyCFunction)meth_QOpenGLWidget_paintEngine, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QOpenGLWidget_paintEngine)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QOpenGLWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QOpenGLWidget_paintEvent)},
    {SIP_MLNAME_CAST(sipName_paintGL), (PyCFunction)meth_QOpenGLWidget_paintGL, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QOpenGLWidget_paintGL)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QOpenGLWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QOpenGLWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QOpenGLWidget_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_resizeGL), (PyCFunction)meth_QOpenGLWidget_resizeGL, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QOpenGLWidget_resizeGL)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QOpenGLWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QOpenGLWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFormat), meth_QOpenGLWidget_setFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QOpenGLWidget_setFormat)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QOpenGLWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QOpenGLWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QOpenGLWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QOpenGLWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QOpenGLWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QOpenGLWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QOpenGLWidget[] = {
    {"resized()", "\1QOpenGLWidget.resized", 0, 0},
    {"aboutToResize()", "\1QOpenGLWidget.aboutToResize", 0, 0},
    {"frameSwapped()", "\1QOpenGLWidget.frameSwapped", 0, 0},
    {"aboutToCompose()", "\1QOpenGLWidget.aboutToCompose", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QOpenGLWidget, "\1QOpenGLWidget(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QOpenGLWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QOpenGLWidget,
        {0}
    },
    {
        sipNameNr_QOpenGLWidget,
        {0, 0, 1},
        58, methods_QOpenGLWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QOpenGLWidget,
    -1,
    -1,
    supers_QOpenGLWidget,
    0,
    init_type_QOpenGLWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QOpenGLWidget,
    0,
    0,
    0,
    release_QOpenGLWidget,
    cast_QOpenGLWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QOpenGLWidget::staticMetaObject,
    0,
    signals_QOpenGLWidget,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmouseeventtransition.sip"
#include <qmouseeventtransition.h>
#line 184274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qstate.sip"
#include <qstate.h>
#line 184278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 184281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 184284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 184287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 184290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 184293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 184296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 184299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 184302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 184305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 184308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 184311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 184314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 184317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 184320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 184323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 184326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 184329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 184332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 184335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 184338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 184341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 184344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 184347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQMouseEventTransition : public QMouseEventTransition
{
public:
    sipQMouseEventTransition(QState*);
    sipQMouseEventTransition(QObject*,QEvent::Type,Qt::MouseButton,QState*);
    virtual ~sipQMouseEventTransition();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_onTransition(bool,QEvent*);
    bool sipProtectVirt_eventTest(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool eventTest(QEvent*);
    void onTransition(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMouseEventTransition(const sipQMouseEventTransition &);
    sipQMouseEventTransition &operator = (const sipQMouseEventTransition &);

    char sipPyMethods[9];
};

sipQMouseEventTransition::sipQMouseEventTransition(QState*a0): QMouseEventTransition(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMouseEventTransition::sipQMouseEventTransition(QObject*a0,QEvent::Type a1,Qt::MouseButton a2,QState*a3): QMouseEventTransition(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMouseEventTransition::~sipQMouseEventTransition()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMouseEventTransition::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMouseEventTransition);
}

int sipQMouseEventTransition::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QMouseEventTransition::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QMouseEventTransition,_c,_id,_a);

    return _id;
}

void *sipQMouseEventTransition::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QMouseEventTransition, _clname, &sipCpp) ? sipCpp : QMouseEventTransition::qt_metacast(_clname));
}

void sipQMouseEventTransition::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QMouseEventTransition::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMouseEventTransition::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QMouseEventTransition::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMouseEventTransition::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QMouseEventTransition::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMouseEventTransition::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QMouseEventTransition::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMouseEventTransition::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QMouseEventTransition::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMouseEventTransition::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QMouseEventTransition::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQMouseEventTransition::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QMouseEventTransition::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMouseEventTransition::eventTest(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventTest);

    if (!sipMeth)
        return QMouseEventTransition::eventTest(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMouseEventTransition::onTransition(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_onTransition);

    if (!sipMeth)
    {
        QMouseEventTransition::onTransition(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQMouseEventTransition::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQMouseEventTransition::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQMouseEventTransition::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMouseEventTransition::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQMouseEventTransition::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQMouseEventTransition::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMouseEventTransition::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMouseEventTransition::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQMouseEventTransition::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQMouseEventTransition::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QEventTransition::event(a0) : event(a0));
}

void sipQMouseEventTransition::sipProtectVirt_onTransition(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QMouseEventTransition::onTransition(a0) : onTransition(a0));
}

bool sipQMouseEventTransition::sipProtectVirt_eventTest(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QMouseEventTransition::eventTest(a0) : eventTest(a0));
}


PyDoc_STRVAR(doc_QMouseEventTransition_sender, "QMouseEventTransition.sender() -> QObject");

extern "C" {static PyObject *meth_QMouseEventTransition_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMouseEventTransition, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 184694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_sender, doc_QMouseEventTransition_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_receivers, "QMouseEventTransition.receivers(signal) -> int");

extern "C" {static PyObject *meth_QMouseEventTransition_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMouseEventTransition, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 184753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_receivers, doc_QMouseEventTransition_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_timerEvent, "QMouseEventTransition.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QMouseEventTransition_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_timerEvent, doc_QMouseEventTransition_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_childEvent, "QMouseEventTransition.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QMouseEventTransition_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_childEvent, doc_QMouseEventTransition_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_customEvent, "QMouseEventTransition.customEvent(QEvent)");

extern "C" {static PyObject *meth_QMouseEventTransition_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_customEvent, doc_QMouseEventTransition_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_connectNotify, "QMouseEventTransition.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMouseEventTransition_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_connectNotify, doc_QMouseEventTransition_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_disconnectNotify, "QMouseEventTransition.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMouseEventTransition_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_disconnectNotify, doc_QMouseEventTransition_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_senderSignalIndex, "QMouseEventTransition.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QMouseEventTransition_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMouseEventTransition, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_senderSignalIndex, doc_QMouseEventTransition_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_isSignalConnected, "QMouseEventTransition.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMouseEventTransition_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_isSignalConnected, doc_QMouseEventTransition_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_event, "QMouseEventTransition.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QMouseEventTransition_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_event, doc_QMouseEventTransition_event);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_button, "QMouseEventTransition.button() -> Qt.MouseButton");

extern "C" {static PyObject *meth_QMouseEventTransition_button(PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_button(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMouseEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMouseEventTransition, &sipCpp))
        {
            Qt::MouseButton sipRes;

            sipRes = sipCpp->button();

            return sipConvertFromEnum(sipRes,sipType_Qt_MouseButton);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_button, doc_QMouseEventTransition_button);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_setButton, "QMouseEventTransition.setButton(Qt.MouseButton)");

extern "C" {static PyObject *meth_QMouseEventTransition_setButton(PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_setButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MouseButton a0;
        QMouseEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_Qt_MouseButton, &a0))
        {
            sipCpp->setButton(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_setButton, doc_QMouseEventTransition_setButton);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_modifierMask, "QMouseEventTransition.modifierMask() -> Qt.KeyboardModifiers");

extern "C" {static PyObject *meth_QMouseEventTransition_modifierMask(PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_modifierMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMouseEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMouseEventTransition, &sipCpp))
        {
            Qt::KeyboardModifiers*sipRes;

            sipRes = new Qt::KeyboardModifiers(sipCpp->modifierMask());

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_modifierMask, doc_QMouseEventTransition_modifierMask);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_setModifierMask, "QMouseEventTransition.setModifierMask(Qt.KeyboardModifiers)");

extern "C" {static PyObject *meth_QMouseEventTransition_setModifierMask(PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_setModifierMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::KeyboardModifiers* a0;
        int a0State = 0;
        QMouseEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_Qt_KeyboardModifiers, &a0, &a0State))
        {
            sipCpp->setModifierMask(*a0);
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_setModifierMask, doc_QMouseEventTransition_setModifierMask);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_hitTestPath, "QMouseEventTransition.hitTestPath() -> QPainterPath");

extern "C" {static PyObject *meth_QMouseEventTransition_hitTestPath(PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_hitTestPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMouseEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMouseEventTransition, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->hitTestPath());

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_hitTestPath, doc_QMouseEventTransition_hitTestPath);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_setHitTestPath, "QMouseEventTransition.setHitTestPath(QPainterPath)");

extern "C" {static PyObject *meth_QMouseEventTransition_setHitTestPath(PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_setHitTestPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPainterPath* a0;
        QMouseEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QPainterPath, &a0))
        {
            sipCpp->setHitTestPath(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_setHitTestPath, doc_QMouseEventTransition_setHitTestPath);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_onTransition, "QMouseEventTransition.onTransition(QEvent)");

extern "C" {static PyObject *meth_QMouseEventTransition_onTransition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_onTransition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onTransition(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_onTransition, doc_QMouseEventTransition_onTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QMouseEventTransition_eventTest, "QMouseEventTransition.eventTest(QEvent) -> bool");

extern "C" {static PyObject *meth_QMouseEventTransition_eventTest(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMouseEventTransition_eventTest(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMouseEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMouseEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventTest(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMouseEventTransition, sipName_eventTest, doc_QMouseEventTransition_eventTest);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMouseEventTransition(void *, const sipTypeDef *);}
static void *cast_QMouseEventTransition(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QMouseEventTransition)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QEventTransition)->ctd_cast((QEventTransition *)(QMouseEventTransition *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMouseEventTransition(void *, int);}
static void release_QMouseEventTransition(void *sipCppV,int)
{
    QMouseEventTransition *sipCpp = reinterpret_cast<QMouseEventTransition *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMouseEventTransition(sipSimpleWrapper *);}
static void dealloc_QMouseEventTransition(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQMouseEventTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QMouseEventTransition(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QMouseEventTransition(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMouseEventTransition(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMouseEventTransition *sipCpp = 0;

    {
        QState* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QState, &a0, sipOwner))
        {
            sipCpp = new sipQMouseEventTransition(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject* a0;
        PyObject *a0Keep;
        QEvent::Type a1;
        Qt::MouseButton a2;
        QState* a3 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "@J8EE|JH", &a0Keep, sipType_QObject, &a0, sipType_QEvent_Type, &a1, sipType_Qt_MouseButton, &a2, sipType_QState, &a3, sipOwner))
        {
            sipCpp = new sipQMouseEventTransition(a0,a1,a2,a3);

            sipKeepReference((PyObject *)sipSelf, 10, a0Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMouseEventTransition[] = {{59, 0, 1}};


static PyMethodDef methods_QMouseEventTransition[] = {
    {SIP_MLNAME_CAST(sipName_button), meth_QMouseEventTransition_button, METH_VARARGS, SIP_MLDOC_CAST(doc_QMouseEventTransition_button)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMouseEventTransition_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMouseEventTransition_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMouseEventTransition_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMouseEventTransition_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QMouseEventTransition_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventTest), (PyCFunction)meth_QMouseEventTransition_eventTest, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMouseEventTransition_eventTest)},
    {SIP_MLNAME_CAST(sipName_hitTestPath), meth_QMouseEventTransition_hitTestPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QMouseEventTransition_hitTestPath)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMouseEventTransition_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_modifierMask), meth_QMouseEventTransition_modifierMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QMouseEventTransition_modifierMask)},
    {SIP_MLNAME_CAST(sipName_onTransition), (PyCFunction)meth_QMouseEventTransition_onTransition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMouseEventTransition_onTransition)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMouseEventTransition_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMouseEventTransition_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMouseEventTransition_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setButton), meth_QMouseEventTransition_setButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QMouseEventTransition_setButton)},
    {SIP_MLNAME_CAST(sipName_setHitTestPath), meth_QMouseEventTransition_setHitTestPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QMouseEventTransition_setHitTestPath)},
    {SIP_MLNAME_CAST(sipName_setModifierMask), meth_QMouseEventTransition_setModifierMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QMouseEventTransition_setModifierMask)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMouseEventTransition_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QMouseEventTransition, "\1QMouseEventTransition(QState sourceState=None)\n"
    "QMouseEventTransition(QObject, QEvent.Type, Qt.MouseButton, QState sourceState=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMouseEventTransition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMouseEventTransition,
        {0}
    },
    {
        sipNameNr_QMouseEventTransition,
        {0, 0, 1},
        18, methods_QMouseEventTransition,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMouseEventTransition,
    -1,
    -1,
    supers_QMouseEventTransition,
    0,
    init_type_QMouseEventTransition,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMouseEventTransition,
    0,
    0,
    0,
    release_QMouseEventTransition,
    cast_QMouseEventTransition,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QMouseEventTransition::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 185399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 185403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QMessageBox_StandardButtons___bool__(PyObject *);}
static int slot_QMessageBox_StandardButtons___bool__(PyObject *sipSelf)
{
    QMessageBox::StandardButtons *sipCpp = reinterpret_cast<QMessageBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMessageBox_StandardButtons));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMessageBox::StandardButtons::Int() != 0);
#line 185421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QMessageBox::StandardButtons *sipCpp = reinterpret_cast<QMessageBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMessageBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QMessageBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMessageBox_StandardButtons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMessageBox::StandardButtons::Int() != a0->operator QMessageBox::StandardButtons::Int());
#line 185451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QMessageBox::StandardButtons *>(a0),sipType_QMessageBox_StandardButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QMessageBox_StandardButtons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QMessageBox::StandardButtons *sipCpp = reinterpret_cast<QMessageBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMessageBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QMessageBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMessageBox_StandardButtons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMessageBox::StandardButtons::Int() == a0->operator QMessageBox::StandardButtons::Int());
#line 185487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QMessageBox::StandardButtons *>(a0),sipType_QMessageBox_StandardButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QMessageBox_StandardButtons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___invert__(PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___invert__(PyObject *sipSelf)
{
    QMessageBox::StandardButtons *sipCpp = reinterpret_cast<QMessageBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMessageBox_StandardButtons));

    if (!sipCpp)
        return 0;


    {
        {
            QMessageBox::StandardButtons*sipRes;

            sipRes = new QMessageBox::StandardButtons(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMessageBox_StandardButtons,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___and__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMessageBox::StandardButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMessageBox_StandardButtons, &a0, &a0State, &a1))
        {
            QMessageBox::StandardButtons*sipRes;

            sipRes = new QMessageBox::StandardButtons((*a0 & a1));
            sipReleaseType(a0,sipType_QMessageBox_StandardButtons,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMessageBox_StandardButtons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMessageBox::StandardButtons* a0;
        int a0State = 0;
        QMessageBox::StandardButtons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QMessageBox_StandardButtons, &a0, &a0State, sipType_QMessageBox_StandardButtons, &a1, &a1State))
        {
            QMessageBox::StandardButtons*sipRes;

            sipRes = new QMessageBox::StandardButtons((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QMessageBox_StandardButtons,a0State);
            sipReleaseType(a1,sipType_QMessageBox_StandardButtons,a1State);

            return sipConvertFromNewType(sipRes,sipType_QMessageBox_StandardButtons,NULL);
        }
    }

    {
        QMessageBox::StandardButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMessageBox_StandardButtons, &a0, &a0State, &a1))
        {
            QMessageBox::StandardButtons*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QMessageBox::StandardButtons(*a0 ^ a1);
#line 185590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QMessageBox_StandardButtons,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMessageBox_StandardButtons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___or__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMessageBox::StandardButtons* a0;
        int a0State = 0;
        QMessageBox::StandardButtons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QMessageBox_StandardButtons, &a0, &a0State, sipType_QMessageBox_StandardButtons, &a1, &a1State))
        {
            QMessageBox::StandardButtons*sipRes;

            sipRes = new QMessageBox::StandardButtons((*a0 | *a1));
            sipReleaseType(a0,sipType_QMessageBox_StandardButtons,a0State);
            sipReleaseType(a1,sipType_QMessageBox_StandardButtons,a1State);

            return sipConvertFromNewType(sipRes,sipType_QMessageBox_StandardButtons,NULL);
        }
    }

    {
        QMessageBox::StandardButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMessageBox_StandardButtons, &a0, &a0State, &a1))
        {
            QMessageBox::StandardButtons*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QMessageBox::StandardButtons(*a0 | a1);
#line 185640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QMessageBox_StandardButtons,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMessageBox_StandardButtons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___int__(PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___int__(PyObject *sipSelf)
{
    QMessageBox::StandardButtons *sipCpp = reinterpret_cast<QMessageBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMessageBox_StandardButtons));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMessageBox_StandardButtons___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMessageBox_StandardButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMessageBox::StandardButtons *sipCpp = reinterpret_cast<QMessageBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMessageBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QMessageBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMessageBox_StandardButtons, &a0, &a0State))
        {
            sipCpp->QMessageBox::StandardButtons::operator^=(*a0);
            sipReleaseType(a0,sipType_QMessageBox_StandardButtons,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_QMessageBox_StandardButtons___ior__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMessageBox_StandardButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMessageBox::StandardButtons *sipCpp = reinterpret_cast<QMessageBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMessageBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QMessageBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMessageBox_StandardButtons, &a0, &a0State))
        {
            sipCpp->QMessageBox::StandardButtons::operator|=(*a0);
            sipReleaseType(a0,sipType_QMessageBox_StandardButtons,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_QMessageBox_StandardButtons___iand__(PyObject *,PyObject *);}
static PyObject *slot_QMessageBox_StandardButtons___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMessageBox_StandardButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMessageBox::StandardButtons *sipCpp = reinterpret_cast<QMessageBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMessageBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QMessageBox::StandardButtons::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMessageBox_StandardButtons(void *, const sipTypeDef *);}
static void *cast_QMessageBox_StandardButtons(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QMessageBox_StandardButtons)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMessageBox_StandardButtons(void *, int);}
static void release_QMessageBox_StandardButtons(void *sipCppV,int)
{
    delete reinterpret_cast<QMessageBox::StandardButtons *>(sipCppV);
}


extern "C" {static void assign_QMessageBox_StandardButtons(void *, SIP_SSIZE_T, const void *);}
static void assign_QMessageBox_StandardButtons(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QMessageBox::StandardButtons *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QMessageBox::StandardButtons *>(sipSrc);
}


extern "C" {static void *array_QMessageBox_StandardButtons(SIP_SSIZE_T);}
static void *array_QMessageBox_StandardButtons(SIP_SSIZE_T sipNrElem)
{
    return new QMessageBox::StandardButtons[sipNrElem];
}


extern "C" {static void *copy_QMessageBox_StandardButtons(const void *, SIP_SSIZE_T);}
static void *copy_QMessageBox_StandardButtons(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QMessageBox::StandardButtons(reinterpret_cast<const QMessageBox::StandardButtons *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMessageBox_StandardButtons(sipSimpleWrapper *);}
static void dealloc_QMessageBox_StandardButtons(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QMessageBox_StandardButtons(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QMessageBox_StandardButtons(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMessageBox_StandardButtons(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QMessageBox::StandardButtons *sipCpp = 0;

    {
        const QMessageBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QMessageBox_StandardButtons, &a0, &a0State))
        {
            sipCpp = new QMessageBox::StandardButtons(*a0);
            sipReleaseType(const_cast<QMessageBox::StandardButtons *>(a0),sipType_QMessageBox_StandardButtons,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QMessageBox::StandardButtons(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QMessageBox::StandardButtons();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QMessageBox_StandardButtons(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMessageBox_StandardButtons(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QMessageBox::StandardButtons **sipCppPtr = reinterpret_cast<QMessageBox::StandardButtons **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QMessageBox::StandardButtons is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMessageBox_StandardButton)) ||
            sipCanConvertToType(sipPy, sipType_QMessageBox_StandardButtons, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMessageBox_StandardButton)))
{
    *sipCppPtr = new QMessageBox::StandardButtons(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QMessageBox::StandardButtons *>(sipConvertToType(sipPy, sipType_QMessageBox_StandardButtons, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 185917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMessageBox_StandardButtons[] = {
    {(void *)slot_QMessageBox_StandardButtons___bool__, bool_slot},
    {(void *)slot_QMessageBox_StandardButtons___ne__, ne_slot},
    {(void *)slot_QMessageBox_StandardButtons___eq__, eq_slot},
    {(void *)slot_QMessageBox_StandardButtons___invert__, invert_slot},
    {(void *)slot_QMessageBox_StandardButtons___and__, and_slot},
    {(void *)slot_QMessageBox_StandardButtons___xor__, xor_slot},
    {(void *)slot_QMessageBox_StandardButtons___or__, or_slot},
    {(void *)slot_QMessageBox_StandardButtons___int__, int_slot},
    {(void *)slot_QMessageBox_StandardButtons___ixor__, ixor_slot},
    {(void *)slot_QMessageBox_StandardButtons___ior__, ior_slot},
    {(void *)slot_QMessageBox_StandardButtons___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMessageBox_StandardButtons, "\1QMessageBox.StandardButtons(QMessageBox.StandardButtons)\n"
    "QMessageBox.StandardButtons(int)\n"
    "QMessageBox.StandardButtons()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMessageBox_StandardButtons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMessageBox__StandardButtons,
        {0}
    },
    {
        sipNameNr_StandardButtons,
        {234, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMessageBox_StandardButtons,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMessageBox_StandardButtons,
    init_type_QMessageBox_StandardButtons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMessageBox_StandardButtons,
    assign_QMessageBox_StandardButtons,
    array_QMessageBox_StandardButtons,
    copy_QMessageBox_StandardButtons,
    release_QMessageBox_StandardButtons,
    cast_QMessageBox_StandardButtons,
    convertTo_QMessageBox_StandardButtons,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 185999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 186003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 186006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmessagebox.sip"
#include <qmessagebox.h>
#line 186009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcheckbox.sip"
#include <qcheckbox.h>
#line 186015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 186021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 186024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qpushbutton.sip"
#include <qpushbutton.h>
#line 186030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 186033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 186048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 186051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 186057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 186060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 186063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 186066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 186069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 186072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 186078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 186084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 186087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 186090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 186093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 186096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 186099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 186102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 186105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 186108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 186111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 186114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 186117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 186156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 186159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 186162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 186165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 186168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 186171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 186177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 186180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 186183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 186186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 186189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 186192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 186195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 186198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 186201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 186204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 186207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 186210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 186213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 186216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 186219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQMessageBox : public QMessageBox
{
public:
    sipQMessageBox(QWidget*);
    sipQMessageBox(QMessageBox::Icon,const QString&,const QString&,QMessageBox::StandardButtons,QWidget*,Qt::WindowFlags);
    virtual ~sipQMessageBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void reject();
    void accept();
    void done(int);
    int exec();
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    void open();
    void changeEvent(QEvent*);
    void keyPressEvent(QKeyEvent*);
    void closeEvent(QCloseEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QResizeEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMessageBox(const sipQMessageBox &);
    sipQMessageBox &operator = (const sipQMessageBox &);

    char sipPyMethods[51];
};

sipQMessageBox::sipQMessageBox(QWidget*a0): QMessageBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMessageBox::sipQMessageBox(QMessageBox::Icon a0,const QString& a1,const QString& a2,QMessageBox::StandardButtons a3,QWidget*a4,Qt::WindowFlags a5): QMessageBox(a0,a1,a2,a3,a4,a5), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMessageBox::~sipQMessageBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMessageBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMessageBox);
}

int sipQMessageBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QMessageBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QMessageBox,_c,_id,_a);

    return _id;
}

void *sipQMessageBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QMessageBox, _clname, &sipCpp) ? sipCpp : QMessageBox::qt_metacast(_clname));
}

void sipQMessageBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QMessageBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QMessageBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QMessageBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QMessageBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QMessageBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QMessageBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQMessageBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QMessageBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMessageBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QMessageBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQMessageBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QMessageBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMessageBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QMessageBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQMessageBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QMessageBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QMessageBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMessageBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QMessageBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QMessageBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QMessageBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QMessageBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QMessageBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QMessageBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QMessageBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QMessageBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QMessageBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QMessageBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QMessageBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QMessageBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QMessageBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QMessageBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QMessageBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QMessageBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QMessageBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QMessageBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QMessageBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QMessageBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQMessageBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QMessageBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQMessageBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QMessageBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMessageBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QMessageBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMessageBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QMessageBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQMessageBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QMessageBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QMessageBox::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQMessageBox::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QMessageBox::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQMessageBox::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QMessageBox::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMessageBox::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return QMessageBox::exec();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQMessageBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QMessageBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQMessageBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QMessageBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQMessageBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QMessageBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        QMessageBox::open();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQMessageBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QMessageBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QMessageBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QMessageBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QMessageBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMessageBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QMessageBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMessageBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QMessageBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQMessageBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQMessageBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQMessageBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMessageBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQMessageBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQMessageBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMessageBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMessageBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQMessageBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQMessageBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQMessageBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQMessageBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQMessageBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQMessageBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQMessageBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQMessageBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQMessageBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQMessageBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQMessageBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQMessageBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQMessageBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQMessageBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQMessageBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQMessageBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQMessageBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQMessageBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQMessageBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQMessageBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQMessageBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQMessageBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQMessageBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQMessageBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQMessageBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQMessageBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQMessageBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQMessageBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQMessageBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQMessageBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQMessageBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQMessageBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQMessageBox::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQMessageBox::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QMessageBox::event(a0) : event(a0));
}

void sipQMessageBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QMessageBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQMessageBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QMessageBox::showEvent(a0) : showEvent(a0));
}

void sipQMessageBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QMessageBox::closeEvent(a0) : closeEvent(a0));
}

void sipQMessageBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QMessageBox::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQMessageBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QMessageBox::changeEvent(a0) : changeEvent(a0));
}


PyDoc_STRVAR(doc_QMessageBox_sender, "QMessageBox.sender() -> QObject");

extern "C" {static PyObject *meth_QMessageBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 187541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_sender, doc_QMessageBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_receivers, "QMessageBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QMessageBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMessageBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 187600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_receivers, doc_QMessageBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_timerEvent, "QMessageBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QMessageBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_timerEvent, doc_QMessageBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_childEvent, "QMessageBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QMessageBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_childEvent, doc_QMessageBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_customEvent, "QMessageBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QMessageBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_customEvent, doc_QMessageBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_connectNotify, "QMessageBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMessageBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_connectNotify, doc_QMessageBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_disconnectNotify, "QMessageBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMessageBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_disconnectNotify, doc_QMessageBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_senderSignalIndex, "QMessageBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QMessageBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_senderSignalIndex, doc_QMessageBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_isSignalConnected, "QMessageBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMessageBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_isSignalConnected, doc_QMessageBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_mousePressEvent, "QMessageBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMessageBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_mousePressEvent, doc_QMessageBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_mouseReleaseEvent, "QMessageBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMessageBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_mouseReleaseEvent, doc_QMessageBox_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_mouseDoubleClickEvent, "QMessageBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMessageBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_mouseDoubleClickEvent, doc_QMessageBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_mouseMoveEvent, "QMessageBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMessageBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_mouseMoveEvent, doc_QMessageBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_wheelEvent, "QMessageBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QMessageBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_wheelEvent, doc_QMessageBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_keyReleaseEvent, "QMessageBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMessageBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_keyReleaseEvent, doc_QMessageBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_focusInEvent, "QMessageBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMessageBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_focusInEvent, doc_QMessageBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_focusOutEvent, "QMessageBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMessageBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_focusOutEvent, doc_QMessageBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_enterEvent, "QMessageBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QMessageBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_enterEvent, doc_QMessageBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_leaveEvent, "QMessageBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QMessageBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_leaveEvent, doc_QMessageBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_paintEvent, "QMessageBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QMessageBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_paintEvent, doc_QMessageBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_moveEvent, "QMessageBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QMessageBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_moveEvent, doc_QMessageBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_tabletEvent, "QMessageBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QMessageBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_tabletEvent, doc_QMessageBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_actionEvent, "QMessageBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QMessageBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_actionEvent, doc_QMessageBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_dragEnterEvent, "QMessageBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QMessageBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_dragEnterEvent, doc_QMessageBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_dragMoveEvent, "QMessageBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QMessageBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_dragMoveEvent, doc_QMessageBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_dragLeaveEvent, "QMessageBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QMessageBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_dragLeaveEvent, doc_QMessageBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_dropEvent, "QMessageBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QMessageBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_dropEvent, doc_QMessageBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_hideEvent, "QMessageBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QMessageBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_hideEvent, doc_QMessageBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_metric, "QMessageBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QMessageBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_metric, doc_QMessageBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_inputMethodEvent, "QMessageBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QMessageBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_inputMethodEvent, doc_QMessageBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_updateMicroFocus, "QMessageBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QMessageBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_updateMicroFocus, doc_QMessageBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_create, "QMessageBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QMessageBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQMessageBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_create, doc_QMessageBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_destroy, "QMessageBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QMessageBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQMessageBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QMessageBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_destroy, doc_QMessageBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_focusNextPrevChild, "QMessageBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QMessageBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QMessageBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_focusNextPrevChild, doc_QMessageBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_focusNextChild, "QMessageBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QMessageBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_focusNextChild, doc_QMessageBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_focusPreviousChild, "QMessageBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QMessageBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_focusPreviousChild, doc_QMessageBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_nativeEvent, "QMessageBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QMessageBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_nativeEvent, doc_QMessageBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_sharedPainter, "QMessageBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QMessageBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_sharedPainter, doc_QMessageBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_initPainter, "QMessageBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QMessageBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_initPainter, doc_QMessageBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_contextMenuEvent, "QMessageBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QMessageBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_contextMenuEvent, doc_QMessageBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_eventFilter, "QMessageBox.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QMessageBox_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_eventFilter, doc_QMessageBox_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_text, "QMessageBox.text() -> str");

extern "C" {static PyObject *meth_QMessageBox_text(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_text, doc_QMessageBox_text);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setText, "QMessageBox.setText(str)");

extern "C" {static PyObject *meth_QMessageBox_setText(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setText, doc_QMessageBox_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_icon, "QMessageBox.icon() -> QMessageBox.Icon");

extern "C" {static PyObject *meth_QMessageBox_icon(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QMessageBox::Icon sipRes;

            sipRes = sipCpp->icon();

            return sipConvertFromEnum(sipRes,sipType_QMessageBox_Icon);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_icon, doc_QMessageBox_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setIcon, "QMessageBox.setIcon(QMessageBox.Icon)");

extern "C" {static PyObject *meth_QMessageBox_setIcon(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMessageBox::Icon a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMessageBox_Icon, &a0))
        {
            sipCpp->setIcon(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setIcon, doc_QMessageBox_setIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_iconPixmap, "QMessageBox.iconPixmap() -> QPixmap");

extern "C" {static PyObject *meth_QMessageBox_iconPixmap(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_iconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QPixmap*sipRes;

            sipRes = new QPixmap(sipCpp->iconPixmap());

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_iconPixmap, doc_QMessageBox_iconPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setIconPixmap, "QMessageBox.setIconPixmap(QPixmap)");

extern "C" {static PyObject *meth_QMessageBox_setIconPixmap(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setIconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QPixmap, &a0))
        {
            sipCpp->setIconPixmap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setIconPixmap, doc_QMessageBox_setIconPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_textFormat, "QMessageBox.textFormat() -> Qt.TextFormat");

extern "C" {static PyObject *meth_QMessageBox_textFormat(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_textFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            Qt::TextFormat sipRes;

            sipRes = sipCpp->textFormat();

            return sipConvertFromEnum(sipRes,sipType_Qt_TextFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_textFormat, doc_QMessageBox_textFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setTextFormat, "QMessageBox.setTextFormat(Qt.TextFormat)");

extern "C" {static PyObject *meth_QMessageBox_setTextFormat(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setTextFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextFormat a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_Qt_TextFormat, &a0))
        {
            sipCpp->setTextFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setTextFormat, doc_QMessageBox_setTextFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_information, "QMessageBox.information(QWidget, str, str, QMessageBox.StandardButtons buttons=QMessageBox.Ok, QMessageBox.StandardButton defaultButton=QMessageBox.NoButton) -> QMessageBox.StandardButton");

extern "C" {static PyObject *meth_QMessageBox_information(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_information(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QMessageBox::StandardButtons a3def = QMessageBox::Ok;
        QMessageBox::StandardButtons* a3 = &a3def;
        int a3State = 0;
        QMessageBox::StandardButton a4 = QMessageBox::NoButton;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_buttons,
            sipName_defaultButton,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J1J1|J1E", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QMessageBox_StandardButtons, &a3, &a3State, sipType_QMessageBox_StandardButton, &a4))
        {
            QMessageBox::StandardButton sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QMessageBox::information(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(a3,sipType_QMessageBox_StandardButtons,a3State);

            return sipConvertFromEnum(sipRes,sipType_QMessageBox_StandardButton);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_information, doc_QMessageBox_information);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_question, "QMessageBox.question(QWidget, str, str, QMessageBox.StandardButtons buttons=QFlags&lt;QMessageBox.StandardButton&gt;(QFlag(81920)), QMessageBox.StandardButton defaultButton=QMessageBox.NoButton) -> QMessageBox.StandardButton");

extern "C" {static PyObject *meth_QMessageBox_question(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_question(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QMessageBox::StandardButtons a3def = QFlags<QMessageBox::StandardButton>(QFlag(81920));
        QMessageBox::StandardButtons* a3 = &a3def;
        int a3State = 0;
        QMessageBox::StandardButton a4 = QMessageBox::NoButton;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_buttons,
            sipName_defaultButton,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J1J1|J1E", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QMessageBox_StandardButtons, &a3, &a3State, sipType_QMessageBox_StandardButton, &a4))
        {
            QMessageBox::StandardButton sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QMessageBox::question(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(a3,sipType_QMessageBox_StandardButtons,a3State);

            return sipConvertFromEnum(sipRes,sipType_QMessageBox_StandardButton);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_question, doc_QMessageBox_question);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_warning, "QMessageBox.warning(QWidget, str, str, QMessageBox.StandardButtons buttons=QMessageBox.Ok, QMessageBox.StandardButton defaultButton=QMessageBox.NoButton) -> QMessageBox.StandardButton");

extern "C" {static PyObject *meth_QMessageBox_warning(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_warning(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QMessageBox::StandardButtons a3def = QMessageBox::Ok;
        QMessageBox::StandardButtons* a3 = &a3def;
        int a3State = 0;
        QMessageBox::StandardButton a4 = QMessageBox::NoButton;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_buttons,
            sipName_defaultButton,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J1J1|J1E", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QMessageBox_StandardButtons, &a3, &a3State, sipType_QMessageBox_StandardButton, &a4))
        {
            QMessageBox::StandardButton sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QMessageBox::warning(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(a3,sipType_QMessageBox_StandardButtons,a3State);

            return sipConvertFromEnum(sipRes,sipType_QMessageBox_StandardButton);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_warning, doc_QMessageBox_warning);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_critical, "QMessageBox.critical(QWidget, str, str, QMessageBox.StandardButtons buttons=QMessageBox.Ok, QMessageBox.StandardButton defaultButton=QMessageBox.NoButton) -> QMessageBox.StandardButton");

extern "C" {static PyObject *meth_QMessageBox_critical(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_critical(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QMessageBox::StandardButtons a3def = QMessageBox::Ok;
        QMessageBox::StandardButtons* a3 = &a3def;
        int a3State = 0;
        QMessageBox::StandardButton a4 = QMessageBox::NoButton;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_buttons,
            sipName_defaultButton,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J1J1|J1E", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QMessageBox_StandardButtons, &a3, &a3State, sipType_QMessageBox_StandardButton, &a4))
        {
            QMessageBox::StandardButton sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QMessageBox::critical(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(a3,sipType_QMessageBox_StandardButtons,a3State);

            return sipConvertFromEnum(sipRes,sipType_QMessageBox_StandardButton);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_critical, doc_QMessageBox_critical);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_about, "QMessageBox.about(QWidget, str, str)");

extern "C" {static PyObject *meth_QMessageBox_about(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_about(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            QMessageBox::about(a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            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_QMessageBox, sipName_about, doc_QMessageBox_about);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_aboutQt, "QMessageBox.aboutQt(QWidget, str title='')");

extern "C" {static PyObject *meth_QMessageBox_aboutQt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_aboutQt(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_title,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8|J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            QMessageBox::aboutQt(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_QMessageBox, sipName_aboutQt, doc_QMessageBox_aboutQt);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_standardIcon, "QMessageBox.standardIcon(QMessageBox.Icon) -> QPixmap");

extern "C" {static PyObject *meth_QMessageBox_standardIcon(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_standardIcon(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMessageBox::Icon a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QMessageBox_Icon, &a0))
        {
            QPixmap*sipRes;

            sipRes = new QPixmap(QMessageBox::standardIcon(a0));

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_standardIcon, doc_QMessageBox_standardIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_event, "QMessageBox.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QMessageBox_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_event, doc_QMessageBox_event);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_resizeEvent, "QMessageBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QMessageBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_resizeEvent, doc_QMessageBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_showEvent, "QMessageBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QMessageBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_showEvent, doc_QMessageBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_closeEvent, "QMessageBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QMessageBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_closeEvent, doc_QMessageBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_keyPressEvent, "QMessageBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMessageBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_keyPressEvent, doc_QMessageBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_changeEvent, "QMessageBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QMessageBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMessageBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_changeEvent, doc_QMessageBox_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_addButton, "QMessageBox.addButton(QAbstractButton, QMessageBox.ButtonRole)\n"
    "QMessageBox.addButton(str, QMessageBox.ButtonRole) -> QPushButton\n"
    "QMessageBox.addButton(QMessageBox.StandardButton) -> QPushButton");

extern "C" {static PyObject *meth_QMessageBox_addButton(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_addButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        QMessageBox::ButtonRole a1;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:E", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QAbstractButton, &a0, sipType_QMessageBox_ButtonRole, &a1))
        {
            sipCpp->addButton(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QMessageBox::ButtonRole a1;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QString,&a0, &a0State, sipType_QMessageBox_ButtonRole, &a1))
        {
            QPushButton*sipRes;

            sipRes = sipCpp->addButton(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QPushButton,sipSelf);
        }
    }

    {
        QMessageBox::StandardButton a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMessageBox_StandardButton, &a0))
        {
            QPushButton*sipRes;

            sipRes = sipCpp->addButton(a0);

            return sipConvertFromType(sipRes,sipType_QPushButton,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_addButton, doc_QMessageBox_addButton);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_removeButton, "QMessageBox.removeButton(QAbstractButton)");

extern "C" {static PyObject *meth_QMessageBox_removeButton(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_removeButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QAbstractButton, &a0))
        {
            sipCpp->removeButton(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_removeButton, doc_QMessageBox_removeButton);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setStandardButtons, "QMessageBox.setStandardButtons(QMessageBox.StandardButtons)");

extern "C" {static PyObject *meth_QMessageBox_setStandardButtons(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setStandardButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMessageBox::StandardButtons* a0;
        int a0State = 0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMessageBox_StandardButtons, &a0, &a0State))
        {
            sipCpp->setStandardButtons(*a0);
            sipReleaseType(a0,sipType_QMessageBox_StandardButtons,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setStandardButtons, doc_QMessageBox_setStandardButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_standardButtons, "QMessageBox.standardButtons() -> QMessageBox.StandardButtons");

extern "C" {static PyObject *meth_QMessageBox_standardButtons(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_standardButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QMessageBox::StandardButtons*sipRes;

            sipRes = new QMessageBox::StandardButtons(sipCpp->standardButtons());

            return sipConvertFromNewType(sipRes,sipType_QMessageBox_StandardButtons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_standardButtons, doc_QMessageBox_standardButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_standardButton, "QMessageBox.standardButton(QAbstractButton) -> QMessageBox.StandardButton");

extern "C" {static PyObject *meth_QMessageBox_standardButton(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_standardButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QAbstractButton, &a0))
        {
            QMessageBox::StandardButton sipRes;

            sipRes = sipCpp->standardButton(a0);

            return sipConvertFromEnum(sipRes,sipType_QMessageBox_StandardButton);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_standardButton, doc_QMessageBox_standardButton);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_button, "QMessageBox.button(QMessageBox.StandardButton) -> QAbstractButton");

extern "C" {static PyObject *meth_QMessageBox_button(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_button(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMessageBox::StandardButton a0;
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMessageBox_StandardButton, &a0))
        {
            QAbstractButton*sipRes;

            sipRes = sipCpp->button(a0);

            return sipConvertFromType(sipRes,sipType_QAbstractButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_button, doc_QMessageBox_button);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_defaultButton, "QMessageBox.defaultButton() -> QPushButton");

extern "C" {static PyObject *meth_QMessageBox_defaultButton(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_defaultButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QPushButton*sipRes;

            sipRes = sipCpp->defaultButton();

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_defaultButton, doc_QMessageBox_defaultButton);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setDefaultButton, "QMessageBox.setDefaultButton(QPushButton)\n"
    "QMessageBox.setDefaultButton(QMessageBox.StandardButton)");

extern "C" {static PyObject *meth_QMessageBox_setDefaultButton(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setDefaultButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPushButton* a0;
        PyObject *a0Keep;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QMessageBox, &sipCpp, &a0Keep, sipType_QPushButton, &a0))
        {
            sipCpp->setDefaultButton(a0);

            sipKeepReference(sipSelf, -38, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QMessageBox::StandardButton a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMessageBox_StandardButton, &a0))
        {
            sipCpp->setDefaultButton(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setDefaultButton, doc_QMessageBox_setDefaultButton);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_escapeButton, "QMessageBox.escapeButton() -> QAbstractButton");

extern "C" {static PyObject *meth_QMessageBox_escapeButton(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_escapeButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QAbstractButton*sipRes;

            sipRes = sipCpp->escapeButton();

            return sipConvertFromType(sipRes,sipType_QAbstractButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_escapeButton, doc_QMessageBox_escapeButton);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setEscapeButton, "QMessageBox.setEscapeButton(QAbstractButton)\n"
    "QMessageBox.setEscapeButton(QMessageBox.StandardButton)");

extern "C" {static PyObject *meth_QMessageBox_setEscapeButton(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setEscapeButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        PyObject *a0Keep;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QMessageBox, &sipCpp, &a0Keep, sipType_QAbstractButton, &a0))
        {
            sipCpp->setEscapeButton(a0);

            sipKeepReference(sipSelf, -39, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QMessageBox::StandardButton a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QMessageBox_StandardButton, &a0))
        {
            sipCpp->setEscapeButton(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setEscapeButton, doc_QMessageBox_setEscapeButton);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_clickedButton, "QMessageBox.clickedButton() -> QAbstractButton");

extern "C" {static PyObject *meth_QMessageBox_clickedButton(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_clickedButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QAbstractButton*sipRes;

            sipRes = sipCpp->clickedButton();

            return sipConvertFromType(sipRes,sipType_QAbstractButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_clickedButton, doc_QMessageBox_clickedButton);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_informativeText, "QMessageBox.informativeText() -> str");

extern "C" {static PyObject *meth_QMessageBox_informativeText(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_informativeText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->informativeText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_informativeText, doc_QMessageBox_informativeText);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setInformativeText, "QMessageBox.setInformativeText(str)");

extern "C" {static PyObject *meth_QMessageBox_setInformativeText(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setInformativeText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setInformativeText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setInformativeText, doc_QMessageBox_setInformativeText);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_detailedText, "QMessageBox.detailedText() -> str");

extern "C" {static PyObject *meth_QMessageBox_detailedText(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_detailedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->detailedText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_detailedText, doc_QMessageBox_detailedText);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setDetailedText, "QMessageBox.setDetailedText(str)");

extern "C" {static PyObject *meth_QMessageBox_setDetailedText(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setDetailedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDetailedText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setDetailedText, doc_QMessageBox_setDetailedText);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setWindowTitle, "QMessageBox.setWindowTitle(str)");

extern "C" {static PyObject *meth_QMessageBox_setWindowTitle(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setWindowTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWindowTitle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setWindowTitle, doc_QMessageBox_setWindowTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setWindowModality, "QMessageBox.setWindowModality(Qt.WindowModality)");

extern "C" {static PyObject *meth_QMessageBox_setWindowModality(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setWindowModality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowModality a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_Qt_WindowModality, &a0))
        {
            sipCpp->setWindowModality(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setWindowModality, doc_QMessageBox_setWindowModality);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_open, "QMessageBox.open()\n"
    "QMessageBox.open(slot)");

extern "C" {static PyObject *meth_QMessageBox_open(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QMessageBox::open() : sipCpp->open());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0", &sipSelf, sipType_QMessageBox, &sipCpp, &a0))
        {
            sipErrorState sipError = sipErrorNone;

#line 142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmessagebox.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipCpp->open(receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 189987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.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_QMessageBox, sipName_open, doc_QMessageBox_open);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_buttons, "QMessageBox.buttons() -> list-of-QAbstractButton");

extern "C" {static PyObject *meth_QMessageBox_buttons(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_buttons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QList<QAbstractButton*>*sipRes;

            sipRes = new QList<QAbstractButton*>(sipCpp->buttons());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAbstractButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_buttons, doc_QMessageBox_buttons);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_buttonRole, "QMessageBox.buttonRole(QAbstractButton) -> QMessageBox.ButtonRole");

extern "C" {static PyObject *meth_QMessageBox_buttonRole(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_buttonRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QAbstractButton, &a0))
        {
            QMessageBox::ButtonRole sipRes;

            sipRes = sipCpp->buttonRole(a0);

            return sipConvertFromEnum(sipRes,sipType_QMessageBox_ButtonRole);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_buttonRole, doc_QMessageBox_buttonRole);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setTextInteractionFlags, "QMessageBox.setTextInteractionFlags(Qt.TextInteractionFlags)");

extern "C" {static PyObject *meth_QMessageBox_setTextInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setTextInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            sipCpp->setTextInteractionFlags(*a0);
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setTextInteractionFlags, doc_QMessageBox_setTextInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_textInteractionFlags, "QMessageBox.textInteractionFlags() -> Qt.TextInteractionFlags");

extern "C" {static PyObject *meth_QMessageBox_textInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_textInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            Qt::TextInteractionFlags*sipRes;

            sipRes = new Qt::TextInteractionFlags(sipCpp->textInteractionFlags());

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_textInteractionFlags, doc_QMessageBox_textInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_setCheckBox, "QMessageBox.setCheckBox(QCheckBox)");

extern "C" {static PyObject *meth_QMessageBox_setCheckBox(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_setCheckBox(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCheckBox* a0;
        QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMessageBox, &sipCpp, sipType_QCheckBox, &a0))
        {
            sipCpp->setCheckBox(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_setCheckBox, doc_QMessageBox_setCheckBox);

    return NULL;
}


PyDoc_STRVAR(doc_QMessageBox_checkBox, "QMessageBox.checkBox() -> QCheckBox");

extern "C" {static PyObject *meth_QMessageBox_checkBox(PyObject *, PyObject *);}
static PyObject *meth_QMessageBox_checkBox(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMessageBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMessageBox, &sipCpp))
        {
            QCheckBox*sipRes;

            sipRes = sipCpp->checkBox();

            return sipConvertFromType(sipRes,sipType_QCheckBox,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMessageBox, sipName_checkBox, doc_QMessageBox_checkBox);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMessageBox(void *, const sipTypeDef *);}
static void *cast_QMessageBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QMessageBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDialog)->ctd_cast((QDialog *)(QMessageBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMessageBox(void *, int);}
static void release_QMessageBox(void *sipCppV,int)
{
    QMessageBox *sipCpp = reinterpret_cast<QMessageBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMessageBox(sipSimpleWrapper *);}
static void dealloc_QMessageBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQMessageBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QMessageBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QMessageBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMessageBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMessageBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQMessageBox(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QMessageBox::Icon a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QMessageBox::StandardButtons a3def = QMessageBox::NoButton;
        QMessageBox::StandardButtons* a3 = &a3def;
        int a3State = 0;
        QWidget* a4 = 0;
        Qt::WindowFlags a5def = Qt::Dialog|Qt::MSWindowsFixedSizeDialogHint;
        Qt::WindowFlags* a5 = &a5def;
        int a5State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_buttons,
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "EJ1J1|J1JHJ1", sipType_QMessageBox_Icon, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QMessageBox_StandardButtons, &a3, &a3State, sipType_QWidget, &a4, sipOwner, sipType_Qt_WindowFlags, &a5, &a5State))
        {
            sipCpp = new sipQMessageBox(a0,*a1,*a2,*a3,a4,*a5);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_QMessageBox_StandardButtons,a3State);
            sipReleaseType(a5,sipType_Qt_WindowFlags,a5State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMessageBox[] = {{60, 255, 1}};


static PyMethodDef methods_QMessageBox[] = {
    {SIP_MLNAME_CAST(sipName_about), meth_QMessageBox_about, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_about)},
    {SIP_MLNAME_CAST(sipName_aboutQt), (PyCFunction)meth_QMessageBox_aboutQt, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_aboutQt)},
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QMessageBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addButton), meth_QMessageBox_addButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_addButton)},
    {SIP_MLNAME_CAST(sipName_button), meth_QMessageBox_button, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_button)},
    {SIP_MLNAME_CAST(sipName_buttonRole), meth_QMessageBox_buttonRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_buttonRole)},
    {SIP_MLNAME_CAST(sipName_buttons), meth_QMessageBox_buttons, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_buttons)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QMessageBox_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_changeEvent)},
    {SIP_MLNAME_CAST(sipName_checkBox), meth_QMessageBox_checkBox, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_checkBox)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMessageBox_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clickedButton), meth_QMessageBox_clickedButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_clickedButton)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QMessageBox_closeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_closeEvent)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMessageBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QMessageBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QMessageBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_critical), (PyCFunction)meth_QMessageBox_critical, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_critical)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMessageBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultButton), meth_QMessageBox_defaultButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_defaultButton)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QMessageBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_detailedText), meth_QMessageBox_detailedText, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_detailedText)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMessageBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QMessageBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QMessageBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QMessageBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QMessageBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QMessageBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_escapeButton), meth_QMessageBox_escapeButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_escapeButton)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QMessageBox_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QMessageBox_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QMessageBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QMessageBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QMessageBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QMessageBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QMessageBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QMessageBox_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_icon), meth_QMessageBox_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_icon)},
    {SIP_MLNAME_CAST(sipName_iconPixmap), meth_QMessageBox_iconPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_iconPixmap)},
    {SIP_MLNAME_CAST(sipName_information), (PyCFunction)meth_QMessageBox_information, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_information)},
    {SIP_MLNAME_CAST(sipName_informativeText), meth_QMessageBox_informativeText, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_informativeText)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QMessageBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QMessageBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMessageBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QMessageBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QMessageBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QMessageBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QMessageBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QMessageBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QMessageBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QMessageBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QMessageBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QMessageBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QMessageBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_QMessageBox_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_open)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QMessageBox_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_question), (PyCFunction)meth_QMessageBox_question, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_question)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMessageBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeButton), meth_QMessageBox_removeButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_removeButton)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QMessageBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMessageBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMessageBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckBox), meth_QMessageBox_setCheckBox, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setCheckBox)},
    {SIP_MLNAME_CAST(sipName_setDefaultButton), meth_QMessageBox_setDefaultButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setDefaultButton)},
    {SIP_MLNAME_CAST(sipName_setDetailedText), meth_QMessageBox_setDetailedText, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setDetailedText)},
    {SIP_MLNAME_CAST(sipName_setEscapeButton), meth_QMessageBox_setEscapeButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setEscapeButton)},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_QMessageBox_setIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setIcon)},
    {SIP_MLNAME_CAST(sipName_setIconPixmap), meth_QMessageBox_setIconPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setIconPixmap)},
    {SIP_MLNAME_CAST(sipName_setInformativeText), meth_QMessageBox_setInformativeText, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setInformativeText)},
    {SIP_MLNAME_CAST(sipName_setStandardButtons), meth_QMessageBox_setStandardButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setStandardButtons)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QMessageBox_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setText)},
    {SIP_MLNAME_CAST(sipName_setTextFormat), meth_QMessageBox_setTextFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setTextFormat)},
    {SIP_MLNAME_CAST(sipName_setTextInteractionFlags), meth_QMessageBox_setTextInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setTextInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_setWindowModality), meth_QMessageBox_setWindowModality, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setWindowModality)},
    {SIP_MLNAME_CAST(sipName_setWindowTitle), meth_QMessageBox_setWindowTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_setWindowTitle)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QMessageBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QMessageBox_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_showEvent)},
    {SIP_MLNAME_CAST(sipName_standardButton), meth_QMessageBox_standardButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_standardButton)},
    {SIP_MLNAME_CAST(sipName_standardButtons), meth_QMessageBox_standardButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_standardButtons)},
    {SIP_MLNAME_CAST(sipName_standardIcon), meth_QMessageBox_standardIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_standardIcon)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QMessageBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_QMessageBox_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_text)},
    {SIP_MLNAME_CAST(sipName_textFormat), meth_QMessageBox_textFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_textFormat)},
    {SIP_MLNAME_CAST(sipName_textInteractionFlags), meth_QMessageBox_textInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QMessageBox_textInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMessageBox_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QMessageBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_warning), (PyCFunction)meth_QMessageBox_warning, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMessageBox_warning)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QMessageBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QMessageBox[] = {
    {sipName_Abort, static_cast<int>(QMessageBox::Abort), 237},
    {sipName_AcceptRole, static_cast<int>(QMessageBox::AcceptRole), 235},
    {sipName_ActionRole, static_cast<int>(QMessageBox::ActionRole), 235},
    {sipName_Apply, static_cast<int>(QMessageBox::Apply), 237},
    {sipName_ApplyRole, static_cast<int>(QMessageBox::ApplyRole), 235},
    {sipName_ButtonMask, static_cast<int>(QMessageBox::ButtonMask), 237},
    {sipName_Cancel, static_cast<int>(QMessageBox::Cancel), 237},
    {sipName_Close, static_cast<int>(QMessageBox::Close), 237},
    {sipName_Critical, static_cast<int>(QMessageBox::Critical), 236},
    {sipName_Default, static_cast<int>(QMessageBox::Default), 237},
    {sipName_DestructiveRole, static_cast<int>(QMessageBox::DestructiveRole), 235},
    {sipName_Discard, static_cast<int>(QMessageBox::Discard), 237},
    {sipName_Escape, static_cast<int>(QMessageBox::Escape), 237},
    {sipName_FirstButton, static_cast<int>(QMessageBox::FirstButton), 237},
    {sipName_FlagMask, static_cast<int>(QMessageBox::FlagMask), 237},
    {sipName_Help, static_cast<int>(QMessageBox::Help), 237},
    {sipName_HelpRole, static_cast<int>(QMessageBox::HelpRole), 235},
    {sipName_Ignore, static_cast<int>(QMessageBox::Ignore), 237},
    {sipName_Information, static_cast<int>(QMessageBox::Information), 236},
    {sipName_InvalidRole, static_cast<int>(QMessageBox::InvalidRole), 235},
    {sipName_LastButton, static_cast<int>(QMessageBox::LastButton), 237},
    {sipName_No, static_cast<int>(QMessageBox::No), 237},
    {sipName_NoAll, static_cast<int>(QMessageBox::NoAll), 237},
    {sipName_NoButton, static_cast<int>(QMessageBox::NoButton), 237},
    {sipName_NoIcon, static_cast<int>(QMessageBox::NoIcon), 236},
    {sipName_NoRole, static_cast<int>(QMessageBox::NoRole), 235},
    {sipName_NoToAll, static_cast<int>(QMessageBox::NoToAll), 237},
    {sipName_Ok, static_cast<int>(QMessageBox::Ok), 237},
    {sipName_Open, static_cast<int>(QMessageBox::Open), 237},
    {sipName_Question, static_cast<int>(QMessageBox::Question), 236},
    {sipName_RejectRole, static_cast<int>(QMessageBox::RejectRole), 235},
    {sipName_Reset, static_cast<int>(QMessageBox::Reset), 237},
    {sipName_ResetRole, static_cast<int>(QMessageBox::ResetRole), 235},
    {sipName_RestoreDefaults, static_cast<int>(QMessageBox::RestoreDefaults), 237},
    {sipName_Retry, static_cast<int>(QMessageBox::Retry), 237},
    {sipName_Save, static_cast<int>(QMessageBox::Save), 237},
    {sipName_SaveAll, static_cast<int>(QMessageBox::SaveAll), 237},
    {sipName_Warning, static_cast<int>(QMessageBox::Warning), 236},
    {sipName_Yes, static_cast<int>(QMessageBox::Yes), 237},
    {sipName_YesAll, static_cast<int>(QMessageBox::YesAll), 237},
    {sipName_YesRole, static_cast<int>(QMessageBox::YesRole), 235},
    {sipName_YesToAll, static_cast<int>(QMessageBox::YesToAll), 237},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMessageBox[] = {
    {"buttonClicked(QAbstractButton*)", "\1QMessageBox.buttonClicked[QAbstractButton]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMessageBox, "\1QMessageBox(QWidget parent=None)\n"
    "QMessageBox(QMessageBox.Icon, str, str, QMessageBox.StandardButtons buttons=QMessageBox.NoButton, QWidget parent=None, Qt.WindowFlags flags=Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMessageBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMessageBox,
        {0}
    },
    {
        sipNameNr_QMessageBox,
        {0, 0, 1},
        86, methods_QMessageBox,
        42, enummembers_QMessageBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMessageBox,
    -1,
    -1,
    supers_QMessageBox,
    0,
    init_type_QMessageBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMessageBox,
    0,
    0,
    0,
    release_QMessageBox,
    cast_QMessageBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QMessageBox::staticMetaObject,
    0,
    signals_QMessageBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenubar.sip"
#include <qmenubar.h>
#line 190485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 190489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 190492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 190495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 190498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 190519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 190522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 190528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 190531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 190534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 190537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 190540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 190543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 190546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 190549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 190552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 190558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 190564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 190570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 190573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 190576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 190579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 190582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 190585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 190588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 190591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 190594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 190597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 190600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 190636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 190639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 190642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 190645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 190648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 190654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 190657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 190660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 190663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 190666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 190669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 190672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 190675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 190678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 190681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 190684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 190687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 190690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 190693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQMenuBar : public QMenuBar
{
public:
    sipQMenuBar(QWidget*);
    virtual ~sipQMenuBar();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionMenuItem*,const QAction*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int devType() const;
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    bool eventFilter(QObject*,QEvent*);
    void focusInEvent(QFocusEvent*);
    void focusOutEvent(QFocusEvent*);
    void actionEvent(QActionEvent*);
    void resizeEvent(QResizeEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void keyPressEvent(QKeyEvent*);
    void changeEvent(QEvent*);
    void setVisible(bool);
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMenuBar(const sipQMenuBar &);
    sipQMenuBar &operator = (const sipQMenuBar &);

    char sipPyMethods[46];
};

sipQMenuBar::sipQMenuBar(QWidget*a0): QMenuBar(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMenuBar::~sipQMenuBar()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMenuBar::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMenuBar);
}

int sipQMenuBar::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QMenuBar::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QMenuBar,_c,_id,_a);

    return _id;
}

void *sipQMenuBar::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QMenuBar, _clname, &sipCpp) ? sipCpp : QMenuBar::qt_metacast(_clname));
}

void sipQMenuBar::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QMenuBar::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QMenuBar::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QMenuBar::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QMenuBar::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QMenuBar::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQMenuBar::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QMenuBar::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMenuBar::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QMenuBar::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQMenuBar::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QMenuBar::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMenuBar::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QMenuBar::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQMenuBar::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QMenuBar::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QMenuBar::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMenuBar::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QMenuBar::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QMenuBar::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QMenuBar::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QMenuBar::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QMenuBar::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QMenuBar::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QMenuBar::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QMenuBar::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QMenuBar::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QMenuBar::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QMenuBar::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QMenuBar::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QMenuBar::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QMenuBar::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QMenuBar::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQMenuBar::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QMenuBar::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQMenuBar::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QMenuBar::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQMenuBar::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QMenuBar::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMenuBar::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QMenuBar::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMenuBar::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QMenuBar::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQMenuBar::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QMenuBar::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QMenuBar::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QMenuBar::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QMenuBar::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QMenuBar::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QMenuBar::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QMenuBar::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QMenuBar::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QMenuBar::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QMenuBar::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QMenuBar::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenuBar::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QMenuBar::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMenuBar::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QMenuBar::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQMenuBar::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QMenuBar::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQMenuBar::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QMenuBar::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQMenuBar::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQMenuBar::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQMenuBar::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQMenuBar::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQMenuBar::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMenuBar::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMenuBar::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQMenuBar::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQMenuBar::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQMenuBar::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQMenuBar::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQMenuBar::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQMenuBar::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQMenuBar::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQMenuBar::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQMenuBar::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQMenuBar::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQMenuBar::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQMenuBar::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQMenuBar::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQMenuBar::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQMenuBar::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQMenuBar::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQMenuBar::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQMenuBar::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQMenuBar::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQMenuBar::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQMenuBar::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQMenuBar::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQMenuBar::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQMenuBar::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQMenuBar::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQMenuBar::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQMenuBar::sipProtect_initStyleOption(QStyleOptionMenuItem*a0,const QAction*a1) const
{
    QMenuBar::initStyleOption(a0,a1);
}

void sipQMenuBar::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::changeEvent(a0) : changeEvent(a0));
}

void sipQMenuBar::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQMenuBar::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQMenuBar::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQMenuBar::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQMenuBar::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::leaveEvent(a0) : leaveEvent(a0));
}

void sipQMenuBar::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::paintEvent(a0) : paintEvent(a0));
}

void sipQMenuBar::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::resizeEvent(a0) : resizeEvent(a0));
}

void sipQMenuBar::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::actionEvent(a0) : actionEvent(a0));
}

void sipQMenuBar::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQMenuBar::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::focusInEvent(a0) : focusInEvent(a0));
}

bool sipQMenuBar::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QMenuBar::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQMenuBar::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QMenuBar::event(a0) : event(a0));
}

void sipQMenuBar::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QMenuBar::timerEvent(a0) : timerEvent(a0));
}


PyDoc_STRVAR(doc_QMenuBar_sender, "QMenuBar.sender() -> QObject");

extern "C" {static PyObject *meth_QMenuBar_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 191923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_sender, doc_QMenuBar_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_receivers, "QMenuBar.receivers(signal) -> int");

extern "C" {static PyObject *meth_QMenuBar_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMenuBar, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 191982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_receivers, doc_QMenuBar_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_childEvent, "QMenuBar.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QMenuBar_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_childEvent, doc_QMenuBar_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_customEvent, "QMenuBar.customEvent(QEvent)");

extern "C" {static PyObject *meth_QMenuBar_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_customEvent, doc_QMenuBar_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_connectNotify, "QMenuBar.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMenuBar_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_connectNotify, doc_QMenuBar_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_disconnectNotify, "QMenuBar.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMenuBar_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_disconnectNotify, doc_QMenuBar_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_senderSignalIndex, "QMenuBar.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QMenuBar_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_senderSignalIndex, doc_QMenuBar_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_isSignalConnected, "QMenuBar.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMenuBar_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_isSignalConnected, doc_QMenuBar_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_mouseDoubleClickEvent, "QMenuBar.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMenuBar_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_mouseDoubleClickEvent, doc_QMenuBar_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_wheelEvent, "QMenuBar.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QMenuBar_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_wheelEvent, doc_QMenuBar_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_keyReleaseEvent, "QMenuBar.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMenuBar_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_keyReleaseEvent, doc_QMenuBar_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_enterEvent, "QMenuBar.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QMenuBar_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_enterEvent, doc_QMenuBar_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_moveEvent, "QMenuBar.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QMenuBar_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_moveEvent, doc_QMenuBar_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_closeEvent, "QMenuBar.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QMenuBar_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_closeEvent, doc_QMenuBar_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_contextMenuEvent, "QMenuBar.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QMenuBar_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_contextMenuEvent, doc_QMenuBar_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_tabletEvent, "QMenuBar.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QMenuBar_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_tabletEvent, doc_QMenuBar_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_dragEnterEvent, "QMenuBar.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QMenuBar_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_dragEnterEvent, doc_QMenuBar_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_dragMoveEvent, "QMenuBar.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QMenuBar_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_dragMoveEvent, doc_QMenuBar_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_dragLeaveEvent, "QMenuBar.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QMenuBar_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_dragLeaveEvent, doc_QMenuBar_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_dropEvent, "QMenuBar.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QMenuBar_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_dropEvent, doc_QMenuBar_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_showEvent, "QMenuBar.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QMenuBar_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_showEvent, doc_QMenuBar_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_hideEvent, "QMenuBar.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QMenuBar_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_hideEvent, doc_QMenuBar_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_metric, "QMenuBar.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QMenuBar_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_metric, doc_QMenuBar_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_inputMethodEvent, "QMenuBar.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QMenuBar_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_inputMethodEvent, doc_QMenuBar_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_updateMicroFocus, "QMenuBar.updateMicroFocus()");

extern "C" {static PyObject *meth_QMenuBar_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_updateMicroFocus, doc_QMenuBar_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_create, "QMenuBar.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QMenuBar_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQMenuBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_create, doc_QMenuBar_create);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_destroy, "QMenuBar.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QMenuBar_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQMenuBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QMenuBar, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_destroy, doc_QMenuBar_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_focusNextPrevChild, "QMenuBar.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QMenuBar_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QMenuBar, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_focusNextPrevChild, doc_QMenuBar_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_focusNextChild, "QMenuBar.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QMenuBar_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_focusNextChild, doc_QMenuBar_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_focusPreviousChild, "QMenuBar.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QMenuBar_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_focusPreviousChild, doc_QMenuBar_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_nativeEvent, "QMenuBar.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QMenuBar_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_nativeEvent, doc_QMenuBar_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_sharedPainter, "QMenuBar.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QMenuBar_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_sharedPainter, doc_QMenuBar_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_initPainter, "QMenuBar.initPainter(QPainter)");

extern "C" {static PyObject *meth_QMenuBar_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_initPainter, doc_QMenuBar_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_addAction, "QMenuBar.addAction(QAction)\n"
    "QMenuBar.addAction(str) -> QAction\n"
    "QMenuBar.addAction(str, slot) -> QAction");

extern "C" {static PyObject *meth_QMenuBar_addAction(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->addAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAction*sipRes;

            sipRes = sipCpp->addAction(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        PyObject * a1;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1P0", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QAction*sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenubar.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a1, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->addAction(*a0, receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(1, a1);
        }
#line 192949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_addAction, doc_QMenuBar_addAction);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_addMenu, "QMenuBar.addMenu(QMenu) -> QAction\n"
    "QMenuBar.addMenu(str) -> QMenu\n"
    "QMenuBar.addMenu(QIcon, str) -> QMenu");

extern "C" {static PyObject *meth_QMenuBar_addMenu(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_addMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QMenu, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->addMenu(a0);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QMenu*sipRes;

            sipRes = sipCpp->addMenu(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QMenu,sipSelf);
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State))
        {
            QMenu*sipRes;

            sipRes = sipCpp->addMenu(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QMenu,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_addMenu, doc_QMenuBar_addMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_addSeparator, "QMenuBar.addSeparator() -> QAction");

extern "C" {static PyObject *meth_QMenuBar_addSeparator(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_addSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->addSeparator();

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_addSeparator, doc_QMenuBar_addSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_insertMenu, "QMenuBar.insertMenu(QAction, QMenu) -> QAction");

extern "C" {static PyObject *meth_QMenuBar_insertMenu(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_insertMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QMenu* a1;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QAction, &a0, sipType_QMenu, &a1))
        {
            QAction*sipRes;

            sipRes = sipCpp->insertMenu(a0,a1);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_insertMenu, doc_QMenuBar_insertMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_insertSeparator, "QMenuBar.insertSeparator(QAction) -> QAction");

extern "C" {static PyObject *meth_QMenuBar_insertSeparator(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_insertSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QAction, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->insertSeparator(a0);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_insertSeparator, doc_QMenuBar_insertSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_clear, "QMenuBar.clear()");

extern "C" {static PyObject *meth_QMenuBar_clear(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_clear, doc_QMenuBar_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_activeAction, "QMenuBar.activeAction() -> QAction");

extern "C" {static PyObject *meth_QMenuBar_activeAction(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_activeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->activeAction();

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_activeAction, doc_QMenuBar_activeAction);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_setActiveAction, "QMenuBar.setActiveAction(QAction)");

extern "C" {static PyObject *meth_QMenuBar_setActiveAction(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_setActiveAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->setActiveAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_setActiveAction, doc_QMenuBar_setActiveAction);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_setDefaultUp, "QMenuBar.setDefaultUp(bool)");

extern "C" {static PyObject *meth_QMenuBar_setDefaultUp(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_setDefaultUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMenuBar, &sipCpp, &a0))
        {
            sipCpp->setDefaultUp(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_setDefaultUp, doc_QMenuBar_setDefaultUp);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_isDefaultUp, "QMenuBar.isDefaultUp() -> bool");

extern "C" {static PyObject *meth_QMenuBar_isDefaultUp(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_isDefaultUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDefaultUp();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_isDefaultUp, doc_QMenuBar_isDefaultUp);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_sizeHint, "QMenuBar.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QMenuBar_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QMenuBar::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_sizeHint, doc_QMenuBar_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_minimumSizeHint, "QMenuBar.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QMenuBar_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QMenuBar::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_minimumSizeHint, doc_QMenuBar_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_heightForWidth, "QMenuBar.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QMenuBar_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMenuBar, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QMenuBar::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_heightForWidth, doc_QMenuBar_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_actionGeometry, "QMenuBar.actionGeometry(QAction) -> QRect");

extern "C" {static PyObject *meth_QMenuBar_actionGeometry(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_actionGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        const QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QAction, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->actionGeometry(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_actionGeometry, doc_QMenuBar_actionGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_actionAt, "QMenuBar.actionAt(QPoint) -> QAction");

extern "C" {static PyObject *meth_QMenuBar_actionAt(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_actionAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QPoint, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->actionAt(*a0);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_actionAt, doc_QMenuBar_actionAt);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_setCornerWidget, "QMenuBar.setCornerWidget(QWidget, Qt.Corner corner=Qt.TopRightCorner)");

extern "C" {static PyObject *meth_QMenuBar_setCornerWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_setCornerWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        Qt::Corner a1 = Qt::TopRightCorner;
        QMenuBar *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_corner,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:|E", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QWidget, &a0, sipType_Qt_Corner, &a1))
        {
            sipCpp->setCornerWidget(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_setCornerWidget, doc_QMenuBar_setCornerWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_cornerWidget, "QMenuBar.cornerWidget(Qt.Corner corner=Qt.TopRightCorner) -> QWidget");

extern "C" {static PyObject *meth_QMenuBar_cornerWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_cornerWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Corner a0 = Qt::TopRightCorner;
        const QMenuBar *sipCpp;

        static const char *sipKwdList[] = {
            sipName_corner,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_Qt_Corner, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->cornerWidget(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_cornerWidget, doc_QMenuBar_cornerWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_setVisible, "QMenuBar.setVisible(bool)");

extern "C" {static PyObject *meth_QMenuBar_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMenuBar, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QMenuBar::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_setVisible, doc_QMenuBar_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_initStyleOption, "QMenuBar.initStyleOption(QStyleOptionMenuItem, QAction)");

extern "C" {static PyObject *meth_QMenuBar_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionMenuItem* a0;
        const QAction* a1;
        const sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QStyleOptionMenuItem, &a0, sipType_QAction, &a1))
        {
            sipCpp->sipProtect_initStyleOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_initStyleOption, doc_QMenuBar_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_changeEvent, "QMenuBar.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QMenuBar_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_changeEvent, doc_QMenuBar_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_keyPressEvent, "QMenuBar.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMenuBar_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_keyPressEvent, doc_QMenuBar_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_mouseReleaseEvent, "QMenuBar.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMenuBar_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_mouseReleaseEvent, doc_QMenuBar_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_mousePressEvent, "QMenuBar.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMenuBar_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_mousePressEvent, doc_QMenuBar_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_mouseMoveEvent, "QMenuBar.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMenuBar_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_mouseMoveEvent, doc_QMenuBar_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_leaveEvent, "QMenuBar.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QMenuBar_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_leaveEvent, doc_QMenuBar_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_paintEvent, "QMenuBar.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QMenuBar_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_paintEvent, doc_QMenuBar_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_resizeEvent, "QMenuBar.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QMenuBar_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_resizeEvent, doc_QMenuBar_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_actionEvent, "QMenuBar.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QMenuBar_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_actionEvent, doc_QMenuBar_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_focusOutEvent, "QMenuBar.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMenuBar_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_focusOutEvent, doc_QMenuBar_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_focusInEvent, "QMenuBar.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMenuBar_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_focusInEvent, doc_QMenuBar_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_eventFilter, "QMenuBar.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QMenuBar_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_eventFilter, doc_QMenuBar_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_event, "QMenuBar.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QMenuBar_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_event, doc_QMenuBar_event);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_timerEvent, "QMenuBar.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QMenuBar_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQMenuBar *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenuBar, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_timerEvent, doc_QMenuBar_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_isNativeMenuBar, "QMenuBar.isNativeMenuBar() -> bool");

extern "C" {static PyObject *meth_QMenuBar_isNativeMenuBar(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_isNativeMenuBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenuBar, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNativeMenuBar();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_isNativeMenuBar, doc_QMenuBar_isNativeMenuBar);

    return NULL;
}


PyDoc_STRVAR(doc_QMenuBar_setNativeMenuBar, "QMenuBar.setNativeMenuBar(bool)");

extern "C" {static PyObject *meth_QMenuBar_setNativeMenuBar(PyObject *, PyObject *);}
static PyObject *meth_QMenuBar_setNativeMenuBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMenuBar *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMenuBar, &sipCpp, &a0))
        {
            sipCpp->setNativeMenuBar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenuBar, sipName_setNativeMenuBar, doc_QMenuBar_setNativeMenuBar);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMenuBar(void *, const sipTypeDef *);}
static void *cast_QMenuBar(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QMenuBar)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QMenuBar *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMenuBar(void *, int);}
static void release_QMenuBar(void *sipCppV,int)
{
    QMenuBar *sipCpp = reinterpret_cast<QMenuBar *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMenuBar(sipSimpleWrapper *);}
static void dealloc_QMenuBar(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQMenuBar *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QMenuBar(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QMenuBar(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMenuBar(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMenuBar *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQMenuBar(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMenuBar[] = {{454, 255, 1}};


static PyMethodDef methods_QMenuBar[] = {
    {SIP_MLNAME_CAST(sipName_actionAt), meth_QMenuBar_actionAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_actionAt)},
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QMenuBar_actionEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_actionEvent)},
    {SIP_MLNAME_CAST(sipName_actionGeometry), meth_QMenuBar_actionGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_actionGeometry)},
    {SIP_MLNAME_CAST(sipName_activeAction), meth_QMenuBar_activeAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_activeAction)},
    {SIP_MLNAME_CAST(sipName_addAction), meth_QMenuBar_addAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_addAction)},
    {SIP_MLNAME_CAST(sipName_addMenu), meth_QMenuBar_addMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_addMenu)},
    {SIP_MLNAME_CAST(sipName_addSeparator), meth_QMenuBar_addSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_addSeparator)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QMenuBar_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMenuBar_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QMenuBar_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QMenuBar_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMenuBar_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QMenuBar_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cornerWidget), (PyCFunction)meth_QMenuBar_cornerWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_cornerWidget)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QMenuBar_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMenuBar_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QMenuBar_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMenuBar_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QMenuBar_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QMenuBar_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QMenuBar_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QMenuBar_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QMenuBar_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QMenuBar_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QMenuBar_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QMenuBar_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QMenuBar_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QMenuBar_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QMenuBar_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QMenuBar_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QMenuBar_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QMenuBar_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QMenuBar_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QMenuBar_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QMenuBar_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertMenu), meth_QMenuBar_insertMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_insertMenu)},
    {SIP_MLNAME_CAST(sipName_insertSeparator), meth_QMenuBar_insertSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_insertSeparator)},
    {SIP_MLNAME_CAST(sipName_isDefaultUp), meth_QMenuBar_isDefaultUp, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_isDefaultUp)},
    {SIP_MLNAME_CAST(sipName_isNativeMenuBar), meth_QMenuBar_isNativeMenuBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_isNativeMenuBar)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMenuBar_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QMenuBar_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QMenuBar_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QMenuBar_leaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_leaveEvent)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QMenuBar_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QMenuBar_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QMenuBar_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QMenuBar_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QMenuBar_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QMenuBar_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QMenuBar_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QMenuBar_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QMenuBar_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMenuBar_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QMenuBar_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMenuBar_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMenuBar_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveAction), meth_QMenuBar_setActiveAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_setActiveAction)},
    {SIP_MLNAME_CAST(sipName_setCornerWidget), (PyCFunction)meth_QMenuBar_setCornerWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_setCornerWidget)},
    {SIP_MLNAME_CAST(sipName_setDefaultUp), meth_QMenuBar_setDefaultUp, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_setDefaultUp)},
    {SIP_MLNAME_CAST(sipName_setNativeMenuBar), meth_QMenuBar_setNativeMenuBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_setNativeMenuBar)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QMenuBar_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_setVisible)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QMenuBar_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QMenuBar_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QMenuBar_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenuBar_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QMenuBar_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMenuBar_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenuBar_timerEvent)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QMenuBar_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QMenuBar_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMenuBar[] = {
    {"hovered(QAction*)", "\1QMenuBar.hovered[QAction]", 0, 0},
    {"triggered(QAction*)", "\1QMenuBar.triggered[QAction]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMenuBar, "\1QMenuBar(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMenuBar = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMenuBar,
        {0}
    },
    {
        sipNameNr_QMenuBar,
        {0, 0, 1},
        68, methods_QMenuBar,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMenuBar,
    -1,
    -1,
    supers_QMenuBar,
    0,
    init_type_QMenuBar,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMenuBar,
    0,
    0,
    0,
    release_QMenuBar,
    cast_QMenuBar,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QMenuBar::staticMetaObject,
    0,
    signals_QMenuBar,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 194174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 194178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 194181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 194184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 194187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 194190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 194193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 194214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 194217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 194220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 194223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 194226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 194229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 194232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 194235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 194238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 194244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 194250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 194259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 194262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 194265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 194268 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 194271 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 194274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 194277 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 194280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 194283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 194286 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 194289 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194307 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 194325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 194328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 194331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 194334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 194340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 194343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 194346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 194349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 194352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 194355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 194358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 194361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 194364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 194367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 194370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 194373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 194376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 194379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQMenu : public QMenu
{
public:
    sipQMenu(QWidget*);
    sipQMenu(const QString&,QWidget*);
    virtual ~sipQMenu();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    int sipProtect_columnCount() const;
    void sipProtect_initStyleOption(QStyleOptionMenuItem*,const QAction*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool focusNextPrevChild(bool);
    bool event(QEvent*);
    void timerEvent(QTimerEvent*);
    void actionEvent(QActionEvent*);
    void paintEvent(QPaintEvent*);
    void hideEvent(QHideEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void keyPressEvent(QKeyEvent*);
    void changeEvent(QEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMenu(const sipQMenu &);
    sipQMenu &operator = (const sipQMenu &);

    char sipPyMethods[46];
};

sipQMenu::sipQMenu(QWidget*a0): QMenu(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMenu::sipQMenu(const QString& a0,QWidget*a1): QMenu(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMenu::~sipQMenu()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMenu::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMenu);
}

int sipQMenu::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QMenu::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QMenu,_c,_id,_a);

    return _id;
}

void *sipQMenu::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QMenu, _clname, &sipCpp) ? sipCpp : QMenu::qt_metacast(_clname));
}

void sipQMenu::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QMenu::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QMenu::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QMenu::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QMenu::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMenu::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QMenu::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQMenu::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QMenu::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQMenu::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QMenu::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMenu::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QMenu::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQMenu::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QMenu::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQMenu::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QMenu::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QMenu::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMenu::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QMenu::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QMenu::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QMenu::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QMenu::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QMenu::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QMenu::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QMenu::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QMenu::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QMenu::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QMenu::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QMenu::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QMenu::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QMenu::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QMenu::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QMenu::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQMenu::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QMenu::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQMenu::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QMenu::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQMenu::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QMenu::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQMenu::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QMenu::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMenu::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QMenu::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMenu::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QMenu::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMenu::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QMenu::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QMenu::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QMenu::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QMenu::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QMenu::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QMenu::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QMenu::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QMenu::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QMenu::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QMenu::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QMenu::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QMenu::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMenu::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QMenu::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQMenu::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QMenu::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQMenu::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQMenu::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQMenu::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQMenu::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQMenu::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMenu::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMenu::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQMenu::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQMenu::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQMenu::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQMenu::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQMenu::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQMenu::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQMenu::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQMenu::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQMenu::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQMenu::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQMenu::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQMenu::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQMenu::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQMenu::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQMenu::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

int sipQMenu::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQMenu::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQMenu::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQMenu::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQMenu::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQMenu::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQMenu::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQMenu::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQMenu::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQMenu::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

int sipQMenu::sipProtect_columnCount() const
{
    return QMenu::columnCount();
}

void sipQMenu::sipProtect_initStyleOption(QStyleOptionMenuItem*a0,const QAction*a1) const
{
    QMenu::initStyleOption(a0,a1);
}

void sipQMenu::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QMenu::changeEvent(a0) : changeEvent(a0));
}

void sipQMenu::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QMenu::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQMenu::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMenu::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQMenu::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMenu::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQMenu::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMenu::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQMenu::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QMenu::wheelEvent(a0) : wheelEvent(a0));
}

void sipQMenu::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QMenu::enterEvent(a0) : enterEvent(a0));
}

void sipQMenu::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QMenu::leaveEvent(a0) : leaveEvent(a0));
}

void sipQMenu::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QMenu::hideEvent(a0) : hideEvent(a0));
}

void sipQMenu::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QMenu::paintEvent(a0) : paintEvent(a0));
}

void sipQMenu::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QMenu::actionEvent(a0) : actionEvent(a0));
}

void sipQMenu::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QMenu::timerEvent(a0) : timerEvent(a0));
}

bool sipQMenu::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QMenu::event(a0) : event(a0));
}

bool sipQMenu::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QMenu::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}


PyDoc_STRVAR(doc_QMenu_sender, "QMenu.sender() -> QObject");

extern "C" {static PyObject *meth_QMenu_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 195615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_sender, doc_QMenu_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_receivers, "QMenu.receivers(signal) -> int");

extern "C" {static PyObject *meth_QMenu_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMenu, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 195674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_receivers, doc_QMenu_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_childEvent, "QMenu.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QMenu_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_childEvent, doc_QMenu_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_customEvent, "QMenu.customEvent(QEvent)");

extern "C" {static PyObject *meth_QMenu_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_customEvent, doc_QMenu_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_connectNotify, "QMenu.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMenu_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMenu, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_connectNotify, doc_QMenu_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_disconnectNotify, "QMenu.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMenu_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMenu, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_disconnectNotify, doc_QMenu_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_senderSignalIndex, "QMenu.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QMenu_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_senderSignalIndex, doc_QMenu_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_isSignalConnected, "QMenu.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMenu_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMenu, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_isSignalConnected, doc_QMenu_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_mouseDoubleClickEvent, "QMenu.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMenu_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_mouseDoubleClickEvent, doc_QMenu_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_keyReleaseEvent, "QMenu.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMenu_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_keyReleaseEvent, doc_QMenu_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_focusInEvent, "QMenu.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMenu_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_focusInEvent, doc_QMenu_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_focusOutEvent, "QMenu.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMenu_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_focusOutEvent, doc_QMenu_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_moveEvent, "QMenu.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QMenu_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_moveEvent, doc_QMenu_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_resizeEvent, "QMenu.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QMenu_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_resizeEvent, doc_QMenu_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_closeEvent, "QMenu.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QMenu_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_closeEvent, doc_QMenu_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_contextMenuEvent, "QMenu.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QMenu_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_contextMenuEvent, doc_QMenu_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_tabletEvent, "QMenu.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QMenu_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_tabletEvent, doc_QMenu_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_dragEnterEvent, "QMenu.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QMenu_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_dragEnterEvent, doc_QMenu_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_dragMoveEvent, "QMenu.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QMenu_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_dragMoveEvent, doc_QMenu_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_dragLeaveEvent, "QMenu.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QMenu_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_dragLeaveEvent, doc_QMenu_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_dropEvent, "QMenu.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QMenu_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_dropEvent, doc_QMenu_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_showEvent, "QMenu.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QMenu_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_showEvent, doc_QMenu_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_metric, "QMenu.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QMenu_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QMenu, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_metric, doc_QMenu_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_inputMethodEvent, "QMenu.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QMenu_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_inputMethodEvent, doc_QMenu_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_updateMicroFocus, "QMenu.updateMicroFocus()");

extern "C" {static PyObject *meth_QMenu_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_updateMicroFocus, doc_QMenu_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_create, "QMenu.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QMenu_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQMenu *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QMenu, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_create, doc_QMenu_create);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_destroy, "QMenu.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QMenu_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQMenu *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QMenu, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_destroy, doc_QMenu_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_focusNextChild, "QMenu.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QMenu_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_focusNextChild, doc_QMenu_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_focusPreviousChild, "QMenu.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QMenu_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_focusPreviousChild, doc_QMenu_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_nativeEvent, "QMenu.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QMenu_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QMenu, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_nativeEvent, doc_QMenu_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_sharedPainter, "QMenu.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QMenu_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_sharedPainter, doc_QMenu_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_initPainter, "QMenu.initPainter(QPainter)");

extern "C" {static PyObject *meth_QMenu_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_initPainter, doc_QMenu_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_addAction, "QMenu.addAction(QAction)\n"
    "QMenu.addAction(str) -> QAction\n"
    "QMenu.addAction(QIcon, str) -> QAction\n"
    "QMenu.addAction(str, slot, QKeySequence shortcut=0) -> QAction\n"
    "QMenu.addAction(QIcon, str, slot, QKeySequence shortcut=0) -> QAction");

extern "C" {static PyObject *meth_QMenu_addAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_addAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->addAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAction*sipRes;

            sipRes = sipCpp->addAction(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State))
        {
            QAction*sipRes;

            sipRes = sipCpp->addAction(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        PyObject * a1;
        const QKeySequence& a2def = 0;
        const QKeySequence* a2 = &a2def;
        int a2State = 0;
        QMenu *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_shortcut,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1P0|J1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QKeySequence, &a2, &a2State))
        {
            QAction*sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a1, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->addAction(*a0, receiver, slot_signature.constData(), *a2);
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(1, a1);
        }
#line 196640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QKeySequence *>(a2),sipType_QKeySequence,a2State);

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        PyObject * a2;
        const QKeySequence& a3def = 0;
        const QKeySequence* a3 = &a3def;
        int a3State = 0;
        QMenu *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_shortcut,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1P0|J1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, &a2, sipType_QKeySequence, &a3, &a3State))
        {
            QAction*sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 53 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a2, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->addAction(*a0, *a1, receiver, slot_signature.constData(), *a3);
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(2, a2);
        }
#line 196690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QKeySequence *>(a3),sipType_QKeySequence,a3State);

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_addAction, doc_QMenu_addAction);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_addMenu, "QMenu.addMenu(QMenu) -> QAction\n"
    "QMenu.addMenu(str) -> QMenu\n"
    "QMenu.addMenu(QIcon, str) -> QMenu");

extern "C" {static PyObject *meth_QMenu_addMenu(PyObject *, PyObject *);}
static PyObject *meth_QMenu_addMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QMenu, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->addMenu(a0);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QMenu*sipRes;

            sipRes = sipCpp->addMenu(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QMenu,sipSelf);
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State))
        {
            QMenu*sipRes;

            sipRes = sipCpp->addMenu(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QMenu,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_addMenu, doc_QMenu_addMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_addSeparator, "QMenu.addSeparator() -> QAction");

extern "C" {static PyObject *meth_QMenu_addSeparator(PyObject *, PyObject *);}
static PyObject *meth_QMenu_addSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->addSeparator();

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_addSeparator, doc_QMenu_addSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_insertMenu, "QMenu.insertMenu(QAction, QMenu) -> QAction");

extern "C" {static PyObject *meth_QMenu_insertMenu(PyObject *, PyObject *);}
static PyObject *meth_QMenu_insertMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QMenu* a1;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QAction, &a0, sipType_QMenu, &a1))
        {
            QAction*sipRes;

            sipRes = sipCpp->insertMenu(a0,a1);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_insertMenu, doc_QMenu_insertMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_insertSeparator, "QMenu.insertSeparator(QAction) -> QAction");

extern "C" {static PyObject *meth_QMenu_insertSeparator(PyObject *, PyObject *);}
static PyObject *meth_QMenu_insertSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QAction, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->insertSeparator(a0);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_insertSeparator, doc_QMenu_insertSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_clear, "QMenu.clear()");

extern "C" {static PyObject *meth_QMenu_clear(PyObject *, PyObject *);}
static PyObject *meth_QMenu_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_clear, doc_QMenu_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_setTearOffEnabled, "QMenu.setTearOffEnabled(bool)");

extern "C" {static PyObject *meth_QMenu_setTearOffEnabled(PyObject *, PyObject *);}
static PyObject *meth_QMenu_setTearOffEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMenu, &sipCpp, &a0))
        {
            sipCpp->setTearOffEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_setTearOffEnabled, doc_QMenu_setTearOffEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_isTearOffEnabled, "QMenu.isTearOffEnabled() -> bool");

extern "C" {static PyObject *meth_QMenu_isTearOffEnabled(PyObject *, PyObject *);}
static PyObject *meth_QMenu_isTearOffEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isTearOffEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_isTearOffEnabled, doc_QMenu_isTearOffEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_isTearOffMenuVisible, "QMenu.isTearOffMenuVisible() -> bool");

extern "C" {static PyObject *meth_QMenu_isTearOffMenuVisible(PyObject *, PyObject *);}
static PyObject *meth_QMenu_isTearOffMenuVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isTearOffMenuVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_isTearOffMenuVisible, doc_QMenu_isTearOffMenuVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_hideTearOffMenu, "QMenu.hideTearOffMenu()");

extern "C" {static PyObject *meth_QMenu_hideTearOffMenu(PyObject *, PyObject *);}
static PyObject *meth_QMenu_hideTearOffMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            sipCpp->hideTearOffMenu();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_hideTearOffMenu, doc_QMenu_hideTearOffMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_setDefaultAction, "QMenu.setDefaultAction(QAction)");

extern "C" {static PyObject *meth_QMenu_setDefaultAction(PyObject *, PyObject *);}
static PyObject *meth_QMenu_setDefaultAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        PyObject *a0Keep;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QMenu, &sipCpp, &a0Keep, sipType_QAction, &a0))
        {
            sipCpp->setDefaultAction(a0);

            sipKeepReference(sipSelf, -37, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_setDefaultAction, doc_QMenu_setDefaultAction);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_defaultAction, "QMenu.defaultAction() -> QAction");

extern "C" {static PyObject *meth_QMenu_defaultAction(PyObject *, PyObject *);}
static PyObject *meth_QMenu_defaultAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->defaultAction();

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_defaultAction, doc_QMenu_defaultAction);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_setActiveAction, "QMenu.setActiveAction(QAction)");

extern "C" {static PyObject *meth_QMenu_setActiveAction(PyObject *, PyObject *);}
static PyObject *meth_QMenu_setActiveAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->setActiveAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_setActiveAction, doc_QMenu_setActiveAction);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_activeAction, "QMenu.activeAction() -> QAction");

extern "C" {static PyObject *meth_QMenu_activeAction(PyObject *, PyObject *);}
static PyObject *meth_QMenu_activeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->activeAction();

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_activeAction, doc_QMenu_activeAction);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_popup, "QMenu.popup(QPoint, QAction action=None)");

extern "C" {static PyObject *meth_QMenu_popup(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_popup(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        QAction* a1 = 0;
        QMenu *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_action,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QPoint, &a0, sipType_QAction, &a1))
        {
            sipCpp->popup(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_popup, doc_QMenu_popup);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_exec_, "QMenu.exec_() -> QAction\n"
    "QMenu.exec_(QPoint, QAction action=None) -> QAction\n"
    "QMenu.exec_(list-of-QAction, QPoint, QAction at=None, QWidget parent=None) -> QAction");

extern "C" {static PyObject *meth_QMenu_exec_(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_exec_(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QAction*sipRes;

            sipCallHook("__pyQtPreEventLoopHook__");

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec();
            Py_END_ALLOW_THREADS


            sipCallHook("__pyQtPostEventLoopHook__");
            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        const QPoint* a0;
        QAction* a1 = 0;
        QMenu *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_action,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QPoint, &a0, sipType_QAction, &a1))
        {
            QAction*sipRes;

            sipCallHook("__pyQtPreEventLoopHook__");

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->exec(*a0,a1);
            Py_END_ALLOW_THREADS


            sipCallHook("__pyQtPostEventLoopHook__");
            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        QList<QAction*>* a0;
        int a0State = 0;
        const QPoint* a1;
        QAction* a2 = 0;
        QWidget* a3 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_at,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1J9|J8J8", sipType_QList_0101QAction,&a0, &a0State, sipType_QPoint, &a1, sipType_QAction, &a2, sipType_QWidget, &a3))
        {
            QAction*sipRes;

            sipCallHook("__pyQtPreEventLoopHook__");

            Py_BEGIN_ALLOW_THREADS
            sipRes = QMenu::exec(*a0,*a1,a2,a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(a0,sipType_QList_0101QAction,a0State);


            sipCallHook("__pyQtPostEventLoopHook__");
            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_exec_, doc_QMenu_exec_);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_sizeHint, "QMenu.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QMenu_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QMenu_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QMenu::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_sizeHint, doc_QMenu_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_actionGeometry, "QMenu.actionGeometry(QAction) -> QRect");

extern "C" {static PyObject *meth_QMenu_actionGeometry(PyObject *, PyObject *);}
static PyObject *meth_QMenu_actionGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QAction, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->actionGeometry(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_actionGeometry, doc_QMenu_actionGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_actionAt, "QMenu.actionAt(QPoint) -> QAction");

extern "C" {static PyObject *meth_QMenu_actionAt(PyObject *, PyObject *);}
static PyObject *meth_QMenu_actionAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMenu, &sipCpp, sipType_QPoint, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->actionAt(*a0);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_actionAt, doc_QMenu_actionAt);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_menuAction, "QMenu.menuAction() -> QAction");

extern "C" {static PyObject *meth_QMenu_menuAction(PyObject *, PyObject *);}
static PyObject *meth_QMenu_menuAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->menuAction();

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_menuAction, doc_QMenu_menuAction);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_title, "QMenu.title() -> str");

extern "C" {static PyObject *meth_QMenu_title(PyObject *, PyObject *);}
static PyObject *meth_QMenu_title(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->title());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_title, doc_QMenu_title);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_setTitle, "QMenu.setTitle(str)");

extern "C" {static PyObject *meth_QMenu_setTitle(PyObject *, PyObject *);}
static PyObject *meth_QMenu_setTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setTitle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_setTitle, doc_QMenu_setTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_icon, "QMenu.icon() -> QIcon");

extern "C" {static PyObject *meth_QMenu_icon(PyObject *, PyObject *);}
static PyObject *meth_QMenu_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->icon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_icon, doc_QMenu_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_setIcon, "QMenu.setIcon(QIcon)");

extern "C" {static PyObject *meth_QMenu_setIcon(PyObject *, PyObject *);}
static PyObject *meth_QMenu_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMenu, &sipCpp, sipType_QIcon, &a0))
        {
            sipCpp->setIcon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_setIcon, doc_QMenu_setIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_setNoReplayFor, "QMenu.setNoReplayFor(QWidget)");

extern "C" {static PyObject *meth_QMenu_setNoReplayFor(PyObject *, PyObject *);}
static PyObject *meth_QMenu_setNoReplayFor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setNoReplayFor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_setNoReplayFor, doc_QMenu_setNoReplayFor);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_columnCount, "QMenu.columnCount() -> int");

extern "C" {static PyObject *meth_QMenu_columnCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_columnCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_columnCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_columnCount, doc_QMenu_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_initStyleOption, "QMenu.initStyleOption(QStyleOptionMenuItem, QAction)");

extern "C" {static PyObject *meth_QMenu_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionMenuItem* a0;
        const QAction* a1;
        const sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QStyleOptionMenuItem, &a0, sipType_QAction, &a1))
        {
            sipCpp->sipProtect_initStyleOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_initStyleOption, doc_QMenu_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_changeEvent, "QMenu.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QMenu_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_changeEvent, doc_QMenu_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_keyPressEvent, "QMenu.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMenu_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_keyPressEvent, doc_QMenu_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_mouseReleaseEvent, "QMenu.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMenu_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_mouseReleaseEvent, doc_QMenu_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_mousePressEvent, "QMenu.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMenu_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_mousePressEvent, doc_QMenu_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_mouseMoveEvent, "QMenu.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMenu_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_mouseMoveEvent, doc_QMenu_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_wheelEvent, "QMenu.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QMenu_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_wheelEvent, doc_QMenu_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_enterEvent, "QMenu.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QMenu_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_enterEvent, doc_QMenu_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_leaveEvent, "QMenu.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QMenu_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_leaveEvent, doc_QMenu_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_hideEvent, "QMenu.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QMenu_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_hideEvent, doc_QMenu_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_paintEvent, "QMenu.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QMenu_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_paintEvent, doc_QMenu_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_actionEvent, "QMenu.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QMenu_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_actionEvent, doc_QMenu_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_timerEvent, "QMenu.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QMenu_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_timerEvent, doc_QMenu_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_event, "QMenu.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QMenu_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMenu, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_event, doc_QMenu_event);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_focusNextPrevChild, "QMenu.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QMenu_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMenu_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQMenu *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QMenu, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_focusNextPrevChild, doc_QMenu_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_isEmpty, "QMenu.isEmpty() -> bool");

extern "C" {static PyObject *meth_QMenu_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QMenu_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_isEmpty, doc_QMenu_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_separatorsCollapsible, "QMenu.separatorsCollapsible() -> bool");

extern "C" {static PyObject *meth_QMenu_separatorsCollapsible(PyObject *, PyObject *);}
static PyObject *meth_QMenu_separatorsCollapsible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->separatorsCollapsible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_separatorsCollapsible, doc_QMenu_separatorsCollapsible);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_setSeparatorsCollapsible, "QMenu.setSeparatorsCollapsible(bool)");

extern "C" {static PyObject *meth_QMenu_setSeparatorsCollapsible(PyObject *, PyObject *);}
static PyObject *meth_QMenu_setSeparatorsCollapsible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMenu, &sipCpp, &a0))
        {
            sipCpp->setSeparatorsCollapsible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_setSeparatorsCollapsible, doc_QMenu_setSeparatorsCollapsible);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_addSection, "QMenu.addSection(str) -> QAction\n"
    "QMenu.addSection(QIcon, str) -> QAction");

extern "C" {static PyObject *meth_QMenu_addSection(PyObject *, PyObject *);}
static PyObject *meth_QMenu_addSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAction*sipRes;

            sipRes = sipCpp->addSection(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State))
        {
            QAction*sipRes;

            sipRes = sipCpp->addSection(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_addSection, doc_QMenu_addSection);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_insertSection, "QMenu.insertSection(QAction, str) -> QAction\n"
    "QMenu.insertSection(QAction, QIcon, str) -> QAction");

extern "C" {static PyObject *meth_QMenu_insertSection(PyObject *, PyObject *);}
static PyObject *meth_QMenu_insertSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        const QString* a1;
        int a1State = 0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QAction, &a0, sipType_QString,&a1, &a1State))
        {
            QAction*sipRes;

            sipRes = sipCpp->insertSection(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    {
        QAction* a0;
        const QIcon* a1;
        const QString* a2;
        int a2State = 0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J1", &sipSelf, sipType_QMenu, &sipCpp, sipType_QAction, &a0, sipType_QIcon, &a1, sipType_QString,&a2, &a2State))
        {
            QAction*sipRes;

            sipRes = sipCpp->insertSection(a0,*a1,*a2);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_insertSection, doc_QMenu_insertSection);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_toolTipsVisible, "QMenu.toolTipsVisible() -> bool");

extern "C" {static PyObject *meth_QMenu_toolTipsVisible(PyObject *, PyObject *);}
static PyObject *meth_QMenu_toolTipsVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMenu, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->toolTipsVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_toolTipsVisible, doc_QMenu_toolTipsVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QMenu_setToolTipsVisible, "QMenu.setToolTipsVisible(bool)");

extern "C" {static PyObject *meth_QMenu_setToolTipsVisible(PyObject *, PyObject *);}
static PyObject *meth_QMenu_setToolTipsVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMenu *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMenu, &sipCpp, &a0))
        {
            sipCpp->setToolTipsVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMenu, sipName_setToolTipsVisible, doc_QMenu_setToolTipsVisible);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMenu(void *, const sipTypeDef *);}
static void *cast_QMenu(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QMenu)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QMenu *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMenu(void *, int);}
static void release_QMenu(void *sipCppV,int)
{
    QMenu *sipCpp = reinterpret_cast<QMenu *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMenu(sipSimpleWrapper *);}
static void dealloc_QMenu(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQMenu *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QMenu(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QMenu(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMenu(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMenu *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQMenu(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQMenu(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMenu[] = {{454, 255, 1}};


static PyMethodDef methods_QMenu[] = {
    {SIP_MLNAME_CAST(sipName_actionAt), meth_QMenu_actionAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_actionAt)},
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QMenu_actionEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_actionEvent)},
    {SIP_MLNAME_CAST(sipName_actionGeometry), meth_QMenu_actionGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_actionGeometry)},
    {SIP_MLNAME_CAST(sipName_activeAction), meth_QMenu_activeAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_activeAction)},
    {SIP_MLNAME_CAST(sipName_addAction), (PyCFunction)meth_QMenu_addAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_addAction)},
    {SIP_MLNAME_CAST(sipName_addMenu), meth_QMenu_addMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_addMenu)},
    {SIP_MLNAME_CAST(sipName_addSection), meth_QMenu_addSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_addSection)},
    {SIP_MLNAME_CAST(sipName_addSeparator), meth_QMenu_addSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_addSeparator)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QMenu_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMenu_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QMenu_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QMenu_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), (PyCFunction)meth_QMenu_columnCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_columnCount)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMenu_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QMenu_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QMenu_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMenu_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultAction), meth_QMenu_defaultAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_defaultAction)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QMenu_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMenu_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QMenu_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QMenu_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QMenu_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QMenu_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QMenu_enterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_enterEvent)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QMenu_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_event)},
    {SIP_MLNAME_CAST(sipName_exec_), (PyCFunction)meth_QMenu_exec_, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_exec_)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QMenu_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QMenu_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QMenu_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QMenu_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QMenu_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QMenu_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_hideEvent)},
    {SIP_MLNAME_CAST(sipName_hideTearOffMenu), meth_QMenu_hideTearOffMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_hideTearOffMenu)},
    {SIP_MLNAME_CAST(sipName_icon), meth_QMenu_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_icon)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QMenu_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QMenu_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QMenu_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertMenu), meth_QMenu_insertMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_insertMenu)},
    {SIP_MLNAME_CAST(sipName_insertSection), meth_QMenu_insertSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_insertSection)},
    {SIP_MLNAME_CAST(sipName_insertSeparator), meth_QMenu_insertSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_insertSeparator)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QMenu_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMenu_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTearOffEnabled), meth_QMenu_isTearOffEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_isTearOffEnabled)},
    {SIP_MLNAME_CAST(sipName_isTearOffMenuVisible), meth_QMenu_isTearOffMenuVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_isTearOffMenuVisible)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QMenu_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QMenu_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QMenu_leaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_leaveEvent)},
    {SIP_MLNAME_CAST(sipName_menuAction), meth_QMenu_menuAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_menuAction)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QMenu_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QMenu_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QMenu_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QMenu_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QMenu_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QMenu_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QMenu_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QMenu_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_paintEvent)},
    {SIP_MLNAME_CAST(sipName_popup), (PyCFunction)meth_QMenu_popup, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_popup)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMenu_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QMenu_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMenu_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMenu_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_separatorsCollapsible), meth_QMenu_separatorsCollapsible, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_separatorsCollapsible)},
    {SIP_MLNAME_CAST(sipName_setActiveAction), meth_QMenu_setActiveAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_setActiveAction)},
    {SIP_MLNAME_CAST(sipName_setDefaultAction), meth_QMenu_setDefaultAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_setDefaultAction)},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_QMenu_setIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_setIcon)},
    {SIP_MLNAME_CAST(sipName_setNoReplayFor), meth_QMenu_setNoReplayFor, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_setNoReplayFor)},
    {SIP_MLNAME_CAST(sipName_setSeparatorsCollapsible), meth_QMenu_setSeparatorsCollapsible, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_setSeparatorsCollapsible)},
    {SIP_MLNAME_CAST(sipName_setTearOffEnabled), meth_QMenu_setTearOffEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_setTearOffEnabled)},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_QMenu_setTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_setTitle)},
    {SIP_MLNAME_CAST(sipName_setToolTipsVisible), meth_QMenu_setToolTipsVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_setToolTipsVisible)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QMenu_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QMenu_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QMenu_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QMenu_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMenu_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_timerEvent)},
    {SIP_MLNAME_CAST(sipName_title), meth_QMenu_title, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_title)},
    {SIP_MLNAME_CAST(sipName_toolTipsVisible), meth_QMenu_toolTipsVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QMenu_toolTipsVisible)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QMenu_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QMenu_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMenu_wheelEvent)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMenu[] = {
    {"triggered(QAction*)", "\1QMenu.triggered[QAction]", 0, 0},
    {"hovered(QAction*)", "\1QMenu.hovered[QAction]", 0, 0},
    {"aboutToShow()", "\1QMenu.aboutToShow", 0, 0},
    {"aboutToHide()", "\1QMenu.aboutToHide", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMenu, "\1QMenu(QWidget parent=None)\n"
    "QMenu(str, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMenu = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMenu,
        {0}
    },
    {
        sipNameNr_QMenu,
        {0, 0, 1},
        80, methods_QMenu,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMenu,
    -1,
    -1,
    supers_QMenu,
    0,
    init_type_QMenu,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMenu,
    0,
    0,
    0,
    release_QMenu,
    cast_QMenu,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QMenu::staticMetaObject,
    0,
    signals_QMenu,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 198406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 198410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QMdiSubWindow_SubWindowOptions___bool__(PyObject *);}
static int slot_QMdiSubWindow_SubWindowOptions___bool__(PyObject *sipSelf)
{
    QMdiSubWindow::SubWindowOptions *sipCpp = reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiSubWindow_SubWindowOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiSubWindow::SubWindowOptions::Int() != 0);
#line 198428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QMdiSubWindow::SubWindowOptions *sipCpp = reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiSubWindow_SubWindowOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiSubWindow::SubWindowOptions::Int() != a0->operator QMdiSubWindow::SubWindowOptions::Int());
#line 198458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QMdiSubWindow::SubWindowOptions *>(a0),sipType_QMdiSubWindow_SubWindowOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QMdiSubWindow_SubWindowOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QMdiSubWindow::SubWindowOptions *sipCpp = reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiSubWindow_SubWindowOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiSubWindow::SubWindowOptions::Int() == a0->operator QMdiSubWindow::SubWindowOptions::Int());
#line 198494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QMdiSubWindow::SubWindowOptions *>(a0),sipType_QMdiSubWindow_SubWindowOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QMdiSubWindow_SubWindowOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___invert__(PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___invert__(PyObject *sipSelf)
{
    QMdiSubWindow::SubWindowOptions *sipCpp = reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiSubWindow_SubWindowOptions));

    if (!sipCpp)
        return 0;


    {
        {
            QMdiSubWindow::SubWindowOptions*sipRes;

            sipRes = new QMdiSubWindow::SubWindowOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMdiSubWindow_SubWindowOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State, &a1))
        {
            QMdiSubWindow::SubWindowOptions*sipRes;

            sipRes = new QMdiSubWindow::SubWindowOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QMdiSubWindow_SubWindowOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMdiSubWindow_SubWindowOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;
        QMdiSubWindow::SubWindowOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State, sipType_QMdiSubWindow_SubWindowOptions, &a1, &a1State))
        {
            QMdiSubWindow::SubWindowOptions*sipRes;

            sipRes = new QMdiSubWindow::SubWindowOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QMdiSubWindow_SubWindowOptions,a0State);
            sipReleaseType(a1,sipType_QMdiSubWindow_SubWindowOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QMdiSubWindow_SubWindowOptions,NULL);
        }
    }

    {
        QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State, &a1))
        {
            QMdiSubWindow::SubWindowOptions*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QMdiSubWindow::SubWindowOptions(*a0 ^ a1);
#line 198597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QMdiSubWindow_SubWindowOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMdiSubWindow_SubWindowOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;
        QMdiSubWindow::SubWindowOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State, sipType_QMdiSubWindow_SubWindowOptions, &a1, &a1State))
        {
            QMdiSubWindow::SubWindowOptions*sipRes;

            sipRes = new QMdiSubWindow::SubWindowOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QMdiSubWindow_SubWindowOptions,a0State);
            sipReleaseType(a1,sipType_QMdiSubWindow_SubWindowOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QMdiSubWindow_SubWindowOptions,NULL);
        }
    }

    {
        QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State, &a1))
        {
            QMdiSubWindow::SubWindowOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QMdiSubWindow::SubWindowOptions(*a0 | a1);
#line 198647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QMdiSubWindow_SubWindowOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMdiSubWindow_SubWindowOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___int__(PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___int__(PyObject *sipSelf)
{
    QMdiSubWindow::SubWindowOptions *sipCpp = reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiSubWindow_SubWindowOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMdiSubWindow_SubWindowOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMdiSubWindow_SubWindowOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMdiSubWindow::SubWindowOptions *sipCpp = reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiSubWindow_SubWindowOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State))
        {
            sipCpp->QMdiSubWindow::SubWindowOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QMdiSubWindow_SubWindowOptions,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_QMdiSubWindow_SubWindowOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMdiSubWindow_SubWindowOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMdiSubWindow::SubWindowOptions *sipCpp = reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiSubWindow_SubWindowOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State))
        {
            sipCpp->QMdiSubWindow::SubWindowOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QMdiSubWindow_SubWindowOptions,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_QMdiSubWindow_SubWindowOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QMdiSubWindow_SubWindowOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMdiSubWindow_SubWindowOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMdiSubWindow::SubWindowOptions *sipCpp = reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiSubWindow_SubWindowOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QMdiSubWindow::SubWindowOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMdiSubWindow_SubWindowOptions(void *, const sipTypeDef *);}
static void *cast_QMdiSubWindow_SubWindowOptions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QMdiSubWindow_SubWindowOptions)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMdiSubWindow_SubWindowOptions(void *, int);}
static void release_QMdiSubWindow_SubWindowOptions(void *sipCppV,int)
{
    delete reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipCppV);
}


extern "C" {static void assign_QMdiSubWindow_SubWindowOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QMdiSubWindow_SubWindowOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QMdiSubWindow::SubWindowOptions *>(sipSrc);
}


extern "C" {static void *array_QMdiSubWindow_SubWindowOptions(SIP_SSIZE_T);}
static void *array_QMdiSubWindow_SubWindowOptions(SIP_SSIZE_T sipNrElem)
{
    return new QMdiSubWindow::SubWindowOptions[sipNrElem];
}


extern "C" {static void *copy_QMdiSubWindow_SubWindowOptions(const void *, SIP_SSIZE_T);}
static void *copy_QMdiSubWindow_SubWindowOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QMdiSubWindow::SubWindowOptions(reinterpret_cast<const QMdiSubWindow::SubWindowOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMdiSubWindow_SubWindowOptions(sipSimpleWrapper *);}
static void dealloc_QMdiSubWindow_SubWindowOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QMdiSubWindow_SubWindowOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QMdiSubWindow_SubWindowOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMdiSubWindow_SubWindowOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QMdiSubWindow::SubWindowOptions *sipCpp = 0;

    {
        const QMdiSubWindow::SubWindowOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QMdiSubWindow_SubWindowOptions, &a0, &a0State))
        {
            sipCpp = new QMdiSubWindow::SubWindowOptions(*a0);
            sipReleaseType(const_cast<QMdiSubWindow::SubWindowOptions *>(a0),sipType_QMdiSubWindow_SubWindowOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QMdiSubWindow::SubWindowOptions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QMdiSubWindow::SubWindowOptions();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QMdiSubWindow_SubWindowOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMdiSubWindow_SubWindowOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QMdiSubWindow::SubWindowOptions **sipCppPtr = reinterpret_cast<QMdiSubWindow::SubWindowOptions **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QMdiSubWindow::SubWindowOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMdiSubWindow_SubWindowOption)) ||
            sipCanConvertToType(sipPy, sipType_QMdiSubWindow_SubWindowOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMdiSubWindow_SubWindowOption)))
{
    *sipCppPtr = new QMdiSubWindow::SubWindowOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QMdiSubWindow::SubWindowOptions *>(sipConvertToType(sipPy, sipType_QMdiSubWindow_SubWindowOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 198924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMdiSubWindow_SubWindowOptions[] = {
    {(void *)slot_QMdiSubWindow_SubWindowOptions___bool__, bool_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___ne__, ne_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___eq__, eq_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___invert__, invert_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___and__, and_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___xor__, xor_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___or__, or_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___int__, int_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___ixor__, ixor_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___ior__, ior_slot},
    {(void *)slot_QMdiSubWindow_SubWindowOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMdiSubWindow_SubWindowOptions, "\1QMdiSubWindow.SubWindowOptions(QMdiSubWindow.SubWindowOptions)\n"
    "QMdiSubWindow.SubWindowOptions(int)\n"
    "QMdiSubWindow.SubWindowOptions()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMdiSubWindow_SubWindowOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMdiSubWindow__SubWindowOptions,
        {0}
    },
    {
        sipNameNr_SubWindowOptions,
        {229, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMdiSubWindow_SubWindowOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMdiSubWindow_SubWindowOptions,
    init_type_QMdiSubWindow_SubWindowOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMdiSubWindow_SubWindowOptions,
    assign_QMdiSubWindow_SubWindowOptions,
    array_QMdiSubWindow_SubWindowOptions,
    copy_QMdiSubWindow_SubWindowOptions,
    release_QMdiSubWindow_SubWindowOptions,
    cast_QMdiSubWindow_SubWindowOptions,
    convertTo_QMdiSubWindow_SubWindowOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 199006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 199010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 199016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 199037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 199043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 199055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 199061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 199064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 199067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 199070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 199073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 199076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 199079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 199082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 199085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 199088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 199094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 199103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 199106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 199109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 199112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 199115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 199118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 199121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 199124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 199127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 199130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 199133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 199136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 199160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 199163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 199166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 199169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 199172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 199175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 199178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 199181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 199184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 199187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 199190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 199193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 199196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 199199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 199202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 199205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 199208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 199211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 199214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQMdiSubWindow : public QMdiSubWindow
{
public:
    sipQMdiSubWindow(QWidget*,Qt::WindowFlags);
    virtual ~sipQMdiSubWindow();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void childEvent(QChildEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void keyPressEvent(QKeyEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    void moveEvent(QMoveEvent*);
    void timerEvent(QTimerEvent*);
    void resizeEvent(QResizeEvent*);
    void leaveEvent(QEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool event(QEvent*);
    bool eventFilter(QObject*,QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMdiSubWindow(const sipQMdiSubWindow &);
    sipQMdiSubWindow &operator = (const sipQMdiSubWindow &);

    char sipPyMethods[46];
};

sipQMdiSubWindow::sipQMdiSubWindow(QWidget*a0,Qt::WindowFlags a1): QMdiSubWindow(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMdiSubWindow::~sipQMdiSubWindow()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMdiSubWindow::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMdiSubWindow);
}

int sipQMdiSubWindow::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QMdiSubWindow::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QMdiSubWindow,_c,_id,_a);

    return _id;
}

void *sipQMdiSubWindow::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QMdiSubWindow, _clname, &sipCpp) ? sipCpp : QMdiSubWindow::qt_metacast(_clname));
}

void sipQMdiSubWindow::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QMdiSubWindow::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QMdiSubWindow::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QMdiSubWindow::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQMdiSubWindow::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QMdiSubWindow::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMdiSubWindow::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QMdiSubWindow::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQMdiSubWindow::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QMdiSubWindow::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMdiSubWindow::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QMdiSubWindow::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQMdiSubWindow::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QMdiSubWindow::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMdiSubWindow::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QMdiSubWindow::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQMdiSubWindow::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QMdiSubWindow::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQMdiSubWindow::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QMdiSubWindow::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QMdiSubWindow::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMdiSubWindow::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QMdiSubWindow::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQMdiSubWindow::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiSubWindow::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QMdiSubWindow::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMdiSubWindow::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QMdiSubWindow::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMdiSubWindow::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QMdiSubWindow::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QSize sipQMdiSubWindow::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QMdiSubWindow::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQMdiSubWindow::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QMdiSubWindow::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQMdiSubWindow::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQMdiSubWindow::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQMdiSubWindow::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMdiSubWindow::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMdiSubWindow::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQMdiSubWindow::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQMdiSubWindow::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQMdiSubWindow::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQMdiSubWindow::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQMdiSubWindow::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQMdiSubWindow::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQMdiSubWindow::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQMdiSubWindow::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQMdiSubWindow::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQMdiSubWindow::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQMdiSubWindow::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQMdiSubWindow::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQMdiSubWindow::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

bool sipQMdiSubWindow::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QMdiSubWindow::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQMdiSubWindow::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QMdiSubWindow::event(a0) : event(a0));
}

void sipQMdiSubWindow::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::showEvent(a0) : showEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::hideEvent(a0) : hideEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::changeEvent(a0) : changeEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::closeEvent(a0) : closeEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::leaveEvent(a0) : leaveEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::resizeEvent(a0) : resizeEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::timerEvent(a0) : timerEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::moveEvent(a0) : moveEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::paintEvent(a0) : paintEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::focusInEvent(a0) : focusInEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQMdiSubWindow::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QMdiSubWindow::childEvent(a0) : childEvent(a0));
}


PyDoc_STRVAR(doc_QMdiSubWindow_sender, "QMdiSubWindow.sender() -> QObject");

extern "C" {static PyObject *meth_QMdiSubWindow_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 200438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_sender, doc_QMdiSubWindow_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_receivers, "QMdiSubWindow.receivers(signal) -> int");

extern "C" {static PyObject *meth_QMdiSubWindow_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMdiSubWindow, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 200497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_receivers, doc_QMdiSubWindow_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_customEvent, "QMdiSubWindow.customEvent(QEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_customEvent, doc_QMdiSubWindow_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_connectNotify, "QMdiSubWindow.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMdiSubWindow_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_connectNotify, doc_QMdiSubWindow_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_disconnectNotify, "QMdiSubWindow.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMdiSubWindow_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_disconnectNotify, doc_QMdiSubWindow_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_senderSignalIndex, "QMdiSubWindow.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QMdiSubWindow_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_senderSignalIndex, doc_QMdiSubWindow_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_isSignalConnected, "QMdiSubWindow.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMdiSubWindow_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_isSignalConnected, doc_QMdiSubWindow_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_wheelEvent, "QMdiSubWindow.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_wheelEvent, doc_QMdiSubWindow_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_keyReleaseEvent, "QMdiSubWindow.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_keyReleaseEvent, doc_QMdiSubWindow_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_enterEvent, "QMdiSubWindow.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_enterEvent, doc_QMdiSubWindow_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_tabletEvent, "QMdiSubWindow.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_tabletEvent, doc_QMdiSubWindow_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_actionEvent, "QMdiSubWindow.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_actionEvent, doc_QMdiSubWindow_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_dragEnterEvent, "QMdiSubWindow.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_dragEnterEvent, doc_QMdiSubWindow_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_dragMoveEvent, "QMdiSubWindow.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_dragMoveEvent, doc_QMdiSubWindow_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_dragLeaveEvent, "QMdiSubWindow.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_dragLeaveEvent, doc_QMdiSubWindow_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_dropEvent, "QMdiSubWindow.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_dropEvent, doc_QMdiSubWindow_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_metric, "QMdiSubWindow.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QMdiSubWindow_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_metric, doc_QMdiSubWindow_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_inputMethodEvent, "QMdiSubWindow.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_inputMethodEvent, doc_QMdiSubWindow_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_updateMicroFocus, "QMdiSubWindow.updateMicroFocus()");

extern "C" {static PyObject *meth_QMdiSubWindow_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_updateMicroFocus, doc_QMdiSubWindow_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_create, "QMdiSubWindow.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QMdiSubWindow_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQMdiSubWindow *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_create, doc_QMdiSubWindow_create);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_destroy, "QMdiSubWindow.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QMdiSubWindow_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQMdiSubWindow *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QMdiSubWindow, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_destroy, doc_QMdiSubWindow_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_focusNextPrevChild, "QMdiSubWindow.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QMdiSubWindow_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QMdiSubWindow, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_focusNextPrevChild, doc_QMdiSubWindow_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_focusNextChild, "QMdiSubWindow.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QMdiSubWindow_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_focusNextChild, doc_QMdiSubWindow_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_focusPreviousChild, "QMdiSubWindow.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QMdiSubWindow_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_focusPreviousChild, doc_QMdiSubWindow_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_nativeEvent, "QMdiSubWindow.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QMdiSubWindow_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_nativeEvent, doc_QMdiSubWindow_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_sharedPainter, "QMdiSubWindow.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QMdiSubWindow_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_sharedPainter, doc_QMdiSubWindow_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_initPainter, "QMdiSubWindow.initPainter(QPainter)");

extern "C" {static PyObject *meth_QMdiSubWindow_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_initPainter, doc_QMdiSubWindow_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_sizeHint, "QMdiSubWindow.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QMdiSubWindow_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QMdiSubWindow::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_sizeHint, doc_QMdiSubWindow_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_minimumSizeHint, "QMdiSubWindow.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QMdiSubWindow_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QMdiSubWindow::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_minimumSizeHint, doc_QMdiSubWindow_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_setWidget, "QMdiSubWindow.setWidget(QWidget)");

extern "C" {static PyObject *meth_QMdiSubWindow_setWidget(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_setWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QWidget, &a0))
        {
#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdisubwindow.sip"
        // We have to implement /TransferBack/ on any existing widget.
        QWidget *w = sipCpp->widget();
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->setWidget(a0);
        Py_END_ALLOW_THREADS
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QWidget);
        
            if (wo)
                sipTransferBack(wo);
        }
#line 201319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_setWidget, doc_QMdiSubWindow_setWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_widget, "QMdiSubWindow.widget() -> QWidget");

extern "C" {static PyObject *meth_QMdiSubWindow_widget(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_widget, doc_QMdiSubWindow_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_isShaded, "QMdiSubWindow.isShaded() -> bool");

extern "C" {static PyObject *meth_QMdiSubWindow_isShaded(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_isShaded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isShaded();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_isShaded, doc_QMdiSubWindow_isShaded);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_setOption, "QMdiSubWindow.setOption(QMdiSubWindow.SubWindowOption, bool on=True)");

extern "C" {static PyObject *meth_QMdiSubWindow_setOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_setOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow::SubWindowOption a0;
        bool a1 = 1;
        QMdiSubWindow *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMdiSubWindow_SubWindowOption, &a0, &a1))
        {
            sipCpp->setOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_setOption, doc_QMdiSubWindow_setOption);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_testOption, "QMdiSubWindow.testOption(QMdiSubWindow.SubWindowOption) -> bool");

extern "C" {static PyObject *meth_QMdiSubWindow_testOption(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_testOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow::SubWindowOption a0;
        const QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMdiSubWindow_SubWindowOption, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testOption(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_testOption, doc_QMdiSubWindow_testOption);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_setKeyboardSingleStep, "QMdiSubWindow.setKeyboardSingleStep(int)");

extern "C" {static PyObject *meth_QMdiSubWindow_setKeyboardSingleStep(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_setKeyboardSingleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMdiSubWindow, &sipCpp, &a0))
        {
            sipCpp->setKeyboardSingleStep(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_setKeyboardSingleStep, doc_QMdiSubWindow_setKeyboardSingleStep);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_keyboardSingleStep, "QMdiSubWindow.keyboardSingleStep() -> int");

extern "C" {static PyObject *meth_QMdiSubWindow_keyboardSingleStep(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_keyboardSingleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->keyboardSingleStep();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_keyboardSingleStep, doc_QMdiSubWindow_keyboardSingleStep);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_setKeyboardPageStep, "QMdiSubWindow.setKeyboardPageStep(int)");

extern "C" {static PyObject *meth_QMdiSubWindow_setKeyboardPageStep(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_setKeyboardPageStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QMdiSubWindow, &sipCpp, &a0))
        {
            sipCpp->setKeyboardPageStep(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_setKeyboardPageStep, doc_QMdiSubWindow_setKeyboardPageStep);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_keyboardPageStep, "QMdiSubWindow.keyboardPageStep() -> int");

extern "C" {static PyObject *meth_QMdiSubWindow_keyboardPageStep(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_keyboardPageStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->keyboardPageStep();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_keyboardPageStep, doc_QMdiSubWindow_keyboardPageStep);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_setSystemMenu, "QMdiSubWindow.setSystemMenu(QMenu)");

extern "C" {static PyObject *meth_QMdiSubWindow_setSystemMenu(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_setSystemMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMenu, &a0))
        {
#line 73 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdisubwindow.sip"
        // We have to break the parent association on any existing menu.
        QMenu *w = sipCpp->systemMenu();
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QMenu);
        
            if (wo)
                sipTransferTo(wo, 0);
        }
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->setSystemMenu(a0);
        Py_END_ALLOW_THREADS
#line 201584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_setSystemMenu, doc_QMdiSubWindow_setSystemMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_systemMenu, "QMdiSubWindow.systemMenu() -> QMenu");

extern "C" {static PyObject *meth_QMdiSubWindow_systemMenu(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_systemMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            QMenu*sipRes;

            sipRes = sipCpp->systemMenu();

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_systemMenu, doc_QMdiSubWindow_systemMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_mdiArea, "QMdiSubWindow.mdiArea() -> QMdiArea");

extern "C" {static PyObject *meth_QMdiSubWindow_mdiArea(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_mdiArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            QMdiArea*sipRes;

            sipRes = sipCpp->mdiArea();

            return sipConvertFromType(sipRes,sipType_QMdiArea,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_mdiArea, doc_QMdiSubWindow_mdiArea);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_showSystemMenu, "QMdiSubWindow.showSystemMenu()");

extern "C" {static PyObject *meth_QMdiSubWindow_showSystemMenu(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_showSystemMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            sipCpp->showSystemMenu();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_showSystemMenu, doc_QMdiSubWindow_showSystemMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_showShaded, "QMdiSubWindow.showShaded()");

extern "C" {static PyObject *meth_QMdiSubWindow_showShaded(PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_showShaded(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiSubWindow, &sipCpp))
        {
            sipCpp->showShaded();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_showShaded, doc_QMdiSubWindow_showShaded);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_eventFilter, "QMdiSubWindow.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QMdiSubWindow_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_eventFilter, doc_QMdiSubWindow_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_event, "QMdiSubWindow.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QMdiSubWindow_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_event, doc_QMdiSubWindow_event);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_showEvent, "QMdiSubWindow.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_showEvent, doc_QMdiSubWindow_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_hideEvent, "QMdiSubWindow.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_hideEvent, doc_QMdiSubWindow_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_changeEvent, "QMdiSubWindow.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_changeEvent, doc_QMdiSubWindow_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_closeEvent, "QMdiSubWindow.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_closeEvent, doc_QMdiSubWindow_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_leaveEvent, "QMdiSubWindow.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_leaveEvent, doc_QMdiSubWindow_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_resizeEvent, "QMdiSubWindow.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_resizeEvent, doc_QMdiSubWindow_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_timerEvent, "QMdiSubWindow.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_timerEvent, doc_QMdiSubWindow_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_moveEvent, "QMdiSubWindow.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_moveEvent, doc_QMdiSubWindow_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_paintEvent, "QMdiSubWindow.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_paintEvent, doc_QMdiSubWindow_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_mousePressEvent, "QMdiSubWindow.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_mousePressEvent, doc_QMdiSubWindow_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_mouseDoubleClickEvent, "QMdiSubWindow.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_mouseDoubleClickEvent, doc_QMdiSubWindow_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_mouseReleaseEvent, "QMdiSubWindow.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_mouseReleaseEvent, doc_QMdiSubWindow_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_mouseMoveEvent, "QMdiSubWindow.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_mouseMoveEvent, doc_QMdiSubWindow_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_keyPressEvent, "QMdiSubWindow.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_keyPressEvent, doc_QMdiSubWindow_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_contextMenuEvent, "QMdiSubWindow.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_contextMenuEvent, doc_QMdiSubWindow_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_focusInEvent, "QMdiSubWindow.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_focusInEvent, doc_QMdiSubWindow_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_focusOutEvent, "QMdiSubWindow.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_focusOutEvent, doc_QMdiSubWindow_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiSubWindow_childEvent, "QMdiSubWindow.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QMdiSubWindow_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiSubWindow_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQMdiSubWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiSubWindow, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiSubWindow, sipName_childEvent, doc_QMdiSubWindow_childEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMdiSubWindow(void *, const sipTypeDef *);}
static void *cast_QMdiSubWindow(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QMdiSubWindow)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QMdiSubWindow *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMdiSubWindow(void *, int);}
static void release_QMdiSubWindow(void *sipCppV,int)
{
    QMdiSubWindow *sipCpp = reinterpret_cast<QMdiSubWindow *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMdiSubWindow(sipSimpleWrapper *);}
static void dealloc_QMdiSubWindow(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQMdiSubWindow *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QMdiSubWindow(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QMdiSubWindow(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMdiSubWindow(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMdiSubWindow *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQMdiSubWindow(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMdiSubWindow[] = {{454, 255, 1}};


static PyMethodDef methods_QMdiSubWindow[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QMdiSubWindow_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QMdiSubWindow_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMdiSubWindow_childEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_childEvent)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QMdiSubWindow_closeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_closeEvent)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMdiSubWindow_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QMdiSubWindow_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QMdiSubWindow_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMdiSubWindow_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QMdiSubWindow_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMdiSubWindow_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QMdiSubWindow_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QMdiSubWindow_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QMdiSubWindow_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QMdiSubWindow_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QMdiSubWindow_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QMdiSubWindow_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QMdiSubWindow_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QMdiSubWindow_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QMdiSubWindow_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QMdiSubWindow_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QMdiSubWindow_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QMdiSubWindow_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QMdiSubWindow_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_hideEvent)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QMdiSubWindow_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QMdiSubWindow_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isShaded), meth_QMdiSubWindow_isShaded, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_isShaded)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMdiSubWindow_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QMdiSubWindow_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QMdiSubWindow_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyboardPageStep), meth_QMdiSubWindow_keyboardPageStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_keyboardPageStep)},
    {SIP_MLNAME_CAST(sipName_keyboardSingleStep), meth_QMdiSubWindow_keyboardSingleStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_keyboardSingleStep)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QMdiSubWindow_leaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_leaveEvent)},
    {SIP_MLNAME_CAST(sipName_mdiArea), meth_QMdiSubWindow_mdiArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_mdiArea)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QMdiSubWindow_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QMdiSubWindow_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QMdiSubWindow_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QMdiSubWindow_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QMdiSubWindow_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QMdiSubWindow_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QMdiSubWindow_moveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_moveEvent)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QMdiSubWindow_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QMdiSubWindow_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMdiSubWindow_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QMdiSubWindow_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMdiSubWindow_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMdiSubWindow_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeyboardPageStep), meth_QMdiSubWindow_setKeyboardPageStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_setKeyboardPageStep)},
    {SIP_MLNAME_CAST(sipName_setKeyboardSingleStep), meth_QMdiSubWindow_setKeyboardSingleStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_setKeyboardSingleStep)},
    {SIP_MLNAME_CAST(sipName_setOption), (PyCFunction)meth_QMdiSubWindow_setOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_setOption)},
    {SIP_MLNAME_CAST(sipName_setSystemMenu), meth_QMdiSubWindow_setSystemMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_setSystemMenu)},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_QMdiSubWindow_setWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_setWidget)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QMdiSubWindow_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QMdiSubWindow_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_showEvent)},
    {SIP_MLNAME_CAST(sipName_showShaded), meth_QMdiSubWindow_showShaded, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_showShaded)},
    {SIP_MLNAME_CAST(sipName_showSystemMenu), meth_QMdiSubWindow_showSystemMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_showSystemMenu)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QMdiSubWindow_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_sizeHint)},
    {SIP_MLNAME_CAST(sipName_systemMenu), meth_QMdiSubWindow_systemMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_systemMenu)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QMdiSubWindow_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_testOption), meth_QMdiSubWindow_testOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_testOption)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMdiSubWindow_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiSubWindow_timerEvent)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QMdiSubWindow_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QMdiSubWindow_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QMdiSubWindow_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiSubWindow_widget)}
};

static sipEnumMemberDef enummembers_QMdiSubWindow[] = {
    {sipName_RubberBandMove, static_cast<int>(QMdiSubWindow::RubberBandMove), 230},
    {sipName_RubberBandResize, static_cast<int>(QMdiSubWindow::RubberBandResize), 230},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMdiSubWindow[] = {
    {"aboutToActivate()", "\1QMdiSubWindow.aboutToActivate", 0, 0},
    {"windowStateChanged(Qt::WindowStates,Qt::WindowStates)", "\1QMdiSubWindow.windowStateChanged[Qt.WindowStates, Qt.WindowStates]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMdiSubWindow, "\1QMdiSubWindow(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMdiSubWindow = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMdiSubWindow,
        {0}
    },
    {
        sipNameNr_QMdiSubWindow,
        {0, 0, 1},
        63, methods_QMdiSubWindow,
        2, enummembers_QMdiSubWindow,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMdiSubWindow,
    -1,
    -1,
    supers_QMdiSubWindow,
    0,
    init_type_QMdiSubWindow,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMdiSubWindow,
    0,
    0,
    0,
    release_QMdiSubWindow,
    cast_QMdiSubWindow,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QMdiSubWindow::staticMetaObject,
    0,
    signals_QMdiSubWindow,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 202483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 202487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QMdiArea_AreaOptions___bool__(PyObject *);}
static int slot_QMdiArea_AreaOptions___bool__(PyObject *sipSelf)
{
    QMdiArea::AreaOptions *sipCpp = reinterpret_cast<QMdiArea::AreaOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiArea_AreaOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiArea::AreaOptions::Int() != 0);
#line 202505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QMdiArea::AreaOptions *sipCpp = reinterpret_cast<QMdiArea::AreaOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiArea_AreaOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QMdiArea::AreaOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMdiArea_AreaOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiArea::AreaOptions::Int() != a0->operator QMdiArea::AreaOptions::Int());
#line 202535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QMdiArea::AreaOptions *>(a0),sipType_QMdiArea_AreaOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QMdiArea_AreaOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QMdiArea::AreaOptions *sipCpp = reinterpret_cast<QMdiArea::AreaOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiArea_AreaOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QMdiArea::AreaOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMdiArea_AreaOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMdiArea::AreaOptions::Int() == a0->operator QMdiArea::AreaOptions::Int());
#line 202571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QMdiArea::AreaOptions *>(a0),sipType_QMdiArea_AreaOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QMdiArea_AreaOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___invert__(PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___invert__(PyObject *sipSelf)
{
    QMdiArea::AreaOptions *sipCpp = reinterpret_cast<QMdiArea::AreaOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiArea_AreaOptions));

    if (!sipCpp)
        return 0;


    {
        {
            QMdiArea::AreaOptions*sipRes;

            sipRes = new QMdiArea::AreaOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMdiArea_AreaOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea::AreaOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMdiArea_AreaOptions, &a0, &a0State, &a1))
        {
            QMdiArea::AreaOptions*sipRes;

            sipRes = new QMdiArea::AreaOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QMdiArea_AreaOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMdiArea_AreaOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea::AreaOptions* a0;
        int a0State = 0;
        QMdiArea::AreaOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QMdiArea_AreaOptions, &a0, &a0State, sipType_QMdiArea_AreaOptions, &a1, &a1State))
        {
            QMdiArea::AreaOptions*sipRes;

            sipRes = new QMdiArea::AreaOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QMdiArea_AreaOptions,a0State);
            sipReleaseType(a1,sipType_QMdiArea_AreaOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QMdiArea_AreaOptions,NULL);
        }
    }

    {
        QMdiArea::AreaOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMdiArea_AreaOptions, &a0, &a0State, &a1))
        {
            QMdiArea::AreaOptions*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QMdiArea::AreaOptions(*a0 ^ a1);
#line 202674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QMdiArea_AreaOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMdiArea_AreaOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea::AreaOptions* a0;
        int a0State = 0;
        QMdiArea::AreaOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QMdiArea_AreaOptions, &a0, &a0State, sipType_QMdiArea_AreaOptions, &a1, &a1State))
        {
            QMdiArea::AreaOptions*sipRes;

            sipRes = new QMdiArea::AreaOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QMdiArea_AreaOptions,a0State);
            sipReleaseType(a1,sipType_QMdiArea_AreaOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QMdiArea_AreaOptions,NULL);
        }
    }

    {
        QMdiArea::AreaOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMdiArea_AreaOptions, &a0, &a0State, &a1))
        {
            QMdiArea::AreaOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QMdiArea::AreaOptions(*a0 | a1);
#line 202724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QMdiArea_AreaOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMdiArea_AreaOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___int__(PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___int__(PyObject *sipSelf)
{
    QMdiArea::AreaOptions *sipCpp = reinterpret_cast<QMdiArea::AreaOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiArea_AreaOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMdiArea_AreaOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMdiArea_AreaOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMdiArea::AreaOptions *sipCpp = reinterpret_cast<QMdiArea::AreaOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiArea_AreaOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QMdiArea::AreaOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMdiArea_AreaOptions, &a0, &a0State))
        {
            sipCpp->QMdiArea::AreaOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QMdiArea_AreaOptions,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_QMdiArea_AreaOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMdiArea_AreaOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMdiArea::AreaOptions *sipCpp = reinterpret_cast<QMdiArea::AreaOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiArea_AreaOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QMdiArea::AreaOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMdiArea_AreaOptions, &a0, &a0State))
        {
            sipCpp->QMdiArea::AreaOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QMdiArea_AreaOptions,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_QMdiArea_AreaOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QMdiArea_AreaOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMdiArea_AreaOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMdiArea::AreaOptions *sipCpp = reinterpret_cast<QMdiArea::AreaOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMdiArea_AreaOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QMdiArea::AreaOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMdiArea_AreaOptions(void *, const sipTypeDef *);}
static void *cast_QMdiArea_AreaOptions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QMdiArea_AreaOptions)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMdiArea_AreaOptions(void *, int);}
static void release_QMdiArea_AreaOptions(void *sipCppV,int)
{
    delete reinterpret_cast<QMdiArea::AreaOptions *>(sipCppV);
}


extern "C" {static void assign_QMdiArea_AreaOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QMdiArea_AreaOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QMdiArea::AreaOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QMdiArea::AreaOptions *>(sipSrc);
}


extern "C" {static void *array_QMdiArea_AreaOptions(SIP_SSIZE_T);}
static void *array_QMdiArea_AreaOptions(SIP_SSIZE_T sipNrElem)
{
    return new QMdiArea::AreaOptions[sipNrElem];
}


extern "C" {static void *copy_QMdiArea_AreaOptions(const void *, SIP_SSIZE_T);}
static void *copy_QMdiArea_AreaOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QMdiArea::AreaOptions(reinterpret_cast<const QMdiArea::AreaOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMdiArea_AreaOptions(sipSimpleWrapper *);}
static void dealloc_QMdiArea_AreaOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QMdiArea_AreaOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QMdiArea_AreaOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMdiArea_AreaOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QMdiArea::AreaOptions *sipCpp = 0;

    {
        const QMdiArea::AreaOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QMdiArea_AreaOptions, &a0, &a0State))
        {
            sipCpp = new QMdiArea::AreaOptions(*a0);
            sipReleaseType(const_cast<QMdiArea::AreaOptions *>(a0),sipType_QMdiArea_AreaOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QMdiArea::AreaOptions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QMdiArea::AreaOptions();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QMdiArea_AreaOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMdiArea_AreaOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QMdiArea::AreaOptions **sipCppPtr = reinterpret_cast<QMdiArea::AreaOptions **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QMdiArea::AreaOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMdiArea_AreaOption)) ||
            sipCanConvertToType(sipPy, sipType_QMdiArea_AreaOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMdiArea_AreaOption)))
{
    *sipCppPtr = new QMdiArea::AreaOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QMdiArea::AreaOptions *>(sipConvertToType(sipPy, sipType_QMdiArea_AreaOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 203001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMdiArea_AreaOptions[] = {
    {(void *)slot_QMdiArea_AreaOptions___bool__, bool_slot},
    {(void *)slot_QMdiArea_AreaOptions___ne__, ne_slot},
    {(void *)slot_QMdiArea_AreaOptions___eq__, eq_slot},
    {(void *)slot_QMdiArea_AreaOptions___invert__, invert_slot},
    {(void *)slot_QMdiArea_AreaOptions___and__, and_slot},
    {(void *)slot_QMdiArea_AreaOptions___xor__, xor_slot},
    {(void *)slot_QMdiArea_AreaOptions___or__, or_slot},
    {(void *)slot_QMdiArea_AreaOptions___int__, int_slot},
    {(void *)slot_QMdiArea_AreaOptions___ixor__, ixor_slot},
    {(void *)slot_QMdiArea_AreaOptions___ior__, ior_slot},
    {(void *)slot_QMdiArea_AreaOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMdiArea_AreaOptions, "\1QMdiArea.AreaOptions(QMdiArea.AreaOptions)\n"
    "QMdiArea.AreaOptions(int)\n"
    "QMdiArea.AreaOptions()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMdiArea_AreaOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMdiArea__AreaOptions,
        {0}
    },
    {
        sipNameNr_AreaOptions,
        {224, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMdiArea_AreaOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMdiArea_AreaOptions,
    init_type_QMdiArea_AreaOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMdiArea_AreaOptions,
    assign_QMdiArea_AreaOptions,
    array_QMdiArea_AreaOptions,
    copy_QMdiArea_AreaOptions,
    release_QMdiArea_AreaOptions,
    cast_QMdiArea_AreaOptions,
    convertTo_QMdiArea_AreaOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdiarea.sip"
#include <qmdiarea.h>
#line 203083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 203087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtabwidget.sip"
#include <qtabwidget.h>
#line 203090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 203093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 203099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 203105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 203111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdisubwindow.sip"
#include <qmdisubwindow.h>
#line 203114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 203117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 203120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 203123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 203126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 203129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 203132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 203135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 203138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 203165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 203168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 203171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 203174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 203177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 203180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 203183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 203186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 203189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 203192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 203195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 203198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 203201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 203204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 203207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 203210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 203213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 203216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 203219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 203222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 203225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 203228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 203231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 203234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 203255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 203258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 203261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 203264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 203267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 203270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 203273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 203276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 203279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 203282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 203285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 203288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 203291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 203294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 203297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 203300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 203303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 203306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 203309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 203312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQMdiArea : public QMdiArea
{
public:
    sipQMdiArea(QWidget*);
    virtual ~sipQMdiArea();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_setupViewport(bool,QWidget*);
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void keyPressEvent(QKeyEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void scrollContentsBy(int,int);
    bool viewportEvent(QEvent*);
    void showEvent(QShowEvent*);
    void timerEvent(QTimerEvent*);
    void resizeEvent(QResizeEvent*);
    void childEvent(QChildEvent*);
    void paintEvent(QPaintEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void setupViewport(QWidget*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMdiArea(const sipQMdiArea &);
    sipQMdiArea &operator = (const sipQMdiArea &);

    char sipPyMethods[49];
};

sipQMdiArea::sipQMdiArea(QWidget*a0): QMdiArea(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMdiArea::~sipQMdiArea()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMdiArea::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMdiArea);
}

int sipQMdiArea::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QMdiArea::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QMdiArea,_c,_id,_a);

    return _id;
}

void *sipQMdiArea::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QMdiArea, _clname, &sipCpp) ? sipCpp : QMdiArea::qt_metacast(_clname));
}

void sipQMdiArea::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QMdiArea::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QMdiArea::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QMdiArea::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QMdiArea::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQMdiArea::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QMdiArea::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMdiArea::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QMdiArea::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQMdiArea::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QMdiArea::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMdiArea::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QMdiArea::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQMdiArea::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QMdiArea::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QMdiArea::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMdiArea::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QMdiArea::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QMdiArea::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QMdiArea::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QMdiArea::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QMdiArea::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QMdiArea::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QMdiArea::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QMdiArea::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QMdiArea::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QMdiArea::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QMdiArea::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQMdiArea::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QMdiArea::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQMdiArea::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QMdiArea::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QMdiArea::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMdiArea::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QMdiArea::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQMdiArea::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QMdiArea::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QMdiArea::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QMdiArea::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QMdiArea::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QMdiArea::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QMdiArea::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QMdiArea::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QMdiArea::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QMdiArea::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QMdiArea::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QMdiArea::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QMdiArea::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QMdiArea::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQMdiArea::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QMdiArea::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QMdiArea::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QMdiArea::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QMdiArea::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QMdiArea::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QMdiArea::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMdiArea::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QMdiArea::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQMdiArea::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QMdiArea::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMdiArea::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QMdiArea::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQMdiArea::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QMdiArea::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQMdiArea::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QMdiArea::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQMdiArea::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQMdiArea::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQMdiArea::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQMdiArea::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMdiArea::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMdiArea::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQMdiArea::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQMdiArea::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQMdiArea::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQMdiArea::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQMdiArea::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQMdiArea::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQMdiArea::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQMdiArea::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQMdiArea::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQMdiArea::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQMdiArea::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQMdiArea::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQMdiArea::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQMdiArea::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQMdiArea::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQMdiArea::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQMdiArea::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQMdiArea::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQMdiArea::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQMdiArea::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQMdiArea::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQMdiArea::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQMdiArea::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQMdiArea::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQMdiArea::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQMdiArea::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQMdiArea::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQMdiArea::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQMdiArea::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQMdiArea::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQMdiArea::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQMdiArea::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQMdiArea::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQMdiArea::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQMdiArea::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQMdiArea::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dropEvent(a0) : dropEvent(a0));
}

void sipQMdiArea::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQMdiArea::sipProtectVirt_setupViewport(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QMdiArea::setupViewport(a0) : setupViewport(a0));
}

bool sipQMdiArea::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QMdiArea::event(a0) : event(a0));
}

bool sipQMdiArea::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QMdiArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQMdiArea::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QMdiArea::paintEvent(a0) : paintEvent(a0));
}

void sipQMdiArea::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QMdiArea::childEvent(a0) : childEvent(a0));
}

void sipQMdiArea::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QMdiArea::resizeEvent(a0) : resizeEvent(a0));
}

void sipQMdiArea::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QMdiArea::timerEvent(a0) : timerEvent(a0));
}

void sipQMdiArea::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QMdiArea::showEvent(a0) : showEvent(a0));
}

bool sipQMdiArea::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QMdiArea::viewportEvent(a0) : viewportEvent(a0));
}

void sipQMdiArea::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QMdiArea::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}


PyDoc_STRVAR(doc_QMdiArea_sender, "QMdiArea.sender() -> QObject");

extern "C" {static PyObject *meth_QMdiArea_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 204626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_sender, doc_QMdiArea_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_receivers, "QMdiArea.receivers(signal) -> int");

extern "C" {static PyObject *meth_QMdiArea_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMdiArea, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 204685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_receivers, doc_QMdiArea_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_customEvent, "QMdiArea.customEvent(QEvent)");

extern "C" {static PyObject *meth_QMdiArea_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_customEvent, doc_QMdiArea_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_connectNotify, "QMdiArea.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMdiArea_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_connectNotify, doc_QMdiArea_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_disconnectNotify, "QMdiArea.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMdiArea_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_disconnectNotify, doc_QMdiArea_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_senderSignalIndex, "QMdiArea.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QMdiArea_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_senderSignalIndex, doc_QMdiArea_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_isSignalConnected, "QMdiArea.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMdiArea_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_isSignalConnected, doc_QMdiArea_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_keyReleaseEvent, "QMdiArea.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMdiArea_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_keyReleaseEvent, doc_QMdiArea_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_focusInEvent, "QMdiArea.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMdiArea_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_focusInEvent, doc_QMdiArea_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_focusOutEvent, "QMdiArea.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMdiArea_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_focusOutEvent, doc_QMdiArea_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_enterEvent, "QMdiArea.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QMdiArea_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_enterEvent, doc_QMdiArea_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_leaveEvent, "QMdiArea.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QMdiArea_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_leaveEvent, doc_QMdiArea_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_moveEvent, "QMdiArea.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QMdiArea_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_moveEvent, doc_QMdiArea_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_closeEvent, "QMdiArea.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QMdiArea_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_closeEvent, doc_QMdiArea_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_tabletEvent, "QMdiArea.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QMdiArea_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_tabletEvent, doc_QMdiArea_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_actionEvent, "QMdiArea.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QMdiArea_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_actionEvent, doc_QMdiArea_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_hideEvent, "QMdiArea.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QMdiArea_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_hideEvent, doc_QMdiArea_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_metric, "QMdiArea.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QMdiArea_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_metric, doc_QMdiArea_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_inputMethodEvent, "QMdiArea.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QMdiArea_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_inputMethodEvent, doc_QMdiArea_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_updateMicroFocus, "QMdiArea.updateMicroFocus()");

extern "C" {static PyObject *meth_QMdiArea_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_updateMicroFocus, doc_QMdiArea_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_create, "QMdiArea.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QMdiArea_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQMdiArea *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_create, doc_QMdiArea_create);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_destroy, "QMdiArea.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QMdiArea_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQMdiArea *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QMdiArea, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_destroy, doc_QMdiArea_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_focusNextPrevChild, "QMdiArea.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QMdiArea_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QMdiArea, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_focusNextPrevChild, doc_QMdiArea_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_focusNextChild, "QMdiArea.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QMdiArea_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_focusNextChild, doc_QMdiArea_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_focusPreviousChild, "QMdiArea.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QMdiArea_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_focusPreviousChild, doc_QMdiArea_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_nativeEvent, "QMdiArea.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QMdiArea_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_nativeEvent, doc_QMdiArea_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_sharedPainter, "QMdiArea.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QMdiArea_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_sharedPainter, doc_QMdiArea_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_initPainter, "QMdiArea.initPainter(QPainter)");

extern "C" {static PyObject *meth_QMdiArea_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_initPainter, doc_QMdiArea_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_changeEvent, "QMdiArea.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QMdiArea_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_changeEvent, doc_QMdiArea_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_drawFrame, "QMdiArea.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QMdiArea_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_drawFrame, doc_QMdiArea_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setViewportMargins, "QMdiArea.setViewportMargins(int, int, int, int)\n"
    "QMdiArea.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QMdiArea_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QMdiArea, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setViewportMargins, doc_QMdiArea_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_mousePressEvent, "QMdiArea.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMdiArea_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_mousePressEvent, doc_QMdiArea_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_mouseReleaseEvent, "QMdiArea.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMdiArea_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_mouseReleaseEvent, doc_QMdiArea_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_mouseDoubleClickEvent, "QMdiArea.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMdiArea_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_mouseDoubleClickEvent, doc_QMdiArea_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_mouseMoveEvent, "QMdiArea.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMdiArea_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_mouseMoveEvent, doc_QMdiArea_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_wheelEvent, "QMdiArea.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QMdiArea_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_wheelEvent, doc_QMdiArea_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_contextMenuEvent, "QMdiArea.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QMdiArea_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_contextMenuEvent, doc_QMdiArea_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_dragEnterEvent, "QMdiArea.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QMdiArea_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_dragEnterEvent, doc_QMdiArea_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_dragMoveEvent, "QMdiArea.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QMdiArea_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_dragMoveEvent, doc_QMdiArea_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_dragLeaveEvent, "QMdiArea.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QMdiArea_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_dragLeaveEvent, doc_QMdiArea_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_dropEvent, "QMdiArea.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QMdiArea_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_dropEvent, doc_QMdiArea_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_keyPressEvent, "QMdiArea.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMdiArea_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_keyPressEvent, doc_QMdiArea_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_sizeHint, "QMdiArea.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QMdiArea_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QMdiArea::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_sizeHint, doc_QMdiArea_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_minimumSizeHint, "QMdiArea.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QMdiArea_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QMdiArea::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_minimumSizeHint, doc_QMdiArea_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_activeSubWindow, "QMdiArea.activeSubWindow() -> QMdiSubWindow");

extern "C" {static PyObject *meth_QMdiArea_activeSubWindow(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_activeSubWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QMdiSubWindow*sipRes;

            sipRes = sipCpp->activeSubWindow();

            return sipConvertFromType(sipRes,sipType_QMdiSubWindow,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_activeSubWindow, doc_QMdiArea_activeSubWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_addSubWindow, "QMdiArea.addSubWindow(QWidget, Qt.WindowFlags flags=0) -> QMdiSubWindow");

extern "C" {static PyObject *meth_QMdiArea_addSubWindow(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_addSubWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;
        QMdiArea *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:|J1", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QWidget, &a0, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            QMdiSubWindow*sipRes;

            sipRes = sipCpp->addSubWindow(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            return sipConvertFromType(sipRes,sipType_QMdiSubWindow,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_addSubWindow, doc_QMdiArea_addSubWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_subWindowList, "QMdiArea.subWindowList(QMdiArea.WindowOrder order=QMdiArea.CreationOrder) -> list-of-QMdiSubWindow");

extern "C" {static PyObject *meth_QMdiArea_subWindowList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_subWindowList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea::WindowOrder a0 = QMdiArea::CreationOrder;
        const QMdiArea *sipCpp;

        static const char *sipKwdList[] = {
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMdiArea_WindowOrder, &a0))
        {
            QList<QMdiSubWindow*>*sipRes;

            sipRes = new QList<QMdiSubWindow*>(sipCpp->subWindowList(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QMdiSubWindow,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_subWindowList, doc_QMdiArea_subWindowList);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_currentSubWindow, "QMdiArea.currentSubWindow() -> QMdiSubWindow");

extern "C" {static PyObject *meth_QMdiArea_currentSubWindow(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_currentSubWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QMdiSubWindow*sipRes;

            sipRes = sipCpp->currentSubWindow();

            return sipConvertFromType(sipRes,sipType_QMdiSubWindow,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_currentSubWindow, doc_QMdiArea_currentSubWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_removeSubWindow, "QMdiArea.removeSubWindow(QWidget)");

extern "C" {static PyObject *meth_QMdiArea_removeSubWindow(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_removeSubWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QMdiArea, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 64 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmdiarea.sip"
        // We need to implement /TransferBack/ on the argument, but it might be the
        // QMdiSubWindow that wraps the widget we are really after.
        QMdiSubWindow *swin = qobject_cast<QMdiSubWindow *>(a0);
        
        if (swin)
        {
            QWidget *w = swin->widget();
        
            a0Wrapper = (w ? sipGetPyObject(w, sipType_QWidget) : 0);
        }
        else
            a0Wrapper = 0;
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->removeSubWindow(a0);
        Py_END_ALLOW_THREADS
        
        if (a0Wrapper)
            sipTransferBack(a0Wrapper);
#line 206071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_removeSubWindow, doc_QMdiArea_removeSubWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_background, "QMdiArea.background() -> QBrush");

extern "C" {static PyObject *meth_QMdiArea_background(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_background(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->background());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_background, doc_QMdiArea_background);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setBackground, "QMdiArea.setBackground(QBrush)");

extern "C" {static PyObject *meth_QMdiArea_setBackground(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setBackground(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setBackground, doc_QMdiArea_setBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setOption, "QMdiArea.setOption(QMdiArea.AreaOption, bool on=True)");

extern "C" {static PyObject *meth_QMdiArea_setOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea::AreaOption a0;
        bool a1 = 1;
        QMdiArea *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMdiArea_AreaOption, &a0, &a1))
        {
            sipCpp->setOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setOption, doc_QMdiArea_setOption);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_testOption, "QMdiArea.testOption(QMdiArea.AreaOption) -> bool");

extern "C" {static PyObject *meth_QMdiArea_testOption(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_testOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea::AreaOption a0;
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMdiArea_AreaOption, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testOption(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_testOption, doc_QMdiArea_testOption);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setActiveSubWindow, "QMdiArea.setActiveSubWindow(QMdiSubWindow)");

extern "C" {static PyObject *meth_QMdiArea_setActiveSubWindow(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setActiveSubWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiSubWindow* a0;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMdiSubWindow, &a0))
        {
            sipCpp->setActiveSubWindow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setActiveSubWindow, doc_QMdiArea_setActiveSubWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_tileSubWindows, "QMdiArea.tileSubWindows()");

extern "C" {static PyObject *meth_QMdiArea_tileSubWindows(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_tileSubWindows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            sipCpp->tileSubWindows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_tileSubWindows, doc_QMdiArea_tileSubWindows);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_cascadeSubWindows, "QMdiArea.cascadeSubWindows()");

extern "C" {static PyObject *meth_QMdiArea_cascadeSubWindows(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_cascadeSubWindows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            sipCpp->cascadeSubWindows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_cascadeSubWindows, doc_QMdiArea_cascadeSubWindows);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_closeActiveSubWindow, "QMdiArea.closeActiveSubWindow()");

extern "C" {static PyObject *meth_QMdiArea_closeActiveSubWindow(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_closeActiveSubWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            sipCpp->closeActiveSubWindow();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_closeActiveSubWindow, doc_QMdiArea_closeActiveSubWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_closeAllSubWindows, "QMdiArea.closeAllSubWindows()");

extern "C" {static PyObject *meth_QMdiArea_closeAllSubWindows(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_closeAllSubWindows(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            sipCpp->closeAllSubWindows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_closeAllSubWindows, doc_QMdiArea_closeAllSubWindows);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_activateNextSubWindow, "QMdiArea.activateNextSubWindow()");

extern "C" {static PyObject *meth_QMdiArea_activateNextSubWindow(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_activateNextSubWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            sipCpp->activateNextSubWindow();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_activateNextSubWindow, doc_QMdiArea_activateNextSubWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_activatePreviousSubWindow, "QMdiArea.activatePreviousSubWindow()");

extern "C" {static PyObject *meth_QMdiArea_activatePreviousSubWindow(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_activatePreviousSubWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            sipCpp->activatePreviousSubWindow();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_activatePreviousSubWindow, doc_QMdiArea_activatePreviousSubWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setupViewport, "QMdiArea.setupViewport(QWidget)");

extern "C" {static PyObject *meth_QMdiArea_setupViewport(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setupViewport(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_setupViewport(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setupViewport, doc_QMdiArea_setupViewport);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_event, "QMdiArea.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QMdiArea_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_event, doc_QMdiArea_event);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_eventFilter, "QMdiArea.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QMdiArea_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_eventFilter, doc_QMdiArea_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_paintEvent, "QMdiArea.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QMdiArea_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_paintEvent, doc_QMdiArea_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_childEvent, "QMdiArea.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QMdiArea_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_childEvent, doc_QMdiArea_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_resizeEvent, "QMdiArea.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QMdiArea_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_resizeEvent, doc_QMdiArea_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_timerEvent, "QMdiArea.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QMdiArea_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_timerEvent, doc_QMdiArea_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_showEvent, "QMdiArea.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QMdiArea_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_showEvent, doc_QMdiArea_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_viewportEvent, "QMdiArea.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QMdiArea_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_viewportEvent, doc_QMdiArea_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_scrollContentsBy, "QMdiArea.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QMdiArea_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQMdiArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QMdiArea, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_scrollContentsBy, doc_QMdiArea_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_activationOrder, "QMdiArea.activationOrder() -> QMdiArea.WindowOrder");

extern "C" {static PyObject *meth_QMdiArea_activationOrder(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_activationOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QMdiArea::WindowOrder sipRes;

            sipRes = sipCpp->activationOrder();

            return sipConvertFromEnum(sipRes,sipType_QMdiArea_WindowOrder);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_activationOrder, doc_QMdiArea_activationOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setActivationOrder, "QMdiArea.setActivationOrder(QMdiArea.WindowOrder)");

extern "C" {static PyObject *meth_QMdiArea_setActivationOrder(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setActivationOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea::WindowOrder a0;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMdiArea_WindowOrder, &a0))
        {
            sipCpp->setActivationOrder(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setActivationOrder, doc_QMdiArea_setActivationOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setViewMode, "QMdiArea.setViewMode(QMdiArea.ViewMode)");

extern "C" {static PyObject *meth_QMdiArea_setViewMode(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setViewMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMdiArea::ViewMode a0;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QMdiArea_ViewMode, &a0))
        {
            sipCpp->setViewMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setViewMode, doc_QMdiArea_setViewMode);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_viewMode, "QMdiArea.viewMode() -> QMdiArea.ViewMode");

extern "C" {static PyObject *meth_QMdiArea_viewMode(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_viewMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QMdiArea::ViewMode sipRes;

            sipRes = sipCpp->viewMode();

            return sipConvertFromEnum(sipRes,sipType_QMdiArea_ViewMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_viewMode, doc_QMdiArea_viewMode);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setTabShape, "QMdiArea.setTabShape(QTabWidget.TabShape)");

extern "C" {static PyObject *meth_QMdiArea_setTabShape(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setTabShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTabWidget::TabShape a0;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QTabWidget_TabShape, &a0))
        {
            sipCpp->setTabShape(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setTabShape, doc_QMdiArea_setTabShape);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_tabShape, "QMdiArea.tabShape() -> QTabWidget.TabShape");

extern "C" {static PyObject *meth_QMdiArea_tabShape(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_tabShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QTabWidget::TabShape sipRes;

            sipRes = sipCpp->tabShape();

            return sipConvertFromEnum(sipRes,sipType_QTabWidget_TabShape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_tabShape, doc_QMdiArea_tabShape);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setTabPosition, "QMdiArea.setTabPosition(QTabWidget.TabPosition)");

extern "C" {static PyObject *meth_QMdiArea_setTabPosition(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setTabPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTabWidget::TabPosition a0;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMdiArea, &sipCpp, sipType_QTabWidget_TabPosition, &a0))
        {
            sipCpp->setTabPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setTabPosition, doc_QMdiArea_setTabPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_tabPosition, "QMdiArea.tabPosition() -> QTabWidget.TabPosition");

extern "C" {static PyObject *meth_QMdiArea_tabPosition(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_tabPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            QTabWidget::TabPosition sipRes;

            sipRes = sipCpp->tabPosition();

            return sipConvertFromEnum(sipRes,sipType_QTabWidget_TabPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_tabPosition, doc_QMdiArea_tabPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_documentMode, "QMdiArea.documentMode() -> bool");

extern "C" {static PyObject *meth_QMdiArea_documentMode(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_documentMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->documentMode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_documentMode, doc_QMdiArea_documentMode);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setDocumentMode, "QMdiArea.setDocumentMode(bool)");

extern "C" {static PyObject *meth_QMdiArea_setDocumentMode(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setDocumentMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMdiArea, &sipCpp, &a0))
        {
            sipCpp->setDocumentMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setDocumentMode, doc_QMdiArea_setDocumentMode);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setTabsClosable, "QMdiArea.setTabsClosable(bool)");

extern "C" {static PyObject *meth_QMdiArea_setTabsClosable(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setTabsClosable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMdiArea, &sipCpp, &a0))
        {
            sipCpp->setTabsClosable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setTabsClosable, doc_QMdiArea_setTabsClosable);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_tabsClosable, "QMdiArea.tabsClosable() -> bool");

extern "C" {static PyObject *meth_QMdiArea_tabsClosable(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_tabsClosable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tabsClosable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_tabsClosable, doc_QMdiArea_tabsClosable);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_setTabsMovable, "QMdiArea.setTabsMovable(bool)");

extern "C" {static PyObject *meth_QMdiArea_setTabsMovable(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_setTabsMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMdiArea, &sipCpp, &a0))
        {
            sipCpp->setTabsMovable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_setTabsMovable, doc_QMdiArea_setTabsMovable);

    return NULL;
}


PyDoc_STRVAR(doc_QMdiArea_tabsMovable, "QMdiArea.tabsMovable() -> bool");

extern "C" {static PyObject *meth_QMdiArea_tabsMovable(PyObject *, PyObject *);}
static PyObject *meth_QMdiArea_tabsMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMdiArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMdiArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tabsMovable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMdiArea, sipName_tabsMovable, doc_QMdiArea_tabsMovable);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMdiArea(void *, const sipTypeDef *);}
static void *cast_QMdiArea(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QMdiArea)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractScrollArea)->ctd_cast((QAbstractScrollArea *)(QMdiArea *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMdiArea(void *, int);}
static void release_QMdiArea(void *sipCppV,int)
{
    QMdiArea *sipCpp = reinterpret_cast<QMdiArea *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMdiArea(sipSimpleWrapper *);}
static void dealloc_QMdiArea(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQMdiArea *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QMdiArea(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QMdiArea(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMdiArea(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMdiArea *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQMdiArea(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMdiArea[] = {{15, 255, 1}};


static PyMethodDef methods_QMdiArea[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QMdiArea_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_activateNextSubWindow), meth_QMdiArea_activateNextSubWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_activateNextSubWindow)},
    {SIP_MLNAME_CAST(sipName_activatePreviousSubWindow), meth_QMdiArea_activatePreviousSubWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_activatePreviousSubWindow)},
    {SIP_MLNAME_CAST(sipName_activationOrder), meth_QMdiArea_activationOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_activationOrder)},
    {SIP_MLNAME_CAST(sipName_activeSubWindow), meth_QMdiArea_activeSubWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_activeSubWindow)},
    {SIP_MLNAME_CAST(sipName_addSubWindow), (PyCFunction)meth_QMdiArea_addSubWindow, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_addSubWindow)},
    {SIP_MLNAME_CAST(sipName_background), meth_QMdiArea_background, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_background)},
    {SIP_MLNAME_CAST(sipName_cascadeSubWindows), meth_QMdiArea_cascadeSubWindows, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_cascadeSubWindows)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QMdiArea_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMdiArea_childEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_childEvent)},
    {SIP_MLNAME_CAST(sipName_closeActiveSubWindow), meth_QMdiArea_closeActiveSubWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_closeActiveSubWindow)},
    {SIP_MLNAME_CAST(sipName_closeAllSubWindows), meth_QMdiArea_closeAllSubWindows, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_closeAllSubWindows)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QMdiArea_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMdiArea_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QMdiArea_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QMdiArea_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentSubWindow), meth_QMdiArea_currentSubWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_currentSubWindow)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMdiArea_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QMdiArea_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMdiArea_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_documentMode), meth_QMdiArea_documentMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_documentMode)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QMdiArea_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QMdiArea_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QMdiArea_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QMdiArea_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QMdiArea_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QMdiArea_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QMdiArea_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QMdiArea_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QMdiArea_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QMdiArea_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QMdiArea_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QMdiArea_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QMdiArea_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QMdiArea_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QMdiArea_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QMdiArea_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMdiArea_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QMdiArea_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QMdiArea_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QMdiArea_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QMdiArea_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QMdiArea_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QMdiArea_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QMdiArea_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QMdiArea_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QMdiArea_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QMdiArea_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QMdiArea_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QMdiArea_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMdiArea_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeSubWindow), meth_QMdiArea_removeSubWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_removeSubWindow)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QMdiArea_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QMdiArea_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMdiArea_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMdiArea_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setActivationOrder), meth_QMdiArea_setActivationOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_setActivationOrder)},
    {SIP_MLNAME_CAST(sipName_setActiveSubWindow), meth_QMdiArea_setActiveSubWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_setActiveSubWindow)},
    {SIP_MLNAME_CAST(sipName_setBackground), meth_QMdiArea_setBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_setBackground)},
    {SIP_MLNAME_CAST(sipName_setDocumentMode), meth_QMdiArea_setDocumentMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_setDocumentMode)},
    {SIP_MLNAME_CAST(sipName_setOption), (PyCFunction)meth_QMdiArea_setOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_setOption)},
    {SIP_MLNAME_CAST(sipName_setTabPosition), meth_QMdiArea_setTabPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_setTabPosition)},
    {SIP_MLNAME_CAST(sipName_setTabShape), meth_QMdiArea_setTabShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_setTabShape)},
    {SIP_MLNAME_CAST(sipName_setTabsClosable), meth_QMdiArea_setTabsClosable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_setTabsClosable)},
    {SIP_MLNAME_CAST(sipName_setTabsMovable), meth_QMdiArea_setTabsMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_setTabsMovable)},
    {SIP_MLNAME_CAST(sipName_setViewMode), meth_QMdiArea_setViewMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_setViewMode)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QMdiArea_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setupViewport), (PyCFunction)meth_QMdiArea_setupViewport, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_setupViewport)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QMdiArea_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QMdiArea_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QMdiArea_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_sizeHint)},
    {SIP_MLNAME_CAST(sipName_subWindowList), (PyCFunction)meth_QMdiArea_subWindowList, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_subWindowList)},
    {SIP_MLNAME_CAST(sipName_tabPosition), meth_QMdiArea_tabPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_tabPosition)},
    {SIP_MLNAME_CAST(sipName_tabShape), meth_QMdiArea_tabShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_tabShape)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QMdiArea_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabsClosable), meth_QMdiArea_tabsClosable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_tabsClosable)},
    {SIP_MLNAME_CAST(sipName_tabsMovable), meth_QMdiArea_tabsMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_tabsMovable)},
    {SIP_MLNAME_CAST(sipName_testOption), meth_QMdiArea_testOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_testOption)},
    {SIP_MLNAME_CAST(sipName_tileSubWindows), meth_QMdiArea_tileSubWindows, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_tileSubWindows)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMdiArea_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_timerEvent)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QMdiArea_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewMode), meth_QMdiArea_viewMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QMdiArea_viewMode)},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QMdiArea_viewportEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMdiArea_viewportEvent)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QMdiArea_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QMdiArea[] = {
    {sipName_ActivationHistoryOrder, static_cast<int>(QMdiArea::ActivationHistoryOrder), 228},
    {sipName_CreationOrder, static_cast<int>(QMdiArea::CreationOrder), 228},
    {sipName_DontMaximizeSubWindowOnActivation, static_cast<int>(QMdiArea::DontMaximizeSubWindowOnActivation), 225},
    {sipName_StackingOrder, static_cast<int>(QMdiArea::StackingOrder), 228},
    {sipName_SubWindowView, static_cast<int>(QMdiArea::SubWindowView), 227},
    {sipName_TabbedView, static_cast<int>(QMdiArea::TabbedView), 227},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMdiArea[] = {
    {"subWindowActivated(QMdiSubWindow*)", "\1QMdiArea.subWindowActivated[QMdiSubWindow]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMdiArea, "\1QMdiArea(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMdiArea = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMdiArea,
        {0}
    },
    {
        sipNameNr_QMdiArea,
        {0, 0, 1},
        84, methods_QMdiArea,
        6, enummembers_QMdiArea,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMdiArea,
    -1,
    -1,
    supers_QMdiArea,
    0,
    init_type_QMdiArea,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMdiArea,
    0,
    0,
    0,
    release_QMdiArea,
    cast_QMdiArea,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QMdiArea::staticMetaObject,
    0,
    signals_QMdiArea,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 207283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 207287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QMainWindow_DockOptions___bool__(PyObject *);}
static int slot_QMainWindow_DockOptions___bool__(PyObject *sipSelf)
{
    QMainWindow::DockOptions *sipCpp = reinterpret_cast<QMainWindow::DockOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMainWindow_DockOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMainWindow::DockOptions::Int() != 0);
#line 207305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QMainWindow::DockOptions *sipCpp = reinterpret_cast<QMainWindow::DockOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMainWindow_DockOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QMainWindow::DockOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMainWindow_DockOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMainWindow::DockOptions::Int() != a0->operator QMainWindow::DockOptions::Int());
#line 207335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QMainWindow::DockOptions *>(a0),sipType_QMainWindow_DockOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QMainWindow_DockOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QMainWindow::DockOptions *sipCpp = reinterpret_cast<QMainWindow::DockOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMainWindow_DockOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QMainWindow::DockOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMainWindow_DockOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QMainWindow::DockOptions::Int() == a0->operator QMainWindow::DockOptions::Int());
#line 207371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QMainWindow::DockOptions *>(a0),sipType_QMainWindow_DockOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QMainWindow_DockOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___invert__(PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___invert__(PyObject *sipSelf)
{
    QMainWindow::DockOptions *sipCpp = reinterpret_cast<QMainWindow::DockOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMainWindow_DockOptions));

    if (!sipCpp)
        return 0;


    {
        {
            QMainWindow::DockOptions*sipRes;

            sipRes = new QMainWindow::DockOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QMainWindow_DockOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMainWindow::DockOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMainWindow_DockOptions, &a0, &a0State, &a1))
        {
            QMainWindow::DockOptions*sipRes;

            sipRes = new QMainWindow::DockOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QMainWindow_DockOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMainWindow_DockOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMainWindow::DockOptions* a0;
        int a0State = 0;
        QMainWindow::DockOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QMainWindow_DockOptions, &a0, &a0State, sipType_QMainWindow_DockOptions, &a1, &a1State))
        {
            QMainWindow::DockOptions*sipRes;

            sipRes = new QMainWindow::DockOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QMainWindow_DockOptions,a0State);
            sipReleaseType(a1,sipType_QMainWindow_DockOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QMainWindow_DockOptions,NULL);
        }
    }

    {
        QMainWindow::DockOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMainWindow_DockOptions, &a0, &a0State, &a1))
        {
            QMainWindow::DockOptions*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QMainWindow::DockOptions(*a0 ^ a1);
#line 207474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QMainWindow_DockOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMainWindow_DockOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QMainWindow::DockOptions* a0;
        int a0State = 0;
        QMainWindow::DockOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QMainWindow_DockOptions, &a0, &a0State, sipType_QMainWindow_DockOptions, &a1, &a1State))
        {
            QMainWindow::DockOptions*sipRes;

            sipRes = new QMainWindow::DockOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QMainWindow_DockOptions,a0State);
            sipReleaseType(a1,sipType_QMainWindow_DockOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QMainWindow_DockOptions,NULL);
        }
    }

    {
        QMainWindow::DockOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QMainWindow_DockOptions, &a0, &a0State, &a1))
        {
            QMainWindow::DockOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QMainWindow::DockOptions(*a0 | a1);
#line 207524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QMainWindow_DockOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QMainWindow_DockOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___int__(PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___int__(PyObject *sipSelf)
{
    QMainWindow::DockOptions *sipCpp = reinterpret_cast<QMainWindow::DockOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMainWindow_DockOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QMainWindow_DockOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMainWindow_DockOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMainWindow::DockOptions *sipCpp = reinterpret_cast<QMainWindow::DockOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMainWindow_DockOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QMainWindow::DockOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMainWindow_DockOptions, &a0, &a0State))
        {
            sipCpp->QMainWindow::DockOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QMainWindow_DockOptions,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_QMainWindow_DockOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMainWindow_DockOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMainWindow::DockOptions *sipCpp = reinterpret_cast<QMainWindow::DockOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMainWindow_DockOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QMainWindow::DockOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QMainWindow_DockOptions, &a0, &a0State))
        {
            sipCpp->QMainWindow::DockOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QMainWindow_DockOptions,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_QMainWindow_DockOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QMainWindow_DockOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QMainWindow_DockOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QMainWindow::DockOptions *sipCpp = reinterpret_cast<QMainWindow::DockOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QMainWindow_DockOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QMainWindow::DockOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMainWindow_DockOptions(void *, const sipTypeDef *);}
static void *cast_QMainWindow_DockOptions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QMainWindow_DockOptions)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMainWindow_DockOptions(void *, int);}
static void release_QMainWindow_DockOptions(void *sipCppV,int)
{
    delete reinterpret_cast<QMainWindow::DockOptions *>(sipCppV);
}


extern "C" {static void assign_QMainWindow_DockOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QMainWindow_DockOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QMainWindow::DockOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QMainWindow::DockOptions *>(sipSrc);
}


extern "C" {static void *array_QMainWindow_DockOptions(SIP_SSIZE_T);}
static void *array_QMainWindow_DockOptions(SIP_SSIZE_T sipNrElem)
{
    return new QMainWindow::DockOptions[sipNrElem];
}


extern "C" {static void *copy_QMainWindow_DockOptions(const void *, SIP_SSIZE_T);}
static void *copy_QMainWindow_DockOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QMainWindow::DockOptions(reinterpret_cast<const QMainWindow::DockOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QMainWindow_DockOptions(sipSimpleWrapper *);}
static void dealloc_QMainWindow_DockOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QMainWindow_DockOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QMainWindow_DockOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMainWindow_DockOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QMainWindow::DockOptions *sipCpp = 0;

    {
        const QMainWindow::DockOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QMainWindow_DockOptions, &a0, &a0State))
        {
            sipCpp = new QMainWindow::DockOptions(*a0);
            sipReleaseType(const_cast<QMainWindow::DockOptions *>(a0),sipType_QMainWindow_DockOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QMainWindow::DockOptions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QMainWindow::DockOptions();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QMainWindow_DockOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QMainWindow_DockOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QMainWindow::DockOptions **sipCppPtr = reinterpret_cast<QMainWindow::DockOptions **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QMainWindow::DockOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMainWindow_DockOption)) ||
            sipCanConvertToType(sipPy, sipType_QMainWindow_DockOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QMainWindow_DockOption)))
{
    *sipCppPtr = new QMainWindow::DockOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QMainWindow::DockOptions *>(sipConvertToType(sipPy, sipType_QMainWindow_DockOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 207801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QMainWindow_DockOptions[] = {
    {(void *)slot_QMainWindow_DockOptions___bool__, bool_slot},
    {(void *)slot_QMainWindow_DockOptions___ne__, ne_slot},
    {(void *)slot_QMainWindow_DockOptions___eq__, eq_slot},
    {(void *)slot_QMainWindow_DockOptions___invert__, invert_slot},
    {(void *)slot_QMainWindow_DockOptions___and__, and_slot},
    {(void *)slot_QMainWindow_DockOptions___xor__, xor_slot},
    {(void *)slot_QMainWindow_DockOptions___or__, or_slot},
    {(void *)slot_QMainWindow_DockOptions___int__, int_slot},
    {(void *)slot_QMainWindow_DockOptions___ixor__, ixor_slot},
    {(void *)slot_QMainWindow_DockOptions___ior__, ior_slot},
    {(void *)slot_QMainWindow_DockOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QMainWindow_DockOptions, "\1QMainWindow.DockOptions(QMainWindow.DockOptions)\n"
    "QMainWindow.DockOptions(int)\n"
    "QMainWindow.DockOptions()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMainWindow_DockOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMainWindow__DockOptions,
        {0}
    },
    {
        sipNameNr_DockOptions,
        {220, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMainWindow_DockOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QMainWindow_DockOptions,
    init_type_QMainWindow_DockOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMainWindow_DockOptions,
    assign_QMainWindow_DockOptions,
    array_QMainWindow_DockOptions,
    copy_QMainWindow_DockOptions,
    release_QMainWindow_DockOptions,
    cast_QMainWindow_DockOptions,
    convertTo_QMainWindow_DockOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 207883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 207887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 207890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 207893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 207896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 207899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtabwidget.sip"
#include <qtabwidget.h>
#line 207902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 207905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qtoolbar.sip"
#include <qtoolbar.h>
#line 207908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmainwindow.sip"
#include <qmainwindow.h>
#line 207911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 207914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 207917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 207920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 207923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 207926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 207929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 207932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstatusbar.sip"
#include <qstatusbar.h>
#line 207935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenubar.sip"
#include <qmenubar.h>
#line 207938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 207941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 207944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 207947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 207950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 207953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 207956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 207959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 207962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 207965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 207968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 207971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 207974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 207977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 207980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 207983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 207986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 207989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 207992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 207995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 207998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 208046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 208049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 208052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 208055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 208058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 208061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 208064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 208067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 208070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 208073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 208076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 208079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 208082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 208085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 208088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 208091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 208094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 208097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 208100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 208103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 208106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 208109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 208112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQMainWindow : public QMainWindow
{
public:
    sipQMainWindow(QWidget*,Qt::WindowFlags);
    virtual ~sipQMainWindow();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool event(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    QMenu* createPopupMenu();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMainWindow(const sipQMainWindow &);
    sipQMainWindow &operator = (const sipQMainWindow &);

    char sipPyMethods[47];
};

sipQMainWindow::sipQMainWindow(QWidget*a0,Qt::WindowFlags a1): QMainWindow(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMainWindow::~sipQMainWindow()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQMainWindow::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QMainWindow);
}

int sipQMainWindow::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QMainWindow::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QMainWindow,_c,_id,_a);

    return _id;
}

void *sipQMainWindow::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QMainWindow, _clname, &sipCpp) ? sipCpp : QMainWindow::qt_metacast(_clname));
}

void sipQMainWindow::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QMainWindow::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QMainWindow::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QMainWindow::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QMainWindow::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QMainWindow::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQMainWindow::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QMainWindow::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQMainWindow::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QMainWindow::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQMainWindow::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QMainWindow::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMainWindow::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QMainWindow::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQMainWindow::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QMainWindow::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMainWindow::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QMainWindow::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQMainWindow::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QMainWindow::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QMainWindow::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMainWindow::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QMainWindow::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QMainWindow::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QMainWindow::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QMainWindow::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QMainWindow::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QMainWindow::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QMainWindow::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QMainWindow::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QMainWindow::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QMainWindow::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QMainWindow::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QMainWindow::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QMainWindow::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QMainWindow::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QMainWindow::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QMainWindow::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QMainWindow::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QMainWindow::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QMainWindow::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QMainWindow::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QMainWindow::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QMainWindow::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QMainWindow::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QMainWindow::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QMainWindow::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQMainWindow::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QMainWindow::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQMainWindow::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QMainWindow::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQMainWindow::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QMainWindow::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQMainWindow::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QMainWindow::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQMainWindow::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QMainWindow::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQMainWindow::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QMainWindow::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQMainWindow::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QMainWindow::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQMainWindow::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QMainWindow::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QMenu* sipQMainWindow::createPopupMenu()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_createPopupMenu);

    if (!sipMeth)
        return QMainWindow::createPopupMenu();

    extern QMenu* sipVH_QtWidgets_86(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_86(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQMainWindow::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQMainWindow::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQMainWindow::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQMainWindow::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQMainWindow::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQMainWindow::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQMainWindow::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQMainWindow::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQMainWindow::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQMainWindow::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQMainWindow::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQMainWindow::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQMainWindow::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQMainWindow::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQMainWindow::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQMainWindow::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQMainWindow::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQMainWindow::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQMainWindow::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQMainWindow::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQMainWindow::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQMainWindow::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQMainWindow::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQMainWindow::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQMainWindow::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQMainWindow::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQMainWindow::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQMainWindow::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQMainWindow::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQMainWindow::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQMainWindow::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQMainWindow::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQMainWindow::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQMainWindow::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQMainWindow::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQMainWindow::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQMainWindow::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQMainWindow::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQMainWindow::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQMainWindow::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQMainWindow::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQMainWindow::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQMainWindow::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQMainWindow::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQMainWindow::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QMainWindow::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQMainWindow::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QMainWindow::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QMainWindow_sender, "QMainWindow.sender() -> QObject");

extern "C" {static PyObject *meth_QMainWindow_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 209346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_sender, doc_QMainWindow_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_receivers, "QMainWindow.receivers(signal) -> int");

extern "C" {static PyObject *meth_QMainWindow_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QMainWindow, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 209405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_receivers, doc_QMainWindow_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_timerEvent, "QMainWindow.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QMainWindow_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_timerEvent, doc_QMainWindow_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_childEvent, "QMainWindow.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QMainWindow_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_childEvent, doc_QMainWindow_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_customEvent, "QMainWindow.customEvent(QEvent)");

extern "C" {static PyObject *meth_QMainWindow_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_customEvent, doc_QMainWindow_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_connectNotify, "QMainWindow.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMainWindow_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_connectNotify, doc_QMainWindow_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_disconnectNotify, "QMainWindow.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QMainWindow_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_disconnectNotify, doc_QMainWindow_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_senderSignalIndex, "QMainWindow.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QMainWindow_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_senderSignalIndex, doc_QMainWindow_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_isSignalConnected, "QMainWindow.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QMainWindow_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_isSignalConnected, doc_QMainWindow_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_mousePressEvent, "QMainWindow.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMainWindow_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_mousePressEvent, doc_QMainWindow_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_mouseReleaseEvent, "QMainWindow.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMainWindow_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_mouseReleaseEvent, doc_QMainWindow_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_mouseDoubleClickEvent, "QMainWindow.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMainWindow_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_mouseDoubleClickEvent, doc_QMainWindow_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_mouseMoveEvent, "QMainWindow.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QMainWindow_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_mouseMoveEvent, doc_QMainWindow_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_wheelEvent, "QMainWindow.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QMainWindow_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_wheelEvent, doc_QMainWindow_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_keyPressEvent, "QMainWindow.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMainWindow_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_keyPressEvent, doc_QMainWindow_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_keyReleaseEvent, "QMainWindow.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QMainWindow_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_keyReleaseEvent, doc_QMainWindow_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_focusInEvent, "QMainWindow.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMainWindow_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_focusInEvent, doc_QMainWindow_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_focusOutEvent, "QMainWindow.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QMainWindow_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_focusOutEvent, doc_QMainWindow_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_enterEvent, "QMainWindow.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QMainWindow_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_enterEvent, doc_QMainWindow_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_leaveEvent, "QMainWindow.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QMainWindow_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_leaveEvent, doc_QMainWindow_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_paintEvent, "QMainWindow.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QMainWindow_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_paintEvent, doc_QMainWindow_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_moveEvent, "QMainWindow.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QMainWindow_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_moveEvent, doc_QMainWindow_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_resizeEvent, "QMainWindow.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QMainWindow_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_resizeEvent, doc_QMainWindow_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_closeEvent, "QMainWindow.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QMainWindow_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_closeEvent, doc_QMainWindow_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_tabletEvent, "QMainWindow.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QMainWindow_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_tabletEvent, doc_QMainWindow_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_actionEvent, "QMainWindow.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QMainWindow_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_actionEvent, doc_QMainWindow_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_dragEnterEvent, "QMainWindow.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QMainWindow_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_dragEnterEvent, doc_QMainWindow_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_dragMoveEvent, "QMainWindow.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QMainWindow_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_dragMoveEvent, doc_QMainWindow_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_dragLeaveEvent, "QMainWindow.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QMainWindow_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_dragLeaveEvent, doc_QMainWindow_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_dropEvent, "QMainWindow.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QMainWindow_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_dropEvent, doc_QMainWindow_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_showEvent, "QMainWindow.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QMainWindow_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_showEvent, doc_QMainWindow_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_hideEvent, "QMainWindow.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QMainWindow_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_hideEvent, doc_QMainWindow_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_changeEvent, "QMainWindow.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QMainWindow_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_changeEvent, doc_QMainWindow_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_metric, "QMainWindow.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QMainWindow_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_metric, doc_QMainWindow_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_inputMethodEvent, "QMainWindow.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QMainWindow_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_inputMethodEvent, doc_QMainWindow_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_updateMicroFocus, "QMainWindow.updateMicroFocus()");

extern "C" {static PyObject *meth_QMainWindow_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_updateMicroFocus, doc_QMainWindow_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_create, "QMainWindow.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QMainWindow_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQMainWindow *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_create, doc_QMainWindow_create);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_destroy, "QMainWindow.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QMainWindow_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQMainWindow *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QMainWindow, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_destroy, doc_QMainWindow_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_focusNextPrevChild, "QMainWindow.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QMainWindow_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QMainWindow, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_focusNextPrevChild, doc_QMainWindow_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_focusNextChild, "QMainWindow.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QMainWindow_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_focusNextChild, doc_QMainWindow_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_focusPreviousChild, "QMainWindow.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QMainWindow_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_focusPreviousChild, doc_QMainWindow_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_nativeEvent, "QMainWindow.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QMainWindow_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_nativeEvent, doc_QMainWindow_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_sharedPainter, "QMainWindow.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QMainWindow_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_sharedPainter, doc_QMainWindow_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_initPainter, "QMainWindow.initPainter(QPainter)");

extern "C" {static PyObject *meth_QMainWindow_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_initPainter, doc_QMainWindow_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_iconSize, "QMainWindow.iconSize() -> QSize");

extern "C" {static PyObject *meth_QMainWindow_iconSize(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->iconSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_iconSize, doc_QMainWindow_iconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setIconSize, "QMainWindow.setIconSize(QSize)");

extern "C" {static PyObject *meth_QMainWindow_setIconSize(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setIconSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setIconSize, doc_QMainWindow_setIconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_toolButtonStyle, "QMainWindow.toolButtonStyle() -> Qt.ToolButtonStyle");

extern "C" {static PyObject *meth_QMainWindow_toolButtonStyle(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_toolButtonStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            Qt::ToolButtonStyle sipRes;

            sipRes = sipCpp->toolButtonStyle();

            return sipConvertFromEnum(sipRes,sipType_Qt_ToolButtonStyle);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_toolButtonStyle, doc_QMainWindow_toolButtonStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setToolButtonStyle, "QMainWindow.setToolButtonStyle(Qt.ToolButtonStyle)");

extern "C" {static PyObject *meth_QMainWindow_setToolButtonStyle(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setToolButtonStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ToolButtonStyle a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_Qt_ToolButtonStyle, &a0))
        {
            sipCpp->setToolButtonStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setToolButtonStyle, doc_QMainWindow_setToolButtonStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_menuBar, "QMainWindow.menuBar() -> QMenuBar");

extern "C" {static PyObject *meth_QMainWindow_menuBar(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_menuBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QMenuBar*sipRes;

            sipRes = sipCpp->menuBar();

            return sipConvertFromType(sipRes,sipType_QMenuBar,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_menuBar, doc_QMainWindow_menuBar);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setMenuBar, "QMainWindow.setMenuBar(QMenuBar)");

extern "C" {static PyObject *meth_QMainWindow_setMenuBar(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setMenuBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenuBar* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMenuBar, &a0))
        {
            sipCpp->setMenuBar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setMenuBar, doc_QMainWindow_setMenuBar);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_statusBar, "QMainWindow.statusBar() -> QStatusBar");

extern "C" {static PyObject *meth_QMainWindow_statusBar(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_statusBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QStatusBar*sipRes;

            sipRes = sipCpp->statusBar();

            return sipConvertFromType(sipRes,sipType_QStatusBar,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_statusBar, doc_QMainWindow_statusBar);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setStatusBar, "QMainWindow.setStatusBar(QStatusBar)");

extern "C" {static PyObject *meth_QMainWindow_setStatusBar(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setStatusBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStatusBar* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QStatusBar, &a0))
        {
            sipCpp->setStatusBar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setStatusBar, doc_QMainWindow_setStatusBar);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_centralWidget, "QMainWindow.centralWidget() -> QWidget");

extern "C" {static PyObject *meth_QMainWindow_centralWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_centralWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->centralWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_centralWidget, doc_QMainWindow_centralWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setCentralWidget, "QMainWindow.setCentralWidget(QWidget)");

extern "C" {static PyObject *meth_QMainWindow_setCentralWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setCentralWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setCentralWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setCentralWidget, doc_QMainWindow_setCentralWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setCorner, "QMainWindow.setCorner(Qt.Corner, Qt.DockWidgetArea)");

extern "C" {static PyObject *meth_QMainWindow_setCorner(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setCorner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Corner a0;
        Qt::DockWidgetArea a1;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEE", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_Qt_Corner, &a0, sipType_Qt_DockWidgetArea, &a1))
        {
            sipCpp->setCorner(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setCorner, doc_QMainWindow_setCorner);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_corner, "QMainWindow.corner(Qt.Corner) -> Qt.DockWidgetArea");

extern "C" {static PyObject *meth_QMainWindow_corner(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_corner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Corner a0;
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_Qt_Corner, &a0))
        {
            Qt::DockWidgetArea sipRes;

            sipRes = sipCpp->corner(a0);

            return sipConvertFromEnum(sipRes,sipType_Qt_DockWidgetArea);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_corner, doc_QMainWindow_corner);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_addToolBarBreak, "QMainWindow.addToolBarBreak(Qt.ToolBarArea area=Qt.TopToolBarArea)");

extern "C" {static PyObject *meth_QMainWindow_addToolBarBreak(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_addToolBarBreak(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ToolBarArea a0 = Qt::TopToolBarArea;
        QMainWindow *sipCpp;

        static const char *sipKwdList[] = {
            sipName_area,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_Qt_ToolBarArea, &a0))
        {
            sipCpp->addToolBarBreak(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_addToolBarBreak, doc_QMainWindow_addToolBarBreak);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_insertToolBarBreak, "QMainWindow.insertToolBarBreak(QToolBar)");

extern "C" {static PyObject *meth_QMainWindow_insertToolBarBreak(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_insertToolBarBreak(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolBar* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QToolBar, &a0))
        {
            sipCpp->insertToolBarBreak(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_insertToolBarBreak, doc_QMainWindow_insertToolBarBreak);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_addToolBar, "QMainWindow.addToolBar(Qt.ToolBarArea, QToolBar)\n"
    "QMainWindow.addToolBar(QToolBar)\n"
    "QMainWindow.addToolBar(str) -> QToolBar");

extern "C" {static PyObject *meth_QMainWindow_addToolBar(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_addToolBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ToolBarArea a0;
        QToolBar* a1;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ:", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_Qt_ToolBarArea, &a0, sipType_QToolBar, &a1))
        {
            sipCpp->addToolBar(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QToolBar* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QToolBar, &a0))
        {
            sipCpp->addToolBar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QToolBar*sipRes;

            sipRes = sipCpp->addToolBar(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QToolBar,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_addToolBar, doc_QMainWindow_addToolBar);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_insertToolBar, "QMainWindow.insertToolBar(QToolBar, QToolBar)");

extern "C" {static PyObject *meth_QMainWindow_insertToolBar(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_insertToolBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolBar* a0;
        QToolBar* a1;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J:", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QToolBar, &a0, sipType_QToolBar, &a1))
        {
            sipCpp->insertToolBar(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_insertToolBar, doc_QMainWindow_insertToolBar);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_removeToolBar, "QMainWindow.removeToolBar(QToolBar)");

extern "C" {static PyObject *meth_QMainWindow_removeToolBar(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_removeToolBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolBar* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QToolBar, &a0))
        {
            sipCpp->removeToolBar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_removeToolBar, doc_QMainWindow_removeToolBar);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_toolBarArea, "QMainWindow.toolBarArea(QToolBar) -> Qt.ToolBarArea");

extern "C" {static PyObject *meth_QMainWindow_toolBarArea(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_toolBarArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolBar* a0;
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QToolBar, &a0))
        {
            Qt::ToolBarArea sipRes;

            sipRes = sipCpp->toolBarArea(a0);

            return sipConvertFromEnum(sipRes,sipType_Qt_ToolBarArea);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_toolBarArea, doc_QMainWindow_toolBarArea);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_addDockWidget, "QMainWindow.addDockWidget(Qt.DockWidgetArea, QDockWidget)\n"
    "QMainWindow.addDockWidget(Qt.DockWidgetArea, QDockWidget, Qt.Orientation)");

extern "C" {static PyObject *meth_QMainWindow_addDockWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_addDockWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DockWidgetArea a0;
        QDockWidget* a1;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ:", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_Qt_DockWidgetArea, &a0, sipType_QDockWidget, &a1))
        {
            sipCpp->addDockWidget(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Qt::DockWidgetArea a0;
        QDockWidget* a1;
        Qt::Orientation a2;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ:E", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_Qt_DockWidgetArea, &a0, sipType_QDockWidget, &a1, sipType_Qt_Orientation, &a2))
        {
            sipCpp->addDockWidget(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_addDockWidget, doc_QMainWindow_addDockWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_splitDockWidget, "QMainWindow.splitDockWidget(QDockWidget, QDockWidget, Qt.Orientation)");

extern "C" {static PyObject *meth_QMainWindow_splitDockWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_splitDockWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget* a0;
        QDockWidget* a1;
        Qt::Orientation a2;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J:E", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDockWidget, &a0, sipType_QDockWidget, &a1, sipType_Qt_Orientation, &a2))
        {
            sipCpp->splitDockWidget(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_splitDockWidget, doc_QMainWindow_splitDockWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_removeDockWidget, "QMainWindow.removeDockWidget(QDockWidget)");

extern "C" {static PyObject *meth_QMainWindow_removeDockWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_removeDockWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDockWidget, &a0))
        {
            sipCpp->removeDockWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_removeDockWidget, doc_QMainWindow_removeDockWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_dockWidgetArea, "QMainWindow.dockWidgetArea(QDockWidget) -> Qt.DockWidgetArea");

extern "C" {static PyObject *meth_QMainWindow_dockWidgetArea(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_dockWidgetArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget* a0;
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDockWidget, &a0))
        {
            Qt::DockWidgetArea sipRes;

            sipRes = sipCpp->dockWidgetArea(a0);

            return sipConvertFromEnum(sipRes,sipType_Qt_DockWidgetArea);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_dockWidgetArea, doc_QMainWindow_dockWidgetArea);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_saveState, "QMainWindow.saveState(int version=0) -> QByteArray");

extern "C" {static PyObject *meth_QMainWindow_saveState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_saveState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        const QMainWindow *sipCpp;

        static const char *sipKwdList[] = {
            sipName_version,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QMainWindow, &sipCpp, &a0))
        {
            QByteArray*sipRes;

            sipRes = new QByteArray(sipCpp->saveState(a0));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_saveState, doc_QMainWindow_saveState);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_restoreState, "QMainWindow.restoreState(QByteArray, int version=0) -> bool");

extern "C" {static PyObject *meth_QMainWindow_restoreState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_restoreState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        int a1 = 0;
        QMainWindow *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_version,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->restoreState(*a0,a1);
            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_QMainWindow, sipName_restoreState, doc_QMainWindow_restoreState);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_createPopupMenu, "QMainWindow.createPopupMenu() -> QMenu");

extern "C" {static PyObject *meth_QMainWindow_createPopupMenu(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_createPopupMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QMenu*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QMainWindow::createPopupMenu() : sipCpp->createPopupMenu());

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_createPopupMenu, doc_QMainWindow_createPopupMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setAnimated, "QMainWindow.setAnimated(bool)");

extern "C" {static PyObject *meth_QMainWindow_setAnimated(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setAnimated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMainWindow, &sipCpp, &a0))
        {
            sipCpp->setAnimated(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setAnimated, doc_QMainWindow_setAnimated);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setDockNestingEnabled, "QMainWindow.setDockNestingEnabled(bool)");

extern "C" {static PyObject *meth_QMainWindow_setDockNestingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setDockNestingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMainWindow, &sipCpp, &a0))
        {
            sipCpp->setDockNestingEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setDockNestingEnabled, doc_QMainWindow_setDockNestingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_contextMenuEvent, "QMainWindow.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QMainWindow_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_contextMenuEvent, doc_QMainWindow_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_event, "QMainWindow.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QMainWindow_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQMainWindow *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_event, doc_QMainWindow_event);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_isAnimated, "QMainWindow.isAnimated() -> bool");

extern "C" {static PyObject *meth_QMainWindow_isAnimated(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_isAnimated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAnimated();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_isAnimated, doc_QMainWindow_isAnimated);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_isDockNestingEnabled, "QMainWindow.isDockNestingEnabled() -> bool");

extern "C" {static PyObject *meth_QMainWindow_isDockNestingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_isDockNestingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDockNestingEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_isDockNestingEnabled, doc_QMainWindow_isDockNestingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_isSeparator, "QMainWindow.isSeparator(QPoint) -> bool");

extern "C" {static PyObject *meth_QMainWindow_isSeparator(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_isSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QPoint, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isSeparator(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_isSeparator, doc_QMainWindow_isSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_menuWidget, "QMainWindow.menuWidget() -> QWidget");

extern "C" {static PyObject *meth_QMainWindow_menuWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_menuWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->menuWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_menuWidget, doc_QMainWindow_menuWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setMenuWidget, "QMainWindow.setMenuWidget(QWidget)");

extern "C" {static PyObject *meth_QMainWindow_setMenuWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setMenuWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setMenuWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setMenuWidget, doc_QMainWindow_setMenuWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_tabifyDockWidget, "QMainWindow.tabifyDockWidget(QDockWidget, QDockWidget)");

extern "C" {static PyObject *meth_QMainWindow_tabifyDockWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_tabifyDockWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget* a0;
        QDockWidget* a1;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDockWidget, &a0, sipType_QDockWidget, &a1))
        {
            sipCpp->tabifyDockWidget(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_tabifyDockWidget, doc_QMainWindow_tabifyDockWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setDockOptions, "QMainWindow.setDockOptions(QMainWindow.DockOptions)");

extern "C" {static PyObject *meth_QMainWindow_setDockOptions(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setDockOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMainWindow::DockOptions* a0;
        int a0State = 0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QMainWindow_DockOptions, &a0, &a0State))
        {
            sipCpp->setDockOptions(*a0);
            sipReleaseType(a0,sipType_QMainWindow_DockOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setDockOptions, doc_QMainWindow_setDockOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_dockOptions, "QMainWindow.dockOptions() -> QMainWindow.DockOptions");

extern "C" {static PyObject *meth_QMainWindow_dockOptions(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_dockOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QMainWindow::DockOptions*sipRes;

            sipRes = new QMainWindow::DockOptions(sipCpp->dockOptions());

            return sipConvertFromNewType(sipRes,sipType_QMainWindow_DockOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_dockOptions, doc_QMainWindow_dockOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_removeToolBarBreak, "QMainWindow.removeToolBarBreak(QToolBar)");

extern "C" {static PyObject *meth_QMainWindow_removeToolBarBreak(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_removeToolBarBreak(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolBar* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QToolBar, &a0))
        {
            sipCpp->removeToolBarBreak(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_removeToolBarBreak, doc_QMainWindow_removeToolBarBreak);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_toolBarBreak, "QMainWindow.toolBarBreak(QToolBar) -> bool");

extern "C" {static PyObject *meth_QMainWindow_toolBarBreak(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_toolBarBreak(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QToolBar* a0;
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QToolBar, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->toolBarBreak(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_toolBarBreak, doc_QMainWindow_toolBarBreak);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setUnifiedTitleAndToolBarOnMac, "QMainWindow.setUnifiedTitleAndToolBarOnMac(bool)");

extern "C" {static PyObject *meth_QMainWindow_setUnifiedTitleAndToolBarOnMac(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setUnifiedTitleAndToolBarOnMac(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMainWindow, &sipCpp, &a0))
        {
            sipCpp->setUnifiedTitleAndToolBarOnMac(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setUnifiedTitleAndToolBarOnMac, doc_QMainWindow_setUnifiedTitleAndToolBarOnMac);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_unifiedTitleAndToolBarOnMac, "QMainWindow.unifiedTitleAndToolBarOnMac() -> bool");

extern "C" {static PyObject *meth_QMainWindow_unifiedTitleAndToolBarOnMac(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_unifiedTitleAndToolBarOnMac(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->unifiedTitleAndToolBarOnMac();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_unifiedTitleAndToolBarOnMac, doc_QMainWindow_unifiedTitleAndToolBarOnMac);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_restoreDockWidget, "QMainWindow.restoreDockWidget(QDockWidget) -> bool");

extern "C" {static PyObject *meth_QMainWindow_restoreDockWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_restoreDockWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget* a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDockWidget, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->restoreDockWidget(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_restoreDockWidget, doc_QMainWindow_restoreDockWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_documentMode, "QMainWindow.documentMode() -> bool");

extern "C" {static PyObject *meth_QMainWindow_documentMode(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_documentMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->documentMode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_documentMode, doc_QMainWindow_documentMode);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setDocumentMode, "QMainWindow.setDocumentMode(bool)");

extern "C" {static PyObject *meth_QMainWindow_setDocumentMode(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setDocumentMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QMainWindow, &sipCpp, &a0))
        {
            sipCpp->setDocumentMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setDocumentMode, doc_QMainWindow_setDocumentMode);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_tabShape, "QMainWindow.tabShape() -> QTabWidget.TabShape");

extern "C" {static PyObject *meth_QMainWindow_tabShape(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_tabShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QTabWidget::TabShape sipRes;

            sipRes = sipCpp->tabShape();

            return sipConvertFromEnum(sipRes,sipType_QTabWidget_TabShape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_tabShape, doc_QMainWindow_tabShape);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setTabShape, "QMainWindow.setTabShape(QTabWidget.TabShape)");

extern "C" {static PyObject *meth_QMainWindow_setTabShape(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setTabShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTabWidget::TabShape a0;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QTabWidget_TabShape, &a0))
        {
            sipCpp->setTabShape(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setTabShape, doc_QMainWindow_setTabShape);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_tabPosition, "QMainWindow.tabPosition(Qt.DockWidgetArea) -> QTabWidget.TabPosition");

extern "C" {static PyObject *meth_QMainWindow_tabPosition(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_tabPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DockWidgetArea a0;
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_Qt_DockWidgetArea, &a0))
        {
            QTabWidget::TabPosition sipRes;

            sipRes = sipCpp->tabPosition(a0);

            return sipConvertFromEnum(sipRes,sipType_QTabWidget_TabPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_tabPosition, doc_QMainWindow_tabPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_setTabPosition, "QMainWindow.setTabPosition(Qt.DockWidgetAreas, QTabWidget.TabPosition)");

extern "C" {static PyObject *meth_QMainWindow_setTabPosition(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_setTabPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DockWidgetAreas* a0;
        int a0State = 0;
        QTabWidget::TabPosition a1;
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_Qt_DockWidgetAreas, &a0, &a0State, sipType_QTabWidget_TabPosition, &a1))
        {
            sipCpp->setTabPosition(*a0,a1);
            sipReleaseType(a0,sipType_Qt_DockWidgetAreas,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_setTabPosition, doc_QMainWindow_setTabPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_tabifiedDockWidgets, "QMainWindow.tabifiedDockWidgets(QDockWidget) -> list-of-QDockWidget");

extern "C" {static PyObject *meth_QMainWindow_tabifiedDockWidgets(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_tabifiedDockWidgets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget* a0;
        const QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QMainWindow, &sipCpp, sipType_QDockWidget, &a0))
        {
            QList<QDockWidget*>*sipRes;

            sipRes = new QList<QDockWidget*>(sipCpp->tabifiedDockWidgets(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QDockWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_tabifiedDockWidgets, doc_QMainWindow_tabifiedDockWidgets);

    return NULL;
}


PyDoc_STRVAR(doc_QMainWindow_takeCentralWidget, "QMainWindow.takeCentralWidget() -> QWidget");

extern "C" {static PyObject *meth_QMainWindow_takeCentralWidget(PyObject *, PyObject *);}
static PyObject *meth_QMainWindow_takeCentralWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMainWindow *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QMainWindow, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->takeCentralWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QMainWindow, sipName_takeCentralWidget, doc_QMainWindow_takeCentralWidget);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QMainWindow(void *, const sipTypeDef *);}
static void *cast_QMainWindow(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QMainWindow)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QMainWindow *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMainWindow(void *, int);}
static void release_QMainWindow(void *sipCppV,int)
{
    QMainWindow *sipCpp = reinterpret_cast<QMainWindow *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QMainWindow(sipSimpleWrapper *);}
static void dealloc_QMainWindow(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQMainWindow *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QMainWindow(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QMainWindow(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMainWindow(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMainWindow *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQMainWindow(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMainWindow[] = {{454, 255, 1}};


static PyMethodDef methods_QMainWindow[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QMainWindow_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addDockWidget), meth_QMainWindow_addDockWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_addDockWidget)},
    {SIP_MLNAME_CAST(sipName_addToolBar), meth_QMainWindow_addToolBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_addToolBar)},
    {SIP_MLNAME_CAST(sipName_addToolBarBreak), (PyCFunction)meth_QMainWindow_addToolBarBreak, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMainWindow_addToolBarBreak)},
    {SIP_MLNAME_CAST(sipName_centralWidget), meth_QMainWindow_centralWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_centralWidget)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QMainWindow_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QMainWindow_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QMainWindow_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QMainWindow_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QMainWindow_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMainWindow_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_corner), meth_QMainWindow_corner, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_corner)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QMainWindow_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createPopupMenu), meth_QMainWindow_createPopupMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_createPopupMenu)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QMainWindow_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QMainWindow_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QMainWindow_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dockOptions), meth_QMainWindow_dockOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_dockOptions)},
    {SIP_MLNAME_CAST(sipName_dockWidgetArea), meth_QMainWindow_dockWidgetArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_dockWidgetArea)},
    {SIP_MLNAME_CAST(sipName_documentMode), meth_QMainWindow_documentMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_documentMode)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QMainWindow_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QMainWindow_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QMainWindow_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QMainWindow_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QMainWindow_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QMainWindow_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMainWindow_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QMainWindow_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QMainWindow_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QMainWindow_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QMainWindow_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QMainWindow_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QMainWindow_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_QMainWindow_iconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_iconSize)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QMainWindow_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QMainWindow_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertToolBar), meth_QMainWindow_insertToolBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_insertToolBar)},
    {SIP_MLNAME_CAST(sipName_insertToolBarBreak), meth_QMainWindow_insertToolBarBreak, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_insertToolBarBreak)},
    {SIP_MLNAME_CAST(sipName_isAnimated), meth_QMainWindow_isAnimated, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_isAnimated)},
    {SIP_MLNAME_CAST(sipName_isDockNestingEnabled), meth_QMainWindow_isDockNestingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_isDockNestingEnabled)},
    {SIP_MLNAME_CAST(sipName_isSeparator), meth_QMainWindow_isSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_isSeparator)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QMainWindow_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QMainWindow_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QMainWindow_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QMainWindow_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_menuBar), meth_QMainWindow_menuBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_menuBar)},
    {SIP_MLNAME_CAST(sipName_menuWidget), meth_QMainWindow_menuWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_menuWidget)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QMainWindow_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QMainWindow_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QMainWindow_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QMainWindow_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QMainWindow_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QMainWindow_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QMainWindow_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QMainWindow_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QMainWindow_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeDockWidget), meth_QMainWindow_removeDockWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_removeDockWidget)},
    {SIP_MLNAME_CAST(sipName_removeToolBar), meth_QMainWindow_removeToolBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_removeToolBar)},
    {SIP_MLNAME_CAST(sipName_removeToolBarBreak), meth_QMainWindow_removeToolBarBreak, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_removeToolBarBreak)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QMainWindow_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_restoreDockWidget), meth_QMainWindow_restoreDockWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_restoreDockWidget)},
    {SIP_MLNAME_CAST(sipName_restoreState), (PyCFunction)meth_QMainWindow_restoreState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMainWindow_restoreState)},
    {SIP_MLNAME_CAST(sipName_saveState), (PyCFunction)meth_QMainWindow_saveState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QMainWindow_saveState)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QMainWindow_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QMainWindow_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAnimated), meth_QMainWindow_setAnimated, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setAnimated)},
    {SIP_MLNAME_CAST(sipName_setCentralWidget), meth_QMainWindow_setCentralWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setCentralWidget)},
    {SIP_MLNAME_CAST(sipName_setCorner), meth_QMainWindow_setCorner, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setCorner)},
    {SIP_MLNAME_CAST(sipName_setDockNestingEnabled), meth_QMainWindow_setDockNestingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setDockNestingEnabled)},
    {SIP_MLNAME_CAST(sipName_setDockOptions), meth_QMainWindow_setDockOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setDockOptions)},
    {SIP_MLNAME_CAST(sipName_setDocumentMode), meth_QMainWindow_setDocumentMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setDocumentMode)},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_QMainWindow_setIconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setIconSize)},
    {SIP_MLNAME_CAST(sipName_setMenuBar), meth_QMainWindow_setMenuBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setMenuBar)},
    {SIP_MLNAME_CAST(sipName_setMenuWidget), meth_QMainWindow_setMenuWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setMenuWidget)},
    {SIP_MLNAME_CAST(sipName_setStatusBar), meth_QMainWindow_setStatusBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setStatusBar)},
    {SIP_MLNAME_CAST(sipName_setTabPosition), meth_QMainWindow_setTabPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setTabPosition)},
    {SIP_MLNAME_CAST(sipName_setTabShape), meth_QMainWindow_setTabShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setTabShape)},
    {SIP_MLNAME_CAST(sipName_setToolButtonStyle), meth_QMainWindow_setToolButtonStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setToolButtonStyle)},
    {SIP_MLNAME_CAST(sipName_setUnifiedTitleAndToolBarOnMac), meth_QMainWindow_setUnifiedTitleAndToolBarOnMac, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_setUnifiedTitleAndToolBarOnMac)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QMainWindow_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QMainWindow_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_splitDockWidget), meth_QMainWindow_splitDockWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_splitDockWidget)},
    {SIP_MLNAME_CAST(sipName_statusBar), meth_QMainWindow_statusBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_statusBar)},
    {SIP_MLNAME_CAST(sipName_tabPosition), meth_QMainWindow_tabPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_tabPosition)},
    {SIP_MLNAME_CAST(sipName_tabShape), meth_QMainWindow_tabShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_tabShape)},
    {SIP_MLNAME_CAST(sipName_tabifiedDockWidgets), meth_QMainWindow_tabifiedDockWidgets, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_tabifiedDockWidgets)},
    {SIP_MLNAME_CAST(sipName_tabifyDockWidget), meth_QMainWindow_tabifyDockWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_tabifyDockWidget)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QMainWindow_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_takeCentralWidget), meth_QMainWindow_takeCentralWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_takeCentralWidget)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QMainWindow_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toolBarArea), meth_QMainWindow_toolBarArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_toolBarArea)},
    {SIP_MLNAME_CAST(sipName_toolBarBreak), meth_QMainWindow_toolBarBreak, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_toolBarBreak)},
    {SIP_MLNAME_CAST(sipName_toolButtonStyle), meth_QMainWindow_toolButtonStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_toolButtonStyle)},
    {SIP_MLNAME_CAST(sipName_unifiedTitleAndToolBarOnMac), meth_QMainWindow_unifiedTitleAndToolBarOnMac, METH_VARARGS, SIP_MLDOC_CAST(doc_QMainWindow_unifiedTitleAndToolBarOnMac)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QMainWindow_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QMainWindow_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QMainWindow[] = {
    {sipName_AllowNestedDocks, static_cast<int>(QMainWindow::AllowNestedDocks), 221},
    {sipName_AllowTabbedDocks, static_cast<int>(QMainWindow::AllowTabbedDocks), 221},
    {sipName_AnimatedDocks, static_cast<int>(QMainWindow::AnimatedDocks), 221},
    {sipName_ForceTabbedDocks, static_cast<int>(QMainWindow::ForceTabbedDocks), 221},
    {sipName_VerticalTabs, static_cast<int>(QMainWindow::VerticalTabs), 221},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QMainWindow[] = {
    {"toolButtonStyleChanged(Qt::ToolButtonStyle)", "\1QMainWindow.toolButtonStyleChanged[Qt.ToolButtonStyle]", 0, 0},
    {"iconSizeChanged(QSize)", "\1QMainWindow.iconSizeChanged[QSize]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QMainWindow, "\1QMainWindow(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QMainWindow = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QMainWindow,
        {0}
    },
    {
        sipNameNr_QMainWindow,
        {0, 0, 1},
        94, methods_QMainWindow,
        5, enummembers_QMainWindow,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QMainWindow,
    -1,
    -1,
    supers_QMainWindow,
    0,
    init_type_QMainWindow,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QMainWindow,
    0,
    0,
    0,
    release_QMainWindow,
    cast_QMainWindow,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QMainWindow::staticMetaObject,
    0,
    signals_QMainWindow,
    0
};

#line 92 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 212308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 212312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 212315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 212318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 212324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 212327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 212330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 212333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 212342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 212345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 212348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 212354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 212357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 212360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 212363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 212366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 212369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 212372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 212381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 212393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 212399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistview.sip"
#include <qlistview.h>
#line 212402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 212408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 212411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 212423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 212426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 212429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 212432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 212435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 212441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 212450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 212453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 212456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 212459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 212462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 212465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 212471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 212480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 212483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 212486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 212489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 212492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 212495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 212498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 212501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 212504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 212522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 212525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 212528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 212531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 212534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 212537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 212543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 212546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 212549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 212552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 212555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 212558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 212561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 212564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 212567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 212570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 212573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 212576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 212579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 212582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQListWidget : public QListWidget
{
public:
    sipQListWidget(QWidget*);
    virtual ~sipQListWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_dataChanged(bool,const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    QRect sipProtect_rectForIndex(const QModelIndex&) const;
    void sipProtect_setPositionForIndex(const QPoint&,const QModelIndex&);
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    void sipProtectVirt_updateGeometries(bool);
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    QSize sipProtectVirt_viewportSizeHint(bool) const;
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);
    QStringList sipProtectVirt_mimeTypes(bool) const;
    QMimeData* sipProtectVirt_mimeData(bool,const QList<QListWidgetItem*>) const;
    bool sipProtectVirt_dropMimeData(bool,int,const QMimeData*,Qt::DropAction);
    Qt::DropActions sipProtectVirt_supportedDropActions(bool) const;
    QList<QListWidgetItem*> sipProtect_items(const QMimeData*) const;
    QModelIndex sipProtect_indexFromItem(QListWidgetItem*) const;
    QListWidgetItem* sipProtect_itemFromIndex(const QModelIndex&) const;
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool viewportEvent(QEvent*);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    void selectAll();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void keyboardSearch(const QString&);
    void setSelectionModel(QItemSelectionModel*);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    QSize viewportSizeHint() const;
    bool isIndexHidden(const QModelIndex&) const;
    void updateGeometries();
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    int verticalOffset() const;
    int horizontalOffset() const;
    void paintEvent(QPaintEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void resizeEvent(QResizeEvent*);
    void timerEvent(QTimerEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void scrollContentsBy(int,int);
    void setRootIndex(const QModelIndex&);
    void reset();
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void dropEvent(QDropEvent*);
    bool event(QEvent*);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(int,const QMimeData*,Qt::DropAction);
    QMimeData* mimeData(const QList<QListWidgetItem*>) const;
    QStringList mimeTypes() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQListWidget(const sipQListWidget &);
    sipQListWidget &operator = (const sipQListWidget &);

    char sipPyMethods[90];
};

sipQListWidget::sipQListWidget(QWidget*a0): QListWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQListWidget::~sipQListWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQListWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QListWidget);
}

int sipQListWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QListWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QListWidget,_c,_id,_a);

    return _id;
}

void *sipQListWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QListWidget, _clname, &sipCpp) ? sipCpp : QListWidget::qt_metacast(_clname));
}

void sipQListWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QListWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QListWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QListWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QListWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QListWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQListWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QListWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQListWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QListWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQListWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QListWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQListWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QListWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QListWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QListWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QListWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QListWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QListWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QListWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QListWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QListWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QListWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQListWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QListWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQListWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QListWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QListWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQListWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QListWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QListWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QListWidget::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQListWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QListWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQListWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QListWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QListWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQListWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QListWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQListWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QListWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QListWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQListWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QListWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQListWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QListWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QListWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QListWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QListWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QListWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QListWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QListWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQListWidget::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QListWidget::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQListWidget::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QListWidget::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQListWidget::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QListWidget::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListWidget::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QListWidget::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QListWidget::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QListWidget::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQListWidget::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QListWidget::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QListWidget::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QListWidget::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QListWidget::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QListWidget::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListWidget::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QListWidget::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListWidget::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QListWidget::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQListWidget::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QListWidget::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQListWidget::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QListWidget::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QListWidget::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QListWidget::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QListWidget::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQListWidget::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QListWidget::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QSize sipQListWidget::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QListWidget::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQListWidget::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return QListWidget::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QListWidget::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndexList sipQListWidget::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[60]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QListWidget::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQListWidget::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[61]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QListWidget::visualRegionForSelection(a0);

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        QListWidget::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipQListWidget::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return QListWidget::moveCursor(a0,a1);

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

int sipQListWidget::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[64]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return QListWidget::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQListWidget::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[65]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return QListWidget::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QListWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQListWidget::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[67]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QListWidget::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListWidget::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QListWidget::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QListWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QListWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QListWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QListWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QListWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QListWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QListWidget::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListWidget::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QListWidget::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListWidget::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QListWidget::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListWidget::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QListWidget::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQListWidget::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QListWidget::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QListWidget::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndex sipQListWidget::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[81]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return QListWidget::indexAt(a0);

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        QListWidget::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QRect sipQListWidget::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return QListWidget::visualRect(a0);

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QListWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQListWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QListWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

Qt::DropActions sipQListWidget::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QListWidget::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQListWidget::dropMimeData(int a0,const QMimeData*a1,Qt::DropAction a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[87],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QListWidget::dropMimeData(a0,a1,a2);

    extern bool sipVH_QtWidgets_87(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QMimeData*,Qt::DropAction);

    return sipVH_QtWidgets_87(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QMimeData* sipQListWidget::mimeData(const QList<QListWidgetItem*> a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[88]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QListWidget::mimeData(a0);

    extern QMimeData* sipVH_QtWidgets_88(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QListWidgetItem*>);

    return sipVH_QtWidgets_88(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStringList sipQListWidget::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[89]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QListWidget::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[27]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQListWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQListWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQListWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQListWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQListWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQListWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQListWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQListWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQListWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQListWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQListWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQListWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQListWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQListWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQListWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQListWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQListWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQListWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQListWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQListWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQListWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQListWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQListWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQListWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQListWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQListWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQListWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQListWidget::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQListWidget::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQListWidget::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQListWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQListWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQListWidget::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQListWidget::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQListWidget::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQListWidget::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQListWidget::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQListWidget::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

void sipQListWidget::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQListWidget::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQListWidget::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQListWidget::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQListWidget::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QItemSelectionModel::SelectionFlags sipQListWidget::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

int sipQListWidget::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQListWidget::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQListWidget::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQListWidget::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQListWidget::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQListWidget::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQListWidget::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

bool sipQListWidget::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQListWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQListWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQListWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQListWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQListWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQListWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::keyPressEvent(a0) : keyPressEvent(a0));
}

int sipQListWidget::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQListWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQListWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQListWidget::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QListView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

void sipQListWidget::sipProtectVirt_dataChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    (sipSelfWasArg ? QListView::dataChanged(a0,a1,a2) : dataChanged(a0,a1,a2));
}

void sipQListWidget::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QListView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipQListWidget::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QListView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

void sipQListWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QListView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQListWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QListView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQListWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QListView::timerEvent(a0) : timerEvent(a0));
}

void sipQListWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QListView::resizeEvent(a0) : resizeEvent(a0));
}

void sipQListWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QListView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQListWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QListView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQListWidget::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QListView::startDrag(a0) : startDrag(a0));
}

QStyleOptionViewItem sipQListWidget::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::viewOptions() : viewOptions());
}

void sipQListWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QListView::paintEvent(a0) : paintEvent(a0));
}

int sipQListWidget::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::horizontalOffset() : horizontalOffset());
}

int sipQListWidget::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::verticalOffset() : verticalOffset());
}

QModelIndex sipQListWidget::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0,Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ? QListView::moveCursor((QAbstractItemView::CursorAction)a0,a1) : moveCursor((QAbstractItemView::CursorAction)a0,a1));
}

QRect sipQListWidget::sipProtect_rectForIndex(const QModelIndex& a0) const
{
    return QListView::rectForIndex(a0);
}

void sipQListWidget::sipProtect_setPositionForIndex(const QPoint& a0,const QModelIndex& a1)
{
    QListView::setPositionForIndex(a0,a1);
}

void sipQListWidget::sipProtectVirt_setSelection(bool sipSelfWasArg,const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ? QListView::setSelection(a0,a1) : setSelection(a0,a1));
}

QRegion sipQListWidget::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const QItemSelection& a0) const
{
    return (sipSelfWasArg ? QListView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

QModelIndexList sipQListWidget::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::selectedIndexes() : selectedIndexes());
}

void sipQListWidget::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QListView::updateGeometries() : updateGeometries());
}

bool sipQListWidget::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QListView::isIndexHidden(a0) : isIndexHidden(a0));
}

QSize sipQListWidget::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::viewportSizeHint() : viewportSizeHint());
}

void sipQListWidget::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QListView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQListWidget::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QListView::currentChanged(a0,a1) : currentChanged(a0,a1));
}

QStringList sipQListWidget::sipProtectVirt_mimeTypes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListWidget::mimeTypes() : mimeTypes());
}

QMimeData* sipQListWidget::sipProtectVirt_mimeData(bool sipSelfWasArg,const QList<QListWidgetItem*> a0) const
{
    return (sipSelfWasArg ? QListWidget::mimeData(a0) : mimeData(a0));
}

bool sipQListWidget::sipProtectVirt_dropMimeData(bool sipSelfWasArg,int a0,const QMimeData*a1,Qt::DropAction a2)
{
    return (sipSelfWasArg ? QListWidget::dropMimeData(a0,a1,a2) : dropMimeData(a0,a1,a2));
}

Qt::DropActions sipQListWidget::sipProtectVirt_supportedDropActions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListWidget::supportedDropActions() : supportedDropActions());
}

QList<QListWidgetItem*> sipQListWidget::sipProtect_items(const QMimeData*a0) const
{
    return QListWidget::items(a0);
}

QModelIndex sipQListWidget::sipProtect_indexFromItem(QListWidgetItem*a0) const
{
    return QListWidget::indexFromItem(a0);
}

QListWidgetItem* sipQListWidget::sipProtect_itemFromIndex(const QModelIndex& a0) const
{
    return QListWidget::itemFromIndex(a0);
}

bool sipQListWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QListWidget::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QListWidget_sender, "QListWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QListWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 214906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_sender, doc_QListWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_receivers, "QListWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QListWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 214965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_receivers, doc_QListWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_childEvent, "QListWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QListWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_childEvent, doc_QListWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_customEvent, "QListWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QListWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_customEvent, doc_QListWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_connectNotify, "QListWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QListWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_connectNotify, doc_QListWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_disconnectNotify, "QListWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QListWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_disconnectNotify, doc_QListWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_senderSignalIndex, "QListWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QListWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_senderSignalIndex, doc_QListWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_isSignalConnected, "QListWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QListWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_isSignalConnected, doc_QListWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_keyReleaseEvent, "QListWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QListWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_keyReleaseEvent, doc_QListWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_enterEvent, "QListWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QListWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_enterEvent, doc_QListWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_leaveEvent, "QListWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QListWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_leaveEvent, doc_QListWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_moveEvent, "QListWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QListWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_moveEvent, doc_QListWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_closeEvent, "QListWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QListWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_closeEvent, doc_QListWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_tabletEvent, "QListWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QListWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_tabletEvent, doc_QListWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_actionEvent, "QListWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QListWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_actionEvent, doc_QListWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_showEvent, "QListWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QListWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_showEvent, doc_QListWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_hideEvent, "QListWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QListWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_hideEvent, doc_QListWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_metric, "QListWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QListWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_metric, doc_QListWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_updateMicroFocus, "QListWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QListWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_updateMicroFocus, doc_QListWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_create, "QListWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QListWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQListWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QListWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_create, doc_QListWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_destroy, "QListWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QListWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQListWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QListWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_destroy, doc_QListWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_focusNextChild, "QListWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QListWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_focusNextChild, doc_QListWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_focusPreviousChild, "QListWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QListWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_focusPreviousChild, doc_QListWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_nativeEvent, "QListWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QListWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_nativeEvent, doc_QListWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_sharedPainter, "QListWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QListWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_sharedPainter, doc_QListWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_initPainter, "QListWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QListWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_initPainter, doc_QListWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_changeEvent, "QListWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QListWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_changeEvent, doc_QListWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_drawFrame, "QListWidget.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QListWidget_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_drawFrame, doc_QListWidget_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setViewportMargins, "QListWidget.setViewportMargins(int, int, int, int)\n"
    "QListWidget.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QListWidget_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QListWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setViewportMargins, doc_QListWidget_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_wheelEvent, "QListWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QListWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_wheelEvent, doc_QListWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_contextMenuEvent, "QListWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QListWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_contextMenuEvent, doc_QListWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_eventFilter, "QListWidget.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QListWidget_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_eventFilter, doc_QListWidget_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_edit, "QListWidget.edit(QModelIndex)\n"
    "QListWidget.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QListWidget_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_edit, doc_QListWidget_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_updateEditorData, "QListWidget.updateEditorData()");

extern "C" {static PyObject *meth_QListWidget_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_updateEditorData, doc_QListWidget_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_updateEditorGeometries, "QListWidget.updateEditorGeometries()");

extern "C" {static PyObject *meth_QListWidget_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_updateEditorGeometries, doc_QListWidget_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_verticalScrollbarAction, "QListWidget.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QListWidget_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_verticalScrollbarAction, doc_QListWidget_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_horizontalScrollbarAction, "QListWidget.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QListWidget_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_horizontalScrollbarAction, doc_QListWidget_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_verticalScrollbarValueChanged, "QListWidget.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QListWidget_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_verticalScrollbarValueChanged, doc_QListWidget_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_horizontalScrollbarValueChanged, "QListWidget.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QListWidget_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_horizontalScrollbarValueChanged, doc_QListWidget_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_closeEditor, "QListWidget.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QListWidget_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_closeEditor, doc_QListWidget_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_commitData, "QListWidget.commitData(QWidget)");

extern "C" {static PyObject *meth_QListWidget_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_commitData, doc_QListWidget_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_editorDestroyed, "QListWidget.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QListWidget_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_editorDestroyed, doc_QListWidget_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_selectionCommand, "QListWidget.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QListWidget_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQListWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_selectionCommand, doc_QListWidget_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_state, "QListWidget.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QListWidget_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_state, doc_QListWidget_state);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setState, "QListWidget.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QListWidget_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setState, doc_QListWidget_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_scheduleDelayedItemsLayout, "QListWidget.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QListWidget_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_scheduleDelayedItemsLayout, doc_QListWidget_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_executeDelayedItemsLayout, "QListWidget.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QListWidget_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_executeDelayedItemsLayout, doc_QListWidget_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_scrollDirtyRegion, "QListWidget.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QListWidget_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QListWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_scrollDirtyRegion, doc_QListWidget_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setDirtyRegion, "QListWidget.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QListWidget_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setDirtyRegion, doc_QListWidget_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_dirtyRegionOffset, "QListWidget.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QListWidget_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_dirtyRegionOffset, doc_QListWidget_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_viewportEvent, "QListWidget.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QListWidget_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_viewportEvent, doc_QListWidget_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_mousePressEvent, "QListWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QListWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_mousePressEvent, doc_QListWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_mouseDoubleClickEvent, "QListWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QListWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_mouseDoubleClickEvent, doc_QListWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_dragEnterEvent, "QListWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QListWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_dragEnterEvent, doc_QListWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_focusInEvent, "QListWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QListWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_focusInEvent, doc_QListWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_focusOutEvent, "QListWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QListWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_focusOutEvent, doc_QListWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_keyPressEvent, "QListWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QListWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_keyPressEvent, doc_QListWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_dropIndicatorPosition, "QListWidget.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QListWidget_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_dropIndicatorPosition, doc_QListWidget_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_focusNextPrevChild, "QListWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QListWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_focusNextPrevChild, doc_QListWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_inputMethodEvent, "QListWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QListWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_inputMethodEvent, doc_QListWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_scrollContentsBy, "QListWidget.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QListWidget_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QListWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_scrollContentsBy, doc_QListWidget_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_dataChanged, "QListWidget.dataChanged(QModelIndex, QModelIndex, list-of-int roles=[])");

extern "C" {static PyObject *meth_QListWidget_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const QVector<int>& a2def = QVector<int>();
        const QVector<int>* a2 = &a2def;
        int a2State = 0;
        sipQListWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_roles,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|J1", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1,*a2);
            sipReleaseType(const_cast<QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_dataChanged, doc_QListWidget_dataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_rowsInserted, "QListWidget.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QListWidget_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_rowsInserted, doc_QListWidget_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_rowsAboutToBeRemoved, "QListWidget.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QListWidget_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_rowsAboutToBeRemoved, doc_QListWidget_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_mouseMoveEvent, "QListWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QListWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_mouseMoveEvent, doc_QListWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_mouseReleaseEvent, "QListWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QListWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_mouseReleaseEvent, doc_QListWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_timerEvent, "QListWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QListWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_timerEvent, doc_QListWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_resizeEvent, "QListWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QListWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_resizeEvent, doc_QListWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_dragMoveEvent, "QListWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QListWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_dragMoveEvent, doc_QListWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_dragLeaveEvent, "QListWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QListWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_dragLeaveEvent, doc_QListWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_startDrag, "QListWidget.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QListWidget_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QListWidget, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QListWidget, sipName_startDrag, doc_QListWidget_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_viewOptions, "QListWidget.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QListWidget_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_viewOptions, doc_QListWidget_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_paintEvent, "QListWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QListWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_paintEvent, doc_QListWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_horizontalOffset, "QListWidget.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QListWidget_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_horizontalOffset, doc_QListWidget_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_verticalOffset, "QListWidget.verticalOffset() -> int");

extern "C" {static PyObject *meth_QListWidget_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_verticalOffset, doc_QListWidget_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_moveCursor, "QListWidget.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QListWidget_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_moveCursor, doc_QListWidget_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_rectForIndex, "QListWidget.rectForIndex(QModelIndex) -> QRect");

extern "C" {static PyObject *meth_QListWidget_rectForIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_rectForIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_rectForIndex(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_rectForIndex, doc_QListWidget_rectForIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setPositionForIndex, "QListWidget.setPositionForIndex(QPoint, QModelIndex)");

extern "C" {static PyObject *meth_QListWidget_setPositionForIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setPositionForIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QModelIndex* a1;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QPoint, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_setPositionForIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setPositionForIndex, doc_QListWidget_setPositionForIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setSelection, "QListWidget.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QListWidget_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setSelection, doc_QListWidget_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_visualRegionForSelection, "QListWidget.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QListWidget_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_visualRegionForSelection, doc_QListWidget_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_selectedIndexes, "QListWidget.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QListWidget_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_selectedIndexes, doc_QListWidget_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_updateGeometries, "QListWidget.updateGeometries()");

extern "C" {static PyObject *meth_QListWidget_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_updateGeometries, doc_QListWidget_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_isIndexHidden, "QListWidget.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QListWidget_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_isIndexHidden, doc_QListWidget_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_viewportSizeHint, "QListWidget.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QListWidget_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_viewportSizeHint, doc_QListWidget_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_selectionChanged, "QListWidget.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QListWidget_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_selectionChanged, doc_QListWidget_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_currentChanged, "QListWidget.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QListWidget_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_currentChanged, doc_QListWidget_currentChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_item, "QListWidget.item(int) -> QListWidgetItem");

extern "C" {static PyObject *meth_QListWidget_item(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_item(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            QListWidgetItem*sipRes;

            sipRes = sipCpp->item(a0);

            return sipConvertFromType(sipRes,sipType_QListWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_item, doc_QListWidget_item);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_row, "QListWidget.row(QListWidgetItem) -> int");

extern "C" {static PyObject *meth_QListWidget_row(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_row(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem* a0;
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            int sipRes;

            sipRes = sipCpp->row(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_row, doc_QListWidget_row);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_insertItem, "QListWidget.insertItem(int, QListWidgetItem)\n"
    "QListWidget.insertItem(int, str)");

extern "C" {static PyObject *meth_QListWidget_insertItem(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_insertItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QListWidgetItem* a1;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QListWidget, &sipCpp, &a0, sipType_QListWidgetItem, &a1))
        {
            sipCpp->insertItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QListWidget, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->insertItem(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_insertItem, doc_QListWidget_insertItem);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_insertItems, "QListWidget.insertItems(int, list-of-str)");

extern "C" {static PyObject *meth_QListWidget_insertItems(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_insertItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QStringList* a1;
        int a1State = 0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QListWidget, &sipCpp, &a0, sipType_QStringList,&a1, &a1State))
        {
            sipCpp->insertItems(a0,*a1);
            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_QListWidget, sipName_insertItems, doc_QListWidget_insertItems);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_addItem, "QListWidget.addItem(QListWidgetItem)\n"
    "QListWidget.addItem(str)");

extern "C" {static PyObject *meth_QListWidget_addItem(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidgetItem* a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            sipCpp->addItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->addItem(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_addItem, doc_QListWidget_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_addItems, "QListWidget.addItems(list-of-str)");

extern "C" {static PyObject *meth_QListWidget_addItems(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_addItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->addItems(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_addItems, doc_QListWidget_addItems);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_takeItem, "QListWidget.takeItem(int) -> QListWidgetItem");

extern "C" {static PyObject *meth_QListWidget_takeItem(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_takeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            QListWidgetItem*sipRes;

            sipRes = sipCpp->takeItem(a0);

            return sipConvertFromType(sipRes,sipType_QListWidgetItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_takeItem, doc_QListWidget_takeItem);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_count, "QListWidget.count() -> int");

extern "C" {static PyObject *meth_QListWidget_count(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_count, doc_QListWidget_count);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_currentItem, "QListWidget.currentItem() -> QListWidgetItem");

extern "C" {static PyObject *meth_QListWidget_currentItem(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_currentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            QListWidgetItem*sipRes;

            sipRes = sipCpp->currentItem();

            return sipConvertFromType(sipRes,sipType_QListWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_currentItem, doc_QListWidget_currentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setCurrentItem, "QListWidget.setCurrentItem(QListWidgetItem)\n"
    "QListWidget.setCurrentItem(QListWidgetItem, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QListWidget_setCurrentItem(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setCurrentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidgetItem* a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            sipCpp->setCurrentItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QListWidgetItem* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->setCurrentItem(a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setCurrentItem, doc_QListWidget_setCurrentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_currentRow, "QListWidget.currentRow() -> int");

extern "C" {static PyObject *meth_QListWidget_currentRow(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_currentRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentRow();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_currentRow, doc_QListWidget_currentRow);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setCurrentRow, "QListWidget.setCurrentRow(int)\n"
    "QListWidget.setCurrentRow(int, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QListWidget_setCurrentRow(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setCurrentRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            sipCpp->setCurrentRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QListWidget, &sipCpp, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->setCurrentRow(a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setCurrentRow, doc_QListWidget_setCurrentRow);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_itemAt, "QListWidget.itemAt(QPoint) -> QListWidgetItem\n"
    "QListWidget.itemAt(int, int) -> QListWidgetItem");

extern "C" {static PyObject *meth_QListWidget_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QListWidgetItem*sipRes;

            sipRes = sipCpp->itemAt(*a0);

            return sipConvertFromType(sipRes,sipType_QListWidgetItem,NULL);
        }
    }

    {
        int a0;
        int a1;
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QListWidget, &sipCpp, &a0, &a1))
        {
            QListWidgetItem*sipRes;

            sipRes = sipCpp->itemAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QListWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_itemAt, doc_QListWidget_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_itemWidget, "QListWidget.itemWidget(QListWidgetItem) -> QWidget");

extern "C" {static PyObject *meth_QListWidget_itemWidget(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_itemWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidgetItem* a0;
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->itemWidget(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_itemWidget, doc_QListWidget_itemWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setItemWidget, "QListWidget.setItemWidget(QListWidgetItem, QWidget)");

extern "C" {static PyObject *meth_QListWidget_setItemWidget(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setItemWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidgetItem* a0;
        QWidget* a1;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J:", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0, sipType_QWidget, &a1))
        {
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistwidget.sip"
        // We have to break the association with any existing widget.
        QWidget *w = sipCpp->itemWidget(a0);
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QWidget);
        
            if (wo)
                sipTransferTo(wo, 0);
        }
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->setItemWidget(a0, a1);
        Py_END_ALLOW_THREADS
#line 217916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setItemWidget, doc_QListWidget_setItemWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_visualItemRect, "QListWidget.visualItemRect(QListWidgetItem) -> QRect");

extern "C" {static PyObject *meth_QListWidget_visualItemRect(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_visualItemRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem* a0;
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->visualItemRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_visualItemRect, doc_QListWidget_visualItemRect);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_sortItems, "QListWidget.sortItems(Qt.SortOrder order=Qt.AscendingOrder)");

extern "C" {static PyObject *meth_QListWidget_sortItems(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_sortItems(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::SortOrder a0 = Qt::AscendingOrder;
        QListWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QListWidget, &sipCpp, sipType_Qt_SortOrder, &a0))
        {
            sipCpp->sortItems(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_sortItems, doc_QListWidget_sortItems);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_editItem, "QListWidget.editItem(QListWidgetItem)");

extern "C" {static PyObject *meth_QListWidget_editItem(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_editItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidgetItem* a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            sipCpp->editItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_editItem, doc_QListWidget_editItem);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_openPersistentEditor, "QListWidget.openPersistentEditor(QListWidgetItem)");

extern "C" {static PyObject *meth_QListWidget_openPersistentEditor(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_openPersistentEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidgetItem* a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            sipCpp->openPersistentEditor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_openPersistentEditor, doc_QListWidget_openPersistentEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_closePersistentEditor, "QListWidget.closePersistentEditor(QListWidgetItem)");

extern "C" {static PyObject *meth_QListWidget_closePersistentEditor(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_closePersistentEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidgetItem* a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            sipCpp->closePersistentEditor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_closePersistentEditor, doc_QListWidget_closePersistentEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_selectedItems, "QListWidget.selectedItems() -> list-of-QListWidgetItem");

extern "C" {static PyObject *meth_QListWidget_selectedItems(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_selectedItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            QList<QListWidgetItem*>*sipRes;

            sipRes = new QList<QListWidgetItem*>(sipCpp->selectedItems());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QListWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_selectedItems, doc_QListWidget_selectedItems);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_findItems, "QListWidget.findItems(str, Qt.MatchFlags) -> list-of-QListWidgetItem");

extern "C" {static PyObject *meth_QListWidget_findItems(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_findItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Qt::MatchFlags* a1;
        int a1State = 0;
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_MatchFlags, &a1, &a1State))
        {
            QList<QListWidgetItem*>*sipRes;

            sipRes = new QList<QListWidgetItem*>(sipCpp->findItems(*a0,*a1));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_Qt_MatchFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QList_0101QListWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_findItems, doc_QListWidget_findItems);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_clear, "QListWidget.clear()");

extern "C" {static PyObject *meth_QListWidget_clear(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_clear, doc_QListWidget_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_scrollToItem, "QListWidget.scrollToItem(QListWidgetItem, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible)");

extern "C" {static PyObject *meth_QListWidget_scrollToItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_scrollToItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem* a0;
        QAbstractItemView::ScrollHint a1 = QAbstractItemView::EnsureVisible;
        QListWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|E", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            sipCpp->scrollToItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_scrollToItem, doc_QListWidget_scrollToItem);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_mimeTypes, "QListWidget.mimeTypes() -> list-of-str");

extern "C" {static PyObject *meth_QListWidget_mimeTypes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_mimeTypes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->sipProtectVirt_mimeTypes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_mimeTypes, doc_QListWidget_mimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_mimeData, "QListWidget.mimeData(list-of-QListWidgetItem) -> QMimeData");

extern "C" {static PyObject *meth_QListWidget_mimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_mimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QList<QListWidgetItem*>* a0;
        int a0State = 0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QList_0101QListWidgetItem,&a0, &a0State))
        {
            QMimeData*sipRes;

            sipRes = sipCpp->sipProtectVirt_mimeData(sipSelfWasArg,*a0);
            sipReleaseType(const_cast<QList<QListWidgetItem*> *>(a0),sipType_QList_0101QListWidgetItem,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_mimeData, doc_QListWidget_mimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_dropMimeData, "QListWidget.dropMimeData(int, QMimeData, Qt.DropAction) -> bool");

extern "C" {static PyObject *meth_QListWidget_dropMimeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_dropMimeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QMimeData* a1;
        Qt::DropAction a2;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiJ8E", &sipSelf, sipType_QListWidget, &sipCpp, &a0, sipType_QMimeData, &a1, sipType_Qt_DropAction, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_dropMimeData(sipSelfWasArg,a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_dropMimeData, doc_QListWidget_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_supportedDropActions, "QListWidget.supportedDropActions() -> Qt.DropActions");

extern "C" {static PyObject *meth_QListWidget_supportedDropActions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            Qt::DropActions*sipRes;

            sipRes = new Qt::DropActions(sipCpp->sipProtectVirt_supportedDropActions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_supportedDropActions, doc_QListWidget_supportedDropActions);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_items, "QListWidget.items(QMimeData) -> list-of-QListWidgetItem");

extern "C" {static PyObject *meth_QListWidget_items(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_items(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMimeData* a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QMimeData, &a0))
        {
            QList<QListWidgetItem*>*sipRes;

            sipRes = new QList<QListWidgetItem*>(sipCpp->sipProtect_items(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QListWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_items, doc_QListWidget_items);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_indexFromItem, "QListWidget.indexFromItem(QListWidgetItem) -> QModelIndex");

extern "C" {static PyObject *meth_QListWidget_indexFromItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_indexFromItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidgetItem* a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtect_indexFromItem(a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_indexFromItem, doc_QListWidget_indexFromItem);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_itemFromIndex, "QListWidget.itemFromIndex(QModelIndex) -> QListWidgetItem");

extern "C" {static PyObject *meth_QListWidget_itemFromIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_itemFromIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QModelIndex, &a0))
        {
            QListWidgetItem*sipRes;

            sipRes = sipCpp->sipProtect_itemFromIndex(*a0);

            return sipConvertFromType(sipRes,sipType_QListWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_itemFromIndex, doc_QListWidget_itemFromIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_event, "QListWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QListWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_event, doc_QListWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_setSortingEnabled, "QListWidget.setSortingEnabled(bool)");

extern "C" {static PyObject *meth_QListWidget_setSortingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setSortingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QListWidget, &sipCpp, &a0))
        {
            sipCpp->setSortingEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_setSortingEnabled, doc_QListWidget_setSortingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_isSortingEnabled, "QListWidget.isSortingEnabled() -> bool");

extern "C" {static PyObject *meth_QListWidget_isSortingEnabled(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_isSortingEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSortingEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_isSortingEnabled, doc_QListWidget_isSortingEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_dropEvent, "QListWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QListWidget_dropEvent(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            (sipSelfWasArg ? sipCpp->QListWidget::dropEvent(a0) : sipCpp->dropEvent(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_dropEvent, doc_QListWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidget_removeItemWidget, "QListWidget.removeItemWidget(QListWidgetItem)");

extern "C" {static PyObject *meth_QListWidget_removeItemWidget(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_removeItemWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListWidgetItem* a0;
        QListWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QListWidget, &sipCpp, sipType_QListWidgetItem, &a0))
        {
#line 175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistwidget.sip"
        // We have to break the association with any existing widget.
        QWidget *w = sipCpp->itemWidget(a0);
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QWidget);
        
            if (wo)
                sipTransferTo(wo, 0);
        }
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->removeItemWidget(a0);
        Py_END_ALLOW_THREADS
#line 218530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidget, sipName_removeItemWidget, doc_QListWidget_removeItemWidget);

    return NULL;
}


extern "C" {static PyObject *meth_QListWidget_setModel(PyObject *, PyObject *);}
static PyObject *meth_QListWidget_setModel(PyObject *, PyObject *)
{

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(NULL, sipName_QListWidget, sipName_setModel, NULL);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QListWidget___len__(PyObject *);}
static SIP_SSIZE_T slot_QListWidget___len__(PyObject *sipSelf)
{
    QListWidget *sipCpp = reinterpret_cast<QListWidget *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QListWidget));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 218570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QListWidget(void *, const sipTypeDef *);}
static void *cast_QListWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QListWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QListView)->ctd_cast((QListView *)(QListWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QListWidget(void *, int);}
static void release_QListWidget(void *sipCppV,int)
{
    QListWidget *sipCpp = reinterpret_cast<QListWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QListWidget(sipSimpleWrapper *);}
static void dealloc_QListWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQListWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QListWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QListWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QListWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQListWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQListWidget(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QListWidget[] = {{211, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QListWidget[] = {
    {(void *)slot_QListWidget___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QListWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QListWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), meth_QListWidget_addItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_addItem)},
    {SIP_MLNAME_CAST(sipName_addItems), meth_QListWidget_addItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_addItems)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QListWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QListWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QListWidget_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_clear)},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QListWidget_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QListWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closePersistentEditor), meth_QListWidget_closePersistentEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_closePersistentEditor)},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QListWidget_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QListWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QListWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QListWidget_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_count)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QListWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QListWidget_currentChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentItem), meth_QListWidget_currentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_currentItem)},
    {SIP_MLNAME_CAST(sipName_currentRow), meth_QListWidget_currentRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_currentRow)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QListWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_QListWidget_dataChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QListWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QListWidget_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QListWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QListWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QListWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QListWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QListWidget_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), meth_QListWidget_dropEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_dropEvent)},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QListWidget_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), (PyCFunction)meth_QListWidget_dropMimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QListWidget_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editItem), meth_QListWidget_editItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_editItem)},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QListWidget_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QListWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QListWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QListWidget_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QListWidget_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_findItems), meth_QListWidget_findItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_findItems)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QListWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QListWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QListWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QListWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QListWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QListWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QListWidget_horizontalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QListWidget_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QListWidget_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexFromItem), (PyCFunction)meth_QListWidget_indexFromItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_indexFromItem)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QListWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QListWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertItem), meth_QListWidget_insertItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_insertItem)},
    {SIP_MLNAME_CAST(sipName_insertItems), meth_QListWidget_insertItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_insertItems)},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QListWidget_isIndexHidden, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QListWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortingEnabled), meth_QListWidget_isSortingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_isSortingEnabled)},
    {SIP_MLNAME_CAST(sipName_item), meth_QListWidget_item, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_item)},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QListWidget_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_itemAt)},
    {SIP_MLNAME_CAST(sipName_itemFromIndex), (PyCFunction)meth_QListWidget_itemFromIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_itemFromIndex)},
    {SIP_MLNAME_CAST(sipName_itemWidget), meth_QListWidget_itemWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_itemWidget)},
    {SIP_MLNAME_CAST(sipName_items), (PyCFunction)meth_QListWidget_items, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_items)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QListWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QListWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QListWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QListWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeData), (PyCFunction)meth_QListWidget_mimeData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_mimeData)},
    {SIP_MLNAME_CAST(sipName_mimeTypes), (PyCFunction)meth_QListWidget_mimeTypes, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_mimeTypes)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QListWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QListWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QListWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QListWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QListWidget_moveCursor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QListWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QListWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_openPersistentEditor), meth_QListWidget_openPersistentEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_openPersistentEditor)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QListWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QListWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rectForIndex), (PyCFunction)meth_QListWidget_rectForIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItemWidget), meth_QListWidget_removeItemWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_removeItemWidget)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QListWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_row), meth_QListWidget_row, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_row)},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QListWidget_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QListWidget_rowsInserted, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QListWidget_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QListWidget_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QListWidget_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollToItem), (PyCFunction)meth_QListWidget_scrollToItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_scrollToItem)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QListWidget_selectedIndexes, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedItems), meth_QListWidget_selectedItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_selectedItems)},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QListWidget_selectionChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QListWidget_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QListWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QListWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentItem), meth_QListWidget_setCurrentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_setCurrentItem)},
    {SIP_MLNAME_CAST(sipName_setCurrentRow), meth_QListWidget_setCurrentRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_setCurrentRow)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QListWidget_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setItemWidget), meth_QListWidget_setItemWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_setItemWidget)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QListWidget_setModel, METH_VARARGS, NULL},
    {SIP_MLNAME_CAST(sipName_setPositionForIndex), (PyCFunction)meth_QListWidget_setPositionForIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QListWidget_setSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSortingEnabled), meth_QListWidget_setSortingEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_setSortingEnabled)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QListWidget_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QListWidget_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QListWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QListWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sortItems), (PyCFunction)meth_QListWidget_sortItems, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_sortItems)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QListWidget_startDrag, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QListWidget_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), (PyCFunction)meth_QListWidget_supportedDropActions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListWidget_supportedDropActions)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QListWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_takeItem), meth_QListWidget_takeItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_takeItem)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QListWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QListWidget_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QListWidget_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QListWidget_updateGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QListWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QListWidget_verticalOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QListWidget_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QListWidget_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QListWidget_viewOptions, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QListWidget_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QListWidget_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_visualItemRect), meth_QListWidget_visualItemRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidget_visualItemRect)},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QListWidget_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QListWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QListWidget[] = {
    {"itemSelectionChanged()", "\1QListWidget.itemSelectionChanged", 0, 0},
    {"currentRowChanged(int)", "\1QListWidget.currentRowChanged[int]", 0, 0},
    {"currentTextChanged(QString)", "\1QListWidget.currentTextChanged[str]", 0, 0},
    {"currentItemChanged(QListWidgetItem*,QListWidgetItem*)", "\1QListWidget.currentItemChanged[QListWidgetItem, QListWidgetItem]", 0, 0},
    {"itemChanged(QListWidgetItem*)", "\1QListWidget.itemChanged[QListWidgetItem]", 0, 0},
    {"itemEntered(QListWidgetItem*)", "\1QListWidget.itemEntered[QListWidgetItem]", 0, 0},
    {"itemActivated(QListWidgetItem*)", "\1QListWidget.itemActivated[QListWidgetItem]", 0, 0},
    {"itemDoubleClicked(QListWidgetItem*)", "\1QListWidget.itemDoubleClicked[QListWidgetItem]", 0, 0},
    {"itemClicked(QListWidgetItem*)", "\1QListWidget.itemClicked[QListWidgetItem]", 0, 0},
    {"itemPressed(QListWidgetItem*)", "\1QListWidget.itemPressed[QListWidgetItem]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QListWidget, "\1QListWidget(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QListWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QListWidget,
        {0}
    },
    {
        sipNameNr_QListWidget,
        {0, 0, 1},
        123, methods_QListWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QListWidget,
    -1,
    -1,
    supers_QListWidget,
    slots_QListWidget,
    init_type_QListWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QListWidget,
    0,
    0,
    0,
    release_QListWidget,
    cast_QListWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QListWidget::staticMetaObject,
    0,
    signals_QListWidget,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 218861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 92 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistwidget.sip"
#include <qlistwidget.h>
#line 218865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 218868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 218871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 218874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 218877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 218880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 218883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 218886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 218889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 218892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQListWidgetItem : public QListWidgetItem
{
public:
    sipQListWidgetItem(QListWidget*,int);
    sipQListWidgetItem(const QString&,QListWidget*,int);
    sipQListWidgetItem(const QIcon&,const QString&,QListWidget*,int);
    sipQListWidgetItem(const QListWidgetItem&);
    virtual ~sipQListWidgetItem();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void write(QDataStream&) const;
    void read(QDataStream&);
    bool operator<(const QListWidgetItem&) const;
    void setData(int,const QVariant&);
    QVariant data(int) const;
    QListWidgetItem* clone() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQListWidgetItem(const sipQListWidgetItem &);
    sipQListWidgetItem &operator = (const sipQListWidgetItem &);

    char sipPyMethods[6];
};

sipQListWidgetItem::sipQListWidgetItem(QListWidget*a0,int a1): QListWidgetItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQListWidgetItem::sipQListWidgetItem(const QString& a0,QListWidget*a1,int a2): QListWidgetItem(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQListWidgetItem::sipQListWidgetItem(const QIcon& a0,const QString& a1,QListWidget*a2,int a3): QListWidgetItem(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQListWidgetItem::sipQListWidgetItem(const QListWidgetItem& a0): QListWidgetItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQListWidgetItem::~sipQListWidgetItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQListWidgetItem::write(QDataStream& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_write);

    if (!sipMeth)
    {
        QListWidgetItem::write(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDataStream&);

    ((sipVH_QtGui_24)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidgetItem::read(QDataStream& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_read);

    if (!sipMeth)
    {
        QListWidgetItem::read(a0);
        return;
    }

    typedef void (*sipVH_QtGui_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDataStream&);

    ((sipVH_QtGui_24)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQListWidgetItem::operator<(const QListWidgetItem& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName___lt__);

    if (!sipMeth)
        return QListWidgetItem::operator<(a0);

    extern bool sipVH_QtWidgets_89(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QListWidgetItem&);

    return sipVH_QtWidgets_89(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListWidgetItem::setData(int a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
    {
        QListWidgetItem::setData(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,const QVariant&);

    sipVH_QtWidgets_44(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQListWidgetItem::data(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return QListWidgetItem::data(a0);

    typedef QVariant (*sipVH_QtGui_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtGui_27)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[27]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QListWidgetItem* sipQListWidgetItem::clone() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_clone);

    if (!sipMeth)
        return QListWidgetItem::clone();

    extern QListWidgetItem* sipVH_QtWidgets_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_90(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QListWidgetItem_clone, "QListWidgetItem.clone() -> QListWidgetItem");

extern "C" {static PyObject *meth_QListWidgetItem_clone(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_clone(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QListWidgetItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QListWidgetItem::clone() : sipCpp->clone());

            return sipConvertFromNewType(sipRes,sipType_QListWidgetItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_clone, doc_QListWidgetItem_clone);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_listWidget, "QListWidgetItem.listWidget() -> QListWidget");

extern "C" {static PyObject *meth_QListWidgetItem_listWidget(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_listWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QListWidget*sipRes;

            sipRes = sipCpp->listWidget();

            return sipConvertFromType(sipRes,sipType_QListWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_listWidget, doc_QListWidgetItem_listWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_flags, "QListWidgetItem.flags() -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QListWidgetItem_flags(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            Qt::ItemFlags*sipRes;

            sipRes = new Qt::ItemFlags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_flags, doc_QListWidgetItem_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_text, "QListWidgetItem.text() -> str");

extern "C" {static PyObject *meth_QListWidgetItem_text(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_text, doc_QListWidgetItem_text);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_icon, "QListWidgetItem.icon() -> QIcon");

extern "C" {static PyObject *meth_QListWidgetItem_icon(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->icon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_icon, doc_QListWidgetItem_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_statusTip, "QListWidgetItem.statusTip() -> str");

extern "C" {static PyObject *meth_QListWidgetItem_statusTip(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_statusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->statusTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_statusTip, doc_QListWidgetItem_statusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_toolTip, "QListWidgetItem.toolTip() -> str");

extern "C" {static PyObject *meth_QListWidgetItem_toolTip(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_toolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toolTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_toolTip, doc_QListWidgetItem_toolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_whatsThis, "QListWidgetItem.whatsThis() -> str");

extern "C" {static PyObject *meth_QListWidgetItem_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_whatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->whatsThis());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_whatsThis, doc_QListWidgetItem_whatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_font, "QListWidgetItem.font() -> QFont");

extern "C" {static PyObject *meth_QListWidgetItem_font(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_font, doc_QListWidgetItem_font);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_textAlignment, "QListWidgetItem.textAlignment() -> int");

extern "C" {static PyObject *meth_QListWidgetItem_textAlignment(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_textAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->textAlignment();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_textAlignment, doc_QListWidgetItem_textAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setTextAlignment, "QListWidgetItem.setTextAlignment(int)");

extern "C" {static PyObject *meth_QListWidgetItem_setTextAlignment(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setTextAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QListWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setTextAlignment(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setTextAlignment, doc_QListWidgetItem_setTextAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_checkState, "QListWidgetItem.checkState() -> Qt.CheckState");

extern "C" {static PyObject *meth_QListWidgetItem_checkState(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_checkState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            Qt::CheckState sipRes;

            sipRes = sipCpp->checkState();

            return sipConvertFromEnum(sipRes,sipType_Qt_CheckState);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_checkState, doc_QListWidgetItem_checkState);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setCheckState, "QListWidgetItem.setCheckState(Qt.CheckState)");

extern "C" {static PyObject *meth_QListWidgetItem_setCheckState(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setCheckState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CheckState a0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_Qt_CheckState, &a0))
        {
            sipCpp->setCheckState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setCheckState, doc_QListWidgetItem_setCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_sizeHint, "QListWidgetItem.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QListWidgetItem_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sizeHint());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_sizeHint, doc_QListWidgetItem_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setSizeHint, "QListWidgetItem.setSizeHint(QSize)");

extern "C" {static PyObject *meth_QListWidgetItem_setSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setSizeHint(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setSizeHint, doc_QListWidgetItem_setSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_data, "QListWidgetItem.data(int) -> QVariant");

extern "C" {static PyObject *meth_QListWidgetItem_data(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QListWidgetItem, &sipCpp, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QListWidgetItem::data(a0) : sipCpp->data(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_data, doc_QListWidgetItem_data);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setData, "QListWidgetItem.setData(int, QVariant)");

extern "C" {static PyObject *meth_QListWidgetItem_setData(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QVariant* a1;
        int a1State = 0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QListWidgetItem, &sipCpp, &a0, sipType_QVariant, &a1, &a1State))
        {
            (sipSelfWasArg ? sipCpp->QListWidgetItem::setData(a0,*a1) : sipCpp->setData(a0,*a1));
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setData, doc_QListWidgetItem_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_read, "QListWidgetItem.read(QDataStream)");

extern "C" {static PyObject *meth_QListWidgetItem_read(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_read(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDataStream* a0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QListWidgetItem::read(*a0) : sipCpp->read(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_read, doc_QListWidgetItem_read);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_write, "QListWidgetItem.write(QDataStream)");

extern "C" {static PyObject *meth_QListWidgetItem_write(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_write(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDataStream* a0;
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QDataStream, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QListWidgetItem::write(*a0) : sipCpp->write(*a0));
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_write, doc_QListWidgetItem_write);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_type, "QListWidgetItem.type() -> int");

extern "C" {static PyObject *meth_QListWidgetItem_type(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->type();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_type, doc_QListWidgetItem_type);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setFlags, "QListWidgetItem.setFlags(Qt.ItemFlags)");

extern "C" {static PyObject *meth_QListWidgetItem_setFlags(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ItemFlags* a0;
        int a0State = 0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_Qt_ItemFlags, &a0, &a0State))
        {
            sipCpp->setFlags(*a0);
            sipReleaseType(a0,sipType_Qt_ItemFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setFlags, doc_QListWidgetItem_setFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setText, "QListWidgetItem.setText(str)");

extern "C" {static PyObject *meth_QListWidgetItem_setText(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setText, doc_QListWidgetItem_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setIcon, "QListWidgetItem.setIcon(QIcon)");

extern "C" {static PyObject *meth_QListWidgetItem_setIcon(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QIcon, &a0))
        {
            sipCpp->setIcon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setIcon, doc_QListWidgetItem_setIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setStatusTip, "QListWidgetItem.setStatusTip(str)");

extern "C" {static PyObject *meth_QListWidgetItem_setStatusTip(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setStatusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setStatusTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setStatusTip, doc_QListWidgetItem_setStatusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setToolTip, "QListWidgetItem.setToolTip(str)");

extern "C" {static PyObject *meth_QListWidgetItem_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setToolTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setToolTip, doc_QListWidgetItem_setToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setWhatsThis, "QListWidgetItem.setWhatsThis(str)");

extern "C" {static PyObject *meth_QListWidgetItem_setWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWhatsThis(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setWhatsThis, doc_QListWidgetItem_setWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setFont, "QListWidgetItem.setFont(QFont)");

extern "C" {static PyObject *meth_QListWidgetItem_setFont(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setFont, doc_QListWidgetItem_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_background, "QListWidgetItem.background() -> QBrush");

extern "C" {static PyObject *meth_QListWidgetItem_background(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_background(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->background());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_background, doc_QListWidgetItem_background);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setBackground, "QListWidgetItem.setBackground(QBrush)");

extern "C" {static PyObject *meth_QListWidgetItem_setBackground(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setBackground(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setBackground, doc_QListWidgetItem_setBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_foreground, "QListWidgetItem.foreground() -> QBrush");

extern "C" {static PyObject *meth_QListWidgetItem_foreground(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_foreground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->foreground());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_foreground, doc_QListWidgetItem_foreground);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setForeground, "QListWidgetItem.setForeground(QBrush)");

extern "C" {static PyObject *meth_QListWidgetItem_setForeground(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setForeground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QListWidgetItem, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setForeground(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setForeground, doc_QListWidgetItem_setForeground);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setSelected, "QListWidgetItem.setSelected(bool)");

extern "C" {static PyObject *meth_QListWidgetItem_setSelected(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QListWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setSelected(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setSelected, doc_QListWidgetItem_setSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_isSelected, "QListWidgetItem.isSelected() -> bool");

extern "C" {static PyObject *meth_QListWidgetItem_isSelected(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_isSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSelected();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_isSelected, doc_QListWidgetItem_isSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_setHidden, "QListWidgetItem.setHidden(bool)");

extern "C" {static PyObject *meth_QListWidgetItem_setHidden(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_setHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QListWidgetItem, &sipCpp, &a0))
        {
            sipCpp->setHidden(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_setHidden, doc_QListWidgetItem_setHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QListWidgetItem_isHidden, "QListWidgetItem.isHidden() -> bool");

extern "C" {static PyObject *meth_QListWidgetItem_isHidden(PyObject *, PyObject *);}
static PyObject *meth_QListWidgetItem_isHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isHidden();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListWidgetItem, sipName_isHidden, doc_QListWidgetItem_isHidden);

    return NULL;
}


extern "C" {static PyObject *slot_QListWidgetItem___ge__(PyObject *,PyObject *);}
static PyObject *slot_QListWidgetItem___ge__(PyObject *sipSelf,PyObject *sipArg)
{
    QListWidgetItem *sipCpp = reinterpret_cast<QListWidgetItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QListWidgetItem));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QListWidgetItem, &a0))
        {
            bool sipRes;

            sipRes = !sipCpp->QListWidgetItem::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ge_slot,sipType_QListWidgetItem,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QListWidgetItem___lt__(PyObject *,PyObject *);}
static PyObject *slot_QListWidgetItem___lt__(PyObject *sipSelf,PyObject *sipArg)
{
    QListWidgetItem *sipCpp = reinterpret_cast<QListWidgetItem *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QListWidgetItem));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QListWidgetItem* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QListWidgetItem, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->QListWidgetItem::operator<(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,lt_slot,sipType_QListWidgetItem,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QListWidgetItem(void *, const sipTypeDef *);}
static void *cast_QListWidgetItem(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QListWidgetItem)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QListWidgetItem(void *, int);}
static void release_QListWidgetItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQListWidgetItem *>(sipCppV);
    else
        delete reinterpret_cast<QListWidgetItem *>(sipCppV);
}


extern "C" {static void dealloc_QListWidgetItem(sipSimpleWrapper *);}
static void dealloc_QListWidgetItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQListWidgetItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QListWidgetItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QListWidgetItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QListWidgetItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQListWidgetItem *sipCpp = 0;

    {
        QListWidget* a0 = 0;
        int a1 = QListWidgetItem::Type;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHi", sipType_QListWidget, &a0, sipOwner, &a1))
        {
            sipCpp = new sipQListWidgetItem(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QListWidget* a1 = 0;
        int a2 = QListWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JHi", sipType_QString,&a0, &a0State, sipType_QListWidget, &a1, sipOwner, &a2))
        {
            sipCpp = new sipQListWidgetItem(*a0,a1,a2);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QListWidget* a2 = 0;
        int a3 = QListWidgetItem::Type;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
            sipName_type,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9J1|JHi", sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_QListWidget, &a2, sipOwner, &a3))
        {
            sipCpp = new sipQListWidgetItem(*a0,*a1,a2,a3);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QListWidgetItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QListWidgetItem, &a0))
        {
            sipCpp = new sipQListWidgetItem(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QListWidgetItem[] = {
    {(void *)slot_QListWidgetItem___ge__, ge_slot},
    {(void *)slot_QListWidgetItem___lt__, lt_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QListWidgetItem[] = {
    {SIP_MLNAME_CAST(sipName_background), meth_QListWidgetItem_background, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_background)},
    {SIP_MLNAME_CAST(sipName_checkState), meth_QListWidgetItem_checkState, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_checkState)},
    {SIP_MLNAME_CAST(sipName_clone), meth_QListWidgetItem_clone, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_clone)},
    {SIP_MLNAME_CAST(sipName_data), meth_QListWidgetItem_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_data)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QListWidgetItem_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_flags)},
    {SIP_MLNAME_CAST(sipName_font), meth_QListWidgetItem_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_font)},
    {SIP_MLNAME_CAST(sipName_foreground), meth_QListWidgetItem_foreground, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_foreground)},
    {SIP_MLNAME_CAST(sipName_icon), meth_QListWidgetItem_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_icon)},
    {SIP_MLNAME_CAST(sipName_isHidden), meth_QListWidgetItem_isHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_isHidden)},
    {SIP_MLNAME_CAST(sipName_isSelected), meth_QListWidgetItem_isSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_isSelected)},
    {SIP_MLNAME_CAST(sipName_listWidget), meth_QListWidgetItem_listWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_listWidget)},
    {SIP_MLNAME_CAST(sipName_read), meth_QListWidgetItem_read, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_read)},
    {SIP_MLNAME_CAST(sipName_setBackground), meth_QListWidgetItem_setBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setBackground)},
    {SIP_MLNAME_CAST(sipName_setCheckState), meth_QListWidgetItem_setCheckState, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setCheckState)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QListWidgetItem_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setData)},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_QListWidgetItem_setFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setFlags)},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QListWidgetItem_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setFont)},
    {SIP_MLNAME_CAST(sipName_setForeground), meth_QListWidgetItem_setForeground, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setForeground)},
    {SIP_MLNAME_CAST(sipName_setHidden), meth_QListWidgetItem_setHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setHidden)},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_QListWidgetItem_setIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setIcon)},
    {SIP_MLNAME_CAST(sipName_setSelected), meth_QListWidgetItem_setSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setSelected)},
    {SIP_MLNAME_CAST(sipName_setSizeHint), meth_QListWidgetItem_setSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setSizeHint)},
    {SIP_MLNAME_CAST(sipName_setStatusTip), meth_QListWidgetItem_setStatusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setStatusTip)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QListWidgetItem_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setText)},
    {SIP_MLNAME_CAST(sipName_setTextAlignment), meth_QListWidgetItem_setTextAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setTextAlignment)},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_QListWidgetItem_setToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setToolTip)},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_QListWidgetItem_setWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_setWhatsThis)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QListWidgetItem_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_sizeHint)},
    {SIP_MLNAME_CAST(sipName_statusTip), meth_QListWidgetItem_statusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_statusTip)},
    {SIP_MLNAME_CAST(sipName_text), meth_QListWidgetItem_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_text)},
    {SIP_MLNAME_CAST(sipName_textAlignment), meth_QListWidgetItem_textAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_textAlignment)},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_QListWidgetItem_toolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_toolTip)},
    {SIP_MLNAME_CAST(sipName_type), meth_QListWidgetItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_type)},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_QListWidgetItem_whatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_whatsThis)},
    {SIP_MLNAME_CAST(sipName_write), meth_QListWidgetItem_write, METH_VARARGS, SIP_MLDOC_CAST(doc_QListWidgetItem_write)}
};

static sipEnumMemberDef enummembers_QListWidgetItem[] = {
    {sipName_Type, static_cast<int>(QListWidgetItem::Type), 219},
    {sipName_UserType, static_cast<int>(QListWidgetItem::UserType), 219},
};

PyDoc_STRVAR(doc_QListWidgetItem, "\1QListWidgetItem(QListWidget parent=None, int type=QListWidgetItem.Type)\n"
    "QListWidgetItem(str, QListWidget parent=None, int type=QListWidgetItem.Type)\n"
    "QListWidgetItem(QIcon, str, QListWidget parent=None, int type=QListWidgetItem.Type)\n"
    "QListWidgetItem(QListWidgetItem)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QListWidgetItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QListWidgetItem,
        {0}
    },
    {
        sipNameNr_QListWidgetItem,
        {0, 0, 1},
        35, methods_QListWidgetItem,
        2, enummembers_QListWidgetItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QListWidgetItem,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    slots_QListWidgetItem,
    init_type_QListWidgetItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QListWidgetItem,
    0,
    0,
    0,
    release_QListWidgetItem,
    cast_QListWidgetItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlistview.sip"
#include <qlistview.h>
#line 220325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 220329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 220332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 220335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 220338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 220341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 220344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 220347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 220350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 220353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 220356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 220365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 220383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 220389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 220392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 220401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 220404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 220416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 220419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 220422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 220425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 220428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 220431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 220434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 220440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 220449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 220452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 220455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 220458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 220461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 220464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 220470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 220479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 220482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 220485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 220488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 220491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 220494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 220497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 220500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 220503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 220521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 220524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 220527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 220530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 220533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 220536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 220542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 220545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 220548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 220551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 220554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 220557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 220560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 220563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 220566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 220569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 220572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 220575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 220578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 220581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQListView : public QListView
{
public:
    sipQListView(QWidget*);
    virtual ~sipQListView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_dataChanged(bool,const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    QRect sipProtect_rectForIndex(const QModelIndex&) const;
    void sipProtect_setPositionForIndex(const QPoint&,const QModelIndex&);
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    void sipProtectVirt_updateGeometries(bool);
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    QSize sipProtectVirt_viewportSizeHint(bool) const;
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void keyPressEvent(QKeyEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool viewportEvent(QEvent*);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    void selectAll();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void keyboardSearch(const QString&);
    void setSelectionModel(QItemSelectionModel*);
    void setModel(QAbstractItemModel*);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    QSize viewportSizeHint() const;
    bool isIndexHidden(const QModelIndex&) const;
    void updateGeometries();
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    int verticalOffset() const;
    int horizontalOffset() const;
    void paintEvent(QPaintEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void resizeEvent(QResizeEvent*);
    void timerEvent(QTimerEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    bool event(QEvent*);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void scrollContentsBy(int,int);
    void setRootIndex(const QModelIndex&);
    void reset();
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQListView(const sipQListView &);
    sipQListView &operator = (const sipQListView &);

    char sipPyMethods[87];
};

sipQListView::sipQListView(QWidget*a0): QListView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQListView::~sipQListView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQListView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QListView);
}

int sipQListView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QListView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QListView,_c,_id,_a);

    return _id;
}

void *sipQListView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QListView, _clname, &sipCpp) ? sipCpp : QListView::qt_metacast(_clname));
}

void sipQListView::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QListView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QListView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QListView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QListView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QListView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQListView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QListView::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQListView::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QListView::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQListView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QListView::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQListView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QListView::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QListView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QListView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QListView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QListView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QListView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QListView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QListView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QListView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QListView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQListView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QListView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQListView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QListView::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QListView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQListView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QListView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QListView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QListView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQListView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QListView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQListView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QListView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QListView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQListView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QListView::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQListView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QListView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QListView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQListView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QListView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQListView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QListView::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QListView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QListView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QListView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QListView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QListView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QListView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQListView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QListView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQListView::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QListView::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQListView::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QListView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListView::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QListView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QListView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QListView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQListView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QListView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QListView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QListView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QListView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QListView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QListView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QListView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQListView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QListView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQListView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QListView::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QListView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QListView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::setModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
        QListView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtCore_40)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtCore_40)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[40]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QListView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQListView::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QListView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QSize sipQListView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QListView::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQListView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return QListView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QListView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndexList sipQListView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[61]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QListView::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQListView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[62]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QListView::visualRegionForSelection(a0);

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        QListView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipQListView::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return QListView::moveCursor(a0,a1);

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

int sipQListView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[65]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return QListView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQListView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[66]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return QListView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QListView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQListView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[68]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QListView::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQListView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QListView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QListView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QListView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QListView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QListView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QListView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QListView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QListView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQListView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QListView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QListView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListView::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QListView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListView::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QListView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQListView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QListView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQListView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QListView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QListView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndex sipQListView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return QListView::indexAt(a0);

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQListView::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        QListView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QRect sipQListView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[86]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return QListView::visualRect(a0);

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQListView::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQListView::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQListView::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQListView::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQListView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQListView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQListView::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQListView::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQListView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQListView::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQListView::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQListView::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQListView::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQListView::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQListView::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQListView::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQListView::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQListView::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQListView::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQListView::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQListView::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQListView::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQListView::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQListView::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQListView::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQListView::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQListView::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQListView::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQListView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQListView::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQListView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQListView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQListView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQListView::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQListView::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQListView::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQListView::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQListView::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

void sipQListView::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQListView::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQListView::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQListView::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQListView::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QItemSelectionModel::SelectionFlags sipQListView::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

int sipQListView::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQListView::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQListView::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQListView::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQListView::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQListView::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQListView::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

bool sipQListView::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQListView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQListView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQListView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQListView::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQListView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQListView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::keyPressEvent(a0) : keyPressEvent(a0));
}

int sipQListView::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQListView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQListView::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQListView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QListView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

void sipQListView::sipProtectVirt_dataChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    (sipSelfWasArg ? QListView::dataChanged(a0,a1,a2) : dataChanged(a0,a1,a2));
}

void sipQListView::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QListView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipQListView::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QListView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

bool sipQListView::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QListView::event(a0) : event(a0));
}

void sipQListView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QListView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQListView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QListView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQListView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QListView::timerEvent(a0) : timerEvent(a0));
}

void sipQListView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QListView::resizeEvent(a0) : resizeEvent(a0));
}

void sipQListView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QListView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQListView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QListView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQListView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QListView::dropEvent(a0) : dropEvent(a0));
}

void sipQListView::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QListView::startDrag(a0) : startDrag(a0));
}

QStyleOptionViewItem sipQListView::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::viewOptions() : viewOptions());
}

void sipQListView::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QListView::paintEvent(a0) : paintEvent(a0));
}

int sipQListView::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::horizontalOffset() : horizontalOffset());
}

int sipQListView::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::verticalOffset() : verticalOffset());
}

QModelIndex sipQListView::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0,Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ? QListView::moveCursor((QAbstractItemView::CursorAction)a0,a1) : moveCursor((QAbstractItemView::CursorAction)a0,a1));
}

QRect sipQListView::sipProtect_rectForIndex(const QModelIndex& a0) const
{
    return QListView::rectForIndex(a0);
}

void sipQListView::sipProtect_setPositionForIndex(const QPoint& a0,const QModelIndex& a1)
{
    QListView::setPositionForIndex(a0,a1);
}

void sipQListView::sipProtectVirt_setSelection(bool sipSelfWasArg,const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ? QListView::setSelection(a0,a1) : setSelection(a0,a1));
}

QRegion sipQListView::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const QItemSelection& a0) const
{
    return (sipSelfWasArg ? QListView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

QModelIndexList sipQListView::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::selectedIndexes() : selectedIndexes());
}

void sipQListView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QListView::updateGeometries() : updateGeometries());
}

bool sipQListView::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QListView::isIndexHidden(a0) : isIndexHidden(a0));
}

QSize sipQListView::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QListView::viewportSizeHint() : viewportSizeHint());
}

void sipQListView::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QListView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQListView::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QListView::currentChanged(a0,a1) : currentChanged(a0,a1));
}


PyDoc_STRVAR(doc_QListView_sender, "QListView.sender() -> QObject");

extern "C" {static PyObject *meth_QListView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 222824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_sender, doc_QListView_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_receivers, "QListView.receivers(signal) -> int");

extern "C" {static PyObject *meth_QListView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 222883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_receivers, doc_QListView_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_childEvent, "QListView.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QListView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_childEvent, doc_QListView_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_customEvent, "QListView.customEvent(QEvent)");

extern "C" {static PyObject *meth_QListView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_customEvent, doc_QListView_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_connectNotify, "QListView.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QListView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_connectNotify, doc_QListView_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_disconnectNotify, "QListView.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QListView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_disconnectNotify, doc_QListView_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_senderSignalIndex, "QListView.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QListView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_senderSignalIndex, doc_QListView_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_isSignalConnected, "QListView.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QListView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_isSignalConnected, doc_QListView_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_keyReleaseEvent, "QListView.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QListView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_keyReleaseEvent, doc_QListView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_enterEvent, "QListView.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QListView_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_enterEvent, doc_QListView_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_leaveEvent, "QListView.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QListView_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_leaveEvent, doc_QListView_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_moveEvent, "QListView.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QListView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_moveEvent, doc_QListView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_closeEvent, "QListView.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QListView_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_closeEvent, doc_QListView_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_tabletEvent, "QListView.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QListView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_tabletEvent, doc_QListView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_actionEvent, "QListView.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QListView_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_actionEvent, doc_QListView_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_showEvent, "QListView.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QListView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_showEvent, doc_QListView_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_hideEvent, "QListView.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QListView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_hideEvent, doc_QListView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_metric, "QListView.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QListView_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QListView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_metric, doc_QListView_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_updateMicroFocus, "QListView.updateMicroFocus()");

extern "C" {static PyObject *meth_QListView_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_updateMicroFocus, doc_QListView_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_create, "QListView.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QListView_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQListView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QListView, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_create, doc_QListView_create);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_destroy, "QListView.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QListView_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQListView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QListView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_destroy, doc_QListView_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_focusNextChild, "QListView.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QListView_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_focusNextChild, doc_QListView_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_focusPreviousChild, "QListView.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QListView_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_focusPreviousChild, doc_QListView_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_nativeEvent, "QListView.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QListView_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QListView, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_nativeEvent, doc_QListView_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_sharedPainter, "QListView.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QListView_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_sharedPainter, doc_QListView_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_initPainter, "QListView.initPainter(QPainter)");

extern "C" {static PyObject *meth_QListView_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_initPainter, doc_QListView_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_changeEvent, "QListView.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QListView_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_changeEvent, doc_QListView_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_drawFrame, "QListView.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QListView_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_drawFrame, doc_QListView_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setViewportMargins, "QListView.setViewportMargins(int, int, int, int)\n"
    "QListView.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QListView_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QListView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setViewportMargins, doc_QListView_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_wheelEvent, "QListView.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QListView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_wheelEvent, doc_QListView_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_contextMenuEvent, "QListView.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QListView_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_contextMenuEvent, doc_QListView_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_eventFilter, "QListView.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QListView_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QListView, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_eventFilter, doc_QListView_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_edit, "QListView.edit(QModelIndex)\n"
    "QListView.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QListView_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_edit, doc_QListView_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_updateEditorData, "QListView.updateEditorData()");

extern "C" {static PyObject *meth_QListView_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_updateEditorData, doc_QListView_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_updateEditorGeometries, "QListView.updateEditorGeometries()");

extern "C" {static PyObject *meth_QListView_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_updateEditorGeometries, doc_QListView_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_verticalScrollbarAction, "QListView.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QListView_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_verticalScrollbarAction, doc_QListView_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_horizontalScrollbarAction, "QListView.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QListView_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_horizontalScrollbarAction, doc_QListView_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_verticalScrollbarValueChanged, "QListView.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QListView_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_verticalScrollbarValueChanged, doc_QListView_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_horizontalScrollbarValueChanged, "QListView.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QListView_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_horizontalScrollbarValueChanged, doc_QListView_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_closeEditor, "QListView.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QListView_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QListView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_closeEditor, doc_QListView_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_commitData, "QListView.commitData(QWidget)");

extern "C" {static PyObject *meth_QListView_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_commitData, doc_QListView_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_editorDestroyed, "QListView.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QListView_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_editorDestroyed, doc_QListView_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_selectionCommand, "QListView.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QListView_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQListView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_selectionCommand, doc_QListView_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_state, "QListView.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QListView_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_state, doc_QListView_state);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setState, "QListView.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QListView_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QListView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setState, doc_QListView_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_scheduleDelayedItemsLayout, "QListView.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QListView_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_scheduleDelayedItemsLayout, doc_QListView_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_executeDelayedItemsLayout, "QListView.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QListView_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_executeDelayedItemsLayout, doc_QListView_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_scrollDirtyRegion, "QListView.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QListView_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QListView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_scrollDirtyRegion, doc_QListView_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setDirtyRegion, "QListView.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QListView_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setDirtyRegion, doc_QListView_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_dirtyRegionOffset, "QListView.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QListView_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_dirtyRegionOffset, doc_QListView_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_viewportEvent, "QListView.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QListView_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_viewportEvent, doc_QListView_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_mousePressEvent, "QListView.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QListView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_mousePressEvent, doc_QListView_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_mouseDoubleClickEvent, "QListView.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QListView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_mouseDoubleClickEvent, doc_QListView_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_dragEnterEvent, "QListView.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QListView_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_dragEnterEvent, doc_QListView_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_focusInEvent, "QListView.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QListView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_focusInEvent, doc_QListView_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_focusOutEvent, "QListView.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QListView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_focusOutEvent, doc_QListView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_keyPressEvent, "QListView.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QListView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_keyPressEvent, doc_QListView_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_dropIndicatorPosition, "QListView.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QListView_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_dropIndicatorPosition, doc_QListView_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_focusNextPrevChild, "QListView.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QListView_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_focusNextPrevChild, doc_QListView_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_inputMethodEvent, "QListView.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QListView_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_inputMethodEvent, doc_QListView_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setMovement, "QListView.setMovement(QListView.Movement)");

extern "C" {static PyObject *meth_QListView_setMovement(PyObject *, PyObject *);}
static PyObject *meth_QListView_setMovement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListView::Movement a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QListView, &sipCpp, sipType_QListView_Movement, &a0))
        {
            sipCpp->setMovement(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setMovement, doc_QListView_setMovement);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_movement, "QListView.movement() -> QListView.Movement");

extern "C" {static PyObject *meth_QListView_movement(PyObject *, PyObject *);}
static PyObject *meth_QListView_movement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QListView::Movement sipRes;

            sipRes = sipCpp->movement();

            return sipConvertFromEnum(sipRes,sipType_QListView_Movement);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_movement, doc_QListView_movement);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setFlow, "QListView.setFlow(QListView.Flow)");

extern "C" {static PyObject *meth_QListView_setFlow(PyObject *, PyObject *);}
static PyObject *meth_QListView_setFlow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListView::Flow a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QListView, &sipCpp, sipType_QListView_Flow, &a0))
        {
            sipCpp->setFlow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setFlow, doc_QListView_setFlow);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_flow, "QListView.flow() -> QListView.Flow");

extern "C" {static PyObject *meth_QListView_flow(PyObject *, PyObject *);}
static PyObject *meth_QListView_flow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QListView::Flow sipRes;

            sipRes = sipCpp->flow();

            return sipConvertFromEnum(sipRes,sipType_QListView_Flow);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_flow, doc_QListView_flow);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setWrapping, "QListView.setWrapping(bool)");

extern "C" {static PyObject *meth_QListView_setWrapping(PyObject *, PyObject *);}
static PyObject *meth_QListView_setWrapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->setWrapping(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setWrapping, doc_QListView_setWrapping);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_isWrapping, "QListView.isWrapping() -> bool");

extern "C" {static PyObject *meth_QListView_isWrapping(PyObject *, PyObject *);}
static PyObject *meth_QListView_isWrapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWrapping();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_isWrapping, doc_QListView_isWrapping);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setResizeMode, "QListView.setResizeMode(QListView.ResizeMode)");

extern "C" {static PyObject *meth_QListView_setResizeMode(PyObject *, PyObject *);}
static PyObject *meth_QListView_setResizeMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListView::ResizeMode a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QListView, &sipCpp, sipType_QListView_ResizeMode, &a0))
        {
            sipCpp->setResizeMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setResizeMode, doc_QListView_setResizeMode);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_resizeMode, "QListView.resizeMode() -> QListView.ResizeMode");

extern "C" {static PyObject *meth_QListView_resizeMode(PyObject *, PyObject *);}
static PyObject *meth_QListView_resizeMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QListView::ResizeMode sipRes;

            sipRes = sipCpp->resizeMode();

            return sipConvertFromEnum(sipRes,sipType_QListView_ResizeMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_resizeMode, doc_QListView_resizeMode);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setLayoutMode, "QListView.setLayoutMode(QListView.LayoutMode)");

extern "C" {static PyObject *meth_QListView_setLayoutMode(PyObject *, PyObject *);}
static PyObject *meth_QListView_setLayoutMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListView::LayoutMode a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QListView, &sipCpp, sipType_QListView_LayoutMode, &a0))
        {
            sipCpp->setLayoutMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setLayoutMode, doc_QListView_setLayoutMode);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_layoutMode, "QListView.layoutMode() -> QListView.LayoutMode");

extern "C" {static PyObject *meth_QListView_layoutMode(PyObject *, PyObject *);}
static PyObject *meth_QListView_layoutMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QListView::LayoutMode sipRes;

            sipRes = sipCpp->layoutMode();

            return sipConvertFromEnum(sipRes,sipType_QListView_LayoutMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_layoutMode, doc_QListView_layoutMode);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setSpacing, "QListView.setSpacing(int)");

extern "C" {static PyObject *meth_QListView_setSpacing(PyObject *, PyObject *);}
static PyObject *meth_QListView_setSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->setSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setSpacing, doc_QListView_setSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_spacing, "QListView.spacing() -> int");

extern "C" {static PyObject *meth_QListView_spacing(PyObject *, PyObject *);}
static PyObject *meth_QListView_spacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->spacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_spacing, doc_QListView_spacing);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setGridSize, "QListView.setGridSize(QSize)");

extern "C" {static PyObject *meth_QListView_setGridSize(PyObject *, PyObject *);}
static PyObject *meth_QListView_setGridSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setGridSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setGridSize, doc_QListView_setGridSize);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_gridSize, "QListView.gridSize() -> QSize");

extern "C" {static PyObject *meth_QListView_gridSize(PyObject *, PyObject *);}
static PyObject *meth_QListView_gridSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->gridSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_gridSize, doc_QListView_gridSize);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setViewMode, "QListView.setViewMode(QListView.ViewMode)");

extern "C" {static PyObject *meth_QListView_setViewMode(PyObject *, PyObject *);}
static PyObject *meth_QListView_setViewMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListView::ViewMode a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QListView, &sipCpp, sipType_QListView_ViewMode, &a0))
        {
            sipCpp->setViewMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setViewMode, doc_QListView_setViewMode);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_viewMode, "QListView.viewMode() -> QListView.ViewMode");

extern "C" {static PyObject *meth_QListView_viewMode(PyObject *, PyObject *);}
static PyObject *meth_QListView_viewMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QListView::ViewMode sipRes;

            sipRes = sipCpp->viewMode();

            return sipConvertFromEnum(sipRes,sipType_QListView_ViewMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_viewMode, doc_QListView_viewMode);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_clearPropertyFlags, "QListView.clearPropertyFlags()");

extern "C" {static PyObject *meth_QListView_clearPropertyFlags(PyObject *, PyObject *);}
static PyObject *meth_QListView_clearPropertyFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            sipCpp->clearPropertyFlags();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_clearPropertyFlags, doc_QListView_clearPropertyFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_isRowHidden, "QListView.isRowHidden(int) -> bool");

extern "C" {static PyObject *meth_QListView_isRowHidden(PyObject *, PyObject *);}
static PyObject *meth_QListView_isRowHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isRowHidden(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_isRowHidden, doc_QListView_isRowHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setRowHidden, "QListView.setRowHidden(int, bool)");

extern "C" {static PyObject *meth_QListView_setRowHidden(PyObject *, PyObject *);}
static PyObject *meth_QListView_setRowHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QListView, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowHidden(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setRowHidden, doc_QListView_setRowHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setModelColumn, "QListView.setModelColumn(int)");

extern "C" {static PyObject *meth_QListView_setModelColumn(PyObject *, PyObject *);}
static PyObject *meth_QListView_setModelColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->setModelColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setModelColumn, doc_QListView_setModelColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_modelColumn, "QListView.modelColumn() -> int");

extern "C" {static PyObject *meth_QListView_modelColumn(PyObject *, PyObject *);}
static PyObject *meth_QListView_modelColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->modelColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_modelColumn, doc_QListView_modelColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setUniformItemSizes, "QListView.setUniformItemSizes(bool)");

extern "C" {static PyObject *meth_QListView_setUniformItemSizes(PyObject *, PyObject *);}
static PyObject *meth_QListView_setUniformItemSizes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->setUniformItemSizes(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setUniformItemSizes, doc_QListView_setUniformItemSizes);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_uniformItemSizes, "QListView.uniformItemSizes() -> bool");

extern "C" {static PyObject *meth_QListView_uniformItemSizes(PyObject *, PyObject *);}
static PyObject *meth_QListView_uniformItemSizes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->uniformItemSizes();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_uniformItemSizes, doc_QListView_uniformItemSizes);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_visualRect, "QListView.visualRect(QModelIndex) -> QRect");

extern "C" {static PyObject *meth_QListView_visualRect(PyObject *, PyObject *);}
static PyObject *meth_QListView_visualRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QListView::visualRect(*a0) : sipCpp->visualRect(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_visualRect, doc_QListView_visualRect);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_scrollTo, "QListView.scrollTo(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible)");

extern "C" {static PyObject *meth_QListView_scrollTo(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_scrollTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QAbstractItemView::ScrollHint a1 = QAbstractItemView::EnsureVisible;
        QListView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            (sipSelfWasArg ? sipCpp->QListView::scrollTo(*a0,a1) : sipCpp->scrollTo(*a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_scrollTo, doc_QListView_scrollTo);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_indexAt, "QListView.indexAt(QPoint) -> QModelIndex");

extern "C" {static PyObject *meth_QListView_indexAt(PyObject *, PyObject *);}
static PyObject *meth_QListView_indexAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QPoint, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QListView::indexAt(*a0) : sipCpp->indexAt(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_indexAt, doc_QListView_indexAt);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_reset, "QListView.reset()");

extern "C" {static PyObject *meth_QListView_reset(PyObject *, PyObject *);}
static PyObject *meth_QListView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QListView::reset() : sipCpp->reset());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_reset, doc_QListView_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setRootIndex, "QListView.setRootIndex(QModelIndex)");

extern "C" {static PyObject *meth_QListView_setRootIndex(PyObject *, PyObject *);}
static PyObject *meth_QListView_setRootIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0))
        {
            (sipSelfWasArg ? sipCpp->QListView::setRootIndex(*a0) : sipCpp->setRootIndex(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setRootIndex, doc_QListView_setRootIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_scrollContentsBy, "QListView.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QListView_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QListView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_scrollContentsBy, doc_QListView_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_dataChanged, "QListView.dataChanged(QModelIndex, QModelIndex, list-of-int roles=[])");

extern "C" {static PyObject *meth_QListView_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const QVector<int>& a2def = QVector<int>();
        const QVector<int>* a2 = &a2def;
        int a2State = 0;
        sipQListView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_roles,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|J1", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1,*a2);
            sipReleaseType(const_cast<QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_dataChanged, doc_QListView_dataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_rowsInserted, "QListView.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QListView_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_rowsInserted, doc_QListView_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_rowsAboutToBeRemoved, "QListView.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QListView_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_rowsAboutToBeRemoved, doc_QListView_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_event, "QListView.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QListView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_event, doc_QListView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_mouseMoveEvent, "QListView.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QListView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_mouseMoveEvent, doc_QListView_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_mouseReleaseEvent, "QListView.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QListView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_mouseReleaseEvent, doc_QListView_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_timerEvent, "QListView.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QListView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_timerEvent, doc_QListView_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_resizeEvent, "QListView.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QListView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_resizeEvent, doc_QListView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_dragMoveEvent, "QListView.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QListView_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_dragMoveEvent, doc_QListView_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_dragLeaveEvent, "QListView.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QListView_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_dragLeaveEvent, doc_QListView_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_dropEvent, "QListView.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QListView_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_dropEvent, doc_QListView_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_startDrag, "QListView.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QListView_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QListView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QListView, sipName_startDrag, doc_QListView_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_viewOptions, "QListView.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QListView_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_viewOptions, doc_QListView_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_paintEvent, "QListView.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QListView_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QListView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_paintEvent, doc_QListView_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_horizontalOffset, "QListView.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QListView_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_horizontalOffset, doc_QListView_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_verticalOffset, "QListView.verticalOffset() -> int");

extern "C" {static PyObject *meth_QListView_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_verticalOffset, doc_QListView_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_moveCursor, "QListView.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QListView_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QListView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_moveCursor, doc_QListView_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_rectForIndex, "QListView.rectForIndex(QModelIndex) -> QRect");

extern "C" {static PyObject *meth_QListView_rectForIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_rectForIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_rectForIndex(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_rectForIndex, doc_QListView_rectForIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setPositionForIndex, "QListView.setPositionForIndex(QPoint, QModelIndex)");

extern "C" {static PyObject *meth_QListView_setPositionForIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_setPositionForIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QModelIndex* a1;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QListView, &sipCpp, sipType_QPoint, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_setPositionForIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setPositionForIndex, doc_QListView_setPositionForIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setSelection, "QListView.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QListView_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QListView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setSelection, doc_QListView_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_visualRegionForSelection, "QListView.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QListView_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_visualRegionForSelection, doc_QListView_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_selectedIndexes, "QListView.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QListView_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_selectedIndexes, doc_QListView_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_updateGeometries, "QListView.updateGeometries()");

extern "C" {static PyObject *meth_QListView_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_updateGeometries, doc_QListView_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_isIndexHidden, "QListView.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QListView_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_isIndexHidden, doc_QListView_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_viewportSizeHint, "QListView.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QListView_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_viewportSizeHint, doc_QListView_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setBatchSize, "QListView.setBatchSize(int)");

extern "C" {static PyObject *meth_QListView_setBatchSize(PyObject *, PyObject *);}
static PyObject *meth_QListView_setBatchSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->setBatchSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setBatchSize, doc_QListView_setBatchSize);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_batchSize, "QListView.batchSize() -> int");

extern "C" {static PyObject *meth_QListView_batchSize(PyObject *, PyObject *);}
static PyObject *meth_QListView_batchSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->batchSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_batchSize, doc_QListView_batchSize);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setWordWrap, "QListView.setWordWrap(bool)");

extern "C" {static PyObject *meth_QListView_setWordWrap(PyObject *, PyObject *);}
static PyObject *meth_QListView_setWordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->setWordWrap(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setWordWrap, doc_QListView_setWordWrap);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_wordWrap, "QListView.wordWrap() -> bool");

extern "C" {static PyObject *meth_QListView_wordWrap(PyObject *, PyObject *);}
static PyObject *meth_QListView_wordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->wordWrap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_wordWrap, doc_QListView_wordWrap);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_setSelectionRectVisible, "QListView.setSelectionRectVisible(bool)");

extern "C" {static PyObject *meth_QListView_setSelectionRectVisible(PyObject *, PyObject *);}
static PyObject *meth_QListView_setSelectionRectVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QListView, &sipCpp, &a0))
        {
            sipCpp->setSelectionRectVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_setSelectionRectVisible, doc_QListView_setSelectionRectVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_isSelectionRectVisible, "QListView.isSelectionRectVisible() -> bool");

extern "C" {static PyObject *meth_QListView_isSelectionRectVisible(PyObject *, PyObject *);}
static PyObject *meth_QListView_isSelectionRectVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QListView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QListView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSelectionRectVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_isSelectionRectVisible, doc_QListView_isSelectionRectVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_selectionChanged, "QListView.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QListView_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QListView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_selectionChanged, doc_QListView_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QListView_currentChanged, "QListView.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QListView_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QListView_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQListView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QListView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QListView, sipName_currentChanged, doc_QListView_currentChanged);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QListView(void *, const sipTypeDef *);}
static void *cast_QListView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QListView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemView)->ctd_cast((QAbstractItemView *)(QListView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QListView(void *, int);}
static void release_QListView(void *sipCppV,int)
{
    QListView *sipCpp = reinterpret_cast<QListView *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QListView(sipSimpleWrapper *);}
static void dealloc_QListView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQListView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QListView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QListView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QListView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQListView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQListView(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QListView[] = {{4, 255, 1}};


static PyMethodDef methods_QListView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QListView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_batchSize), meth_QListView_batchSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_batchSize)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QListView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QListView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearPropertyFlags), meth_QListView_clearPropertyFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_clearPropertyFlags)},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QListView_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QListView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QListView_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QListView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QListView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QListView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QListView_currentChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_currentChanged)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QListView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_QListView_dataChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_dataChanged)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QListView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QListView_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QListView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QListView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QListView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QListView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QListView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QListView_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_dropEvent)},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QListView_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QListView_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QListView_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QListView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QListView_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QListView_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QListView_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_flow), meth_QListView_flow, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_flow)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QListView_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QListView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QListView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QListView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QListView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_gridSize), meth_QListView_gridSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_gridSize)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QListView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QListView_horizontalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_horizontalOffset)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QListView_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QListView_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexAt), meth_QListView_indexAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_indexAt)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QListView_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QListView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QListView_isIndexHidden, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_isIndexHidden)},
    {SIP_MLNAME_CAST(sipName_isRowHidden), meth_QListView_isRowHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_isRowHidden)},
    {SIP_MLNAME_CAST(sipName_isSelectionRectVisible), meth_QListView_isSelectionRectVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_isSelectionRectVisible)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QListView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isWrapping), meth_QListView_isWrapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_isWrapping)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QListView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QListView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_layoutMode), meth_QListView_layoutMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_layoutMode)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QListView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QListView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_modelColumn), meth_QListView_modelColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_modelColumn)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QListView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QListView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QListView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QListView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QListView_moveCursor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_moveCursor)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QListView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_movement), meth_QListView_movement, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_movement)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QListView_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QListView_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QListView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rectForIndex), (PyCFunction)meth_QListView_rectForIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_rectForIndex)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QListView_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_reset)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QListView_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_resizeMode), meth_QListView_resizeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_resizeMode)},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QListView_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_rowsAboutToBeRemoved)},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QListView_rowsInserted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_rowsInserted)},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QListView_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QListView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QListView_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollTo), (PyCFunction)meth_QListView_scrollTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_scrollTo)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QListView_selectedIndexes, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_selectedIndexes)},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QListView_selectionChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_selectionChanged)},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QListView_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QListView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QListView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBatchSize), meth_QListView_setBatchSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setBatchSize)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QListView_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFlow), meth_QListView_setFlow, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setFlow)},
    {SIP_MLNAME_CAST(sipName_setGridSize), meth_QListView_setGridSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setGridSize)},
    {SIP_MLNAME_CAST(sipName_setLayoutMode), meth_QListView_setLayoutMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setLayoutMode)},
    {SIP_MLNAME_CAST(sipName_setModelColumn), meth_QListView_setModelColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setModelColumn)},
    {SIP_MLNAME_CAST(sipName_setMovement), meth_QListView_setMovement, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setMovement)},
    {SIP_MLNAME_CAST(sipName_setPositionForIndex), (PyCFunction)meth_QListView_setPositionForIndex, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_setPositionForIndex)},
    {SIP_MLNAME_CAST(sipName_setResizeMode), meth_QListView_setResizeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setResizeMode)},
    {SIP_MLNAME_CAST(sipName_setRootIndex), meth_QListView_setRootIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setRootIndex)},
    {SIP_MLNAME_CAST(sipName_setRowHidden), meth_QListView_setRowHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setRowHidden)},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QListView_setSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_setSelection)},
    {SIP_MLNAME_CAST(sipName_setSelectionRectVisible), meth_QListView_setSelectionRectVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setSelectionRectVisible)},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_QListView_setSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setSpacing)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QListView_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setUniformItemSizes), meth_QListView_setUniformItemSizes, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setUniformItemSizes)},
    {SIP_MLNAME_CAST(sipName_setViewMode), meth_QListView_setViewMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setViewMode)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QListView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setWordWrap), meth_QListView_setWordWrap, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setWordWrap)},
    {SIP_MLNAME_CAST(sipName_setWrapping), meth_QListView_setWrapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_setWrapping)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QListView_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QListView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_spacing), meth_QListView_spacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_spacing)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QListView_startDrag, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_startDrag)},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QListView_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QListView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QListView_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_timerEvent)},
    {SIP_MLNAME_CAST(sipName_uniformItemSizes), meth_QListView_uniformItemSizes, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_uniformItemSizes)},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QListView_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QListView_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QListView_updateGeometries, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_updateGeometries)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QListView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QListView_verticalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_verticalOffset)},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QListView_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QListView_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewMode), meth_QListView_viewMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_viewMode)},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QListView_viewOptions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_viewOptions)},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QListView_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QListView_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_viewportSizeHint)},
    {SIP_MLNAME_CAST(sipName_visualRect), meth_QListView_visualRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_visualRect)},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QListView_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QListView_visualRegionForSelection)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QListView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wordWrap), meth_QListView_wordWrap, METH_VARARGS, SIP_MLDOC_CAST(doc_QListView_wordWrap)}
};

static sipEnumMemberDef enummembers_QListView[] = {
    {sipName_Adjust, static_cast<int>(QListView::Adjust), 215},
    {sipName_Batched, static_cast<int>(QListView::Batched), 213},
    {sipName_Fixed, static_cast<int>(QListView::Fixed), 215},
    {sipName_Free, static_cast<int>(QListView::Free), 214},
    {sipName_IconMode, static_cast<int>(QListView::IconMode), 216},
    {sipName_LeftToRight, static_cast<int>(QListView::LeftToRight), 212},
    {sipName_ListMode, static_cast<int>(QListView::ListMode), 216},
    {sipName_SinglePass, static_cast<int>(QListView::SinglePass), 213},
    {sipName_Snap, static_cast<int>(QListView::Snap), 214},
    {sipName_Static, static_cast<int>(QListView::Static), 214},
    {sipName_TopToBottom, static_cast<int>(QListView::TopToBottom), 212},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QListView[] = {
    {"indexesMoved(QModelIndexList)", "\1QListView.indexesMoved[list-of-QModelIndex]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QListView, "\1QListView(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QListView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QListView,
        {0}
    },
    {
        sipNameNr_QListView,
        {0, 0, 1},
        122, methods_QListView,
        11, enummembers_QListView,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QListView,
    -1,
    -1,
    supers_QListView,
    0,
    init_type_QListView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QListView,
    0,
    0,
    0,
    release_QListView,
    cast_QListView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QListView::staticMetaObject,
    0,
    signals_QListView,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 226599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 226603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 226606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 226609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 226612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 226615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 226618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcompleter.sip"
#include <qcompleter.h>
#line 226621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 226624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 226627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 226630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 212 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 226663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 226666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 226669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 226672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 226675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 226678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 226681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 226684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 226687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 226690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 226693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 226696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 226699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 226702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 226705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 226708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 226711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 226714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 226717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 226720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 226723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 226726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 226729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 226753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 226756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 226759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 226762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 226765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 226768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 226771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 226774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 226777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 226780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 226783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 226786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 226789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 226792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 226795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 226798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 226801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 226804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 226807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 226810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 226813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 226816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQLineEdit : public QLineEdit
{
public:
    sipQLineEdit(QWidget*);
    sipQLineEdit(const QString&,QWidget*);
    virtual ~sipQLineEdit();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionFrame*) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QRect sipProtect_cursorRect() const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    bool event(QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void changeEvent(QEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void paintEvent(QPaintEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyPressEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQLineEdit(const sipQLineEdit &);
    sipQLineEdit &operator = (const sipQLineEdit &);

    char sipPyMethods[46];
};

sipQLineEdit::sipQLineEdit(QWidget*a0): QLineEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLineEdit::sipQLineEdit(const QString& a0,QWidget*a1): QLineEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLineEdit::~sipQLineEdit()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQLineEdit::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QLineEdit);
}

int sipQLineEdit::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QLineEdit::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QLineEdit,_c,_id,_a);

    return _id;
}

void *sipQLineEdit::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QLineEdit, _clname, &sipCpp) ? sipCpp : QLineEdit::qt_metacast(_clname));
}

void sipQLineEdit::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QLineEdit::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QLineEdit::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QLineEdit::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QLineEdit::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QLineEdit::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQLineEdit::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QLineEdit::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQLineEdit::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QLineEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQLineEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QLineEdit::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQLineEdit::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QLineEdit::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQLineEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QLineEdit::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQLineEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QLineEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQLineEdit::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QLineEdit::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QLineEdit::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QLineEdit::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QLineEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QLineEdit::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QLineEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QLineEdit::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QLineEdit::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QLineEdit::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QLineEdit::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QLineEdit::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QLineEdit::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQLineEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QLineEdit::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQLineEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QLineEdit::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QLineEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQLineEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QLineEdit::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQLineEdit::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QLineEdit::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQLineEdit::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QLineEdit::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QLineEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QLineEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QLineEdit::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QLineEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QLineEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QLineEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QLineEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QLineEdit::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QLineEdit::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QLineEdit::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QLineEdit::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QLineEdit::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QLineEdit::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QLineEdit::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLineEdit::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QLineEdit::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQLineEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QLineEdit::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQLineEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QLineEdit::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQLineEdit::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQLineEdit::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQLineEdit::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQLineEdit::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQLineEdit::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQLineEdit::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQLineEdit::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQLineEdit::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQLineEdit::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQLineEdit::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQLineEdit::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQLineEdit::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQLineEdit::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQLineEdit::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQLineEdit::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQLineEdit::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQLineEdit::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQLineEdit::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQLineEdit::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQLineEdit::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQLineEdit::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQLineEdit::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQLineEdit::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQLineEdit::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQLineEdit::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQLineEdit::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQLineEdit::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQLineEdit::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQLineEdit::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQLineEdit::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQLineEdit::sipProtect_initStyleOption(QStyleOptionFrame*a0) const
{
    QLineEdit::initStyleOption(a0);
}

void sipQLineEdit::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQLineEdit::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQLineEdit::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQLineEdit::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQLineEdit::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQLineEdit::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::focusInEvent(a0) : focusInEvent(a0));
}

void sipQLineEdit::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQLineEdit::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::paintEvent(a0) : paintEvent(a0));
}

void sipQLineEdit::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQLineEdit::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQLineEdit::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQLineEdit::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::dropEvent(a0) : dropEvent(a0));
}

void sipQLineEdit::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::changeEvent(a0) : changeEvent(a0));
}

void sipQLineEdit::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQLineEdit::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QLineEdit::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QRect sipQLineEdit::sipProtect_cursorRect() const
{
    return QLineEdit::cursorRect();
}


PyDoc_STRVAR(doc_QLineEdit_sender, "QLineEdit.sender() -> QObject");

extern "C" {static PyObject *meth_QLineEdit_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 228046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_sender, doc_QLineEdit_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_receivers, "QLineEdit.receivers(signal) -> int");

extern "C" {static PyObject *meth_QLineEdit_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 228105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_receivers, doc_QLineEdit_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_timerEvent, "QLineEdit.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QLineEdit_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_timerEvent, doc_QLineEdit_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_childEvent, "QLineEdit.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QLineEdit_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_childEvent, doc_QLineEdit_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_customEvent, "QLineEdit.customEvent(QEvent)");

extern "C" {static PyObject *meth_QLineEdit_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_customEvent, doc_QLineEdit_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_connectNotify, "QLineEdit.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QLineEdit_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_connectNotify, doc_QLineEdit_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_disconnectNotify, "QLineEdit.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QLineEdit_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_disconnectNotify, doc_QLineEdit_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_senderSignalIndex, "QLineEdit.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QLineEdit_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_senderSignalIndex, doc_QLineEdit_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_isSignalConnected, "QLineEdit.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QLineEdit_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_isSignalConnected, doc_QLineEdit_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_wheelEvent, "QLineEdit.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QLineEdit_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_wheelEvent, doc_QLineEdit_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_keyReleaseEvent, "QLineEdit.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QLineEdit_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_keyReleaseEvent, doc_QLineEdit_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_enterEvent, "QLineEdit.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QLineEdit_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_enterEvent, doc_QLineEdit_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_leaveEvent, "QLineEdit.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QLineEdit_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_leaveEvent, doc_QLineEdit_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_moveEvent, "QLineEdit.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QLineEdit_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_moveEvent, doc_QLineEdit_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_resizeEvent, "QLineEdit.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QLineEdit_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_resizeEvent, doc_QLineEdit_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_closeEvent, "QLineEdit.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QLineEdit_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_closeEvent, doc_QLineEdit_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_tabletEvent, "QLineEdit.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QLineEdit_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_tabletEvent, doc_QLineEdit_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_actionEvent, "QLineEdit.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QLineEdit_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_actionEvent, doc_QLineEdit_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_showEvent, "QLineEdit.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QLineEdit_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_showEvent, doc_QLineEdit_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_hideEvent, "QLineEdit.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QLineEdit_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_hideEvent, doc_QLineEdit_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_metric, "QLineEdit.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QLineEdit_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_metric, doc_QLineEdit_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_updateMicroFocus, "QLineEdit.updateMicroFocus()");

extern "C" {static PyObject *meth_QLineEdit_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_updateMicroFocus, doc_QLineEdit_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_create, "QLineEdit.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QLineEdit_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQLineEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_create, doc_QLineEdit_create);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_destroy, "QLineEdit.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QLineEdit_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQLineEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_destroy, doc_QLineEdit_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_focusNextPrevChild, "QLineEdit.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QLineEdit_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_focusNextPrevChild, doc_QLineEdit_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_focusNextChild, "QLineEdit.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QLineEdit_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_focusNextChild, doc_QLineEdit_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_focusPreviousChild, "QLineEdit.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QLineEdit_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_focusPreviousChild, doc_QLineEdit_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_nativeEvent, "QLineEdit.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QLineEdit_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_nativeEvent, doc_QLineEdit_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_sharedPainter, "QLineEdit.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QLineEdit_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_sharedPainter, doc_QLineEdit_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_initPainter, "QLineEdit.initPainter(QPainter)");

extern "C" {static PyObject *meth_QLineEdit_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_initPainter, doc_QLineEdit_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_text, "QLineEdit.text() -> str");

extern "C" {static PyObject *meth_QLineEdit_text(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_text, doc_QLineEdit_text);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_displayText, "QLineEdit.displayText() -> str");

extern "C" {static PyObject *meth_QLineEdit_displayText(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_displayText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->displayText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_displayText, doc_QLineEdit_displayText);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_maxLength, "QLineEdit.maxLength() -> int");

extern "C" {static PyObject *meth_QLineEdit_maxLength(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_maxLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maxLength();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_maxLength, doc_QLineEdit_maxLength);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setMaxLength, "QLineEdit.setMaxLength(int)");

extern "C" {static PyObject *meth_QLineEdit_setMaxLength(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setMaxLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->setMaxLength(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setMaxLength, doc_QLineEdit_setMaxLength);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setFrame, "QLineEdit.setFrame(bool)");

extern "C" {static PyObject *meth_QLineEdit_setFrame(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->setFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setFrame, doc_QLineEdit_setFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_hasFrame, "QLineEdit.hasFrame() -> bool");

extern "C" {static PyObject *meth_QLineEdit_hasFrame(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_hasFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasFrame();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_hasFrame, doc_QLineEdit_hasFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_echoMode, "QLineEdit.echoMode() -> QLineEdit.EchoMode");

extern "C" {static PyObject *meth_QLineEdit_echoMode(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_echoMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QLineEdit::EchoMode sipRes;

            sipRes = sipCpp->echoMode();

            return sipConvertFromEnum(sipRes,sipType_QLineEdit_EchoMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_echoMode, doc_QLineEdit_echoMode);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setEchoMode, "QLineEdit.setEchoMode(QLineEdit.EchoMode)");

extern "C" {static PyObject *meth_QLineEdit_setEchoMode(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setEchoMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit::EchoMode a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QLineEdit_EchoMode, &a0))
        {
            sipCpp->setEchoMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setEchoMode, doc_QLineEdit_setEchoMode);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_isReadOnly, "QLineEdit.isReadOnly() -> bool");

extern "C" {static PyObject *meth_QLineEdit_isReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_isReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadOnly();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_isReadOnly, doc_QLineEdit_isReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setReadOnly, "QLineEdit.setReadOnly(bool)");

extern "C" {static PyObject *meth_QLineEdit_setReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->setReadOnly(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setReadOnly, doc_QLineEdit_setReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setValidator, "QLineEdit.setValidator(QValidator)");

extern "C" {static PyObject *meth_QLineEdit_setValidator(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setValidator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QValidator* a0;
        PyObject *a0Keep;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QLineEdit, &sipCpp, &a0Keep, sipType_QValidator, &a0))
        {
            sipCpp->setValidator(a0);

            sipKeepReference(sipSelf, -34, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setValidator, doc_QLineEdit_setValidator);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_validator, "QLineEdit.validator() -> QValidator");

extern "C" {static PyObject *meth_QLineEdit_validator(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_validator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            const QValidator*sipRes;

            sipRes = sipCpp->validator();

            return sipConvertFromType(const_cast<QValidator *>(sipRes),sipType_QValidator,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_validator, doc_QLineEdit_validator);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_sizeHint, "QLineEdit.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QLineEdit_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QLineEdit::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_sizeHint, doc_QLineEdit_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_minimumSizeHint, "QLineEdit.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QLineEdit_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QLineEdit::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_minimumSizeHint, doc_QLineEdit_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_cursorPosition, "QLineEdit.cursorPosition() -> int");

extern "C" {static PyObject *meth_QLineEdit_cursorPosition(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_cursorPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->cursorPosition();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_cursorPosition, doc_QLineEdit_cursorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setCursorPosition, "QLineEdit.setCursorPosition(int)");

extern "C" {static PyObject *meth_QLineEdit_setCursorPosition(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setCursorPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->setCursorPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setCursorPosition, doc_QLineEdit_setCursorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_cursorPositionAt, "QLineEdit.cursorPositionAt(QPoint) -> int");

extern "C" {static PyObject *meth_QLineEdit_cursorPositionAt(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_cursorPositionAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QPoint, &a0))
        {
            int sipRes;

            sipRes = sipCpp->cursorPositionAt(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_cursorPositionAt, doc_QLineEdit_cursorPositionAt);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setAlignment, "QLineEdit.setAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QLineEdit_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setAlignment, doc_QLineEdit_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_alignment, "QLineEdit.alignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QLineEdit_alignment(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_alignment, doc_QLineEdit_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_cursorForward, "QLineEdit.cursorForward(bool, int steps=1)");

extern "C" {static PyObject *meth_QLineEdit_cursorForward(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_cursorForward(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 1;
        QLineEdit *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_steps,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bb|i", &sipSelf, sipType_QLineEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->cursorForward(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_cursorForward, doc_QLineEdit_cursorForward);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_cursorBackward, "QLineEdit.cursorBackward(bool, int steps=1)");

extern "C" {static PyObject *meth_QLineEdit_cursorBackward(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_cursorBackward(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        int a1 = 1;
        QLineEdit *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_steps,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bb|i", &sipSelf, sipType_QLineEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->cursorBackward(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_cursorBackward, doc_QLineEdit_cursorBackward);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_cursorWordForward, "QLineEdit.cursorWordForward(bool)");

extern "C" {static PyObject *meth_QLineEdit_cursorWordForward(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_cursorWordForward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->cursorWordForward(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_cursorWordForward, doc_QLineEdit_cursorWordForward);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_cursorWordBackward, "QLineEdit.cursorWordBackward(bool)");

extern "C" {static PyObject *meth_QLineEdit_cursorWordBackward(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_cursorWordBackward(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->cursorWordBackward(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_cursorWordBackward, doc_QLineEdit_cursorWordBackward);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_backspace, "QLineEdit.backspace()");

extern "C" {static PyObject *meth_QLineEdit_backspace(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_backspace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->backspace();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_backspace, doc_QLineEdit_backspace);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_del_, "QLineEdit.del_()");

extern "C" {static PyObject *meth_QLineEdit_del_(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_del_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->del();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_del_, doc_QLineEdit_del_);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_home, "QLineEdit.home(bool)");

extern "C" {static PyObject *meth_QLineEdit_home(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_home(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->home(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_home, doc_QLineEdit_home);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_end, "QLineEdit.end(bool)");

extern "C" {static PyObject *meth_QLineEdit_end(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_end(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->end(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_end, doc_QLineEdit_end);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_isModified, "QLineEdit.isModified() -> bool");

extern "C" {static PyObject *meth_QLineEdit_isModified(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_isModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isModified();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_isModified, doc_QLineEdit_isModified);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setModified, "QLineEdit.setModified(bool)");

extern "C" {static PyObject *meth_QLineEdit_setModified(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->setModified(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setModified, doc_QLineEdit_setModified);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setSelection, "QLineEdit.setSelection(int, int)");

extern "C" {static PyObject *meth_QLineEdit_setSelection(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QLineEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->setSelection(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setSelection, doc_QLineEdit_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_hasSelectedText, "QLineEdit.hasSelectedText() -> bool");

extern "C" {static PyObject *meth_QLineEdit_hasSelectedText(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_hasSelectedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasSelectedText();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_hasSelectedText, doc_QLineEdit_hasSelectedText);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_selectedText, "QLineEdit.selectedText() -> str");

extern "C" {static PyObject *meth_QLineEdit_selectedText(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_selectedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->selectedText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_selectedText, doc_QLineEdit_selectedText);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_selectionStart, "QLineEdit.selectionStart() -> int");

extern "C" {static PyObject *meth_QLineEdit_selectionStart(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_selectionStart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->selectionStart();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_selectionStart, doc_QLineEdit_selectionStart);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_isUndoAvailable, "QLineEdit.isUndoAvailable() -> bool");

extern "C" {static PyObject *meth_QLineEdit_isUndoAvailable(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_isUndoAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isUndoAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_isUndoAvailable, doc_QLineEdit_isUndoAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_isRedoAvailable, "QLineEdit.isRedoAvailable() -> bool");

extern "C" {static PyObject *meth_QLineEdit_isRedoAvailable(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_isRedoAvailable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRedoAvailable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_isRedoAvailable, doc_QLineEdit_isRedoAvailable);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setDragEnabled, "QLineEdit.setDragEnabled(bool)");

extern "C" {static PyObject *meth_QLineEdit_setDragEnabled(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setDragEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->setDragEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setDragEnabled, doc_QLineEdit_setDragEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_dragEnabled, "QLineEdit.dragEnabled() -> bool");

extern "C" {static PyObject *meth_QLineEdit_dragEnabled(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_dragEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->dragEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_dragEnabled, doc_QLineEdit_dragEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_inputMask, "QLineEdit.inputMask() -> str");

extern "C" {static PyObject *meth_QLineEdit_inputMask(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_inputMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->inputMask());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_inputMask, doc_QLineEdit_inputMask);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setInputMask, "QLineEdit.setInputMask(str)");

extern "C" {static PyObject *meth_QLineEdit_setInputMask(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setInputMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setInputMask(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setInputMask, doc_QLineEdit_setInputMask);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_hasAcceptableInput, "QLineEdit.hasAcceptableInput() -> bool");

extern "C" {static PyObject *meth_QLineEdit_hasAcceptableInput(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_hasAcceptableInput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasAcceptableInput();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_hasAcceptableInput, doc_QLineEdit_hasAcceptableInput);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setText, "QLineEdit.setText(str)");

extern "C" {static PyObject *meth_QLineEdit_setText(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setText, doc_QLineEdit_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_clear, "QLineEdit.clear()");

extern "C" {static PyObject *meth_QLineEdit_clear(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_clear, doc_QLineEdit_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_selectAll, "QLineEdit.selectAll()");

extern "C" {static PyObject *meth_QLineEdit_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->selectAll();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_selectAll, doc_QLineEdit_selectAll);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_undo, "QLineEdit.undo()");

extern "C" {static PyObject *meth_QLineEdit_undo(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_undo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->undo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_undo, doc_QLineEdit_undo);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_redo, "QLineEdit.redo()");

extern "C" {static PyObject *meth_QLineEdit_redo(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_redo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->redo();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_redo, doc_QLineEdit_redo);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_cut, "QLineEdit.cut()");

extern "C" {static PyObject *meth_QLineEdit_cut(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_cut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->cut();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_cut, doc_QLineEdit_cut);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_copy, "QLineEdit.copy()");

extern "C" {static PyObject *meth_QLineEdit_copy(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_copy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->copy();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_copy, doc_QLineEdit_copy);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_paste, "QLineEdit.paste()");

extern "C" {static PyObject *meth_QLineEdit_paste(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_paste(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->paste();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_paste, doc_QLineEdit_paste);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_deselect, "QLineEdit.deselect()");

extern "C" {static PyObject *meth_QLineEdit_deselect(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_deselect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->deselect();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_deselect, doc_QLineEdit_deselect);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_insert, "QLineEdit.insert(str)");

extern "C" {static PyObject *meth_QLineEdit_insert(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_insert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->insert(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_insert, doc_QLineEdit_insert);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_createStandardContextMenu, "QLineEdit.createStandardContextMenu() -> QMenu");

extern "C" {static PyObject *meth_QLineEdit_createStandardContextMenu(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_createStandardContextMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QMenu*sipRes;

            sipRes = sipCpp->createStandardContextMenu();

            return sipConvertFromNewType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_createStandardContextMenu, doc_QLineEdit_createStandardContextMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_initStyleOption, "QLineEdit.initStyleOption(QStyleOptionFrame)");

extern "C" {static PyObject *meth_QLineEdit_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionFrame* a0;
        const sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QStyleOptionFrame, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_initStyleOption, doc_QLineEdit_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_mousePressEvent, "QLineEdit.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLineEdit_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_mousePressEvent, doc_QLineEdit_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_mouseMoveEvent, "QLineEdit.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLineEdit_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_mouseMoveEvent, doc_QLineEdit_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_mouseReleaseEvent, "QLineEdit.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLineEdit_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_mouseReleaseEvent, doc_QLineEdit_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_mouseDoubleClickEvent, "QLineEdit.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLineEdit_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_mouseDoubleClickEvent, doc_QLineEdit_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_keyPressEvent, "QLineEdit.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QLineEdit_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_keyPressEvent, doc_QLineEdit_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_focusInEvent, "QLineEdit.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QLineEdit_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_focusInEvent, doc_QLineEdit_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_focusOutEvent, "QLineEdit.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QLineEdit_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_focusOutEvent, doc_QLineEdit_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_paintEvent, "QLineEdit.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QLineEdit_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_paintEvent, doc_QLineEdit_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_dragEnterEvent, "QLineEdit.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QLineEdit_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_dragEnterEvent, doc_QLineEdit_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_dragMoveEvent, "QLineEdit.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QLineEdit_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_dragMoveEvent, doc_QLineEdit_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_dragLeaveEvent, "QLineEdit.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QLineEdit_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_dragLeaveEvent, doc_QLineEdit_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_dropEvent, "QLineEdit.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QLineEdit_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_dropEvent, doc_QLineEdit_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_changeEvent, "QLineEdit.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QLineEdit_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_changeEvent, doc_QLineEdit_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_contextMenuEvent, "QLineEdit.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QLineEdit_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_contextMenuEvent, doc_QLineEdit_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_inputMethodEvent, "QLineEdit.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QLineEdit_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_inputMethodEvent, doc_QLineEdit_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_cursorRect, "QLineEdit.cursorRect() -> QRect");

extern "C" {static PyObject *meth_QLineEdit_cursorRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_cursorRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLineEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_cursorRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_cursorRect, doc_QLineEdit_cursorRect);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_inputMethodQuery, "QLineEdit.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QLineEdit_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QLineEdit::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_inputMethodQuery, doc_QLineEdit_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_event, "QLineEdit.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QLineEdit_event(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLineEdit::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_event, doc_QLineEdit_event);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setCompleter, "QLineEdit.setCompleter(QCompleter)");

extern "C" {static PyObject *meth_QLineEdit_setCompleter(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setCompleter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCompleter* a0;
        PyObject *a0Keep;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QLineEdit, &sipCpp, &a0Keep, sipType_QCompleter, &a0))
        {
            sipCpp->setCompleter(a0);

            sipKeepReference(sipSelf, -35, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setCompleter, doc_QLineEdit_setCompleter);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_completer, "QLineEdit.completer() -> QCompleter");

extern "C" {static PyObject *meth_QLineEdit_completer(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_completer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QCompleter*sipRes;

            sipRes = sipCpp->completer();

            return sipConvertFromType(sipRes,sipType_QCompleter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_completer, doc_QLineEdit_completer);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setTextMargins, "QLineEdit.setTextMargins(int, int, int, int)\n"
    "QLineEdit.setTextMargins(QMargins)");

extern "C" {static PyObject *meth_QLineEdit_setTextMargins(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setTextMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QLineEdit, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setTextMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->setTextMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setTextMargins, doc_QLineEdit_setTextMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_getTextMargins, "QLineEdit.getTextMargins() -> (int, int, int, int)");

extern "C" {static PyObject *meth_QLineEdit_getTextMargins(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_getTextMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            sipCpp->getTextMargins(&a0,&a1,&a2,&a3);

            return sipBuildResult(0,"(iiii)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_getTextMargins, doc_QLineEdit_getTextMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_textMargins, "QLineEdit.textMargins() -> QMargins");

extern "C" {static PyObject *meth_QLineEdit_textMargins(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_textMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QMargins*sipRes;

            sipRes = new QMargins(sipCpp->textMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_textMargins, doc_QLineEdit_textMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_placeholderText, "QLineEdit.placeholderText() -> str");

extern "C" {static PyObject *meth_QLineEdit_placeholderText(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_placeholderText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->placeholderText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_placeholderText, doc_QLineEdit_placeholderText);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setPlaceholderText, "QLineEdit.setPlaceholderText(str)");

extern "C" {static PyObject *meth_QLineEdit_setPlaceholderText(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setPlaceholderText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPlaceholderText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setPlaceholderText, doc_QLineEdit_setPlaceholderText);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setCursorMoveStyle, "QLineEdit.setCursorMoveStyle(Qt.CursorMoveStyle)");

extern "C" {static PyObject *meth_QLineEdit_setCursorMoveStyle(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setCursorMoveStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CursorMoveStyle a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_Qt_CursorMoveStyle, &a0))
        {
            sipCpp->setCursorMoveStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setCursorMoveStyle, doc_QLineEdit_setCursorMoveStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_cursorMoveStyle, "QLineEdit.cursorMoveStyle() -> Qt.CursorMoveStyle");

extern "C" {static PyObject *meth_QLineEdit_cursorMoveStyle(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_cursorMoveStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            Qt::CursorMoveStyle sipRes;

            sipRes = sipCpp->cursorMoveStyle();

            return sipConvertFromEnum(sipRes,sipType_Qt_CursorMoveStyle);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_cursorMoveStyle, doc_QLineEdit_cursorMoveStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_setClearButtonEnabled, "QLineEdit.setClearButtonEnabled(bool)");

extern "C" {static PyObject *meth_QLineEdit_setClearButtonEnabled(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_setClearButtonEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLineEdit, &sipCpp, &a0))
        {
            sipCpp->setClearButtonEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_setClearButtonEnabled, doc_QLineEdit_setClearButtonEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_isClearButtonEnabled, "QLineEdit.isClearButtonEnabled() -> bool");

extern "C" {static PyObject *meth_QLineEdit_isClearButtonEnabled(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_isClearButtonEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLineEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isClearButtonEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_isClearButtonEnabled, doc_QLineEdit_isClearButtonEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QLineEdit_addAction, "QLineEdit.addAction(QAction)\n"
    "QLineEdit.addAction(QAction, QLineEdit.ActionPosition)\n"
    "QLineEdit.addAction(QIcon, QLineEdit.ActionPosition) -> QAction");

extern "C" {static PyObject *meth_QLineEdit_addAction(PyObject *, PyObject *);}
static PyObject *meth_QLineEdit_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->addAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QAction* a0;
        QLineEdit::ActionPosition a1;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8E", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QAction, &a0, sipType_QLineEdit_ActionPosition, &a1))
        {
            sipCpp->addAction(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QIcon* a0;
        QLineEdit::ActionPosition a1;
        QLineEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9E", &sipSelf, sipType_QLineEdit, &sipCpp, sipType_QIcon, &a0, sipType_QLineEdit_ActionPosition, &a1))
        {
            QAction*sipRes;

            sipRes = sipCpp->addAction(*a0,a1);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLineEdit, sipName_addAction, doc_QLineEdit_addAction);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QLineEdit(void *, const sipTypeDef *);}
static void *cast_QLineEdit(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QLineEdit)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QLineEdit *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLineEdit(void *, int);}
static void release_QLineEdit(void *sipCppV,int)
{
    QLineEdit *sipCpp = reinterpret_cast<QLineEdit *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QLineEdit(sipSimpleWrapper *);}
static void dealloc_QLineEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQLineEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QLineEdit(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QLineEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLineEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQLineEdit *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQLineEdit(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQLineEdit(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QLineEdit[] = {{454, 255, 1}};


static PyMethodDef methods_QLineEdit[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QLineEdit_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addAction), meth_QLineEdit_addAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_addAction)},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QLineEdit_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_alignment)},
    {SIP_MLNAME_CAST(sipName_backspace), meth_QLineEdit_backspace, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_backspace)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QLineEdit_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QLineEdit_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QLineEdit_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QLineEdit_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_completer), meth_QLineEdit_completer, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_completer)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QLineEdit_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QLineEdit_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_copy), meth_QLineEdit_copy, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_copy)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QLineEdit_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createStandardContextMenu), meth_QLineEdit_createStandardContextMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_createStandardContextMenu)},
    {SIP_MLNAME_CAST(sipName_cursorBackward), (PyCFunction)meth_QLineEdit_cursorBackward, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_cursorBackward)},
    {SIP_MLNAME_CAST(sipName_cursorForward), (PyCFunction)meth_QLineEdit_cursorForward, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_cursorForward)},
    {SIP_MLNAME_CAST(sipName_cursorMoveStyle), meth_QLineEdit_cursorMoveStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_cursorMoveStyle)},
    {SIP_MLNAME_CAST(sipName_cursorPosition), meth_QLineEdit_cursorPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_cursorPosition)},
    {SIP_MLNAME_CAST(sipName_cursorPositionAt), meth_QLineEdit_cursorPositionAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_cursorPositionAt)},
    {SIP_MLNAME_CAST(sipName_cursorRect), (PyCFunction)meth_QLineEdit_cursorRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_cursorRect)},
    {SIP_MLNAME_CAST(sipName_cursorWordBackward), meth_QLineEdit_cursorWordBackward, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_cursorWordBackward)},
    {SIP_MLNAME_CAST(sipName_cursorWordForward), meth_QLineEdit_cursorWordForward, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_cursorWordForward)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QLineEdit_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cut), meth_QLineEdit_cut, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_cut)},
    {SIP_MLNAME_CAST(sipName_del_), meth_QLineEdit_del_, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_del_)},
    {SIP_MLNAME_CAST(sipName_deselect), meth_QLineEdit_deselect, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_deselect)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QLineEdit_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QLineEdit_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_displayText), meth_QLineEdit_displayText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_displayText)},
    {SIP_MLNAME_CAST(sipName_dragEnabled), meth_QLineEdit_dragEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_dragEnabled)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QLineEdit_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QLineEdit_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QLineEdit_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QLineEdit_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_dropEvent)},
    {SIP_MLNAME_CAST(sipName_echoMode), meth_QLineEdit_echoMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_echoMode)},
    {SIP_MLNAME_CAST(sipName_end), meth_QLineEdit_end, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_end)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QLineEdit_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_QLineEdit_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QLineEdit_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QLineEdit_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QLineEdit_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QLineEdit_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QLineEdit_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_getTextMargins), meth_QLineEdit_getTextMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_getTextMargins)},
    {SIP_MLNAME_CAST(sipName_hasAcceptableInput), meth_QLineEdit_hasAcceptableInput, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_hasAcceptableInput)},
    {SIP_MLNAME_CAST(sipName_hasFrame), meth_QLineEdit_hasFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_hasFrame)},
    {SIP_MLNAME_CAST(sipName_hasSelectedText), meth_QLineEdit_hasSelectedText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_hasSelectedText)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QLineEdit_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_home), meth_QLineEdit_home, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_home)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QLineEdit_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QLineEdit_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMask), meth_QLineEdit_inputMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_inputMask)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QLineEdit_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QLineEdit_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_insert), meth_QLineEdit_insert, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_insert)},
    {SIP_MLNAME_CAST(sipName_isClearButtonEnabled), meth_QLineEdit_isClearButtonEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_isClearButtonEnabled)},
    {SIP_MLNAME_CAST(sipName_isModified), meth_QLineEdit_isModified, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_isModified)},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_QLineEdit_isReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_isReadOnly)},
    {SIP_MLNAME_CAST(sipName_isRedoAvailable), meth_QLineEdit_isRedoAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_isRedoAvailable)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QLineEdit_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isUndoAvailable), meth_QLineEdit_isUndoAvailable, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_isUndoAvailable)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QLineEdit_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QLineEdit_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QLineEdit_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maxLength), meth_QLineEdit_maxLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_maxLength)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QLineEdit_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QLineEdit_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QLineEdit_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QLineEdit_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QLineEdit_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QLineEdit_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QLineEdit_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QLineEdit_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QLineEdit_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLineEdit_paintEvent)},
    {SIP_MLNAME_CAST(sipName_paste), meth_QLineEdit_paste, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_paste)},
    {SIP_MLNAME_CAST(sipName_placeholderText), meth_QLineEdit_placeholderText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_placeholderText)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QLineEdit_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_redo), meth_QLineEdit_redo, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_redo)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QLineEdit_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_QLineEdit_selectAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_selectAll)},
    {SIP_MLNAME_CAST(sipName_selectedText), meth_QLineEdit_selectedText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_selectedText)},
    {SIP_MLNAME_CAST(sipName_selectionStart), meth_QLineEdit_selectionStart, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_selectionStart)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QLineEdit_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QLineEdit_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QLineEdit_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setClearButtonEnabled), meth_QLineEdit_setClearButtonEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setClearButtonEnabled)},
    {SIP_MLNAME_CAST(sipName_setCompleter), meth_QLineEdit_setCompleter, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setCompleter)},
    {SIP_MLNAME_CAST(sipName_setCursorMoveStyle), meth_QLineEdit_setCursorMoveStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setCursorMoveStyle)},
    {SIP_MLNAME_CAST(sipName_setCursorPosition), meth_QLineEdit_setCursorPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setCursorPosition)},
    {SIP_MLNAME_CAST(sipName_setDragEnabled), meth_QLineEdit_setDragEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setDragEnabled)},
    {SIP_MLNAME_CAST(sipName_setEchoMode), meth_QLineEdit_setEchoMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setEchoMode)},
    {SIP_MLNAME_CAST(sipName_setFrame), meth_QLineEdit_setFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setFrame)},
    {SIP_MLNAME_CAST(sipName_setInputMask), meth_QLineEdit_setInputMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setInputMask)},
    {SIP_MLNAME_CAST(sipName_setMaxLength), meth_QLineEdit_setMaxLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setMaxLength)},
    {SIP_MLNAME_CAST(sipName_setModified), meth_QLineEdit_setModified, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setModified)},
    {SIP_MLNAME_CAST(sipName_setPlaceholderText), meth_QLineEdit_setPlaceholderText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setPlaceholderText)},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_QLineEdit_setReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setReadOnly)},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_QLineEdit_setSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setSelection)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QLineEdit_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setText)},
    {SIP_MLNAME_CAST(sipName_setTextMargins), meth_QLineEdit_setTextMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setTextMargins)},
    {SIP_MLNAME_CAST(sipName_setValidator), meth_QLineEdit_setValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_setValidator)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QLineEdit_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QLineEdit_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QLineEdit_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QLineEdit_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_QLineEdit_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_text)},
    {SIP_MLNAME_CAST(sipName_textMargins), meth_QLineEdit_textMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_textMargins)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QLineEdit_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_undo), meth_QLineEdit_undo, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_undo)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QLineEdit_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validator), meth_QLineEdit_validator, METH_VARARGS, SIP_MLDOC_CAST(doc_QLineEdit_validator)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QLineEdit_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QLineEdit[] = {
    {sipName_LeadingPosition, static_cast<int>(QLineEdit::LeadingPosition), 190},
    {sipName_NoEcho, static_cast<int>(QLineEdit::NoEcho), 191},
    {sipName_Normal, static_cast<int>(QLineEdit::Normal), 191},
    {sipName_Password, static_cast<int>(QLineEdit::Password), 191},
    {sipName_PasswordEchoOnEdit, static_cast<int>(QLineEdit::PasswordEchoOnEdit), 191},
    {sipName_TrailingPosition, static_cast<int>(QLineEdit::TrailingPosition), 190},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QLineEdit[] = {
    {"selectionChanged()", "\1QLineEdit.selectionChanged", 0, 0},
    {"editingFinished()", "\1QLineEdit.editingFinished", 0, 0},
    {"returnPressed()", "\1QLineEdit.returnPressed", 0, 0},
    {"cursorPositionChanged(int,int)", "\1QLineEdit.cursorPositionChanged[int, int]", 0, 0},
    {"textEdited(QString)", "\1QLineEdit.textEdited[str]", 0, 0},
    {"textChanged(QString)", "\1QLineEdit.textChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QLineEdit, "\1QLineEdit(QWidget parent=None)\n"
    "QLineEdit(str, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QLineEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLineEdit,
        {0}
    },
    {
        sipNameNr_QLineEdit,
        {0, 0, 1},
        112, methods_QLineEdit,
        6, enummembers_QLineEdit,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLineEdit,
    -1,
    -1,
    supers_QLineEdit,
    0,
    init_type_QLineEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLineEdit,
    0,
    0,
    0,
    release_QLineEdit,
    cast_QLineEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QLineEdit::staticMetaObject,
    0,
    signals_QLineEdit,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlcdnumber.sip"
#include <qlcdnumber.h>
#line 231522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 231526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 231532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 231535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 231538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 231541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 231544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 231547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 231550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 231553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 231556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 231559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 231562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 231565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 231568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 231571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 231574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 231577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 231580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 231583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 231586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 231589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 231592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 231595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 231598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 231601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 231604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 231607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 231610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 231661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 231664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 231667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 231670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 231673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 231676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 231679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 231682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 231685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 231688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 231691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 231694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 231697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 231700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 231703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 231706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 231709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 231712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 231715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 231718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 231721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 231724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 231727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQLCDNumber : public QLCDNumber
{
public:
    sipQLCDNumber(QWidget*);
    sipQLCDNumber(uint,QWidget*);
    virtual ~sipQLCDNumber();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQLCDNumber(const sipQLCDNumber &);
    sipQLCDNumber &operator = (const sipQLCDNumber &);

    char sipPyMethods[46];
};

sipQLCDNumber::sipQLCDNumber(QWidget*a0): QLCDNumber(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLCDNumber::sipQLCDNumber(uint a0,QWidget*a1): QLCDNumber(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLCDNumber::~sipQLCDNumber()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQLCDNumber::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QLCDNumber);
}

int sipQLCDNumber::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QLCDNumber::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QLCDNumber,_c,_id,_a);

    return _id;
}

void *sipQLCDNumber::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QLCDNumber, _clname, &sipCpp) ? sipCpp : QLCDNumber::qt_metacast(_clname));
}

void sipQLCDNumber::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QLCDNumber::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QLCDNumber::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QLCDNumber::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QLCDNumber::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QLCDNumber::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQLCDNumber::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QLCDNumber::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQLCDNumber::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QLCDNumber::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQLCDNumber::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QLCDNumber::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQLCDNumber::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QLCDNumber::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQLCDNumber::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QLCDNumber::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQLCDNumber::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QLCDNumber::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQLCDNumber::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QLCDNumber::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QLCDNumber::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQLCDNumber::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QLCDNumber::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QLCDNumber::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QLCDNumber::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QLCDNumber::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QLCDNumber::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QLCDNumber::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QLCDNumber::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QLCDNumber::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QLCDNumber::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QLCDNumber::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QLCDNumber::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QLCDNumber::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QLCDNumber::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QLCDNumber::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QLCDNumber::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QLCDNumber::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QLCDNumber::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QLCDNumber::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QLCDNumber::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QLCDNumber::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QLCDNumber::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QLCDNumber::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QLCDNumber::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QLCDNumber::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQLCDNumber::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QLCDNumber::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQLCDNumber::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QLCDNumber::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQLCDNumber::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QLCDNumber::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQLCDNumber::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QLCDNumber::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQLCDNumber::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QLCDNumber::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQLCDNumber::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QLCDNumber::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLCDNumber::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QLCDNumber::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQLCDNumber::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QLCDNumber::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQLCDNumber::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QLCDNumber::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQLCDNumber::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQLCDNumber::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQLCDNumber::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQLCDNumber::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQLCDNumber::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQLCDNumber::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQLCDNumber::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQLCDNumber::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQLCDNumber::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQLCDNumber::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQLCDNumber::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQLCDNumber::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQLCDNumber::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQLCDNumber::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQLCDNumber::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQLCDNumber::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQLCDNumber::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQLCDNumber::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQLCDNumber::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQLCDNumber::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQLCDNumber::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

bool sipQLCDNumber::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QLCDNumber::event(a0) : event(a0));
}

void sipQLCDNumber::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QLCDNumber::paintEvent(a0) : paintEvent(a0));
}


PyDoc_STRVAR(doc_QLCDNumber_sender, "QLCDNumber.sender() -> QObject");

extern "C" {static PyObject *meth_QLCDNumber_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 232957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_sender, doc_QLCDNumber_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_receivers, "QLCDNumber.receivers(signal) -> int");

extern "C" {static PyObject *meth_QLCDNumber_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 233016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_receivers, doc_QLCDNumber_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_timerEvent, "QLCDNumber.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QLCDNumber_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_timerEvent, doc_QLCDNumber_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_childEvent, "QLCDNumber.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QLCDNumber_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_childEvent, doc_QLCDNumber_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_customEvent, "QLCDNumber.customEvent(QEvent)");

extern "C" {static PyObject *meth_QLCDNumber_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_customEvent, doc_QLCDNumber_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_connectNotify, "QLCDNumber.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QLCDNumber_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_connectNotify, doc_QLCDNumber_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_disconnectNotify, "QLCDNumber.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QLCDNumber_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_disconnectNotify, doc_QLCDNumber_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_senderSignalIndex, "QLCDNumber.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QLCDNumber_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_senderSignalIndex, doc_QLCDNumber_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_isSignalConnected, "QLCDNumber.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QLCDNumber_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_isSignalConnected, doc_QLCDNumber_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_mousePressEvent, "QLCDNumber.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLCDNumber_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_mousePressEvent, doc_QLCDNumber_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_mouseReleaseEvent, "QLCDNumber.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLCDNumber_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_mouseReleaseEvent, doc_QLCDNumber_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_mouseDoubleClickEvent, "QLCDNumber.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLCDNumber_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_mouseDoubleClickEvent, doc_QLCDNumber_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_mouseMoveEvent, "QLCDNumber.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLCDNumber_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_mouseMoveEvent, doc_QLCDNumber_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_wheelEvent, "QLCDNumber.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QLCDNumber_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_wheelEvent, doc_QLCDNumber_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_keyPressEvent, "QLCDNumber.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QLCDNumber_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_keyPressEvent, doc_QLCDNumber_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_keyReleaseEvent, "QLCDNumber.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QLCDNumber_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_keyReleaseEvent, doc_QLCDNumber_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_focusInEvent, "QLCDNumber.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QLCDNumber_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_focusInEvent, doc_QLCDNumber_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_focusOutEvent, "QLCDNumber.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QLCDNumber_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_focusOutEvent, doc_QLCDNumber_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_enterEvent, "QLCDNumber.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QLCDNumber_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_enterEvent, doc_QLCDNumber_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_leaveEvent, "QLCDNumber.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QLCDNumber_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_leaveEvent, doc_QLCDNumber_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_moveEvent, "QLCDNumber.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QLCDNumber_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_moveEvent, doc_QLCDNumber_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_resizeEvent, "QLCDNumber.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QLCDNumber_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_resizeEvent, doc_QLCDNumber_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_closeEvent, "QLCDNumber.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QLCDNumber_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_closeEvent, doc_QLCDNumber_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_contextMenuEvent, "QLCDNumber.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QLCDNumber_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_contextMenuEvent, doc_QLCDNumber_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_tabletEvent, "QLCDNumber.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QLCDNumber_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_tabletEvent, doc_QLCDNumber_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_actionEvent, "QLCDNumber.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QLCDNumber_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_actionEvent, doc_QLCDNumber_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_dragEnterEvent, "QLCDNumber.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QLCDNumber_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_dragEnterEvent, doc_QLCDNumber_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_dragMoveEvent, "QLCDNumber.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QLCDNumber_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_dragMoveEvent, doc_QLCDNumber_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_dragLeaveEvent, "QLCDNumber.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QLCDNumber_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_dragLeaveEvent, doc_QLCDNumber_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_dropEvent, "QLCDNumber.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QLCDNumber_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_dropEvent, doc_QLCDNumber_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_showEvent, "QLCDNumber.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QLCDNumber_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_showEvent, doc_QLCDNumber_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_hideEvent, "QLCDNumber.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QLCDNumber_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_hideEvent, doc_QLCDNumber_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_metric, "QLCDNumber.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QLCDNumber_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_metric, doc_QLCDNumber_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_inputMethodEvent, "QLCDNumber.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QLCDNumber_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_inputMethodEvent, doc_QLCDNumber_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_updateMicroFocus, "QLCDNumber.updateMicroFocus()");

extern "C" {static PyObject *meth_QLCDNumber_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_updateMicroFocus, doc_QLCDNumber_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_create, "QLCDNumber.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QLCDNumber_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQLCDNumber *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_create, doc_QLCDNumber_create);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_destroy, "QLCDNumber.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QLCDNumber_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQLCDNumber *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_destroy, doc_QLCDNumber_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_focusNextPrevChild, "QLCDNumber.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QLCDNumber_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_focusNextPrevChild, doc_QLCDNumber_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_focusNextChild, "QLCDNumber.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QLCDNumber_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_focusNextChild, doc_QLCDNumber_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_focusPreviousChild, "QLCDNumber.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QLCDNumber_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_focusPreviousChild, doc_QLCDNumber_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_nativeEvent, "QLCDNumber.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QLCDNumber_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_nativeEvent, doc_QLCDNumber_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_sharedPainter, "QLCDNumber.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QLCDNumber_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_sharedPainter, doc_QLCDNumber_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_initPainter, "QLCDNumber.initPainter(QPainter)");

extern "C" {static PyObject *meth_QLCDNumber_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_initPainter, doc_QLCDNumber_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_changeEvent, "QLCDNumber.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QLCDNumber_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_changeEvent, doc_QLCDNumber_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_drawFrame, "QLCDNumber.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QLCDNumber_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_drawFrame, doc_QLCDNumber_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_smallDecimalPoint, "QLCDNumber.smallDecimalPoint() -> bool");

extern "C" {static PyObject *meth_QLCDNumber_smallDecimalPoint(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_smallDecimalPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->smallDecimalPoint();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_smallDecimalPoint, doc_QLCDNumber_smallDecimalPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_digitCount, "QLCDNumber.digitCount() -> int");

extern "C" {static PyObject *meth_QLCDNumber_digitCount(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_digitCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->digitCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_digitCount, doc_QLCDNumber_digitCount);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_setDigitCount, "QLCDNumber.setDigitCount(int)");

extern "C" {static PyObject *meth_QLCDNumber_setDigitCount(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_setDigitCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0))
        {
            sipCpp->setDigitCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_setDigitCount, doc_QLCDNumber_setDigitCount);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_setNumDigits, "QLCDNumber.setNumDigits(int)");

extern "C" {static PyObject *meth_QLCDNumber_setNumDigits(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_setNumDigits(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0))
        {
#line 54 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlcdnumber.sip"
        // This is implemented for Qt v5 so that .ui files created with Designer for Qt v4 will continue to work.
        sipCpp->setDigitCount(a0);
#line 234354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_setNumDigits, doc_QLCDNumber_setNumDigits);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_checkOverflow, "QLCDNumber.checkOverflow(float) -> bool\n"
    "QLCDNumber.checkOverflow(int) -> bool");

extern "C" {static PyObject *meth_QLCDNumber_checkOverflow(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_checkOverflow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        const QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BXd", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->checkOverflow(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        int a0;
        const QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->checkOverflow(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_checkOverflow, doc_QLCDNumber_checkOverflow);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_mode, "QLCDNumber.mode() -> QLCDNumber.Mode");

extern "C" {static PyObject *meth_QLCDNumber_mode(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_mode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            QLCDNumber::Mode sipRes;

            sipRes = sipCpp->mode();

            return sipConvertFromEnum(sipRes,sipType_QLCDNumber_Mode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_mode, doc_QLCDNumber_mode);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_setMode, "QLCDNumber.setMode(QLCDNumber.Mode)");

extern "C" {static PyObject *meth_QLCDNumber_setMode(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_setMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLCDNumber::Mode a0;
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QLCDNumber_Mode, &a0))
        {
            sipCpp->setMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_setMode, doc_QLCDNumber_setMode);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_segmentStyle, "QLCDNumber.segmentStyle() -> QLCDNumber.SegmentStyle");

extern "C" {static PyObject *meth_QLCDNumber_segmentStyle(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_segmentStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            QLCDNumber::SegmentStyle sipRes;

            sipRes = sipCpp->segmentStyle();

            return sipConvertFromEnum(sipRes,sipType_QLCDNumber_SegmentStyle);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_segmentStyle, doc_QLCDNumber_segmentStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_setSegmentStyle, "QLCDNumber.setSegmentStyle(QLCDNumber.SegmentStyle)");

extern "C" {static PyObject *meth_QLCDNumber_setSegmentStyle(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_setSegmentStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLCDNumber::SegmentStyle a0;
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QLCDNumber_SegmentStyle, &a0))
        {
            sipCpp->setSegmentStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_setSegmentStyle, doc_QLCDNumber_setSegmentStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_value, "QLCDNumber.value() -> float");

extern "C" {static PyObject *meth_QLCDNumber_value(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            double sipRes;

            sipRes = sipCpp->value();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_value, doc_QLCDNumber_value);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_intValue, "QLCDNumber.intValue() -> int");

extern "C" {static PyObject *meth_QLCDNumber_intValue(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_intValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->intValue();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_intValue, doc_QLCDNumber_intValue);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_sizeHint, "QLCDNumber.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QLCDNumber_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QLCDNumber::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_sizeHint, doc_QLCDNumber_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_display, "QLCDNumber.display(str)\n"
    "QLCDNumber.display(float)\n"
    "QLCDNumber.display(int)");

extern "C" {static PyObject *meth_QLCDNumber_display(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_display(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->display(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        double a0;
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BXd", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0))
        {
            sipCpp->display(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0))
        {
            sipCpp->display(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_display, doc_QLCDNumber_display);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_setHexMode, "QLCDNumber.setHexMode()");

extern "C" {static PyObject *meth_QLCDNumber_setHexMode(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_setHexMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            sipCpp->setHexMode();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_setHexMode, doc_QLCDNumber_setHexMode);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_setDecMode, "QLCDNumber.setDecMode()");

extern "C" {static PyObject *meth_QLCDNumber_setDecMode(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_setDecMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            sipCpp->setDecMode();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_setDecMode, doc_QLCDNumber_setDecMode);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_setOctMode, "QLCDNumber.setOctMode()");

extern "C" {static PyObject *meth_QLCDNumber_setOctMode(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_setOctMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            sipCpp->setOctMode();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_setOctMode, doc_QLCDNumber_setOctMode);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_setBinMode, "QLCDNumber.setBinMode()");

extern "C" {static PyObject *meth_QLCDNumber_setBinMode(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_setBinMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLCDNumber, &sipCpp))
        {
            sipCpp->setBinMode();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_setBinMode, doc_QLCDNumber_setBinMode);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_setSmallDecimalPoint, "QLCDNumber.setSmallDecimalPoint(bool)");

extern "C" {static PyObject *meth_QLCDNumber_setSmallDecimalPoint(PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_setSmallDecimalPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLCDNumber *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLCDNumber, &sipCpp, &a0))
        {
            sipCpp->setSmallDecimalPoint(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_setSmallDecimalPoint, doc_QLCDNumber_setSmallDecimalPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_event, "QLCDNumber.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QLCDNumber_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_event, doc_QLCDNumber_event);

    return NULL;
}


PyDoc_STRVAR(doc_QLCDNumber_paintEvent, "QLCDNumber.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QLCDNumber_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLCDNumber_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQLCDNumber *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLCDNumber, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLCDNumber, sipName_paintEvent, doc_QLCDNumber_paintEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QLCDNumber(void *, const sipTypeDef *);}
static void *cast_QLCDNumber(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QLCDNumber)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFrame)->ctd_cast((QFrame *)(QLCDNumber *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLCDNumber(void *, int);}
static void release_QLCDNumber(void *sipCppV,int)
{
    QLCDNumber *sipCpp = reinterpret_cast<QLCDNumber *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QLCDNumber(sipSimpleWrapper *);}
static void dealloc_QLCDNumber(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQLCDNumber *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QLCDNumber(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QLCDNumber(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLCDNumber(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQLCDNumber *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQLCDNumber(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        uint a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "u|JH", &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQLCDNumber(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QLCDNumber[] = {{98, 255, 1}};


static PyMethodDef methods_QLCDNumber[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QLCDNumber_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QLCDNumber_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_checkOverflow), meth_QLCDNumber_checkOverflow, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_checkOverflow)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QLCDNumber_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QLCDNumber_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QLCDNumber_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QLCDNumber_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QLCDNumber_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QLCDNumber_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QLCDNumber_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_digitCount), meth_QLCDNumber_digitCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_digitCount)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QLCDNumber_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_display), meth_QLCDNumber_display, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_display)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QLCDNumber_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QLCDNumber_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QLCDNumber_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QLCDNumber_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QLCDNumber_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QLCDNumber_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QLCDNumber_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLCDNumber_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QLCDNumber_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QLCDNumber_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QLCDNumber_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QLCDNumber_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QLCDNumber_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QLCDNumber_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QLCDNumber_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QLCDNumber_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_intValue), meth_QLCDNumber_intValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_intValue)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QLCDNumber_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QLCDNumber_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QLCDNumber_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QLCDNumber_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QLCDNumber_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mode), meth_QLCDNumber_mode, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_mode)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QLCDNumber_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QLCDNumber_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QLCDNumber_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QLCDNumber_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QLCDNumber_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QLCDNumber_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QLCDNumber_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLCDNumber_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QLCDNumber_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QLCDNumber_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_segmentStyle), meth_QLCDNumber_segmentStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_segmentStyle)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QLCDNumber_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QLCDNumber_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBinMode), meth_QLCDNumber_setBinMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_setBinMode)},
    {SIP_MLNAME_CAST(sipName_setDecMode), meth_QLCDNumber_setDecMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_setDecMode)},
    {SIP_MLNAME_CAST(sipName_setDigitCount), meth_QLCDNumber_setDigitCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_setDigitCount)},
    {SIP_MLNAME_CAST(sipName_setHexMode), meth_QLCDNumber_setHexMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_setHexMode)},
    {SIP_MLNAME_CAST(sipName_setMode), meth_QLCDNumber_setMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_setMode)},
    {SIP_MLNAME_CAST(sipName_setNumDigits), meth_QLCDNumber_setNumDigits, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_setNumDigits)},
    {SIP_MLNAME_CAST(sipName_setOctMode), meth_QLCDNumber_setOctMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_setOctMode)},
    {SIP_MLNAME_CAST(sipName_setSegmentStyle), meth_QLCDNumber_setSegmentStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_setSegmentStyle)},
    {SIP_MLNAME_CAST(sipName_setSmallDecimalPoint), meth_QLCDNumber_setSmallDecimalPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_setSmallDecimalPoint)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QLCDNumber_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QLCDNumber_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QLCDNumber_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_sizeHint)},
    {SIP_MLNAME_CAST(sipName_smallDecimalPoint), meth_QLCDNumber_smallDecimalPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_smallDecimalPoint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QLCDNumber_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QLCDNumber_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QLCDNumber_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_QLCDNumber_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QLCDNumber_value)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QLCDNumber_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QLCDNumber[] = {
    {sipName_Bin, static_cast<int>(QLCDNumber::Bin), 183},
    {sipName_Dec, static_cast<int>(QLCDNumber::Dec), 183},
    {sipName_Filled, static_cast<int>(QLCDNumber::Filled), 184},
    {sipName_Flat, static_cast<int>(QLCDNumber::Flat), 184},
    {sipName_Hex, static_cast<int>(QLCDNumber::Hex), 183},
    {sipName_Oct, static_cast<int>(QLCDNumber::Oct), 183},
    {sipName_Outline, static_cast<int>(QLCDNumber::Outline), 184},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QLCDNumber[] = {
    {"overflow()", "\1QLCDNumber.overflow", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QLCDNumber, "\1QLCDNumber(QWidget parent=None)\n"
    "QLCDNumber(int, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QLCDNumber = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLCDNumber,
        {0}
    },
    {
        sipNameNr_QLCDNumber,
        {0, 0, 1},
        65, methods_QLCDNumber,
        7, enummembers_QLCDNumber,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLCDNumber,
    -1,
    -1,
    supers_QLCDNumber,
    0,
    init_type_QLCDNumber,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLCDNumber,
    0,
    0,
    0,
    release_QLCDNumber,
    cast_QLCDNumber,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QLCDNumber::staticMetaObject,
    0,
    signals_QLCDNumber,
    0
};

#line 91 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 235083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 235087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 235090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 235093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 235096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 235099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 235102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 235105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 235108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQWidgetItem : public QWidgetItem
{
public:
    sipQWidgetItem(QWidget*);
    virtual ~sipQWidgetItem();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSpacerItem* spacerItem();
    QLayout* layout();
    void invalidate();
    int minimumHeightForWidth(int) const;
    QSizePolicy::ControlTypes controlTypes() const;
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    QWidget* widget();
    QRect geometry() const;
    void setGeometry(const QRect&);
    bool isEmpty() const;
    Qt::Orientations expandingDirections() const;
    QSize maximumSize() const;
    QSize minimumSize() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQWidgetItem(const sipQWidgetItem &);
    sipQWidgetItem &operator = (const sipQWidgetItem &);

    char sipPyMethods[15];
};

sipQWidgetItem::sipQWidgetItem(QWidget*a0): QWidgetItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQWidgetItem::~sipQWidgetItem()
{
    sipCommonDtor(sipPySelf);
}

QSpacerItem* sipQWidgetItem::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QWidgetItem::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QLayout* sipQWidgetItem::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QWidgetItem::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQWidgetItem::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QWidgetItem::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQWidgetItem::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QWidgetItem::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizePolicy::ControlTypes sipQWidgetItem::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QWidgetItem::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQWidgetItem::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QWidgetItem::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQWidgetItem::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QWidgetItem::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQWidgetItem::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QWidgetItem::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRect sipQWidgetItem::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return QWidgetItem::geometry();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQWidgetItem::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QWidgetItem::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQWidgetItem::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return QWidgetItem::isEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::Orientations sipQWidgetItem::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return QWidgetItem::expandingDirections();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQWidgetItem::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return QWidgetItem::maximumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQWidgetItem::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return QWidgetItem::minimumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQWidgetItem::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QWidgetItem::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QWidgetItem_sizeHint, "QWidgetItem.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QWidgetItem_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetItem, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QWidgetItem::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_sizeHint, doc_QWidgetItem_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_minimumSize, "QWidgetItem.minimumSize() -> QSize");

extern "C" {static PyObject *meth_QWidgetItem_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetItem, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QWidgetItem::minimumSize() : sipCpp->minimumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_minimumSize, doc_QWidgetItem_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_maximumSize, "QWidgetItem.maximumSize() -> QSize");

extern "C" {static PyObject *meth_QWidgetItem_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_maximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetItem, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QWidgetItem::maximumSize() : sipCpp->maximumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_maximumSize, doc_QWidgetItem_maximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_expandingDirections, "QWidgetItem.expandingDirections() -> Qt.Orientations");

extern "C" {static PyObject *meth_QWidgetItem_expandingDirections(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_expandingDirections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetItem, &sipCpp))
        {
            Qt::Orientations*sipRes;

            sipRes = new Qt::Orientations((sipSelfWasArg ? sipCpp->QWidgetItem::expandingDirections() : sipCpp->expandingDirections()));

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_expandingDirections, doc_QWidgetItem_expandingDirections);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_isEmpty, "QWidgetItem.isEmpty() -> bool");

extern "C" {static PyObject *meth_QWidgetItem_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWidgetItem::isEmpty() : sipCpp->isEmpty());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_isEmpty, doc_QWidgetItem_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_setGeometry, "QWidgetItem.setGeometry(QRect)");

extern "C" {static PyObject *meth_QWidgetItem_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidgetItem, &sipCpp, sipType_QRect, &a0))
        {
            (sipSelfWasArg ? sipCpp->QWidgetItem::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_setGeometry, doc_QWidgetItem_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_geometry, "QWidgetItem.geometry() -> QRect");

extern "C" {static PyObject *meth_QWidgetItem_geometry(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_geometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetItem, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QWidgetItem::geometry() : sipCpp->geometry()));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_geometry, doc_QWidgetItem_geometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_widget, "QWidgetItem.widget() -> QWidget");

extern "C" {static PyObject *meth_QWidgetItem_widget(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetItem, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWidgetItem::widget() : sipCpp->widget());

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_widget, doc_QWidgetItem_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_hasHeightForWidth, "QWidgetItem.hasHeightForWidth() -> bool");

extern "C" {static PyObject *meth_QWidgetItem_hasHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_hasHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetItem, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWidgetItem::hasHeightForWidth() : sipCpp->hasHeightForWidth());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_hasHeightForWidth, doc_QWidgetItem_hasHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_heightForWidth, "QWidgetItem.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QWidgetItem_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidgetItem, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWidgetItem::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_heightForWidth, doc_QWidgetItem_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QWidgetItem_controlTypes, "QWidgetItem.controlTypes() -> QSizePolicy.ControlTypes");

extern "C" {static PyObject *meth_QWidgetItem_controlTypes(PyObject *, PyObject *);}
static PyObject *meth_QWidgetItem_controlTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidgetItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidgetItem, &sipCpp))
        {
            QSizePolicy::ControlTypes*sipRes;

            sipRes = new QSizePolicy::ControlTypes((sipSelfWasArg ? sipCpp->QWidgetItem::controlTypes() : sipCpp->controlTypes()));

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy_ControlTypes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidgetItem, sipName_controlTypes, doc_QWidgetItem_controlTypes);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QWidgetItem(void *, const sipTypeDef *);}
static void *cast_QWidgetItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QWidgetItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QLayoutItem)->ctd_cast((QLayoutItem *)(QWidgetItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWidgetItem(void *, int);}
static void release_QWidgetItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQWidgetItem *>(sipCppV);
    else
        delete reinterpret_cast<QWidgetItem *>(sipCppV);
}


extern "C" {static void dealloc_QWidgetItem(sipSimpleWrapper *);}
static void dealloc_QWidgetItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQWidgetItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QWidgetItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QWidgetItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWidgetItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQWidgetItem *sipCpp = 0;

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QWidget, &a0))
        {
            sipCpp = new sipQWidgetItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QWidgetItem[] = {{188, 255, 1}};


static PyMethodDef methods_QWidgetItem[] = {
    {SIP_MLNAME_CAST(sipName_controlTypes), meth_QWidgetItem_controlTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_controlTypes)},
    {SIP_MLNAME_CAST(sipName_expandingDirections), meth_QWidgetItem_expandingDirections, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_expandingDirections)},
    {SIP_MLNAME_CAST(sipName_geometry), meth_QWidgetItem_geometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_geometry)},
    {SIP_MLNAME_CAST(sipName_hasHeightForWidth), meth_QWidgetItem_hasHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_hasHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QWidgetItem_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QWidgetItem_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_isEmpty)},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_QWidgetItem_maximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_maximumSize)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QWidgetItem_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_minimumSize)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QWidgetItem_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_setGeometry)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QWidgetItem_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_sizeHint)},
    {SIP_MLNAME_CAST(sipName_widget), meth_QWidgetItem_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidgetItem_widget)}
};

PyDoc_STRVAR(doc_QWidgetItem, "\1QWidgetItem(QWidget)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QWidgetItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWidgetItem,
        {0}
    },
    {
        sipNameNr_QWidgetItem,
        {0, 0, 1},
        11, methods_QWidgetItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWidgetItem,
    -1,
    -1,
    supers_QWidgetItem,
    0,
    init_type_QWidgetItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWidgetItem,
    0,
    0,
    0,
    release_QWidgetItem,
    cast_QWidgetItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 235839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 235843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 235846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 235849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 235852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 235855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 235858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 235861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 235864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQSpacerItem : public QSpacerItem
{
public:
    sipQSpacerItem(int,int,QSizePolicy::Policy,QSizePolicy::Policy);
    sipQSpacerItem(const QSpacerItem&);
    virtual ~sipQSpacerItem();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizePolicy::ControlTypes controlTypes() const;
    QLayout* layout();
    QWidget* widget();
    void invalidate();
    int minimumHeightForWidth(int) const;
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    QSpacerItem* spacerItem();
    QRect geometry() const;
    void setGeometry(const QRect&);
    bool isEmpty() const;
    Qt::Orientations expandingDirections() const;
    QSize maximumSize() const;
    QSize minimumSize() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSpacerItem(const sipQSpacerItem &);
    sipQSpacerItem &operator = (const sipQSpacerItem &);

    char sipPyMethods[15];
};

sipQSpacerItem::sipQSpacerItem(int a0,int a1,QSizePolicy::Policy a2,QSizePolicy::Policy a3): QSpacerItem(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSpacerItem::sipQSpacerItem(const QSpacerItem& a0): QSpacerItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSpacerItem::~sipQSpacerItem()
{
    sipCommonDtor(sipPySelf);
}

QSizePolicy::ControlTypes sipQSpacerItem::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QSpacerItem::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QLayout* sipQSpacerItem::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QSpacerItem::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQSpacerItem::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QSpacerItem::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSpacerItem::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QSpacerItem::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQSpacerItem::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QSpacerItem::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQSpacerItem::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QSpacerItem::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSpacerItem::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QSpacerItem::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSpacerItem* sipQSpacerItem::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QSpacerItem::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRect sipQSpacerItem::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return QSpacerItem::geometry();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQSpacerItem::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QSpacerItem::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSpacerItem::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return QSpacerItem::isEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::Orientations sipQSpacerItem::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return QSpacerItem::expandingDirections();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQSpacerItem::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return QSpacerItem::maximumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQSpacerItem::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return QSpacerItem::minimumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQSpacerItem::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QSpacerItem::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QSpacerItem_changeSize, "QSpacerItem.changeSize(int, int, QSizePolicy.Policy hPolicy=QSizePolicy.Minimum, QSizePolicy.Policy vPolicy=QSizePolicy.Minimum)");

extern "C" {static PyObject *meth_QSpacerItem_changeSize(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_changeSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QSizePolicy::Policy a2 = QSizePolicy::Minimum;
        QSizePolicy::Policy a3 = QSizePolicy::Minimum;
        QSpacerItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_hPolicy,
            sipName_vPolicy,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|EE", &sipSelf, sipType_QSpacerItem, &sipCpp, &a0, &a1, sipType_QSizePolicy_Policy, &a2, sipType_QSizePolicy_Policy, &a3))
        {
            sipCpp->changeSize(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpacerItem, sipName_changeSize, doc_QSpacerItem_changeSize);

    return NULL;
}


PyDoc_STRVAR(doc_QSpacerItem_sizeHint, "QSpacerItem.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QSpacerItem_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSpacerItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpacerItem, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QSpacerItem::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpacerItem, sipName_sizeHint, doc_QSpacerItem_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QSpacerItem_minimumSize, "QSpacerItem.minimumSize() -> QSize");

extern "C" {static PyObject *meth_QSpacerItem_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSpacerItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpacerItem, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QSpacerItem::minimumSize() : sipCpp->minimumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpacerItem, sipName_minimumSize, doc_QSpacerItem_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QSpacerItem_maximumSize, "QSpacerItem.maximumSize() -> QSize");

extern "C" {static PyObject *meth_QSpacerItem_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_maximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSpacerItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpacerItem, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QSpacerItem::maximumSize() : sipCpp->maximumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpacerItem, sipName_maximumSize, doc_QSpacerItem_maximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QSpacerItem_expandingDirections, "QSpacerItem.expandingDirections() -> Qt.Orientations");

extern "C" {static PyObject *meth_QSpacerItem_expandingDirections(PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_expandingDirections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSpacerItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpacerItem, &sipCpp))
        {
            Qt::Orientations*sipRes;

            sipRes = new Qt::Orientations((sipSelfWasArg ? sipCpp->QSpacerItem::expandingDirections() : sipCpp->expandingDirections()));

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpacerItem, sipName_expandingDirections, doc_QSpacerItem_expandingDirections);

    return NULL;
}


PyDoc_STRVAR(doc_QSpacerItem_isEmpty, "QSpacerItem.isEmpty() -> bool");

extern "C" {static PyObject *meth_QSpacerItem_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSpacerItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpacerItem, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QSpacerItem::isEmpty() : sipCpp->isEmpty());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpacerItem, sipName_isEmpty, doc_QSpacerItem_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QSpacerItem_setGeometry, "QSpacerItem.setGeometry(QRect)");

extern "C" {static PyObject *meth_QSpacerItem_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QSpacerItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QSpacerItem, &sipCpp, sipType_QRect, &a0))
        {
            (sipSelfWasArg ? sipCpp->QSpacerItem::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpacerItem, sipName_setGeometry, doc_QSpacerItem_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QSpacerItem_geometry, "QSpacerItem.geometry() -> QRect");

extern "C" {static PyObject *meth_QSpacerItem_geometry(PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_geometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QSpacerItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpacerItem, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QSpacerItem::geometry() : sipCpp->geometry()));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpacerItem, sipName_geometry, doc_QSpacerItem_geometry);

    return NULL;
}


PyDoc_STRVAR(doc_QSpacerItem_spacerItem, "QSpacerItem.spacerItem() -> QSpacerItem");

extern "C" {static PyObject *meth_QSpacerItem_spacerItem(PyObject *, PyObject *);}
static PyObject *meth_QSpacerItem_spacerItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QSpacerItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSpacerItem, &sipCpp))
        {
            QSpacerItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QSpacerItem::spacerItem() : sipCpp->spacerItem());

            return sipConvertFromType(sipRes,sipType_QSpacerItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSpacerItem, sipName_spacerItem, doc_QSpacerItem_spacerItem);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSpacerItem(void *, const sipTypeDef *);}
static void *cast_QSpacerItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSpacerItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QLayoutItem)->ctd_cast((QLayoutItem *)(QSpacerItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSpacerItem(void *, int);}
static void release_QSpacerItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQSpacerItem *>(sipCppV);
    else
        delete reinterpret_cast<QSpacerItem *>(sipCppV);
}


extern "C" {static void dealloc_QSpacerItem(sipSimpleWrapper *);}
static void dealloc_QSpacerItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSpacerItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSpacerItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSpacerItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSpacerItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQSpacerItem *sipCpp = 0;

    {
        int a0;
        int a1;
        QSizePolicy::Policy a2 = QSizePolicy::Minimum;
        QSizePolicy::Policy a3 = QSizePolicy::Minimum;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_hPolicy,
            sipName_vPolicy,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "ii|EE", &a0, &a1, sipType_QSizePolicy_Policy, &a2, sipType_QSizePolicy_Policy, &a3))
        {
            sipCpp = new sipQSpacerItem(a0,a1,a2,a3);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QSpacerItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QSpacerItem, &a0))
        {
            sipCpp = new sipQSpacerItem(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSpacerItem[] = {{188, 255, 1}};


static PyMethodDef methods_QSpacerItem[] = {
    {SIP_MLNAME_CAST(sipName_changeSize), (PyCFunction)meth_QSpacerItem_changeSize, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QSpacerItem_changeSize)},
    {SIP_MLNAME_CAST(sipName_expandingDirections), meth_QSpacerItem_expandingDirections, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_expandingDirections)},
    {SIP_MLNAME_CAST(sipName_geometry), meth_QSpacerItem_geometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_geometry)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QSpacerItem_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_isEmpty)},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_QSpacerItem_maximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_maximumSize)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QSpacerItem_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_minimumSize)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QSpacerItem_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_setGeometry)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QSpacerItem_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_sizeHint)},
    {SIP_MLNAME_CAST(sipName_spacerItem), meth_QSpacerItem_spacerItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QSpacerItem_spacerItem)}
};

PyDoc_STRVAR(doc_QSpacerItem, "\1QSpacerItem(int, int, QSizePolicy.Policy hPolicy=QSizePolicy.Minimum, QSizePolicy.Policy vPolicy=QSizePolicy.Minimum)\n"
    "QSpacerItem(QSpacerItem)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSpacerItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSpacerItem,
        {0}
    },
    {
        sipNameNr_QSpacerItem,
        {0, 0, 1},
        9, methods_QSpacerItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSpacerItem,
    -1,
    -1,
    supers_QSpacerItem,
    0,
    init_type_QSpacerItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSpacerItem,
    0,
    0,
    0,
    release_QSpacerItem,
    cast_QSpacerItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 236575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 236579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 236582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 236585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 236588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 236591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 236594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 236597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 236600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQLayoutItem : public QLayoutItem
{
public:
    sipQLayoutItem(Qt::Alignment);
    sipQLayoutItem(const QLayoutItem&);
    virtual ~sipQLayoutItem();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizePolicy::ControlTypes controlTypes() const;
    QSpacerItem* spacerItem();
    QLayout* layout();
    QWidget* widget();
    void invalidate();
    int minimumHeightForWidth(int) const;
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    bool isEmpty() const;
    QRect geometry() const;
    void setGeometry(const QRect&);
    Qt::Orientations expandingDirections() const;
    QSize maximumSize() const;
    QSize minimumSize() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQLayoutItem(const sipQLayoutItem &);
    sipQLayoutItem &operator = (const sipQLayoutItem &);

    char sipPyMethods[15];
};

sipQLayoutItem::sipQLayoutItem(Qt::Alignment a0): QLayoutItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLayoutItem::sipQLayoutItem(const QLayoutItem& a0): QLayoutItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLayoutItem::~sipQLayoutItem()
{
    sipCommonDtor(sipPySelf);
}

QSizePolicy::ControlTypes sipQLayoutItem::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QLayoutItem::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSpacerItem* sipQLayoutItem::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QLayoutItem::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QLayout* sipQLayoutItem::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QLayoutItem::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQLayoutItem::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QLayoutItem::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQLayoutItem::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QLayoutItem::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQLayoutItem::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QLayoutItem::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQLayoutItem::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QLayoutItem::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQLayoutItem::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QLayoutItem::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQLayoutItem::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,sipName_QLayoutItem,sipName_isEmpty);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRect sipQLayoutItem::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_QLayoutItem,sipName_geometry);

    if (!sipMeth)
        return QRect();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQLayoutItem::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,sipName_QLayoutItem,sipName_setGeometry);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

Qt::Orientations sipQLayoutItem::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,sipName_QLayoutItem,sipName_expandingDirections);

    if (!sipMeth)
        return Qt::Orientations();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQLayoutItem::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,sipName_QLayoutItem,sipName_maximumSize);

    if (!sipMeth)
        return QSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQLayoutItem::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,sipName_QLayoutItem,sipName_minimumSize);

    if (!sipMeth)
        return QSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQLayoutItem::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,sipName_QLayoutItem,sipName_sizeHint);

    if (!sipMeth)
        return QSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QLayoutItem_sizeHint, "QLayoutItem.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QLayoutItem_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            QSize*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayoutItem, sipName_sizeHint);
                return NULL;
            }

            sipRes = new QSize(sipCpp->sizeHint());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_sizeHint, doc_QLayoutItem_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_minimumSize, "QLayoutItem.minimumSize() -> QSize");

extern "C" {static PyObject *meth_QLayoutItem_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            QSize*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayoutItem, sipName_minimumSize);
                return NULL;
            }

            sipRes = new QSize(sipCpp->minimumSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_minimumSize, doc_QLayoutItem_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_maximumSize, "QLayoutItem.maximumSize() -> QSize");

extern "C" {static PyObject *meth_QLayoutItem_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_maximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            QSize*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayoutItem, sipName_maximumSize);
                return NULL;
            }

            sipRes = new QSize(sipCpp->maximumSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_maximumSize, doc_QLayoutItem_maximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_expandingDirections, "QLayoutItem.expandingDirections() -> Qt.Orientations");

extern "C" {static PyObject *meth_QLayoutItem_expandingDirections(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_expandingDirections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            Qt::Orientations*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayoutItem, sipName_expandingDirections);
                return NULL;
            }

            sipRes = new Qt::Orientations(sipCpp->expandingDirections());

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_expandingDirections, doc_QLayoutItem_expandingDirections);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_setGeometry, "QLayoutItem.setGeometry(QRect)");

extern "C" {static PyObject *meth_QLayoutItem_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QRect* a0;
        QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLayoutItem, &sipCpp, sipType_QRect, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayoutItem, sipName_setGeometry);
                return NULL;
            }

            sipCpp->setGeometry(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_setGeometry, doc_QLayoutItem_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_geometry, "QLayoutItem.geometry() -> QRect");

extern "C" {static PyObject *meth_QLayoutItem_geometry(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_geometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            QRect*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayoutItem, sipName_geometry);
                return NULL;
            }

            sipRes = new QRect(sipCpp->geometry());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_geometry, doc_QLayoutItem_geometry);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_isEmpty, "QLayoutItem.isEmpty() -> bool");

extern "C" {static PyObject *meth_QLayoutItem_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayoutItem, sipName_isEmpty);
                return NULL;
            }

            sipRes = sipCpp->isEmpty();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_isEmpty, doc_QLayoutItem_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_hasHeightForWidth, "QLayoutItem.hasHeightForWidth() -> bool");

extern "C" {static PyObject *meth_QLayoutItem_hasHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_hasHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLayoutItem::hasHeightForWidth() : sipCpp->hasHeightForWidth());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_hasHeightForWidth, doc_QLayoutItem_hasHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_heightForWidth, "QLayoutItem.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QLayoutItem_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLayoutItem, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLayoutItem::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_heightForWidth, doc_QLayoutItem_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_minimumHeightForWidth, "QLayoutItem.minimumHeightForWidth(int) -> int");

extern "C" {static PyObject *meth_QLayoutItem_minimumHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_minimumHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLayoutItem, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLayoutItem::minimumHeightForWidth(a0) : sipCpp->minimumHeightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_minimumHeightForWidth, doc_QLayoutItem_minimumHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_invalidate, "QLayoutItem.invalidate()");

extern "C" {static PyObject *meth_QLayoutItem_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QLayoutItem::invalidate() : sipCpp->invalidate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_invalidate, doc_QLayoutItem_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_widget, "QLayoutItem.widget() -> QWidget");

extern "C" {static PyObject *meth_QLayoutItem_widget(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLayoutItem::widget() : sipCpp->widget());

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_widget, doc_QLayoutItem_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_layout, "QLayoutItem.layout() -> QLayout");

extern "C" {static PyObject *meth_QLayoutItem_layout(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_layout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            QLayout*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLayoutItem::layout() : sipCpp->layout());

            return sipConvertFromType(sipRes,sipType_QLayout,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_layout, doc_QLayoutItem_layout);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_spacerItem, "QLayoutItem.spacerItem() -> QSpacerItem");

extern "C" {static PyObject *meth_QLayoutItem_spacerItem(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_spacerItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            QSpacerItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLayoutItem::spacerItem() : sipCpp->spacerItem());

            return sipConvertFromType(sipRes,sipType_QSpacerItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_spacerItem, doc_QLayoutItem_spacerItem);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_alignment, "QLayoutItem.alignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QLayoutItem_alignment(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_alignment, doc_QLayoutItem_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_setAlignment, "QLayoutItem.setAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QLayoutItem_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLayoutItem, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_setAlignment, doc_QLayoutItem_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QLayoutItem_controlTypes, "QLayoutItem.controlTypes() -> QSizePolicy.ControlTypes");

extern "C" {static PyObject *meth_QLayoutItem_controlTypes(PyObject *, PyObject *);}
static PyObject *meth_QLayoutItem_controlTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayoutItem, &sipCpp))
        {
            QSizePolicy::ControlTypes*sipRes;

            sipRes = new QSizePolicy::ControlTypes((sipSelfWasArg ? sipCpp->QLayoutItem::controlTypes() : sipCpp->controlTypes()));

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy_ControlTypes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayoutItem, sipName_controlTypes, doc_QLayoutItem_controlTypes);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QLayoutItem(void *, const sipTypeDef *);}
static void *cast_QLayoutItem(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QLayoutItem)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLayoutItem(void *, int);}
static void release_QLayoutItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQLayoutItem *>(sipCppV);
    else
        delete reinterpret_cast<QLayoutItem *>(sipCppV);
}


extern "C" {static void dealloc_QLayoutItem(sipSimpleWrapper *);}
static void dealloc_QLayoutItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQLayoutItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QLayoutItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QLayoutItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLayoutItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQLayoutItem *sipCpp = 0;

    {
        Qt::Alignment a0def = 0;
        Qt::Alignment* a0 = &a0def;
        int a0State = 0;

        static const char *sipKwdList[] = {
            sipName_alignment,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J1", sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp = new sipQLayoutItem(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QLayoutItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QLayoutItem, &a0))
        {
            sipCpp = new sipQLayoutItem(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QLayoutItem[] = {
    {SIP_MLNAME_CAST(sipName_alignment), meth_QLayoutItem_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_alignment)},
    {SIP_MLNAME_CAST(sipName_controlTypes), meth_QLayoutItem_controlTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_controlTypes)},
    {SIP_MLNAME_CAST(sipName_expandingDirections), meth_QLayoutItem_expandingDirections, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_expandingDirections)},
    {SIP_MLNAME_CAST(sipName_geometry), meth_QLayoutItem_geometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_geometry)},
    {SIP_MLNAME_CAST(sipName_hasHeightForWidth), meth_QLayoutItem_hasHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_hasHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QLayoutItem_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QLayoutItem_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_invalidate)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QLayoutItem_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_isEmpty)},
    {SIP_MLNAME_CAST(sipName_layout), meth_QLayoutItem_layout, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_layout)},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_QLayoutItem_maximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_maximumSize)},
    {SIP_MLNAME_CAST(sipName_minimumHeightForWidth), meth_QLayoutItem_minimumHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_minimumHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QLayoutItem_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_minimumSize)},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QLayoutItem_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QLayoutItem_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_setGeometry)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QLayoutItem_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_sizeHint)},
    {SIP_MLNAME_CAST(sipName_spacerItem), meth_QLayoutItem_spacerItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_spacerItem)},
    {SIP_MLNAME_CAST(sipName_widget), meth_QLayoutItem_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayoutItem_widget)}
};

PyDoc_STRVAR(doc_QLayoutItem, "\1QLayoutItem(Qt.Alignment alignment=0)\n"
    "QLayoutItem(QLayoutItem)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QLayoutItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLayoutItem,
        {0}
    },
    {
        sipNameNr_QLayoutItem,
        {0, 0, 1},
        17, methods_QLayoutItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLayoutItem,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QLayoutItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLayoutItem,
    0,
    0,
    0,
    release_QLayoutItem,
    cast_QLayoutItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlabel.sip"
#include <qlabel.h>
#line 237562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 237566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 237569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 237572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 237587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 237593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpicture.sip"
#include <qpicture.h>
#line 237596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qmovie.sip"
#include <qmovie.h>
#line 237599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 237602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 237605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 237608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 237611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 237614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 237617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 237620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 237623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 237626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 237629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 237632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 237635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 237638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 237641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 237644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 237647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 237650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 237653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 237656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 237659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 237662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 237665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 237668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 237671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 237674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 237713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 237716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 237719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 237722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 237725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 237728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 237731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 237734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 237737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 237740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 237743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 237746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 237749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 237752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 237755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 237758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 237761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 237764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 237767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 237770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 237773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 237776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 237779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQLabel : public QLabel
{
public:
    sipQLabel(QWidget*,Qt::WindowFlags);
    sipQLabel(const QString&,QWidget*,Qt::WindowFlags);
    virtual ~sipQLabel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_drawFrame(QPainter*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    void setVisible(bool);
    int devType() const;
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyPressEvent(QKeyEvent*);
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQLabel(const sipQLabel &);
    sipQLabel &operator = (const sipQLabel &);

    char sipPyMethods[46];
};

sipQLabel::sipQLabel(QWidget*a0,Qt::WindowFlags a1): QLabel(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLabel::sipQLabel(const QString& a0,QWidget*a1,Qt::WindowFlags a2): QLabel(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLabel::~sipQLabel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQLabel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QLabel);
}

int sipQLabel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QLabel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QLabel,_c,_id,_a);

    return _id;
}

void *sipQLabel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QLabel, _clname, &sipCpp) ? sipCpp : QLabel::qt_metacast(_clname));
}

void sipQLabel::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QLabel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QLabel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QLabel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QLabel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QLabel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQLabel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QLabel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQLabel::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QLabel::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQLabel::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QLabel::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQLabel::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QLabel::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQLabel::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QLabel::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQLabel::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QLabel::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QLabel::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQLabel::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QLabel::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QLabel::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QLabel::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QLabel::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QLabel::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QLabel::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QLabel::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QLabel::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QLabel::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QLabel::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QLabel::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QLabel::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QLabel::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QLabel::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QLabel::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QLabel::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QLabel::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQLabel::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QLabel::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQLabel::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QLabel::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQLabel::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QLabel::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQLabel::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QLabel::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QLabel::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QLabel::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QLabel::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QLabel::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QLabel::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QLabel::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QLabel::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QLabel::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLabel::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QLabel::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQLabel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QLabel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQLabel::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QLabel::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQLabel::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QLabel::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQLabel::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QLabel::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQLabel::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQLabel::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQLabel::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQLabel::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQLabel::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQLabel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQLabel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQLabel::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQLabel::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQLabel::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQLabel::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQLabel::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQLabel::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQLabel::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQLabel::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQLabel::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQLabel::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQLabel::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQLabel::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQLabel::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQLabel::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQLabel::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQLabel::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQLabel::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQLabel::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQLabel::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQLabel::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQLabel::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQLabel::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQLabel::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQLabel::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQLabel::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQLabel::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQLabel::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQLabel::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQLabel::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

bool sipQLabel::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QLabel::event(a0) : event(a0));
}

void sipQLabel::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QLabel::paintEvent(a0) : paintEvent(a0));
}

void sipQLabel::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QLabel::changeEvent(a0) : changeEvent(a0));
}

void sipQLabel::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QLabel::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQLabel::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QLabel::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQLabel::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QLabel::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQLabel::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QLabel::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQLabel::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QLabel::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQLabel::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QLabel::focusInEvent(a0) : focusInEvent(a0));
}

void sipQLabel::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QLabel::focusOutEvent(a0) : focusOutEvent(a0));
}

bool sipQLabel::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QLabel::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}


PyDoc_STRVAR(doc_QLabel_sender, "QLabel.sender() -> QObject");

extern "C" {static PyObject *meth_QLabel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 239009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_sender, doc_QLabel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_receivers, "QLabel.receivers(signal) -> int");

extern "C" {static PyObject *meth_QLabel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 239068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_receivers, doc_QLabel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_timerEvent, "QLabel.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QLabel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_timerEvent, doc_QLabel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_childEvent, "QLabel.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QLabel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_childEvent, doc_QLabel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_customEvent, "QLabel.customEvent(QEvent)");

extern "C" {static PyObject *meth_QLabel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_customEvent, doc_QLabel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_connectNotify, "QLabel.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QLabel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLabel, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_connectNotify, doc_QLabel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_disconnectNotify, "QLabel.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QLabel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLabel, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_disconnectNotify, doc_QLabel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_senderSignalIndex, "QLabel.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QLabel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_senderSignalIndex, doc_QLabel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_isSignalConnected, "QLabel.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QLabel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLabel, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_isSignalConnected, doc_QLabel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_mouseDoubleClickEvent, "QLabel.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLabel_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_mouseDoubleClickEvent, doc_QLabel_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_wheelEvent, "QLabel.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QLabel_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_wheelEvent, doc_QLabel_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_keyReleaseEvent, "QLabel.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QLabel_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_keyReleaseEvent, doc_QLabel_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_enterEvent, "QLabel.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QLabel_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_enterEvent, doc_QLabel_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_leaveEvent, "QLabel.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QLabel_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_leaveEvent, doc_QLabel_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_moveEvent, "QLabel.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QLabel_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_moveEvent, doc_QLabel_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_resizeEvent, "QLabel.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QLabel_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_resizeEvent, doc_QLabel_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_closeEvent, "QLabel.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QLabel_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_closeEvent, doc_QLabel_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_tabletEvent, "QLabel.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QLabel_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_tabletEvent, doc_QLabel_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_actionEvent, "QLabel.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QLabel_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_actionEvent, doc_QLabel_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_dragEnterEvent, "QLabel.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QLabel_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_dragEnterEvent, doc_QLabel_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_dragMoveEvent, "QLabel.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QLabel_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_dragMoveEvent, doc_QLabel_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_dragLeaveEvent, "QLabel.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QLabel_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_dragLeaveEvent, doc_QLabel_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_dropEvent, "QLabel.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QLabel_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_dropEvent, doc_QLabel_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_showEvent, "QLabel.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QLabel_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_showEvent, doc_QLabel_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_hideEvent, "QLabel.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QLabel_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_hideEvent, doc_QLabel_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_metric, "QLabel.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QLabel_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QLabel, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_metric, doc_QLabel_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_inputMethodEvent, "QLabel.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QLabel_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_inputMethodEvent, doc_QLabel_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_updateMicroFocus, "QLabel.updateMicroFocus()");

extern "C" {static PyObject *meth_QLabel_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_updateMicroFocus, doc_QLabel_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_create, "QLabel.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QLabel_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQLabel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QLabel, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_create, doc_QLabel_create);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_destroy, "QLabel.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QLabel_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQLabel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QLabel, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_destroy, doc_QLabel_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_focusNextChild, "QLabel.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QLabel_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_focusNextChild, doc_QLabel_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_focusPreviousChild, "QLabel.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QLabel_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_focusPreviousChild, doc_QLabel_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_nativeEvent, "QLabel.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QLabel_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QLabel, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_nativeEvent, doc_QLabel_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_sharedPainter, "QLabel.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QLabel_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_sharedPainter, doc_QLabel_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_initPainter, "QLabel.initPainter(QPainter)");

extern "C" {static PyObject *meth_QLabel_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_initPainter, doc_QLabel_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_drawFrame, "QLabel.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QLabel_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_drawFrame, doc_QLabel_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_text, "QLabel.text() -> str");

extern "C" {static PyObject *meth_QLabel_text(PyObject *, PyObject *);}
static PyObject *meth_QLabel_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_text, doc_QLabel_text);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_pixmap, "QLabel.pixmap() -> QPixmap");

extern "C" {static PyObject *meth_QLabel_pixmap(PyObject *, PyObject *);}
static PyObject *meth_QLabel_pixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            const QPixmap*sipRes;

            sipRes = sipCpp->pixmap();

            return sipConvertFromType(const_cast<QPixmap *>(sipRes),sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_pixmap, doc_QLabel_pixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_picture, "QLabel.picture() -> QPicture");

extern "C" {static PyObject *meth_QLabel_picture(PyObject *, PyObject *);}
static PyObject *meth_QLabel_picture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            const QPicture*sipRes;

            sipRes = sipCpp->picture();

            return sipConvertFromType(const_cast<QPicture *>(sipRes),sipType_QPicture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_picture, doc_QLabel_picture);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_movie, "QLabel.movie() -> QMovie");

extern "C" {static PyObject *meth_QLabel_movie(PyObject *, PyObject *);}
static PyObject *meth_QLabel_movie(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            QMovie*sipRes;

            sipRes = sipCpp->movie();

            return sipConvertFromType(sipRes,sipType_QMovie,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_movie, doc_QLabel_movie);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_textFormat, "QLabel.textFormat() -> Qt.TextFormat");

extern "C" {static PyObject *meth_QLabel_textFormat(PyObject *, PyObject *);}
static PyObject *meth_QLabel_textFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            Qt::TextFormat sipRes;

            sipRes = sipCpp->textFormat();

            return sipConvertFromEnum(sipRes,sipType_Qt_TextFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_textFormat, doc_QLabel_textFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setTextFormat, "QLabel.setTextFormat(Qt.TextFormat)");

extern "C" {static PyObject *meth_QLabel_setTextFormat(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setTextFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextFormat a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLabel, &sipCpp, sipType_Qt_TextFormat, &a0))
        {
            sipCpp->setTextFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setTextFormat, doc_QLabel_setTextFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_alignment, "QLabel.alignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QLabel_alignment(PyObject *, PyObject *);}
static PyObject *meth_QLabel_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_alignment, doc_QLabel_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setAlignment, "QLabel.setAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QLabel_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLabel, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setAlignment, doc_QLabel_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setWordWrap, "QLabel.setWordWrap(bool)");

extern "C" {static PyObject *meth_QLabel_setWordWrap(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setWordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            sipCpp->setWordWrap(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setWordWrap, doc_QLabel_setWordWrap);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_wordWrap, "QLabel.wordWrap() -> bool");

extern "C" {static PyObject *meth_QLabel_wordWrap(PyObject *, PyObject *);}
static PyObject *meth_QLabel_wordWrap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->wordWrap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_wordWrap, doc_QLabel_wordWrap);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_indent, "QLabel.indent() -> int");

extern "C" {static PyObject *meth_QLabel_indent(PyObject *, PyObject *);}
static PyObject *meth_QLabel_indent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->indent();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_indent, doc_QLabel_indent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setIndent, "QLabel.setIndent(int)");

extern "C" {static PyObject *meth_QLabel_setIndent(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setIndent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            sipCpp->setIndent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setIndent, doc_QLabel_setIndent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_margin, "QLabel.margin() -> int");

extern "C" {static PyObject *meth_QLabel_margin(PyObject *, PyObject *);}
static PyObject *meth_QLabel_margin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->margin();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_margin, doc_QLabel_margin);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setMargin, "QLabel.setMargin(int)");

extern "C" {static PyObject *meth_QLabel_setMargin(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setMargin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            sipCpp->setMargin(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setMargin, doc_QLabel_setMargin);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_hasScaledContents, "QLabel.hasScaledContents() -> bool");

extern "C" {static PyObject *meth_QLabel_hasScaledContents(PyObject *, PyObject *);}
static PyObject *meth_QLabel_hasScaledContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasScaledContents();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_hasScaledContents, doc_QLabel_hasScaledContents);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setScaledContents, "QLabel.setScaledContents(bool)");

extern "C" {static PyObject *meth_QLabel_setScaledContents(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setScaledContents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            sipCpp->setScaledContents(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setScaledContents, doc_QLabel_setScaledContents);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_sizeHint, "QLabel.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QLabel_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QLabel_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QLabel::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_sizeHint, doc_QLabel_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_minimumSizeHint, "QLabel.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QLabel_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QLabel_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QLabel::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_minimumSizeHint, doc_QLabel_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setBuddy, "QLabel.setBuddy(QWidget)");

extern "C" {static PyObject *meth_QLabel_setBuddy(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setBuddy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Keep;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QLabel, &sipCpp, &a0Keep, sipType_QWidget, &a0))
        {
            sipCpp->setBuddy(a0);

            sipKeepReference(sipSelf, -32, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setBuddy, doc_QLabel_setBuddy);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_buddy, "QLabel.buddy() -> QWidget");

extern "C" {static PyObject *meth_QLabel_buddy(PyObject *, PyObject *);}
static PyObject *meth_QLabel_buddy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->buddy();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_buddy, doc_QLabel_buddy);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_heightForWidth, "QLabel.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QLabel_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QLabel_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLabel::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_heightForWidth, doc_QLabel_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_openExternalLinks, "QLabel.openExternalLinks() -> bool");

extern "C" {static PyObject *meth_QLabel_openExternalLinks(PyObject *, PyObject *);}
static PyObject *meth_QLabel_openExternalLinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->openExternalLinks();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_openExternalLinks, doc_QLabel_openExternalLinks);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setTextInteractionFlags, "QLabel.setTextInteractionFlags(Qt.TextInteractionFlags)");

extern "C" {static PyObject *meth_QLabel_setTextInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setTextInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLabel, &sipCpp, sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            sipCpp->setTextInteractionFlags(*a0);
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setTextInteractionFlags, doc_QLabel_setTextInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_textInteractionFlags, "QLabel.textInteractionFlags() -> Qt.TextInteractionFlags");

extern "C" {static PyObject *meth_QLabel_textInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QLabel_textInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            Qt::TextInteractionFlags*sipRes;

            sipRes = new Qt::TextInteractionFlags(sipCpp->textInteractionFlags());

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_textInteractionFlags, doc_QLabel_textInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setOpenExternalLinks, "QLabel.setOpenExternalLinks(bool)");

extern "C" {static PyObject *meth_QLabel_setOpenExternalLinks(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setOpenExternalLinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            sipCpp->setOpenExternalLinks(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setOpenExternalLinks, doc_QLabel_setOpenExternalLinks);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_clear, "QLabel.clear()");

extern "C" {static PyObject *meth_QLabel_clear(PyObject *, PyObject *);}
static PyObject *meth_QLabel_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_clear, doc_QLabel_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setMovie, "QLabel.setMovie(QMovie)");

extern "C" {static PyObject *meth_QLabel_setMovie(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setMovie(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMovie* a0;
        PyObject *a0Keep;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QLabel, &sipCpp, &a0Keep, sipType_QMovie, &a0))
        {
            sipCpp->setMovie(a0);

            sipKeepReference(sipSelf, -33, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setMovie, doc_QLabel_setMovie);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setNum, "QLabel.setNum(float)\n"
    "QLabel.setNum(int)");

extern "C" {static PyObject *meth_QLabel_setNum(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setNum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BXd", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            sipCpp->setNum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            sipCpp->setNum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setNum, doc_QLabel_setNum);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setPicture, "QLabel.setPicture(QPicture)");

extern "C" {static PyObject *meth_QLabel_setPicture(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setPicture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPicture* a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLabel, &sipCpp, sipType_QPicture, &a0))
        {
            sipCpp->setPicture(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setPicture, doc_QLabel_setPicture);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setPixmap, "QLabel.setPixmap(QPixmap)");

extern "C" {static PyObject *meth_QLabel_setPixmap(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLabel, &sipCpp, sipType_QPixmap, &a0))
        {
            sipCpp->setPixmap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setPixmap, doc_QLabel_setPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setText, "QLabel.setText(str)");

extern "C" {static PyObject *meth_QLabel_setText(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLabel, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setText, doc_QLabel_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_event, "QLabel.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QLabel_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_event, doc_QLabel_event);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_paintEvent, "QLabel.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QLabel_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_paintEvent, doc_QLabel_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_changeEvent, "QLabel.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QLabel_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_changeEvent, doc_QLabel_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_keyPressEvent, "QLabel.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QLabel_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_keyPressEvent, doc_QLabel_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_mousePressEvent, "QLabel.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLabel_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_mousePressEvent, doc_QLabel_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_mouseMoveEvent, "QLabel.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLabel_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_mouseMoveEvent, doc_QLabel_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_mouseReleaseEvent, "QLabel.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QLabel_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_mouseReleaseEvent, doc_QLabel_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_contextMenuEvent, "QLabel.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QLabel_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_contextMenuEvent, doc_QLabel_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_focusInEvent, "QLabel.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QLabel_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_focusInEvent, doc_QLabel_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_focusOutEvent, "QLabel.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QLabel_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLabel, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_focusOutEvent, doc_QLabel_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_focusNextPrevChild, "QLabel.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QLabel_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLabel_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQLabel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QLabel, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_focusNextPrevChild, doc_QLabel_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_setSelection, "QLabel.setSelection(int, int)");

extern "C" {static PyObject *meth_QLabel_setSelection(PyObject *, PyObject *);}
static PyObject *meth_QLabel_setSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QLabel, &sipCpp, &a0, &a1))
        {
            sipCpp->setSelection(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_setSelection, doc_QLabel_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_hasSelectedText, "QLabel.hasSelectedText() -> bool");

extern "C" {static PyObject *meth_QLabel_hasSelectedText(PyObject *, PyObject *);}
static PyObject *meth_QLabel_hasSelectedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasSelectedText();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_hasSelectedText, doc_QLabel_hasSelectedText);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_selectedText, "QLabel.selectedText() -> str");

extern "C" {static PyObject *meth_QLabel_selectedText(PyObject *, PyObject *);}
static PyObject *meth_QLabel_selectedText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->selectedText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_selectedText, doc_QLabel_selectedText);

    return NULL;
}


PyDoc_STRVAR(doc_QLabel_selectionStart, "QLabel.selectionStart() -> int");

extern "C" {static PyObject *meth_QLabel_selectionStart(PyObject *, PyObject *);}
static PyObject *meth_QLabel_selectionStart(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLabel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLabel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->selectionStart();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLabel, sipName_selectionStart, doc_QLabel_selectionStart);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QLabel(void *, const sipTypeDef *);}
static void *cast_QLabel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QLabel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFrame)->ctd_cast((QFrame *)(QLabel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLabel(void *, int);}
static void release_QLabel(void *sipCppV,int)
{
    QLabel *sipCpp = reinterpret_cast<QLabel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QLabel(sipSimpleWrapper *);}
static void dealloc_QLabel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQLabel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QLabel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QLabel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLabel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQLabel *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQLabel(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;
        Qt::WindowFlags a2def = 0;
        Qt::WindowFlags* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JHJ1", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner, sipType_Qt_WindowFlags, &a2, &a2State))
        {
            sipCpp = new sipQLabel(*a0,a1,*a2);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a2,sipType_Qt_WindowFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QLabel[] = {{98, 255, 1}};


static PyMethodDef methods_QLabel[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QLabel_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QLabel_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_alignment)},
    {SIP_MLNAME_CAST(sipName_buddy), meth_QLabel_buddy, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_buddy)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QLabel_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QLabel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QLabel_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QLabel_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QLabel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QLabel_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QLabel_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QLabel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QLabel_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QLabel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QLabel_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QLabel_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QLabel_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QLabel_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QLabel_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QLabel_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QLabel_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QLabel_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QLabel_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QLabel_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QLabel_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QLabel_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hasScaledContents), meth_QLabel_hasScaledContents, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_hasScaledContents)},
    {SIP_MLNAME_CAST(sipName_hasSelectedText), meth_QLabel_hasSelectedText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_hasSelectedText)},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QLabel_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QLabel_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indent), meth_QLabel_indent, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_indent)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QLabel_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QLabel_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QLabel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QLabel_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QLabel_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QLabel_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_margin), meth_QLabel_margin, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_margin)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QLabel_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QLabel_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QLabel_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QLabel_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QLabel_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QLabel_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QLabel_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_movie), meth_QLabel_movie, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_movie)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QLabel_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_openExternalLinks), meth_QLabel_openExternalLinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_openExternalLinks)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QLabel_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLabel_paintEvent)},
    {SIP_MLNAME_CAST(sipName_picture), meth_QLabel_picture, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_picture)},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_QLabel_pixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_pixmap)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QLabel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QLabel_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedText), meth_QLabel_selectedText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_selectedText)},
    {SIP_MLNAME_CAST(sipName_selectionStart), meth_QLabel_selectionStart, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_selectionStart)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QLabel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QLabel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QLabel_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setBuddy), meth_QLabel_setBuddy, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setBuddy)},
    {SIP_MLNAME_CAST(sipName_setIndent), meth_QLabel_setIndent, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setIndent)},
    {SIP_MLNAME_CAST(sipName_setMargin), meth_QLabel_setMargin, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setMargin)},
    {SIP_MLNAME_CAST(sipName_setMovie), meth_QLabel_setMovie, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setMovie)},
    {SIP_MLNAME_CAST(sipName_setNum), meth_QLabel_setNum, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setNum)},
    {SIP_MLNAME_CAST(sipName_setOpenExternalLinks), meth_QLabel_setOpenExternalLinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setOpenExternalLinks)},
    {SIP_MLNAME_CAST(sipName_setPicture), meth_QLabel_setPicture, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setPicture)},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_QLabel_setPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setPixmap)},
    {SIP_MLNAME_CAST(sipName_setScaledContents), meth_QLabel_setScaledContents, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setScaledContents)},
    {SIP_MLNAME_CAST(sipName_setSelection), meth_QLabel_setSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setSelection)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QLabel_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setText)},
    {SIP_MLNAME_CAST(sipName_setTextFormat), meth_QLabel_setTextFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setTextFormat)},
    {SIP_MLNAME_CAST(sipName_setTextInteractionFlags), meth_QLabel_setTextInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setTextInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_setWordWrap), meth_QLabel_setWordWrap, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_setWordWrap)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QLabel_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QLabel_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QLabel_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QLabel_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_QLabel_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_text)},
    {SIP_MLNAME_CAST(sipName_textFormat), meth_QLabel_textFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_textFormat)},
    {SIP_MLNAME_CAST(sipName_textInteractionFlags), meth_QLabel_textInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_textInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QLabel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QLabel_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QLabel_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wordWrap), meth_QLabel_wordWrap, METH_VARARGS, SIP_MLDOC_CAST(doc_QLabel_wordWrap)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QLabel[] = {
    {"linkHovered(QString)", "\1QLabel.linkHovered[str]", 0, 0},
    {"linkActivated(QString)", "\1QLabel.linkActivated[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QLabel, "\1QLabel(QWidget parent=None, Qt.WindowFlags flags=0)\n"
    "QLabel(str, QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QLabel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLabel,
        {0}
    },
    {
        sipNameNr_QLabel,
        {0, 0, 1},
        82, methods_QLabel,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLabel,
    -1,
    -1,
    supers_QLabel,
    0,
    init_type_QLabel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLabel,
    0,
    0,
    0,
    release_QLabel,
    cast_QLabel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QLabel::staticMetaObject,
    0,
    signals_QLabel,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qkeysequenceedit.sip"
#include <qkeysequenceedit.h>
#line 241598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 241602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 241605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 241608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 241614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 241617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 241620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 241623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 241626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 241629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 241632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 241635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 241638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 241641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 241644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 241647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 241650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 241653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 241656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 241659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 241662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 241665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 241668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 241671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 241674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 241677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 241680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 241683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 241686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 241689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 241740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 241743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 241746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 241749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 241752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 241755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 241758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 241761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 241764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 241767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 241770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 241773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 241776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 241779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 241782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 241785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 241788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 241791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 241794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 241797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 241800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQKeySequenceEdit : public QKeySequenceEdit
{
public:
    sipQKeySequenceEdit(QWidget*);
    sipQKeySequenceEdit(const QKeySequence&,QWidget*);
    virtual ~sipQKeySequenceEdit();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void timerEvent(QTimerEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQKeySequenceEdit(const sipQKeySequenceEdit &);
    sipQKeySequenceEdit &operator = (const sipQKeySequenceEdit &);

    char sipPyMethods[46];
};

sipQKeySequenceEdit::sipQKeySequenceEdit(QWidget*a0): QKeySequenceEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQKeySequenceEdit::sipQKeySequenceEdit(const QKeySequence& a0,QWidget*a1): QKeySequenceEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQKeySequenceEdit::~sipQKeySequenceEdit()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQKeySequenceEdit::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QKeySequenceEdit);
}

int sipQKeySequenceEdit::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QKeySequenceEdit::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QKeySequenceEdit,_c,_id,_a);

    return _id;
}

void *sipQKeySequenceEdit::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QKeySequenceEdit, _clname, &sipCpp) ? sipCpp : QKeySequenceEdit::qt_metacast(_clname));
}

void sipQKeySequenceEdit::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QKeySequenceEdit::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QKeySequenceEdit::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQKeySequenceEdit::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QKeySequenceEdit::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQKeySequenceEdit::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QKeySequenceEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQKeySequenceEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QKeySequenceEdit::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQKeySequenceEdit::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QKeySequenceEdit::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQKeySequenceEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QKeySequenceEdit::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQKeySequenceEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QKeySequenceEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQKeySequenceEdit::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QKeySequenceEdit::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQKeySequenceEdit::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QKeySequenceEdit::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQKeySequenceEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QKeySequenceEdit::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQKeySequenceEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QKeySequenceEdit::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQKeySequenceEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QKeySequenceEdit::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQKeySequenceEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QKeySequenceEdit::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQKeySequenceEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QKeySequenceEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQKeySequenceEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QKeySequenceEdit::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQKeySequenceEdit::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeySequenceEdit::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QKeySequenceEdit::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQKeySequenceEdit::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QKeySequenceEdit::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQKeySequenceEdit::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQKeySequenceEdit::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQKeySequenceEdit::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQKeySequenceEdit::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQKeySequenceEdit::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQKeySequenceEdit::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQKeySequenceEdit::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQKeySequenceEdit::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQKeySequenceEdit::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQKeySequenceEdit::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQKeySequenceEdit::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQKeySequenceEdit::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQKeySequenceEdit::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQKeySequenceEdit::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQKeySequenceEdit::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQKeySequenceEdit::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

bool sipQKeySequenceEdit::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QKeySequenceEdit::event(a0) : event(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QKeySequenceEdit::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QKeySequenceEdit::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQKeySequenceEdit::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QKeySequenceEdit::timerEvent(a0) : timerEvent(a0));
}


PyDoc_STRVAR(doc_QKeySequenceEdit_sender, "QKeySequenceEdit.sender() -> QObject");

extern "C" {static PyObject *meth_QKeySequenceEdit_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QKeySequenceEdit, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 243024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_sender, doc_QKeySequenceEdit_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_receivers, "QKeySequenceEdit.receivers(signal) -> int");

extern "C" {static PyObject *meth_QKeySequenceEdit_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 243083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_receivers, doc_QKeySequenceEdit_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_childEvent, "QKeySequenceEdit.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_childEvent, doc_QKeySequenceEdit_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_customEvent, "QKeySequenceEdit.customEvent(QEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_customEvent, doc_QKeySequenceEdit_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_connectNotify, "QKeySequenceEdit.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QKeySequenceEdit_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_connectNotify, doc_QKeySequenceEdit_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_disconnectNotify, "QKeySequenceEdit.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QKeySequenceEdit_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_disconnectNotify, doc_QKeySequenceEdit_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_senderSignalIndex, "QKeySequenceEdit.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QKeySequenceEdit_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QKeySequenceEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_senderSignalIndex, doc_QKeySequenceEdit_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_isSignalConnected, "QKeySequenceEdit.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QKeySequenceEdit_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_isSignalConnected, doc_QKeySequenceEdit_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_mousePressEvent, "QKeySequenceEdit.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_mousePressEvent, doc_QKeySequenceEdit_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_mouseReleaseEvent, "QKeySequenceEdit.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_mouseReleaseEvent, doc_QKeySequenceEdit_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_mouseDoubleClickEvent, "QKeySequenceEdit.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_mouseDoubleClickEvent, doc_QKeySequenceEdit_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_mouseMoveEvent, "QKeySequenceEdit.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_mouseMoveEvent, doc_QKeySequenceEdit_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_wheelEvent, "QKeySequenceEdit.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_wheelEvent, doc_QKeySequenceEdit_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_focusInEvent, "QKeySequenceEdit.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_focusInEvent, doc_QKeySequenceEdit_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_focusOutEvent, "QKeySequenceEdit.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_focusOutEvent, doc_QKeySequenceEdit_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_enterEvent, "QKeySequenceEdit.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_enterEvent, doc_QKeySequenceEdit_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_leaveEvent, "QKeySequenceEdit.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_leaveEvent, doc_QKeySequenceEdit_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_paintEvent, "QKeySequenceEdit.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_paintEvent, doc_QKeySequenceEdit_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_moveEvent, "QKeySequenceEdit.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_moveEvent, doc_QKeySequenceEdit_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_resizeEvent, "QKeySequenceEdit.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_resizeEvent, doc_QKeySequenceEdit_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_closeEvent, "QKeySequenceEdit.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_closeEvent, doc_QKeySequenceEdit_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_contextMenuEvent, "QKeySequenceEdit.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_contextMenuEvent, doc_QKeySequenceEdit_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_tabletEvent, "QKeySequenceEdit.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_tabletEvent, doc_QKeySequenceEdit_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_actionEvent, "QKeySequenceEdit.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_actionEvent, doc_QKeySequenceEdit_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_dragEnterEvent, "QKeySequenceEdit.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_dragEnterEvent, doc_QKeySequenceEdit_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_dragMoveEvent, "QKeySequenceEdit.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_dragMoveEvent, doc_QKeySequenceEdit_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_dragLeaveEvent, "QKeySequenceEdit.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_dragLeaveEvent, doc_QKeySequenceEdit_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_dropEvent, "QKeySequenceEdit.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_dropEvent, doc_QKeySequenceEdit_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_showEvent, "QKeySequenceEdit.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_showEvent, doc_QKeySequenceEdit_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_hideEvent, "QKeySequenceEdit.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_hideEvent, doc_QKeySequenceEdit_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_changeEvent, "QKeySequenceEdit.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_changeEvent, doc_QKeySequenceEdit_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_metric, "QKeySequenceEdit.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QKeySequenceEdit_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_metric, doc_QKeySequenceEdit_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_inputMethodEvent, "QKeySequenceEdit.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_inputMethodEvent, doc_QKeySequenceEdit_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_updateMicroFocus, "QKeySequenceEdit.updateMicroFocus()");

extern "C" {static PyObject *meth_QKeySequenceEdit_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QKeySequenceEdit, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_updateMicroFocus, doc_QKeySequenceEdit_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_create, "QKeySequenceEdit.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QKeySequenceEdit_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQKeySequenceEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_create, doc_QKeySequenceEdit_create);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_destroy, "QKeySequenceEdit.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QKeySequenceEdit_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQKeySequenceEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_destroy, doc_QKeySequenceEdit_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_focusNextPrevChild, "QKeySequenceEdit.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QKeySequenceEdit_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_focusNextPrevChild, doc_QKeySequenceEdit_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_focusNextChild, "QKeySequenceEdit.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QKeySequenceEdit_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QKeySequenceEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_focusNextChild, doc_QKeySequenceEdit_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_focusPreviousChild, "QKeySequenceEdit.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QKeySequenceEdit_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QKeySequenceEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_focusPreviousChild, doc_QKeySequenceEdit_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_nativeEvent, "QKeySequenceEdit.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QKeySequenceEdit_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_nativeEvent, doc_QKeySequenceEdit_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_sharedPainter, "QKeySequenceEdit.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QKeySequenceEdit_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QKeySequenceEdit, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_sharedPainter, doc_QKeySequenceEdit_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_initPainter, "QKeySequenceEdit.initPainter(QPainter)");

extern "C" {static PyObject *meth_QKeySequenceEdit_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_initPainter, doc_QKeySequenceEdit_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_keySequence, "QKeySequenceEdit.keySequence() -> QKeySequence");

extern "C" {static PyObject *meth_QKeySequenceEdit_keySequence(PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_keySequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequenceEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QKeySequenceEdit, &sipCpp))
        {
            QKeySequence*sipRes;

            sipRes = new QKeySequence(sipCpp->keySequence());

            return sipConvertFromNewType(sipRes,sipType_QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_keySequence, doc_QKeySequenceEdit_keySequence);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_setKeySequence, "QKeySequenceEdit.setKeySequence(QKeySequence)");

extern "C" {static PyObject *meth_QKeySequenceEdit_setKeySequence(PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_setKeySequence(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        QKeySequenceEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QKeySequence, &a0, &a0State))
        {
            sipCpp->setKeySequence(*a0);
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_setKeySequence, doc_QKeySequenceEdit_setKeySequence);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_clear, "QKeySequenceEdit.clear()");

extern "C" {static PyObject *meth_QKeySequenceEdit_clear(PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QKeySequenceEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QKeySequenceEdit, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_clear, doc_QKeySequenceEdit_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_event, "QKeySequenceEdit.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QKeySequenceEdit_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_event, doc_QKeySequenceEdit_event);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_keyPressEvent, "QKeySequenceEdit.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_keyPressEvent, doc_QKeySequenceEdit_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_keyReleaseEvent, "QKeySequenceEdit.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_keyReleaseEvent, doc_QKeySequenceEdit_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeySequenceEdit_timerEvent, "QKeySequenceEdit.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QKeySequenceEdit_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeySequenceEdit_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQKeySequenceEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeySequenceEdit, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeySequenceEdit, sipName_timerEvent, doc_QKeySequenceEdit_timerEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QKeySequenceEdit(void *, const sipTypeDef *);}
static void *cast_QKeySequenceEdit(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QKeySequenceEdit)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QKeySequenceEdit *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QKeySequenceEdit(void *, int);}
static void release_QKeySequenceEdit(void *sipCppV,int)
{
    QKeySequenceEdit *sipCpp = reinterpret_cast<QKeySequenceEdit *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QKeySequenceEdit(sipSimpleWrapper *);}
static void dealloc_QKeySequenceEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQKeySequenceEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QKeySequenceEdit(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QKeySequenceEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QKeySequenceEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQKeySequenceEdit *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQKeySequenceEdit(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QKeySequence* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QKeySequence, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQKeySequenceEdit(*a0,a1);
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QKeySequenceEdit[] = {{454, 255, 1}};


static PyMethodDef methods_QKeySequenceEdit[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QKeySequenceEdit_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QKeySequenceEdit_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QKeySequenceEdit_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QKeySequenceEdit_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QKeySequenceEdit_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QKeySequenceEdit_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QKeySequenceEdit_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QKeySequenceEdit_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QKeySequenceEdit_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QKeySequenceEdit_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QKeySequenceEdit_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QKeySequenceEdit_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QKeySequenceEdit_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QKeySequenceEdit_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QKeySequenceEdit_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QKeySequenceEdit_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QKeySequenceEdit_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QKeySequenceEdit_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QKeySequenceEdit_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QKeySequenceEdit_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QKeySequenceEdit_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QKeySequenceEdit_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QKeySequenceEdit_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QKeySequenceEdit_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QKeySequenceEdit_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QKeySequenceEdit_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QKeySequenceEdit_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QKeySequenceEdit_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QKeySequenceEdit_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QKeySequenceEdit_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QKeySequenceEdit_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QKeySequenceEdit_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_keySequence), meth_QKeySequenceEdit_keySequence, METH_VARARGS, SIP_MLDOC_CAST(doc_QKeySequenceEdit_keySequence)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QKeySequenceEdit_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QKeySequenceEdit_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QKeySequenceEdit_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QKeySequenceEdit_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QKeySequenceEdit_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QKeySequenceEdit_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QKeySequenceEdit_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QKeySequenceEdit_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QKeySequenceEdit_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QKeySequenceEdit_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QKeySequenceEdit_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QKeySequenceEdit_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QKeySequenceEdit_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setKeySequence), meth_QKeySequenceEdit_setKeySequence, METH_VARARGS, SIP_MLDOC_CAST(doc_QKeySequenceEdit_setKeySequence)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QKeySequenceEdit_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QKeySequenceEdit_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QKeySequenceEdit_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QKeySequenceEdit_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QKeySequenceEdit_timerEvent)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QKeySequenceEdit_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QKeySequenceEdit_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QKeySequenceEdit[] = {
    {"keySequenceChanged(QKeySequence)", "\1QKeySequenceEdit.keySequenceChanged[QKeySequence]", 0, 0},
    {"editingFinished()", "\1QKeySequenceEdit.editingFinished", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QKeySequenceEdit, "\1QKeySequenceEdit(QWidget parent=None)\n"
    "QKeySequenceEdit(QKeySequence, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QKeySequenceEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QKeySequenceEdit,
        {0}
    },
    {
        sipNameNr_QKeySequenceEdit,
        {0, 0, 1},
        49, methods_QKeySequenceEdit,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QKeySequenceEdit,
    -1,
    -1,
    supers_QKeySequenceEdit,
    0,
    init_type_QKeySequenceEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QKeySequenceEdit,
    0,
    0,
    0,
    release_QKeySequenceEdit,
    cast_QKeySequenceEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QKeySequenceEdit::staticMetaObject,
    0,
    signals_QKeySequenceEdit,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qkeyeventtransition.sip"
#include <qkeyeventtransition.h>
#line 244650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qstate.sip"
#include <qstate.h>
#line 244654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 244657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 244660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 244663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 244666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 244669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qstatemachine.sip"
#include <qstatemachine.h>
#line 244672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 244675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractstate.sip"
#include <qabstractstate.h>
#line 244678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 244681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 244684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 244687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 244690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 244693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 244696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 244699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 244702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 244705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 244708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 244711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 244714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 244717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 244720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQKeyEventTransition : public QKeyEventTransition
{
public:
    sipQKeyEventTransition(QState*);
    sipQKeyEventTransition(QObject*,QEvent::Type,int,QState*);
    virtual ~sipQKeyEventTransition();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_onTransition(bool,QEvent*);
    bool sipProtectVirt_eventTest(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool eventTest(QEvent*);
    void onTransition(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQKeyEventTransition(const sipQKeyEventTransition &);
    sipQKeyEventTransition &operator = (const sipQKeyEventTransition &);

    char sipPyMethods[9];
};

sipQKeyEventTransition::sipQKeyEventTransition(QState*a0): QKeyEventTransition(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQKeyEventTransition::sipQKeyEventTransition(QObject*a0,QEvent::Type a1,int a2,QState*a3): QKeyEventTransition(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQKeyEventTransition::~sipQKeyEventTransition()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQKeyEventTransition::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QKeyEventTransition);
}

int sipQKeyEventTransition::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QKeyEventTransition::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QKeyEventTransition,_c,_id,_a);

    return _id;
}

void *sipQKeyEventTransition::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QKeyEventTransition, _clname, &sipCpp) ? sipCpp : QKeyEventTransition::qt_metacast(_clname));
}

void sipQKeyEventTransition::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QKeyEventTransition::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeyEventTransition::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QKeyEventTransition::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeyEventTransition::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QKeyEventTransition::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeyEventTransition::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QKeyEventTransition::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeyEventTransition::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QKeyEventTransition::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQKeyEventTransition::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QKeyEventTransition::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQKeyEventTransition::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QKeyEventTransition::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQKeyEventTransition::eventTest(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventTest);

    if (!sipMeth)
        return QKeyEventTransition::eventTest(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQKeyEventTransition::onTransition(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_onTransition);

    if (!sipMeth)
    {
        QKeyEventTransition::onTransition(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQKeyEventTransition::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQKeyEventTransition::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQKeyEventTransition::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQKeyEventTransition::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQKeyEventTransition::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQKeyEventTransition::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQKeyEventTransition::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQKeyEventTransition::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQKeyEventTransition::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQKeyEventTransition::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QEventTransition::event(a0) : event(a0));
}

void sipQKeyEventTransition::sipProtectVirt_onTransition(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QKeyEventTransition::onTransition(a0) : onTransition(a0));
}

bool sipQKeyEventTransition::sipProtectVirt_eventTest(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QKeyEventTransition::eventTest(a0) : eventTest(a0));
}


PyDoc_STRVAR(doc_QKeyEventTransition_sender, "QKeyEventTransition.sender() -> QObject");

extern "C" {static PyObject *meth_QKeyEventTransition_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QKeyEventTransition, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 245067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_sender, doc_QKeyEventTransition_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_receivers, "QKeyEventTransition.receivers(signal) -> int");

extern "C" {static PyObject *meth_QKeyEventTransition_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QKeyEventTransition, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 245126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_receivers, doc_QKeyEventTransition_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_timerEvent, "QKeyEventTransition.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QKeyEventTransition_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_timerEvent, doc_QKeyEventTransition_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_childEvent, "QKeyEventTransition.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QKeyEventTransition_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_childEvent, doc_QKeyEventTransition_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_customEvent, "QKeyEventTransition.customEvent(QEvent)");

extern "C" {static PyObject *meth_QKeyEventTransition_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_customEvent, doc_QKeyEventTransition_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_connectNotify, "QKeyEventTransition.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QKeyEventTransition_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_connectNotify, doc_QKeyEventTransition_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_disconnectNotify, "QKeyEventTransition.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QKeyEventTransition_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_disconnectNotify, doc_QKeyEventTransition_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_senderSignalIndex, "QKeyEventTransition.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QKeyEventTransition_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QKeyEventTransition, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_senderSignalIndex, doc_QKeyEventTransition_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_isSignalConnected, "QKeyEventTransition.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QKeyEventTransition_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_isSignalConnected, doc_QKeyEventTransition_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_event, "QKeyEventTransition.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QKeyEventTransition_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_event, doc_QKeyEventTransition_event);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_key, "QKeyEventTransition.key() -> int");

extern "C" {static PyObject *meth_QKeyEventTransition_key(PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_key(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeyEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QKeyEventTransition, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->key();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_key, doc_QKeyEventTransition_key);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_setKey, "QKeyEventTransition.setKey(int)");

extern "C" {static PyObject *meth_QKeyEventTransition_setKey(PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_setKey(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QKeyEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QKeyEventTransition, &sipCpp, &a0))
        {
            sipCpp->setKey(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_setKey, doc_QKeyEventTransition_setKey);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_modifierMask, "QKeyEventTransition.modifierMask() -> Qt.KeyboardModifiers");

extern "C" {static PyObject *meth_QKeyEventTransition_modifierMask(PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_modifierMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeyEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QKeyEventTransition, &sipCpp))
        {
            Qt::KeyboardModifiers*sipRes;

            sipRes = new Qt::KeyboardModifiers(sipCpp->modifierMask());

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_modifierMask, doc_QKeyEventTransition_modifierMask);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_setModifierMask, "QKeyEventTransition.setModifierMask(Qt.KeyboardModifiers)");

extern "C" {static PyObject *meth_QKeyEventTransition_setModifierMask(PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_setModifierMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::KeyboardModifiers* a0;
        int a0State = 0;
        QKeyEventTransition *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_Qt_KeyboardModifiers, &a0, &a0State))
        {
            sipCpp->setModifierMask(*a0);
            sipReleaseType(a0,sipType_Qt_KeyboardModifiers,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_setModifierMask, doc_QKeyEventTransition_setModifierMask);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_onTransition, "QKeyEventTransition.onTransition(QEvent)");

extern "C" {static PyObject *meth_QKeyEventTransition_onTransition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_onTransition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_onTransition(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_onTransition, doc_QKeyEventTransition_onTransition);

    return NULL;
}


PyDoc_STRVAR(doc_QKeyEventTransition_eventTest, "QKeyEventTransition.eventTest(QEvent) -> bool");

extern "C" {static PyObject *meth_QKeyEventTransition_eventTest(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QKeyEventTransition_eventTest(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQKeyEventTransition *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QKeyEventTransition, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventTest(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QKeyEventTransition, sipName_eventTest, doc_QKeyEventTransition_eventTest);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QKeyEventTransition(void *, const sipTypeDef *);}
static void *cast_QKeyEventTransition(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QKeyEventTransition)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QEventTransition)->ctd_cast((QEventTransition *)(QKeyEventTransition *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QKeyEventTransition(void *, int);}
static void release_QKeyEventTransition(void *sipCppV,int)
{
    QKeyEventTransition *sipCpp = reinterpret_cast<QKeyEventTransition *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QKeyEventTransition(sipSimpleWrapper *);}
static void dealloc_QKeyEventTransition(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQKeyEventTransition *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QKeyEventTransition(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QKeyEventTransition(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QKeyEventTransition(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQKeyEventTransition *sipCpp = 0;

    {
        QState* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QState, &a0, sipOwner))
        {
            sipCpp = new sipQKeyEventTransition(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject* a0;
        PyObject *a0Keep;
        QEvent::Type a1;
        int a2;
        QState* a3 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_sourceState,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "@J8Ei|JH", &a0Keep, sipType_QObject, &a0, sipType_QEvent_Type, &a1, &a2, sipType_QState, &a3, sipOwner))
        {
            sipCpp = new sipQKeyEventTransition(a0,a1,a2,a3);

            sipKeepReference((PyObject *)sipSelf, 10, a0Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QKeyEventTransition[] = {{59, 0, 1}};


static PyMethodDef methods_QKeyEventTransition[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QKeyEventTransition_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QKeyEventTransition_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QKeyEventTransition_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QKeyEventTransition_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QKeyEventTransition_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventTest), (PyCFunction)meth_QKeyEventTransition_eventTest, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QKeyEventTransition_eventTest)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QKeyEventTransition_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_key), meth_QKeyEventTransition_key, METH_VARARGS, SIP_MLDOC_CAST(doc_QKeyEventTransition_key)},
    {SIP_MLNAME_CAST(sipName_modifierMask), meth_QKeyEventTransition_modifierMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QKeyEventTransition_modifierMask)},
    {SIP_MLNAME_CAST(sipName_onTransition), (PyCFunction)meth_QKeyEventTransition_onTransition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QKeyEventTransition_onTransition)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QKeyEventTransition_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QKeyEventTransition_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QKeyEventTransition_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setKey), meth_QKeyEventTransition_setKey, METH_VARARGS, SIP_MLDOC_CAST(doc_QKeyEventTransition_setKey)},
    {SIP_MLNAME_CAST(sipName_setModifierMask), meth_QKeyEventTransition_setModifierMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QKeyEventTransition_setModifierMask)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QKeyEventTransition_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QKeyEventTransition, "\1QKeyEventTransition(QState sourceState=None)\n"
    "QKeyEventTransition(QObject, QEvent.Type, int, QState sourceState=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QKeyEventTransition = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QKeyEventTransition,
        {0}
    },
    {
        sipNameNr_QKeyEventTransition,
        {0, 0, 1},
        16, methods_QKeyEventTransition,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QKeyEventTransition,
    -1,
    -1,
    supers_QKeyEventTransition,
    0,
    init_type_QKeyEventTransition,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QKeyEventTransition,
    0,
    0,
    0,
    release_QKeyEventTransition,
    cast_QKeyEventTransition,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QKeyEventTransition::staticMetaObject,
    0,
    0,
    0
};

#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 245716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 245720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 245723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 245726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQItemEditorFactory : public QItemEditorFactory
{
public:
    sipQItemEditorFactory();
    sipQItemEditorFactory(const QItemEditorFactory&);
    virtual ~sipQItemEditorFactory();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QByteArray valuePropertyName(int) const;
    QWidget* createEditor(int,QWidget*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQItemEditorFactory(const sipQItemEditorFactory &);
    sipQItemEditorFactory &operator = (const sipQItemEditorFactory &);

    char sipPyMethods[2];
};

sipQItemEditorFactory::sipQItemEditorFactory(): QItemEditorFactory(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQItemEditorFactory::sipQItemEditorFactory(const QItemEditorFactory& a0): QItemEditorFactory(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQItemEditorFactory::~sipQItemEditorFactory()
{
    sipCommonDtor(sipPySelf);
}

QByteArray sipQItemEditorFactory::valuePropertyName(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_valuePropertyName);

    if (!sipMeth)
        return QItemEditorFactory::valuePropertyName(a0);

    extern QByteArray sipVH_QtWidgets_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_97(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QWidget* sipQItemEditorFactory::createEditor(int a0,QWidget*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return QItemEditorFactory::createEditor(a0,a1);

    extern QWidget* sipVH_QtWidgets_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,QWidget*);

    return sipVH_QtWidgets_98(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}


PyDoc_STRVAR(doc_QItemEditorFactory_createEditor, "QItemEditorFactory.createEditor(int, QWidget) -> QWidget");

extern "C" {static PyObject *meth_QItemEditorFactory_createEditor(PyObject *, PyObject *);}
static PyObject *meth_QItemEditorFactory_createEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QWidget* a1;
        sipWrapper *sipOwner = 0;
        const QItemEditorFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJH", &sipSelf, sipType_QItemEditorFactory, &sipCpp, &a0, sipType_QWidget, &a1, &sipOwner))
        {
            QWidget*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QItemEditorFactory::createEditor(a0,a1) : sipCpp->createEditor(a0,a1));

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemEditorFactory, sipName_createEditor, doc_QItemEditorFactory_createEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QItemEditorFactory_valuePropertyName, "QItemEditorFactory.valuePropertyName(int) -> QByteArray");

extern "C" {static PyObject *meth_QItemEditorFactory_valuePropertyName(PyObject *, PyObject *);}
static PyObject *meth_QItemEditorFactory_valuePropertyName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QItemEditorFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QItemEditorFactory, &sipCpp, &a0))
        {
            QByteArray*sipRes;

            sipRes = new QByteArray((sipSelfWasArg ? sipCpp->QItemEditorFactory::valuePropertyName(a0) : sipCpp->valuePropertyName(a0)));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemEditorFactory, sipName_valuePropertyName, doc_QItemEditorFactory_valuePropertyName);

    return NULL;
}


PyDoc_STRVAR(doc_QItemEditorFactory_registerEditor, "QItemEditorFactory.registerEditor(int, QItemEditorCreatorBase)");

extern "C" {static PyObject *meth_QItemEditorFactory_registerEditor(PyObject *, PyObject *);}
static PyObject *meth_QItemEditorFactory_registerEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QItemEditorCreatorBase* a1;
        QItemEditorFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QItemEditorFactory, &sipCpp, &a0, sipType_QItemEditorCreatorBase, &a1))
        {
            sipCpp->registerEditor(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemEditorFactory, sipName_registerEditor, doc_QItemEditorFactory_registerEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QItemEditorFactory_defaultFactory, "QItemEditorFactory.defaultFactory() -> QItemEditorFactory");

extern "C" {static PyObject *meth_QItemEditorFactory_defaultFactory(PyObject *, PyObject *);}
static PyObject *meth_QItemEditorFactory_defaultFactory(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            const QItemEditorFactory*sipRes;

            sipRes = QItemEditorFactory::defaultFactory();

            return sipConvertFromType(const_cast<QItemEditorFactory *>(sipRes),sipType_QItemEditorFactory,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemEditorFactory, sipName_defaultFactory, doc_QItemEditorFactory_defaultFactory);

    return NULL;
}


PyDoc_STRVAR(doc_QItemEditorFactory_setDefaultFactory, "QItemEditorFactory.setDefaultFactory(QItemEditorFactory)");

extern "C" {static PyObject *meth_QItemEditorFactory_setDefaultFactory(PyObject *, PyObject *);}
static PyObject *meth_QItemEditorFactory_setDefaultFactory(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QItemEditorFactory* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QItemEditorFactory, &a0))
        {
            QItemEditorFactory::setDefaultFactory(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemEditorFactory, sipName_setDefaultFactory, doc_QItemEditorFactory_setDefaultFactory);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QItemEditorFactory(void *, const sipTypeDef *);}
static void *cast_QItemEditorFactory(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QItemEditorFactory)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QItemEditorFactory(void *, int);}
static void release_QItemEditorFactory(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQItemEditorFactory *>(sipCppV);
    else
        delete reinterpret_cast<QItemEditorFactory *>(sipCppV);
}


extern "C" {static void assign_QItemEditorFactory(void *, SIP_SSIZE_T, const void *);}
static void assign_QItemEditorFactory(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QItemEditorFactory *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QItemEditorFactory *>(sipSrc);
}


extern "C" {static void *array_QItemEditorFactory(SIP_SSIZE_T);}
static void *array_QItemEditorFactory(SIP_SSIZE_T sipNrElem)
{
    return new QItemEditorFactory[sipNrElem];
}


extern "C" {static void *copy_QItemEditorFactory(const void *, SIP_SSIZE_T);}
static void *copy_QItemEditorFactory(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QItemEditorFactory(reinterpret_cast<const QItemEditorFactory *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QItemEditorFactory(sipSimpleWrapper *);}
static void dealloc_QItemEditorFactory(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQItemEditorFactory *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QItemEditorFactory(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QItemEditorFactory(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QItemEditorFactory(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQItemEditorFactory *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQItemEditorFactory();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QItemEditorFactory* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QItemEditorFactory, &a0))
        {
            sipCpp = new sipQItemEditorFactory(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QItemEditorFactory[] = {
    {SIP_MLNAME_CAST(sipName_createEditor), meth_QItemEditorFactory_createEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemEditorFactory_createEditor)},
    {SIP_MLNAME_CAST(sipName_defaultFactory), meth_QItemEditorFactory_defaultFactory, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemEditorFactory_defaultFactory)},
    {SIP_MLNAME_CAST(sipName_registerEditor), meth_QItemEditorFactory_registerEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemEditorFactory_registerEditor)},
    {SIP_MLNAME_CAST(sipName_setDefaultFactory), meth_QItemEditorFactory_setDefaultFactory, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemEditorFactory_setDefaultFactory)},
    {SIP_MLNAME_CAST(sipName_valuePropertyName), meth_QItemEditorFactory_valuePropertyName, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemEditorFactory_valuePropertyName)}
};

PyDoc_STRVAR(doc_QItemEditorFactory, "\1QItemEditorFactory()\n"
    "QItemEditorFactory(QItemEditorFactory)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QItemEditorFactory = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QItemEditorFactory,
        {0}
    },
    {
        sipNameNr_QItemEditorFactory,
        {0, 0, 1},
        5, methods_QItemEditorFactory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemEditorFactory,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QItemEditorFactory,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QItemEditorFactory,
    assign_QItemEditorFactory,
    array_QItemEditorFactory,
    copy_QItemEditorFactory,
    release_QItemEditorFactory,
    cast_QItemEditorFactory,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 246102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 246106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 246109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQItemEditorCreatorBase : public QItemEditorCreatorBase
{
public:
    sipQItemEditorCreatorBase();
    sipQItemEditorCreatorBase(const QItemEditorCreatorBase&);
    virtual ~sipQItemEditorCreatorBase();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QByteArray valuePropertyName() const;
    QWidget* createWidget(QWidget*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQItemEditorCreatorBase(const sipQItemEditorCreatorBase &);
    sipQItemEditorCreatorBase &operator = (const sipQItemEditorCreatorBase &);

    char sipPyMethods[2];
};

sipQItemEditorCreatorBase::sipQItemEditorCreatorBase(): QItemEditorCreatorBase(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQItemEditorCreatorBase::sipQItemEditorCreatorBase(const QItemEditorCreatorBase& a0): QItemEditorCreatorBase(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQItemEditorCreatorBase::~sipQItemEditorCreatorBase()
{
    sipCommonDtor(sipPySelf);
}

QByteArray sipQItemEditorCreatorBase::valuePropertyName() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_QItemEditorCreatorBase,sipName_valuePropertyName);

    if (!sipMeth)
        return QByteArray();

    typedef QByteArray (*sipVH_QtCore_14)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_14)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[14]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQItemEditorCreatorBase::createWidget(QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QItemEditorCreatorBase,sipName_createWidget);

    if (!sipMeth)
        return 0;

    extern QWidget* sipVH_QtWidgets_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_QtWidgets_2(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QItemEditorCreatorBase_createWidget, "QItemEditorCreatorBase.createWidget(QWidget) -> QWidget");

extern "C" {static PyObject *meth_QItemEditorCreatorBase_createWidget(PyObject *, PyObject *);}
static PyObject *meth_QItemEditorCreatorBase_createWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QWidget* a0;
        sipWrapper *sipOwner = 0;
        const QItemEditorCreatorBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJH", &sipSelf, sipType_QItemEditorCreatorBase, &sipCpp, sipType_QWidget, &a0, &sipOwner))
        {
            QWidget*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QItemEditorCreatorBase, sipName_createWidget);
                return NULL;
            }

            sipRes = sipCpp->createWidget(a0);

            return sipConvertFromNewType(sipRes,sipType_QWidget,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemEditorCreatorBase, sipName_createWidget, doc_QItemEditorCreatorBase_createWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QItemEditorCreatorBase_valuePropertyName, "QItemEditorCreatorBase.valuePropertyName() -> QByteArray");

extern "C" {static PyObject *meth_QItemEditorCreatorBase_valuePropertyName(PyObject *, PyObject *);}
static PyObject *meth_QItemEditorCreatorBase_valuePropertyName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QItemEditorCreatorBase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemEditorCreatorBase, &sipCpp))
        {
            QByteArray*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QItemEditorCreatorBase, sipName_valuePropertyName);
                return NULL;
            }

            sipRes = new QByteArray(sipCpp->valuePropertyName());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemEditorCreatorBase, sipName_valuePropertyName, doc_QItemEditorCreatorBase_valuePropertyName);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QItemEditorCreatorBase(void *, const sipTypeDef *);}
static void *cast_QItemEditorCreatorBase(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QItemEditorCreatorBase)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QItemEditorCreatorBase(void *, int);}
static void release_QItemEditorCreatorBase(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQItemEditorCreatorBase *>(sipCppV);
    else
        delete reinterpret_cast<QItemEditorCreatorBase *>(sipCppV);
}


extern "C" {static void dealloc_QItemEditorCreatorBase(sipSimpleWrapper *);}
static void dealloc_QItemEditorCreatorBase(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQItemEditorCreatorBase *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QItemEditorCreatorBase(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QItemEditorCreatorBase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QItemEditorCreatorBase(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQItemEditorCreatorBase *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQItemEditorCreatorBase();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QItemEditorCreatorBase* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QItemEditorCreatorBase, &a0))
        {
            sipCpp = new sipQItemEditorCreatorBase(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QItemEditorCreatorBase[] = {
    {SIP_MLNAME_CAST(sipName_createWidget), meth_QItemEditorCreatorBase_createWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemEditorCreatorBase_createWidget)},
    {SIP_MLNAME_CAST(sipName_valuePropertyName), meth_QItemEditorCreatorBase_valuePropertyName, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemEditorCreatorBase_valuePropertyName)}
};

PyDoc_STRVAR(doc_QItemEditorCreatorBase, "\1QItemEditorCreatorBase()\n"
    "QItemEditorCreatorBase(QItemEditorCreatorBase)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QItemEditorCreatorBase = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QItemEditorCreatorBase,
        {0}
    },
    {
        sipNameNr_QItemEditorCreatorBase,
        {0, 0, 1},
        2, methods_QItemEditorCreatorBase,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemEditorCreatorBase,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QItemEditorCreatorBase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QItemEditorCreatorBase,
    0,
    0,
    0,
    release_QItemEditorCreatorBase,
    cast_QItemEditorCreatorBase,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qitemdelegate.sip"
#include <qitemdelegate.h>
#line 246387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 246391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 246394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 246397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 246400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 246403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 246406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 246409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 246412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 246415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 246418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qitemeditorfactory.sip"
#include <qitemeditorfactory.h>
#line 246421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 246424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 246427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 246430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 594 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 246433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 246436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 246439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 246442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 246445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 246448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 246451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 246454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 246457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 246460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 246463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 246466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 246469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 246472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQItemDelegate : public QItemDelegate
{
public:
    sipQItemDelegate(QObject*);
    virtual ~sipQItemDelegate();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_drawBackground(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void sipProtectVirt_drawCheck(bool,QPainter*,const QStyleOptionViewItem&,const QRect&,Qt::CheckState) const;
    void sipProtectVirt_drawDecoration(bool,QPainter*,const QStyleOptionViewItem&,const QRect&,const QPixmap&) const;
    void sipProtectVirt_drawDisplay(bool,QPainter*,const QStyleOptionViewItem&,const QRect&,const QString&) const;
    void sipProtectVirt_drawFocus(bool,QPainter*,const QStyleOptionViewItem&,const QRect&) const;
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_editorEvent(bool,QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    bool helpEvent(QHelpEvent*,QAbstractItemView*,const QStyleOptionViewItem&,const QModelIndex&);
    void destroyEditor(QWidget*,const QModelIndex&) const;
    bool editorEvent(QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);
    bool eventFilter(QObject*,QEvent*);
    void drawFocus(QPainter*,const QStyleOptionViewItem&,const QRect&) const;
    void drawDisplay(QPainter*,const QStyleOptionViewItem&,const QRect&,const QString&) const;
    void drawDecoration(QPainter*,const QStyleOptionViewItem&,const QRect&,const QPixmap&) const;
    void drawCheck(QPainter*,const QStyleOptionViewItem&,const QRect&,Qt::CheckState) const;
    void updateEditorGeometry(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void setModelData(QWidget*,QAbstractItemModel*,const QModelIndex&) const;
    void setEditorData(QWidget*,const QModelIndex&) const;
    QWidget* createEditor(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    QSize sizeHint(const QStyleOptionViewItem&,const QModelIndex&) const;
    void paint(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQItemDelegate(const sipQItemDelegate &);
    sipQItemDelegate &operator = (const sipQItemDelegate &);

    char sipPyMethods[20];
};

sipQItemDelegate::sipQItemDelegate(QObject*a0): QItemDelegate(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQItemDelegate::~sipQItemDelegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQItemDelegate::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QItemDelegate);
}

int sipQItemDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QItemDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QItemDelegate,_c,_id,_a);

    return _id;
}

void *sipQItemDelegate::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QItemDelegate, _clname, &sipCpp) ? sipCpp : QItemDelegate::qt_metacast(_clname));
}

void sipQItemDelegate::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QItemDelegate::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQItemDelegate::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QItemDelegate::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQItemDelegate::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QItemDelegate::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQItemDelegate::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QItemDelegate::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQItemDelegate::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QItemDelegate::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQItemDelegate::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QItemDelegate::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQItemDelegate::helpEvent(QHelpEvent*a0,QAbstractItemView*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
        return QItemDelegate::helpEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHelpEvent*,QAbstractItemView*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_148(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQItemDelegate::destroyEditor(QWidget*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_destroyEditor);

    if (!sipMeth)
    {
        QItemDelegate::destroyEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QModelIndex&);

    sipVH_QtWidgets_53(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQItemDelegate::editorEvent(QEvent*a0,QAbstractItemModel*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return QItemDelegate::editorEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_48(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQItemDelegate::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QItemDelegate::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQItemDelegate::drawFocus(QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_drawFocus);

    if (!sipMeth)
    {
        QItemDelegate::drawFocus(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_99(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QRect&);

    sipVH_QtWidgets_99(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQItemDelegate::drawDisplay(QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2,const QString& a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_drawDisplay);

    if (!sipMeth)
    {
        QItemDelegate::drawDisplay(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_100(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QRect&,const QString&);

    sipVH_QtWidgets_100(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQItemDelegate::drawDecoration(QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2,const QPixmap& a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_drawDecoration);

    if (!sipMeth)
    {
        QItemDelegate::drawDecoration(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_101(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QRect&,const QPixmap&);

    sipVH_QtWidgets_101(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQItemDelegate::drawCheck(QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2,Qt::CheckState a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_drawCheck);

    if (!sipMeth)
    {
        QItemDelegate::drawCheck(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_102(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QRect&,Qt::CheckState);

    sipVH_QtWidgets_102(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQItemDelegate::updateEditorGeometry(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
        QItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    sipVH_QtWidgets_51(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQItemDelegate::setModelData(QWidget*a0,QAbstractItemModel*a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_setModelData);

    if (!sipMeth)
    {
        QItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemModel*,const QModelIndex&);

    sipVH_QtWidgets_52(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQItemDelegate::setEditorData(QWidget*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
        QItemDelegate::setEditorData(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QModelIndex&);

    sipVH_QtWidgets_53(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QWidget* sipQItemDelegate::createEditor(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return QItemDelegate::createEditor(a0,a1,a2);

    extern QWidget* sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_54(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QSize sipQItemDelegate::sizeHint(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QItemDelegate::sizeHint(a0,a1);

    extern QSize sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_55(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQItemDelegate::paint(QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QItemDelegate::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QModelIndex&);

    sipVH_QtWidgets_26(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QObject* sipQItemDelegate::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQItemDelegate::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQItemDelegate::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQItemDelegate::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQItemDelegate::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQItemDelegate::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQItemDelegate::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQItemDelegate::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQItemDelegate::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQItemDelegate::sipProtect_drawBackground(QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    QItemDelegate::drawBackground(a0,a1,a2);
}

void sipQItemDelegate::sipProtectVirt_drawCheck(bool sipSelfWasArg,QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2,Qt::CheckState a3) const
{
    (sipSelfWasArg ? QItemDelegate::drawCheck(a0,a1,a2,a3) : drawCheck(a0,a1,a2,a3));
}

void sipQItemDelegate::sipProtectVirt_drawDecoration(bool sipSelfWasArg,QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2,const QPixmap& a3) const
{
    (sipSelfWasArg ? QItemDelegate::drawDecoration(a0,a1,a2,a3) : drawDecoration(a0,a1,a2,a3));
}

void sipQItemDelegate::sipProtectVirt_drawDisplay(bool sipSelfWasArg,QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2,const QString& a3) const
{
    (sipSelfWasArg ? QItemDelegate::drawDisplay(a0,a1,a2,a3) : drawDisplay(a0,a1,a2,a3));
}

void sipQItemDelegate::sipProtectVirt_drawFocus(bool sipSelfWasArg,QPainter*a0,const QStyleOptionViewItem& a1,const QRect& a2) const
{
    (sipSelfWasArg ? QItemDelegate::drawFocus(a0,a1,a2) : drawFocus(a0,a1,a2));
}

bool sipQItemDelegate::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QItemDelegate::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQItemDelegate::sipProtectVirt_editorEvent(bool sipSelfWasArg,QEvent*a0,QAbstractItemModel*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    return (sipSelfWasArg ? QItemDelegate::editorEvent(a0,a1,a2,a3) : editorEvent(a0,a1,a2,a3));
}


PyDoc_STRVAR(doc_QItemDelegate_sender, "QItemDelegate.sender() -> QObject");

extern "C" {static PyObject *meth_QItemDelegate_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QItemDelegate, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 247037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_sender, doc_QItemDelegate_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_receivers, "QItemDelegate.receivers(signal) -> int");

extern "C" {static PyObject *meth_QItemDelegate_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QItemDelegate, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 247096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_receivers, doc_QItemDelegate_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_timerEvent, "QItemDelegate.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QItemDelegate_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_timerEvent, doc_QItemDelegate_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_childEvent, "QItemDelegate.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QItemDelegate_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_childEvent, doc_QItemDelegate_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_customEvent, "QItemDelegate.customEvent(QEvent)");

extern "C" {static PyObject *meth_QItemDelegate_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_customEvent, doc_QItemDelegate_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_connectNotify, "QItemDelegate.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QItemDelegate_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_connectNotify, doc_QItemDelegate_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_disconnectNotify, "QItemDelegate.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QItemDelegate_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_disconnectNotify, doc_QItemDelegate_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_senderSignalIndex, "QItemDelegate.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QItemDelegate_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QItemDelegate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_senderSignalIndex, doc_QItemDelegate_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_isSignalConnected, "QItemDelegate.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QItemDelegate_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_isSignalConnected, doc_QItemDelegate_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_paint, "QItemDelegate.paint(QPainter, QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QItemDelegate_paint(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            (sipSelfWasArg ? sipCpp->QItemDelegate::paint(a0,*a1,*a2) : sipCpp->paint(a0,*a1,*a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_paint, doc_QItemDelegate_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_sizeHint, "QItemDelegate.sizeHint(QStyleOptionViewItem, QModelIndex) -> QSize");

extern "C" {static PyObject *meth_QItemDelegate_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStyleOptionViewItem* a0;
        const QModelIndex* a1;
        const QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QItemDelegate::sizeHint(*a0,*a1) : sipCpp->sizeHint(*a0,*a1)));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_sizeHint, doc_QItemDelegate_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_createEditor, "QItemDelegate.createEditor(QWidget, QStyleOptionViewItem, QModelIndex) -> QWidget");

extern "C" {static PyObject *meth_QItemDelegate_createEditor(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_createEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        sipWrapper *sipOwner = 0;
        const QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJHJ9J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QWidget, &a0, &sipOwner, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            QWidget*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QItemDelegate::createEditor(a0,*a1,*a2) : sipCpp->createEditor(a0,*a1,*a2));

            return sipConvertFromNewType(sipRes,sipType_QWidget,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_createEditor, doc_QItemDelegate_createEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_setEditorData, "QItemDelegate.setEditorData(QWidget, QModelIndex)");

extern "C" {static PyObject *meth_QItemDelegate_setEditorData(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_setEditorData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QModelIndex* a1;
        const QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QModelIndex, &a1))
        {
            (sipSelfWasArg ? sipCpp->QItemDelegate::setEditorData(a0,*a1) : sipCpp->setEditorData(a0,*a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_setEditorData, doc_QItemDelegate_setEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_setModelData, "QItemDelegate.setModelData(QWidget, QAbstractItemModel, QModelIndex)");

extern "C" {static PyObject *meth_QItemDelegate_setModelData(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_setModelData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemModel* a1;
        PyObject *a1Keep;
        const QModelIndex* a2;
        const QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8@J8J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QWidget, &a0, &a1Keep, sipType_QAbstractItemModel, &a1, sipType_QModelIndex, &a2))
        {
            (sipSelfWasArg ? sipCpp->QItemDelegate::setModelData(a0,a1,*a2) : sipCpp->setModelData(a0,a1,*a2));

            sipKeepReference(sipSelf, -30, a1Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_setModelData, doc_QItemDelegate_setModelData);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_updateEditorGeometry, "QItemDelegate.updateEditorGeometry(QWidget, QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QItemDelegate_updateEditorGeometry(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_updateEditorGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            (sipSelfWasArg ? sipCpp->QItemDelegate::updateEditorGeometry(a0,*a1,*a2) : sipCpp->updateEditorGeometry(a0,*a1,*a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_updateEditorGeometry, doc_QItemDelegate_updateEditorGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_itemEditorFactory, "QItemDelegate.itemEditorFactory() -> QItemEditorFactory");

extern "C" {static PyObject *meth_QItemDelegate_itemEditorFactory(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_itemEditorFactory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemDelegate, &sipCpp))
        {
            QItemEditorFactory*sipRes;

            sipRes = sipCpp->itemEditorFactory();

            return sipConvertFromType(sipRes,sipType_QItemEditorFactory,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_itemEditorFactory, doc_QItemDelegate_itemEditorFactory);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_setItemEditorFactory, "QItemDelegate.setItemEditorFactory(QItemEditorFactory)");

extern "C" {static PyObject *meth_QItemDelegate_setItemEditorFactory(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_setItemEditorFactory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QItemEditorFactory* a0;
        PyObject *a0Keep;
        QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QItemDelegate, &sipCpp, &a0Keep, sipType_QItemEditorFactory, &a0))
        {
            sipCpp->setItemEditorFactory(a0);

            sipKeepReference(sipSelf, -31, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_setItemEditorFactory, doc_QItemDelegate_setItemEditorFactory);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_hasClipping, "QItemDelegate.hasClipping() -> bool");

extern "C" {static PyObject *meth_QItemDelegate_hasClipping(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_hasClipping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QItemDelegate, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasClipping();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_hasClipping, doc_QItemDelegate_hasClipping);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_setClipping, "QItemDelegate.setClipping(bool)");

extern "C" {static PyObject *meth_QItemDelegate_setClipping(PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_setClipping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QItemDelegate, &sipCpp, &a0))
        {
            sipCpp->setClipping(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_setClipping, doc_QItemDelegate_setClipping);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_drawBackground, "QItemDelegate.drawBackground(QPainter, QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QItemDelegate_drawBackground(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_drawBackground(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            sipCpp->sipProtect_drawBackground(a0,*a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_drawBackground, doc_QItemDelegate_drawBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_drawCheck, "QItemDelegate.drawCheck(QPainter, QStyleOptionViewItem, QRect, Qt.CheckState)");

extern "C" {static PyObject *meth_QItemDelegate_drawCheck(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_drawCheck(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QRect* a2;
        Qt::CheckState a3;
        const sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9E", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QRect, &a2, sipType_Qt_CheckState, &a3))
        {
            sipCpp->sipProtectVirt_drawCheck(sipSelfWasArg,a0,*a1,*a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_drawCheck, doc_QItemDelegate_drawCheck);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_drawDecoration, "QItemDelegate.drawDecoration(QPainter, QStyleOptionViewItem, QRect, QPixmap)");

extern "C" {static PyObject *meth_QItemDelegate_drawDecoration(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_drawDecoration(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QRect* a2;
        const QPixmap* a3;
        const sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QRect, &a2, sipType_QPixmap, &a3))
        {
            sipCpp->sipProtectVirt_drawDecoration(sipSelfWasArg,a0,*a1,*a2,*a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_drawDecoration, doc_QItemDelegate_drawDecoration);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_drawDisplay, "QItemDelegate.drawDisplay(QPainter, QStyleOptionViewItem, QRect, str)");

extern "C" {static PyObject *meth_QItemDelegate_drawDisplay(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_drawDisplay(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QRect* a2;
        const QString* a3;
        int a3State = 0;
        const sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9J1", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QRect, &a2, sipType_QString,&a3, &a3State))
        {
            sipCpp->sipProtectVirt_drawDisplay(sipSelfWasArg,a0,*a1,*a2,*a3);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_drawDisplay, doc_QItemDelegate_drawDisplay);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_drawFocus, "QItemDelegate.drawFocus(QPainter, QStyleOptionViewItem, QRect)");

extern "C" {static PyObject *meth_QItemDelegate_drawFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_drawFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QRect* a2;
        const sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QRect, &a2))
        {
            sipCpp->sipProtectVirt_drawFocus(sipSelfWasArg,a0,*a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_drawFocus, doc_QItemDelegate_drawFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_eventFilter, "QItemDelegate.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QItemDelegate_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_eventFilter, doc_QItemDelegate_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QItemDelegate_editorEvent, "QItemDelegate.editorEvent(QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QItemDelegate_editorEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QItemDelegate_editorEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QAbstractItemModel* a1;
        const QStyleOptionViewItem* a2;
        const QModelIndex* a3;
        sipQItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8J9J9", &sipSelf, sipType_QItemDelegate, &sipCpp, sipType_QEvent, &a0, sipType_QAbstractItemModel, &a1, sipType_QStyleOptionViewItem, &a2, sipType_QModelIndex, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_editorEvent(sipSelfWasArg,a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QItemDelegate, sipName_editorEvent, doc_QItemDelegate_editorEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QItemDelegate(void *, const sipTypeDef *);}
static void *cast_QItemDelegate(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QItemDelegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemDelegate)->ctd_cast((QAbstractItemDelegate *)(QItemDelegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QItemDelegate(void *, int);}
static void release_QItemDelegate(void *sipCppV,int)
{
    QItemDelegate *sipCpp = reinterpret_cast<QItemDelegate *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QItemDelegate(sipSimpleWrapper *);}
static void dealloc_QItemDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QItemDelegate(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QItemDelegate(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QItemDelegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQItemDelegate *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQItemDelegate(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QItemDelegate[] = {{2, 255, 1}};


static PyMethodDef methods_QItemDelegate[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QItemDelegate_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QItemDelegate_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createEditor), meth_QItemDelegate_createEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_createEditor)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QItemDelegate_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QItemDelegate_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawBackground), (PyCFunction)meth_QItemDelegate_drawBackground, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemDelegate_drawBackground)},
    {SIP_MLNAME_CAST(sipName_drawCheck), (PyCFunction)meth_QItemDelegate_drawCheck, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemDelegate_drawCheck)},
    {SIP_MLNAME_CAST(sipName_drawDecoration), (PyCFunction)meth_QItemDelegate_drawDecoration, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemDelegate_drawDecoration)},
    {SIP_MLNAME_CAST(sipName_drawDisplay), (PyCFunction)meth_QItemDelegate_drawDisplay, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemDelegate_drawDisplay)},
    {SIP_MLNAME_CAST(sipName_drawFocus), (PyCFunction)meth_QItemDelegate_drawFocus, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemDelegate_drawFocus)},
    {SIP_MLNAME_CAST(sipName_editorEvent), (PyCFunction)meth_QItemDelegate_editorEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemDelegate_editorEvent)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QItemDelegate_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QItemDelegate_eventFilter)},
    {SIP_MLNAME_CAST(sipName_hasClipping), meth_QItemDelegate_hasClipping, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_hasClipping)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QItemDelegate_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemEditorFactory), meth_QItemDelegate_itemEditorFactory, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_itemEditorFactory)},
    {SIP_MLNAME_CAST(sipName_paint), meth_QItemDelegate_paint, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_paint)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QItemDelegate_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QItemDelegate_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QItemDelegate_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setClipping), meth_QItemDelegate_setClipping, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_setClipping)},
    {SIP_MLNAME_CAST(sipName_setEditorData), meth_QItemDelegate_setEditorData, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_setEditorData)},
    {SIP_MLNAME_CAST(sipName_setItemEditorFactory), meth_QItemDelegate_setItemEditorFactory, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_setItemEditorFactory)},
    {SIP_MLNAME_CAST(sipName_setModelData), meth_QItemDelegate_setModelData, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_setModelData)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QItemDelegate_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_sizeHint)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QItemDelegate_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometry), meth_QItemDelegate_updateEditorGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QItemDelegate_updateEditorGeometry)}
};

PyDoc_STRVAR(doc_QItemDelegate, "\1QItemDelegate(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QItemDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QItemDelegate,
        {0}
    },
    {
        sipNameNr_QItemDelegate,
        {0, 0, 1},
        26, methods_QItemDelegate,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QItemDelegate,
    -1,
    -1,
    supers_QItemDelegate,
    0,
    init_type_QItemDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QItemDelegate,
    0,
    0,
    0,
    release_QItemDelegate,
    cast_QItemDelegate,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QItemDelegate::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 247984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 247988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QInputDialog_InputDialogOptions___bool__(PyObject *);}
static int slot_QInputDialog_InputDialogOptions___bool__(PyObject *sipSelf)
{
    QInputDialog::InputDialogOptions *sipCpp = reinterpret_cast<QInputDialog::InputDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QInputDialog_InputDialogOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QInputDialog::InputDialogOptions::Int() != 0);
#line 248006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QInputDialog::InputDialogOptions *sipCpp = reinterpret_cast<QInputDialog::InputDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QInputDialog_InputDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QInputDialog::InputDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QInputDialog_InputDialogOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QInputDialog::InputDialogOptions::Int() != a0->operator QInputDialog::InputDialogOptions::Int());
#line 248036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QInputDialog::InputDialogOptions *>(a0),sipType_QInputDialog_InputDialogOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QInputDialog_InputDialogOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QInputDialog::InputDialogOptions *sipCpp = reinterpret_cast<QInputDialog::InputDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QInputDialog_InputDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QInputDialog::InputDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QInputDialog_InputDialogOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QInputDialog::InputDialogOptions::Int() == a0->operator QInputDialog::InputDialogOptions::Int());
#line 248072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QInputDialog::InputDialogOptions *>(a0),sipType_QInputDialog_InputDialogOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QInputDialog_InputDialogOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___invert__(PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___invert__(PyObject *sipSelf)
{
    QInputDialog::InputDialogOptions *sipCpp = reinterpret_cast<QInputDialog::InputDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QInputDialog_InputDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            QInputDialog::InputDialogOptions*sipRes;

            sipRes = new QInputDialog::InputDialogOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QInputDialog_InputDialogOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QInputDialog::InputDialogOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QInputDialog_InputDialogOptions, &a0, &a0State, &a1))
        {
            QInputDialog::InputDialogOptions*sipRes;

            sipRes = new QInputDialog::InputDialogOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QInputDialog_InputDialogOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QInputDialog_InputDialogOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QInputDialog::InputDialogOptions* a0;
        int a0State = 0;
        QInputDialog::InputDialogOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QInputDialog_InputDialogOptions, &a0, &a0State, sipType_QInputDialog_InputDialogOptions, &a1, &a1State))
        {
            QInputDialog::InputDialogOptions*sipRes;

            sipRes = new QInputDialog::InputDialogOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QInputDialog_InputDialogOptions,a0State);
            sipReleaseType(a1,sipType_QInputDialog_InputDialogOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QInputDialog_InputDialogOptions,NULL);
        }
    }

    {
        QInputDialog::InputDialogOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QInputDialog_InputDialogOptions, &a0, &a0State, &a1))
        {
            QInputDialog::InputDialogOptions*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QInputDialog::InputDialogOptions(*a0 ^ a1);
#line 248175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QInputDialog_InputDialogOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QInputDialog_InputDialogOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QInputDialog::InputDialogOptions* a0;
        int a0State = 0;
        QInputDialog::InputDialogOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QInputDialog_InputDialogOptions, &a0, &a0State, sipType_QInputDialog_InputDialogOptions, &a1, &a1State))
        {
            QInputDialog::InputDialogOptions*sipRes;

            sipRes = new QInputDialog::InputDialogOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QInputDialog_InputDialogOptions,a0State);
            sipReleaseType(a1,sipType_QInputDialog_InputDialogOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QInputDialog_InputDialogOptions,NULL);
        }
    }

    {
        QInputDialog::InputDialogOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QInputDialog_InputDialogOptions, &a0, &a0State, &a1))
        {
            QInputDialog::InputDialogOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QInputDialog::InputDialogOptions(*a0 | a1);
#line 248225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QInputDialog_InputDialogOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QInputDialog_InputDialogOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___int__(PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___int__(PyObject *sipSelf)
{
    QInputDialog::InputDialogOptions *sipCpp = reinterpret_cast<QInputDialog::InputDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QInputDialog_InputDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QInputDialog_InputDialogOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QInputDialog_InputDialogOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QInputDialog::InputDialogOptions *sipCpp = reinterpret_cast<QInputDialog::InputDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QInputDialog_InputDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QInputDialog::InputDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QInputDialog_InputDialogOptions, &a0, &a0State))
        {
            sipCpp->QInputDialog::InputDialogOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QInputDialog_InputDialogOptions,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_QInputDialog_InputDialogOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QInputDialog_InputDialogOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QInputDialog::InputDialogOptions *sipCpp = reinterpret_cast<QInputDialog::InputDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QInputDialog_InputDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QInputDialog::InputDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QInputDialog_InputDialogOptions, &a0, &a0State))
        {
            sipCpp->QInputDialog::InputDialogOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QInputDialog_InputDialogOptions,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_QInputDialog_InputDialogOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QInputDialog_InputDialogOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QInputDialog_InputDialogOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QInputDialog::InputDialogOptions *sipCpp = reinterpret_cast<QInputDialog::InputDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QInputDialog_InputDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QInputDialog::InputDialogOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QInputDialog_InputDialogOptions(void *, const sipTypeDef *);}
static void *cast_QInputDialog_InputDialogOptions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QInputDialog_InputDialogOptions)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QInputDialog_InputDialogOptions(void *, int);}
static void release_QInputDialog_InputDialogOptions(void *sipCppV,int)
{
    delete reinterpret_cast<QInputDialog::InputDialogOptions *>(sipCppV);
}


extern "C" {static void assign_QInputDialog_InputDialogOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QInputDialog_InputDialogOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QInputDialog::InputDialogOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QInputDialog::InputDialogOptions *>(sipSrc);
}


extern "C" {static void *array_QInputDialog_InputDialogOptions(SIP_SSIZE_T);}
static void *array_QInputDialog_InputDialogOptions(SIP_SSIZE_T sipNrElem)
{
    return new QInputDialog::InputDialogOptions[sipNrElem];
}


extern "C" {static void *copy_QInputDialog_InputDialogOptions(const void *, SIP_SSIZE_T);}
static void *copy_QInputDialog_InputDialogOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QInputDialog::InputDialogOptions(reinterpret_cast<const QInputDialog::InputDialogOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QInputDialog_InputDialogOptions(sipSimpleWrapper *);}
static void dealloc_QInputDialog_InputDialogOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QInputDialog_InputDialogOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QInputDialog_InputDialogOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QInputDialog_InputDialogOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QInputDialog::InputDialogOptions *sipCpp = 0;

    {
        const QInputDialog::InputDialogOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QInputDialog_InputDialogOptions, &a0, &a0State))
        {
            sipCpp = new QInputDialog::InputDialogOptions(*a0);
            sipReleaseType(const_cast<QInputDialog::InputDialogOptions *>(a0),sipType_QInputDialog_InputDialogOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QInputDialog::InputDialogOptions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QInputDialog::InputDialogOptions();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QInputDialog_InputDialogOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QInputDialog_InputDialogOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QInputDialog::InputDialogOptions **sipCppPtr = reinterpret_cast<QInputDialog::InputDialogOptions **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QInputDialog::InputDialogOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QInputDialog_InputDialogOption)) ||
            sipCanConvertToType(sipPy, sipType_QInputDialog_InputDialogOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QInputDialog_InputDialogOption)))
{
    *sipCppPtr = new QInputDialog::InputDialogOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QInputDialog::InputDialogOptions *>(sipConvertToType(sipPy, sipType_QInputDialog_InputDialogOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 248502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QInputDialog_InputDialogOptions[] = {
    {(void *)slot_QInputDialog_InputDialogOptions___bool__, bool_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___ne__, ne_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___eq__, eq_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___invert__, invert_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___and__, and_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___xor__, xor_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___or__, or_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___int__, int_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___ixor__, ixor_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___ior__, ior_slot},
    {(void *)slot_QInputDialog_InputDialogOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QInputDialog_InputDialogOptions, "\1QInputDialog.InputDialogOptions(QInputDialog.InputDialogOptions)\n"
    "QInputDialog.InputDialogOptions(int)\n"
    "QInputDialog.InputDialogOptions()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QInputDialog_InputDialogOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QInputDialog__InputDialogOptions,
        {0}
    },
    {
        sipNameNr_InputDialogOptions,
        {173, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QInputDialog_InputDialogOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QInputDialog_InputDialogOptions,
    init_type_QInputDialog_InputDialogOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QInputDialog_InputDialogOptions,
    assign_QInputDialog_InputDialogOptions,
    array_QInputDialog_InputDialogOptions,
    copy_QInputDialog_InputDialogOptions,
    release_QInputDialog_InputDialogOptions,
    cast_QInputDialog_InputDialogOptions,
    convertTo_QInputDialog_InputDialogOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 248584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 248588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 248591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 248594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 248597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 248600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 248603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qinputdialog.sip"
#include <qinputdialog.h>
#line 248606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 248609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 248612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 248615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 248633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 248636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 248639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 248642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 248645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 248648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 248651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 248654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 248657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 248660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 248663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 248666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 248669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 248672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 248675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 248678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 248681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 248684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 248687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 248690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 248693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 248732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 248735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 248738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 248741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 248744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 248747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 248750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 248753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 248756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 248759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 248762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 248765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 248768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 248771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 248774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 248777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 248780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 248783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 248786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 248789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 248792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 248795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQInputDialog : public QInputDialog
{
public:
    sipQInputDialog(QWidget*,Qt::WindowFlags);
    virtual ~sipQInputDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void closeEvent(QCloseEvent*);
    void keyPressEvent(QKeyEvent*);
    void reject();
    void accept();
    int exec();
    void done(int);
    void setVisible(bool);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    void open();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQInputDialog(const sipQInputDialog &);
    sipQInputDialog &operator = (const sipQInputDialog &);

    char sipPyMethods[51];
};

sipQInputDialog::sipQInputDialog(QWidget*a0,Qt::WindowFlags a1): QInputDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQInputDialog::~sipQInputDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQInputDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QInputDialog);
}

int sipQInputDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QInputDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QInputDialog,_c,_id,_a);

    return _id;
}

void *sipQInputDialog::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QInputDialog, _clname, &sipCpp) ? sipCpp : QInputDialog::qt_metacast(_clname));
}

void sipQInputDialog::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QInputDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QInputDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QInputDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QInputDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QInputDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QInputDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQInputDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QInputDialog::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQInputDialog::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QInputDialog::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQInputDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QInputDialog::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQInputDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QInputDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQInputDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QInputDialog::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QInputDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQInputDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QInputDialog::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QInputDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QInputDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QInputDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QInputDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QInputDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QInputDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QInputDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QInputDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QInputDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QInputDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QInputDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QInputDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QInputDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QInputDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QInputDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QInputDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QInputDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QInputDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QInputDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QInputDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQInputDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QInputDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQInputDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QInputDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQInputDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QInputDialog::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQInputDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QInputDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQInputDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QInputDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQInputDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QInputDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QInputDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QInputDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QInputDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QInputDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QInputDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQInputDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QInputDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQInputDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return QInputDialog::exec();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQInputDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QInputDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQInputDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QInputDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQInputDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QInputDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQInputDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QInputDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQInputDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        QInputDialog::open();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQInputDialog::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQInputDialog::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQInputDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQInputDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQInputDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQInputDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQInputDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQInputDialog::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQInputDialog::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQInputDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQInputDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQInputDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQInputDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQInputDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQInputDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQInputDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQInputDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQInputDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQInputDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQInputDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQInputDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQInputDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQInputDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQInputDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQInputDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQInputDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQInputDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQInputDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQInputDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQInputDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQInputDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQInputDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQInputDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQInputDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQInputDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQInputDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQInputDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQInputDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQInputDialog::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQInputDialog::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQInputDialog::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQInputDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQInputDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QDialog::closeEvent(a0) : closeEvent(a0));
}

void sipQInputDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipQInputDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipQInputDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQInputDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}


PyDoc_STRVAR(doc_QInputDialog_sender, "QInputDialog.sender() -> QObject");

extern "C" {static PyObject *meth_QInputDialog_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 250111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_sender, doc_QInputDialog_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_receivers, "QInputDialog.receivers(signal) -> int");

extern "C" {static PyObject *meth_QInputDialog_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 250170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_receivers, doc_QInputDialog_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_timerEvent, "QInputDialog.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QInputDialog_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_timerEvent, doc_QInputDialog_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_childEvent, "QInputDialog.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QInputDialog_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_childEvent, doc_QInputDialog_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_customEvent, "QInputDialog.customEvent(QEvent)");

extern "C" {static PyObject *meth_QInputDialog_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_customEvent, doc_QInputDialog_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_connectNotify, "QInputDialog.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QInputDialog_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_connectNotify, doc_QInputDialog_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_disconnectNotify, "QInputDialog.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QInputDialog_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_disconnectNotify, doc_QInputDialog_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_senderSignalIndex, "QInputDialog.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QInputDialog_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_senderSignalIndex, doc_QInputDialog_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_isSignalConnected, "QInputDialog.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QInputDialog_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_isSignalConnected, doc_QInputDialog_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_event, "QInputDialog.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QInputDialog_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_event, doc_QInputDialog_event);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_mousePressEvent, "QInputDialog.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QInputDialog_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_mousePressEvent, doc_QInputDialog_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_mouseReleaseEvent, "QInputDialog.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QInputDialog_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_mouseReleaseEvent, doc_QInputDialog_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_mouseDoubleClickEvent, "QInputDialog.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QInputDialog_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_mouseDoubleClickEvent, doc_QInputDialog_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_mouseMoveEvent, "QInputDialog.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QInputDialog_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_mouseMoveEvent, doc_QInputDialog_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_wheelEvent, "QInputDialog.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QInputDialog_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_wheelEvent, doc_QInputDialog_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_keyReleaseEvent, "QInputDialog.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QInputDialog_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_keyReleaseEvent, doc_QInputDialog_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_focusInEvent, "QInputDialog.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QInputDialog_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_focusInEvent, doc_QInputDialog_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_focusOutEvent, "QInputDialog.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QInputDialog_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_focusOutEvent, doc_QInputDialog_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_enterEvent, "QInputDialog.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QInputDialog_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_enterEvent, doc_QInputDialog_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_leaveEvent, "QInputDialog.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QInputDialog_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_leaveEvent, doc_QInputDialog_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_paintEvent, "QInputDialog.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QInputDialog_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_paintEvent, doc_QInputDialog_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_moveEvent, "QInputDialog.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QInputDialog_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_moveEvent, doc_QInputDialog_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_tabletEvent, "QInputDialog.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QInputDialog_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_tabletEvent, doc_QInputDialog_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_actionEvent, "QInputDialog.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QInputDialog_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_actionEvent, doc_QInputDialog_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_dragEnterEvent, "QInputDialog.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QInputDialog_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_dragEnterEvent, doc_QInputDialog_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_dragMoveEvent, "QInputDialog.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QInputDialog_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_dragMoveEvent, doc_QInputDialog_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_dragLeaveEvent, "QInputDialog.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QInputDialog_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_dragLeaveEvent, doc_QInputDialog_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_dropEvent, "QInputDialog.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QInputDialog_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_dropEvent, doc_QInputDialog_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_hideEvent, "QInputDialog.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QInputDialog_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_hideEvent, doc_QInputDialog_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_changeEvent, "QInputDialog.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QInputDialog_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_changeEvent, doc_QInputDialog_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_metric, "QInputDialog.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QInputDialog_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_metric, doc_QInputDialog_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_inputMethodEvent, "QInputDialog.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QInputDialog_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_inputMethodEvent, doc_QInputDialog_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_updateMicroFocus, "QInputDialog.updateMicroFocus()");

extern "C" {static PyObject *meth_QInputDialog_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_updateMicroFocus, doc_QInputDialog_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_create, "QInputDialog.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QInputDialog_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQInputDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_create, doc_QInputDialog_create);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_destroy, "QInputDialog.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QInputDialog_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQInputDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QInputDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_destroy, doc_QInputDialog_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_focusNextPrevChild, "QInputDialog.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QInputDialog_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_focusNextPrevChild, doc_QInputDialog_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_focusNextChild, "QInputDialog.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QInputDialog_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_focusNextChild, doc_QInputDialog_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_focusPreviousChild, "QInputDialog.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QInputDialog_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_focusPreviousChild, doc_QInputDialog_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_nativeEvent, "QInputDialog.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QInputDialog_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_nativeEvent, doc_QInputDialog_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_sharedPainter, "QInputDialog.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QInputDialog_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_sharedPainter, doc_QInputDialog_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_initPainter, "QInputDialog.initPainter(QPainter)");

extern "C" {static PyObject *meth_QInputDialog_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_initPainter, doc_QInputDialog_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_keyPressEvent, "QInputDialog.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QInputDialog_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_keyPressEvent, doc_QInputDialog_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_closeEvent, "QInputDialog.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QInputDialog_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_closeEvent, doc_QInputDialog_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_showEvent, "QInputDialog.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QInputDialog_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_showEvent, doc_QInputDialog_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_resizeEvent, "QInputDialog.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QInputDialog_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_resizeEvent, doc_QInputDialog_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_contextMenuEvent, "QInputDialog.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QInputDialog_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_contextMenuEvent, doc_QInputDialog_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_eventFilter, "QInputDialog.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QInputDialog_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQInputDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_eventFilter, doc_QInputDialog_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_getText, "QInputDialog.getText(QWidget, str, str, QLineEdit.EchoMode echo=QLineEdit.Normal, str text=QString(), Qt.WindowFlags flags=0, Qt.InputMethodHints inputMethodHints=Qt.ImhNone) -> (str, bool)");

extern "C" {static PyObject *meth_QInputDialog_getText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_getText(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QLineEdit::EchoMode a3 = QLineEdit::Normal;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;
        bool a5;
        Qt::WindowFlags a6def = 0;
        Qt::WindowFlags* a6 = &a6def;
        int a6State = 0;
        Qt::InputMethodHints a7def = Qt::ImhNone;
        Qt::InputMethodHints* a7 = &a7def;
        int a7State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_echo,
            sipName_text,
            sipName_flags,
            sipName_inputMethodHints,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J1J1|EJ1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QLineEdit_EchoMode, &a3, sipType_QString,&a4, &a4State, sipType_Qt_WindowFlags, &a6, &a6State, sipType_Qt_InputMethodHints, &a7, &a7State))
        {
            QString*sipRes;

            sipRes = new QString(QInputDialog::getText(a0,*a1,*a2,a3,*a4,&a5,*a6,*a7));
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);
            sipReleaseType(a6,sipType_Qt_WindowFlags,a6State);
            sipReleaseType(a7,sipType_Qt_InputMethodHints,a7State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QString,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a5);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_getText, doc_QInputDialog_getText);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_getInt, "QInputDialog.getInt(QWidget, str, str, int value=0, int min=-2147483647, int max=2147483647, int step=1, Qt.WindowFlags flags=0) -> (int, bool)");

extern "C" {static PyObject *meth_QInputDialog_getInt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_getInt(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        int a3 = 0;
        int a4 = -2147483647;
        int a5 = 2147483647;
        int a6 = 1;
        bool a7;
        Qt::WindowFlags a8def = 0;
        Qt::WindowFlags* a8 = &a8def;
        int a8State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_value,
            sipName_min,
            sipName_max,
            sipName_step,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J1J1|iiiiJ1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3, &a4, &a5, &a6, sipType_Qt_WindowFlags, &a8, &a8State))
        {
            int sipRes;

            sipRes = QInputDialog::getInt(a0,*a1,*a2,a3,a4,a5,a6,&a7,*a8);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a8,sipType_Qt_WindowFlags,a8State);

            return sipBuildResult(0,"(ib)",sipRes,a7);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_getInt, doc_QInputDialog_getInt);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_getDouble, "QInputDialog.getDouble(QWidget, str, str, float value=0, float min=-2147483647, float max=2147483647, int decimals=1, Qt.WindowFlags flags=0) -> (float, bool)");

extern "C" {static PyObject *meth_QInputDialog_getDouble(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_getDouble(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        double a3 = 0;
        double a4 = -2147483647;
        double a5 = 2147483647;
        int a6 = 1;
        bool a7;
        Qt::WindowFlags a8def = 0;
        Qt::WindowFlags* a8 = &a8def;
        int a8State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_value,
            sipName_min,
            sipName_max,
            sipName_decimals,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J1J1|dddiJ1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, &a3, &a4, &a5, &a6, sipType_Qt_WindowFlags, &a8, &a8State))
        {
            double sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QInputDialog::getDouble(a0,*a1,*a2,a3,a4,a5,a6,&a7,*a8);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a8,sipType_Qt_WindowFlags,a8State);

            return sipBuildResult(0,"(db)",sipRes,a7);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_getDouble, doc_QInputDialog_getDouble);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_getItem, "QInputDialog.getItem(QWidget, str, str, list-of-str, int current=0, bool editable=True, Qt.WindowFlags flags=0, Qt.InputMethodHints inputMethodHints=Qt.ImhNone) -> (str, bool)");

extern "C" {static PyObject *meth_QInputDialog_getItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_getItem(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QStringList* a3;
        int a3State = 0;
        int a4 = 0;
        bool a5 = 1;
        bool a6;
        Qt::WindowFlags a7def = 0;
        Qt::WindowFlags* a7 = &a7def;
        int a7State = 0;
        Qt::InputMethodHints a8def = Qt::ImhNone;
        Qt::InputMethodHints* a8 = &a8def;
        int a8State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_current,
            sipName_editable,
            sipName_flags,
            sipName_inputMethodHints,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J1J1J1|ibJ1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QStringList,&a3, &a3State, &a4, &a5, sipType_Qt_WindowFlags, &a7, &a7State, sipType_Qt_InputMethodHints, &a8, &a8State))
        {
            QString*sipRes;

            sipRes = new QString(QInputDialog::getItem(a0,*a1,*a2,*a3,a4,a5,&a6,*a7,*a8));
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QStringList *>(a3),sipType_QStringList,a3State);
            sipReleaseType(a7,sipType_Qt_WindowFlags,a7State);
            sipReleaseType(a8,sipType_Qt_InputMethodHints,a8State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QString,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a6);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_getItem, doc_QInputDialog_getItem);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_getMultiLineText, "QInputDialog.getMultiLineText(QWidget, str, str, str text='', Qt.WindowFlags flags=0, Qt.InputMethodHints inputMethodHints=Qt.ImhNone) -> (str, bool)");

extern "C" {static PyObject *meth_QInputDialog_getMultiLineText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_getMultiLineText(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        bool a4;
        Qt::WindowFlags a5def = 0;
        Qt::WindowFlags* a5 = &a5def;
        int a5State = 0;
        Qt::InputMethodHints a6def = Qt::ImhNone;
        Qt::InputMethodHints* a6 = &a6def;
        int a6State = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_text,
            sipName_flags,
            sipName_inputMethodHints,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8J1J1|J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_Qt_WindowFlags, &a5, &a5State, sipType_Qt_InputMethodHints, &a6, &a6State))
        {
            QString*sipRes;

            sipRes = new QString(QInputDialog::getMultiLineText(a0,*a1,*a2,*a3,&a4,*a5,*a6));
            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(a5,sipType_Qt_WindowFlags,a5State);
            sipReleaseType(a6,sipType_Qt_InputMethodHints,a6State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QString,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a4);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_getMultiLineText, doc_QInputDialog_getMultiLineText);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setInputMode, "QInputDialog.setInputMode(QInputDialog.InputMode)");

extern "C" {static PyObject *meth_QInputDialog_setInputMode(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setInputMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QInputDialog::InputMode a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QInputDialog_InputMode, &a0))
        {
            sipCpp->setInputMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setInputMode, doc_QInputDialog_setInputMode);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_inputMode, "QInputDialog.inputMode() -> QInputDialog.InputMode");

extern "C" {static PyObject *meth_QInputDialog_inputMode(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_inputMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QInputDialog::InputMode sipRes;

            sipRes = sipCpp->inputMode();

            return sipConvertFromEnum(sipRes,sipType_QInputDialog_InputMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_inputMode, doc_QInputDialog_inputMode);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setLabelText, "QInputDialog.setLabelText(str)");

extern "C" {static PyObject *meth_QInputDialog_setLabelText(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setLabelText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setLabelText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setLabelText, doc_QInputDialog_setLabelText);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_labelText, "QInputDialog.labelText() -> str");

extern "C" {static PyObject *meth_QInputDialog_labelText(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_labelText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->labelText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_labelText, doc_QInputDialog_labelText);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setOption, "QInputDialog.setOption(QInputDialog.InputDialogOption, bool on=True)");

extern "C" {static PyObject *meth_QInputDialog_setOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QInputDialog::InputDialogOption a0;
        bool a1 = 1;
        QInputDialog *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QInputDialog_InputDialogOption, &a0, &a1))
        {
            sipCpp->setOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setOption, doc_QInputDialog_setOption);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_testOption, "QInputDialog.testOption(QInputDialog.InputDialogOption) -> bool");

extern "C" {static PyObject *meth_QInputDialog_testOption(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_testOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QInputDialog::InputDialogOption a0;
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QInputDialog_InputDialogOption, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testOption(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_testOption, doc_QInputDialog_testOption);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setOptions, "QInputDialog.setOptions(QInputDialog.InputDialogOptions)");

extern "C" {static PyObject *meth_QInputDialog_setOptions(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QInputDialog::InputDialogOptions* a0;
        int a0State = 0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QInputDialog_InputDialogOptions, &a0, &a0State))
        {
            sipCpp->setOptions(*a0);
            sipReleaseType(a0,sipType_QInputDialog_InputDialogOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setOptions, doc_QInputDialog_setOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_options, "QInputDialog.options() -> QInputDialog.InputDialogOptions");

extern "C" {static PyObject *meth_QInputDialog_options(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QInputDialog::InputDialogOptions*sipRes;

            sipRes = new QInputDialog::InputDialogOptions(sipCpp->options());

            return sipConvertFromNewType(sipRes,sipType_QInputDialog_InputDialogOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_options, doc_QInputDialog_options);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setTextValue, "QInputDialog.setTextValue(str)");

extern "C" {static PyObject *meth_QInputDialog_setTextValue(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setTextValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setTextValue(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setTextValue, doc_QInputDialog_setTextValue);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_textValue, "QInputDialog.textValue() -> str");

extern "C" {static PyObject *meth_QInputDialog_textValue(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_textValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->textValue());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_textValue, doc_QInputDialog_textValue);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setTextEchoMode, "QInputDialog.setTextEchoMode(QLineEdit.EchoMode)");

extern "C" {static PyObject *meth_QInputDialog_setTextEchoMode(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setTextEchoMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit::EchoMode a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QLineEdit_EchoMode, &a0))
        {
            sipCpp->setTextEchoMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setTextEchoMode, doc_QInputDialog_setTextEchoMode);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_textEchoMode, "QInputDialog.textEchoMode() -> QLineEdit.EchoMode");

extern "C" {static PyObject *meth_QInputDialog_textEchoMode(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_textEchoMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QLineEdit::EchoMode sipRes;

            sipRes = sipCpp->textEchoMode();

            return sipConvertFromEnum(sipRes,sipType_QLineEdit_EchoMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_textEchoMode, doc_QInputDialog_textEchoMode);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setComboBoxEditable, "QInputDialog.setComboBoxEditable(bool)");

extern "C" {static PyObject *meth_QInputDialog_setComboBoxEditable(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setComboBoxEditable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipCpp->setComboBoxEditable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setComboBoxEditable, doc_QInputDialog_setComboBoxEditable);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_isComboBoxEditable, "QInputDialog.isComboBoxEditable() -> bool");

extern "C" {static PyObject *meth_QInputDialog_isComboBoxEditable(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_isComboBoxEditable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isComboBoxEditable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_isComboBoxEditable, doc_QInputDialog_isComboBoxEditable);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setComboBoxItems, "QInputDialog.setComboBoxItems(list-of-str)");

extern "C" {static PyObject *meth_QInputDialog_setComboBoxItems(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setComboBoxItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setComboBoxItems(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setComboBoxItems, doc_QInputDialog_setComboBoxItems);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_comboBoxItems, "QInputDialog.comboBoxItems() -> list-of-str");

extern "C" {static PyObject *meth_QInputDialog_comboBoxItems(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_comboBoxItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->comboBoxItems());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_comboBoxItems, doc_QInputDialog_comboBoxItems);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setIntValue, "QInputDialog.setIntValue(int)");

extern "C" {static PyObject *meth_QInputDialog_setIntValue(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setIntValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipCpp->setIntValue(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setIntValue, doc_QInputDialog_setIntValue);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_intValue, "QInputDialog.intValue() -> int");

extern "C" {static PyObject *meth_QInputDialog_intValue(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_intValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->intValue();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_intValue, doc_QInputDialog_intValue);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setIntMinimum, "QInputDialog.setIntMinimum(int)");

extern "C" {static PyObject *meth_QInputDialog_setIntMinimum(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setIntMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipCpp->setIntMinimum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setIntMinimum, doc_QInputDialog_setIntMinimum);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_intMinimum, "QInputDialog.intMinimum() -> int");

extern "C" {static PyObject *meth_QInputDialog_intMinimum(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_intMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->intMinimum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_intMinimum, doc_QInputDialog_intMinimum);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setIntMaximum, "QInputDialog.setIntMaximum(int)");

extern "C" {static PyObject *meth_QInputDialog_setIntMaximum(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setIntMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipCpp->setIntMaximum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setIntMaximum, doc_QInputDialog_setIntMaximum);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_intMaximum, "QInputDialog.intMaximum() -> int");

extern "C" {static PyObject *meth_QInputDialog_intMaximum(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_intMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->intMaximum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_intMaximum, doc_QInputDialog_intMaximum);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setIntRange, "QInputDialog.setIntRange(int, int)");

extern "C" {static PyObject *meth_QInputDialog_setIntRange(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setIntRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QInputDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->setIntRange(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setIntRange, doc_QInputDialog_setIntRange);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setIntStep, "QInputDialog.setIntStep(int)");

extern "C" {static PyObject *meth_QInputDialog_setIntStep(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setIntStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipCpp->setIntStep(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setIntStep, doc_QInputDialog_setIntStep);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_intStep, "QInputDialog.intStep() -> int");

extern "C" {static PyObject *meth_QInputDialog_intStep(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_intStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->intStep();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_intStep, doc_QInputDialog_intStep);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setDoubleValue, "QInputDialog.setDoubleValue(float)");

extern "C" {static PyObject *meth_QInputDialog_setDoubleValue(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setDoubleValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipCpp->setDoubleValue(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setDoubleValue, doc_QInputDialog_setDoubleValue);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_doubleValue, "QInputDialog.doubleValue() -> float");

extern "C" {static PyObject *meth_QInputDialog_doubleValue(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_doubleValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            double sipRes;

            sipRes = sipCpp->doubleValue();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_doubleValue, doc_QInputDialog_doubleValue);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setDoubleMinimum, "QInputDialog.setDoubleMinimum(float)");

extern "C" {static PyObject *meth_QInputDialog_setDoubleMinimum(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setDoubleMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipCpp->setDoubleMinimum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setDoubleMinimum, doc_QInputDialog_setDoubleMinimum);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_doubleMinimum, "QInputDialog.doubleMinimum() -> float");

extern "C" {static PyObject *meth_QInputDialog_doubleMinimum(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_doubleMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            double sipRes;

            sipRes = sipCpp->doubleMinimum();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_doubleMinimum, doc_QInputDialog_doubleMinimum);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setDoubleMaximum, "QInputDialog.setDoubleMaximum(float)");

extern "C" {static PyObject *meth_QInputDialog_setDoubleMaximum(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setDoubleMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipCpp->setDoubleMaximum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setDoubleMaximum, doc_QInputDialog_setDoubleMaximum);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_doubleMaximum, "QInputDialog.doubleMaximum() -> float");

extern "C" {static PyObject *meth_QInputDialog_doubleMaximum(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_doubleMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            double sipRes;

            sipRes = sipCpp->doubleMaximum();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_doubleMaximum, doc_QInputDialog_doubleMaximum);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setDoubleRange, "QInputDialog.setDoubleRange(float, float)");

extern "C" {static PyObject *meth_QInputDialog_setDoubleRange(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setDoubleRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        double a1;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QInputDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->setDoubleRange(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setDoubleRange, doc_QInputDialog_setDoubleRange);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setDoubleDecimals, "QInputDialog.setDoubleDecimals(int)");

extern "C" {static PyObject *meth_QInputDialog_setDoubleDecimals(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setDoubleDecimals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipCpp->setDoubleDecimals(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setDoubleDecimals, doc_QInputDialog_setDoubleDecimals);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_doubleDecimals, "QInputDialog.doubleDecimals() -> int");

extern "C" {static PyObject *meth_QInputDialog_doubleDecimals(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_doubleDecimals(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->doubleDecimals();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_doubleDecimals, doc_QInputDialog_doubleDecimals);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setOkButtonText, "QInputDialog.setOkButtonText(str)");

extern "C" {static PyObject *meth_QInputDialog_setOkButtonText(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setOkButtonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setOkButtonText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setOkButtonText, doc_QInputDialog_setOkButtonText);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_okButtonText, "QInputDialog.okButtonText() -> str");

extern "C" {static PyObject *meth_QInputDialog_okButtonText(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_okButtonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->okButtonText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_okButtonText, doc_QInputDialog_okButtonText);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setCancelButtonText, "QInputDialog.setCancelButtonText(str)");

extern "C" {static PyObject *meth_QInputDialog_setCancelButtonText(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setCancelButtonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QInputDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCancelButtonText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setCancelButtonText, doc_QInputDialog_setCancelButtonText);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_cancelButtonText, "QInputDialog.cancelButtonText() -> str");

extern "C" {static PyObject *meth_QInputDialog_cancelButtonText(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_cancelButtonText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->cancelButtonText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_cancelButtonText, doc_QInputDialog_cancelButtonText);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_open, "QInputDialog.open()\n"
    "QInputDialog.open(slot)");

extern "C" {static PyObject *meth_QInputDialog_open(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QInputDialog::open() : sipCpp->open());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            sipErrorState sipError = sipErrorNone;

#line 107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qinputdialog.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipCpp->open(receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 252840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.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_QInputDialog, sipName_open, doc_QInputDialog_open);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_minimumSizeHint, "QInputDialog.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QInputDialog_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QInputDialog::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_minimumSizeHint, doc_QInputDialog_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_sizeHint, "QInputDialog.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QInputDialog_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QInputDialog, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QInputDialog::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_sizeHint, doc_QInputDialog_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_setVisible, "QInputDialog.setVisible(bool)");

extern "C" {static PyObject *meth_QInputDialog_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QInputDialog::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_setVisible, doc_QInputDialog_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QInputDialog_done, "QInputDialog.done(int)");

extern "C" {static PyObject *meth_QInputDialog_done(PyObject *, PyObject *);}
static PyObject *meth_QInputDialog_done(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QInputDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QInputDialog, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QInputDialog::done(a0) : sipCpp->done(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QInputDialog, sipName_done, doc_QInputDialog_done);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QInputDialog(void *, const sipTypeDef *);}
static void *cast_QInputDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QInputDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDialog)->ctd_cast((QDialog *)(QInputDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QInputDialog(void *, int);}
static void release_QInputDialog(void *sipCppV,int)
{
    QInputDialog *sipCpp = reinterpret_cast<QInputDialog *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QInputDialog(sipSimpleWrapper *);}
static void dealloc_QInputDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQInputDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QInputDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QInputDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QInputDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQInputDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQInputDialog(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QInputDialog[] = {{60, 255, 1}};


static PyMethodDef methods_QInputDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QInputDialog_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cancelButtonText), meth_QInputDialog_cancelButtonText, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_cancelButtonText)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QInputDialog_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QInputDialog_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QInputDialog_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_comboBoxItems), meth_QInputDialog_comboBoxItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_comboBoxItems)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QInputDialog_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QInputDialog_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QInputDialog_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QInputDialog_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QInputDialog_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QInputDialog_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_done), meth_QInputDialog_done, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_done)},
    {SIP_MLNAME_CAST(sipName_doubleDecimals), meth_QInputDialog_doubleDecimals, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_doubleDecimals)},
    {SIP_MLNAME_CAST(sipName_doubleMaximum), meth_QInputDialog_doubleMaximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_doubleMaximum)},
    {SIP_MLNAME_CAST(sipName_doubleMinimum), meth_QInputDialog_doubleMinimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_doubleMinimum)},
    {SIP_MLNAME_CAST(sipName_doubleValue), meth_QInputDialog_doubleValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_doubleValue)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QInputDialog_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QInputDialog_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QInputDialog_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QInputDialog_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QInputDialog_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QInputDialog_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QInputDialog_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QInputDialog_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QInputDialog_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QInputDialog_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QInputDialog_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QInputDialog_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_getDouble), (PyCFunction)meth_QInputDialog_getDouble, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QInputDialog_getDouble)},
    {SIP_MLNAME_CAST(sipName_getInt), (PyCFunction)meth_QInputDialog_getInt, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QInputDialog_getInt)},
    {SIP_MLNAME_CAST(sipName_getItem), (PyCFunction)meth_QInputDialog_getItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QInputDialog_getItem)},
    {SIP_MLNAME_CAST(sipName_getMultiLineText), (PyCFunction)meth_QInputDialog_getMultiLineText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QInputDialog_getMultiLineText)},
    {SIP_MLNAME_CAST(sipName_getText), (PyCFunction)meth_QInputDialog_getText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QInputDialog_getText)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QInputDialog_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QInputDialog_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QInputDialog_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMode), meth_QInputDialog_inputMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_inputMode)},
    {SIP_MLNAME_CAST(sipName_intMaximum), meth_QInputDialog_intMaximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_intMaximum)},
    {SIP_MLNAME_CAST(sipName_intMinimum), meth_QInputDialog_intMinimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_intMinimum)},
    {SIP_MLNAME_CAST(sipName_intStep), meth_QInputDialog_intStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_intStep)},
    {SIP_MLNAME_CAST(sipName_intValue), meth_QInputDialog_intValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_intValue)},
    {SIP_MLNAME_CAST(sipName_isComboBoxEditable), meth_QInputDialog_isComboBoxEditable, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_isComboBoxEditable)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QInputDialog_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QInputDialog_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QInputDialog_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_labelText), meth_QInputDialog_labelText, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_labelText)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QInputDialog_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QInputDialog_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QInputDialog_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QInputDialog_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QInputDialog_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QInputDialog_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QInputDialog_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QInputDialog_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QInputDialog_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_okButtonText), meth_QInputDialog_okButtonText, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_okButtonText)},
    {SIP_MLNAME_CAST(sipName_open), meth_QInputDialog_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_open)},
    {SIP_MLNAME_CAST(sipName_options), meth_QInputDialog_options, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_options)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QInputDialog_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QInputDialog_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QInputDialog_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QInputDialog_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QInputDialog_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCancelButtonText), meth_QInputDialog_setCancelButtonText, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setCancelButtonText)},
    {SIP_MLNAME_CAST(sipName_setComboBoxEditable), meth_QInputDialog_setComboBoxEditable, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setComboBoxEditable)},
    {SIP_MLNAME_CAST(sipName_setComboBoxItems), meth_QInputDialog_setComboBoxItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setComboBoxItems)},
    {SIP_MLNAME_CAST(sipName_setDoubleDecimals), meth_QInputDialog_setDoubleDecimals, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setDoubleDecimals)},
    {SIP_MLNAME_CAST(sipName_setDoubleMaximum), meth_QInputDialog_setDoubleMaximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setDoubleMaximum)},
    {SIP_MLNAME_CAST(sipName_setDoubleMinimum), meth_QInputDialog_setDoubleMinimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setDoubleMinimum)},
    {SIP_MLNAME_CAST(sipName_setDoubleRange), meth_QInputDialog_setDoubleRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setDoubleRange)},
    {SIP_MLNAME_CAST(sipName_setDoubleValue), meth_QInputDialog_setDoubleValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setDoubleValue)},
    {SIP_MLNAME_CAST(sipName_setInputMode), meth_QInputDialog_setInputMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setInputMode)},
    {SIP_MLNAME_CAST(sipName_setIntMaximum), meth_QInputDialog_setIntMaximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setIntMaximum)},
    {SIP_MLNAME_CAST(sipName_setIntMinimum), meth_QInputDialog_setIntMinimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setIntMinimum)},
    {SIP_MLNAME_CAST(sipName_setIntRange), meth_QInputDialog_setIntRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setIntRange)},
    {SIP_MLNAME_CAST(sipName_setIntStep), meth_QInputDialog_setIntStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setIntStep)},
    {SIP_MLNAME_CAST(sipName_setIntValue), meth_QInputDialog_setIntValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setIntValue)},
    {SIP_MLNAME_CAST(sipName_setLabelText), meth_QInputDialog_setLabelText, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setLabelText)},
    {SIP_MLNAME_CAST(sipName_setOkButtonText), meth_QInputDialog_setOkButtonText, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setOkButtonText)},
    {SIP_MLNAME_CAST(sipName_setOption), (PyCFunction)meth_QInputDialog_setOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QInputDialog_setOption)},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_QInputDialog_setOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setOptions)},
    {SIP_MLNAME_CAST(sipName_setTextEchoMode), meth_QInputDialog_setTextEchoMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setTextEchoMode)},
    {SIP_MLNAME_CAST(sipName_setTextValue), meth_QInputDialog_setTextValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setTextValue)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QInputDialog_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_setVisible)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QInputDialog_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QInputDialog_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QInputDialog_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QInputDialog_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_testOption), meth_QInputDialog_testOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_testOption)},
    {SIP_MLNAME_CAST(sipName_textEchoMode), meth_QInputDialog_textEchoMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_textEchoMode)},
    {SIP_MLNAME_CAST(sipName_textValue), meth_QInputDialog_textValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QInputDialog_textValue)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QInputDialog_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QInputDialog_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QInputDialog_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QInputDialog[] = {
    {sipName_DoubleInput, static_cast<int>(QInputDialog::DoubleInput), 176},
    {sipName_IntInput, static_cast<int>(QInputDialog::IntInput), 176},
    {sipName_NoButtons, static_cast<int>(QInputDialog::NoButtons), 174},
    {sipName_TextInput, static_cast<int>(QInputDialog::TextInput), 176},
    {sipName_UseListViewForComboBoxItems, static_cast<int>(QInputDialog::UseListViewForComboBoxItems), 174},
    {sipName_UsePlainTextEditForTextInput, static_cast<int>(QInputDialog::UsePlainTextEditForTextInput), 174},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QInputDialog[] = {
    {"doubleValueSelected(double)", "\1QInputDialog.doubleValueSelected[float]", 0, 0},
    {"doubleValueChanged(double)", "\1QInputDialog.doubleValueChanged[float]", 0, 0},
    {"intValueSelected(int)", "\1QInputDialog.intValueSelected[int]", 0, 0},
    {"intValueChanged(int)", "\1QInputDialog.intValueChanged[int]", 0, 0},
    {"textValueSelected(QString)", "\1QInputDialog.textValueSelected[str]", 0, 0},
    {"textValueChanged(QString)", "\1QInputDialog.textValueChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QInputDialog, "\1QInputDialog(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QInputDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QInputDialog,
        {0}
    },
    {
        sipNameNr_QInputDialog,
        {0, 0, 1},
        95, methods_QInputDialog,
        6, enummembers_QInputDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QInputDialog,
    -1,
    -1,
    supers_QInputDialog,
    0,
    init_type_QInputDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QInputDialog,
    0,
    0,
    0,
    release_QInputDialog,
    cast_QInputDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QInputDialog::staticMetaObject,
    0,
    signals_QInputDialog,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qheaderview.sip"
#include <qheaderview.h>
#line 253230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 253237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 253240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 253243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 253249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 253252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 253255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 253258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 253261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 253264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 253270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 253273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 253276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 253279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 253288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 253291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 253297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 253300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 253303 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253309 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253318 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253321 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 253327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 253333 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 253336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 253339 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 253342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 253345 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 253348 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 253351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 253354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253357 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253360 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 253363 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 253366 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 253369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 253372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 253378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253384 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 253387 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 253390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 253393 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 253396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 253399 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 253402 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 253405 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 253408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 253411 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 253429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 253432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 253435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 253438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 253441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 253444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 253450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 253453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 253456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 253459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 253462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 253465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 253468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 253471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 253474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 253477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 253480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 253483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 253486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 253489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQHeaderView : public QHeaderView
{
public:
    sipQHeaderView(Qt::Orientation,QWidget*);
    virtual ~sipQHeaderView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QSize sipProtectVirt_viewportSizeHint(bool) const;
    void sipProtect_updateSection(int);
    void sipProtect_resizeSections();
    void sipProtect_sectionsInserted(const QModelIndex&,int,int);
    void sipProtect_sectionsAboutToBeRemoved(const QModelIndex&,int,int);
    void sipProtect_initialize();
    void sipProtect_initializeSections();
    void sipProtect_initializeSections(int,int);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_paintSection(bool,QPainter*,const QRect&,int) const;
    QSize sipProtectVirt_sectionSizeFromContents(bool,int) const;
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    void sipProtectVirt_updateGeometries(bool);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_dataChanged(bool,const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    QRect sipProtectVirt_visualRect(bool,const QModelIndex&) const;
    void sipProtectVirt_scrollTo(bool,const QModelIndex&,QAbstractItemView::ScrollHint);
    QModelIndex sipProtectVirt_indexAt(bool,const QPoint&) const;
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    void sipProtect_initStyleOption(QStyleOptionHeader*) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    QSize minimumSizeHint() const;
    QSize viewportSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void timerEvent(QTimerEvent*);
    void resizeEvent(QResizeEvent*);
    void keyPressEvent(QKeyEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    QModelIndexList selectedIndexes() const;
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateEditorGeometries();
    void updateEditorData();
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void selectAll();
    void setRootIndex(const QModelIndex&);
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void keyboardSearch(const QString&);
    void setSelectionModel(QItemSelectionModel*);
    void setVisible(bool);
    void reset();
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    bool isIndexHidden(const QModelIndex&) const;
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void rowsInserted(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void scrollContentsBy(int,int);
    void updateGeometries();
    int verticalOffset() const;
    int horizontalOffset() const;
    QSize sectionSizeFromContents(int) const;
    void paintSection(QPainter*,const QRect&,int) const;
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    bool viewportEvent(QEvent*);
    bool event(QEvent*);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    QSize sizeHint() const;
    void setModel(QAbstractItemModel*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQHeaderView(const sipQHeaderView &);
    sipQHeaderView &operator = (const sipQHeaderView &);

    char sipPyMethods[89];
};

sipQHeaderView::sipQHeaderView(Qt::Orientation a0,QWidget*a1): QHeaderView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQHeaderView::~sipQHeaderView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQHeaderView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QHeaderView);
}

int sipQHeaderView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QHeaderView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QHeaderView,_c,_id,_a);

    return _id;
}

void *sipQHeaderView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QHeaderView, _clname, &sipCpp) ? sipCpp : QHeaderView::qt_metacast(_clname));
}

void sipQHeaderView::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QHeaderView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QHeaderView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QHeaderView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QHeaderView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QHeaderView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQHeaderView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QHeaderView::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQHeaderView::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QHeaderView::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQHeaderView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QHeaderView::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQHeaderView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QHeaderView::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QHeaderView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QHeaderView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QHeaderView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QHeaderView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QHeaderView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QHeaderView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QHeaderView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QHeaderView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QHeaderView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQHeaderView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QHeaderView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQHeaderView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QHeaderView::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQHeaderView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QHeaderView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHeaderView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QHeaderView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QHeaderView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQHeaderView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QHeaderView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQHeaderView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QHeaderView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QHeaderView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQHeaderView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QHeaderView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQHeaderView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QHeaderView::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHeaderView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QHeaderView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQHeaderView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QHeaderView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQHeaderView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QHeaderView::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QHeaderView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QHeaderView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QHeaderView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QHeaderView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QHeaderView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QHeaderView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QHeaderView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QHeaderView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QHeaderView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQHeaderView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QHeaderView::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHeaderView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QHeaderView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQHeaderView::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QHeaderView::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQHeaderView::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QHeaderView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QModelIndexList sipQHeaderView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QHeaderView::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHeaderView::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QHeaderView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QHeaderView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QHeaderView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQHeaderView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QHeaderView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QHeaderView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QHeaderView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QHeaderView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QHeaderView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHeaderView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QHeaderView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHeaderView::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QHeaderView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQHeaderView::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QHeaderView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQHeaderView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QHeaderView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHeaderView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QHeaderView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQHeaderView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QHeaderView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQHeaderView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QHeaderView::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QHeaderView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QHeaderView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QHeaderView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QHeaderView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQHeaderView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[64]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QHeaderView::visualRegionForSelection(a0);

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        QHeaderView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipQHeaderView::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return QHeaderView::moveCursor(a0,a1);

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

bool sipQHeaderView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[67]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return QHeaderView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndex sipQHeaderView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[68]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return QHeaderView::indexAt(a0);

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        QHeaderView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QRect sipQHeaderView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[70]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return QHeaderView::visualRect(a0);

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QHeaderView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQHeaderView::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QHeaderView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQHeaderView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QHeaderView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQHeaderView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QHeaderView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQHeaderView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[75]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return QHeaderView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQHeaderView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[76]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return QHeaderView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQHeaderView::sectionSizeFromContents(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[77]),sipPySelf,NULL,sipName_sectionSizeFromContents);

    if (!sipMeth)
        return QHeaderView::sectionSizeFromContents(a0);

    extern QSize sipVH_QtWidgets_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_47(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::paintSection(QPainter*a0,const QRect& a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[78]),sipPySelf,NULL,sipName_paintSection);

    if (!sipMeth)
    {
        QHeaderView::paintSection(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_103(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,int);

    sipVH_QtWidgets_103(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQHeaderView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QHeaderView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QHeaderView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QHeaderView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QHeaderView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QHeaderView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQHeaderView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QHeaderView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQHeaderView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QHeaderView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHeaderView::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QHeaderView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QSize sipQHeaderView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[87]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QHeaderView::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHeaderView::setModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[88],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
        QHeaderView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtCore_40)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtCore_40)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[40]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQHeaderView::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQHeaderView::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQHeaderView::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQHeaderView::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQHeaderView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQHeaderView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQHeaderView::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQHeaderView::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQHeaderView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQHeaderView::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQHeaderView::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQHeaderView::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQHeaderView::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQHeaderView::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQHeaderView::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQHeaderView::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQHeaderView::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQHeaderView::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQHeaderView::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQHeaderView::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQHeaderView::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQHeaderView::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQHeaderView::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQHeaderView::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQHeaderView::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQHeaderView::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQHeaderView::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQHeaderView::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQHeaderView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQHeaderView::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQHeaderView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQHeaderView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQHeaderView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQHeaderView::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQHeaderView::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QAbstractItemView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

void sipQHeaderView::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QAbstractItemView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQHeaderView::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQHeaderView::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQHeaderView::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQHeaderView::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

void sipQHeaderView::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQHeaderView::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQHeaderView::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQHeaderView::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQHeaderView::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QModelIndexList sipQHeaderView::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectedIndexes() : selectedIndexes());
}

QItemSelectionModel::SelectionFlags sipQHeaderView::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

void sipQHeaderView::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QAbstractItemView::startDrag(a0) : startDrag(a0));
}

QStyleOptionViewItem sipQHeaderView::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::viewOptions() : viewOptions());
}

int sipQHeaderView::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQHeaderView::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQHeaderView::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQHeaderView::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQHeaderView::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQHeaderView::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQHeaderView::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

void sipQHeaderView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQHeaderView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQHeaderView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQHeaderView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dropEvent(a0) : dropEvent(a0));
}

void sipQHeaderView::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQHeaderView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQHeaderView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQHeaderView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::resizeEvent(a0) : resizeEvent(a0));
}

void sipQHeaderView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::timerEvent(a0) : timerEvent(a0));
}

int sipQHeaderView::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQHeaderView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQHeaderView::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QSize sipQHeaderView::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::viewportSizeHint() : viewportSizeHint());
}

void sipQHeaderView::sipProtect_updateSection(int a0)
{
    QHeaderView::updateSection(a0);
}

void sipQHeaderView::sipProtect_resizeSections()
{
    QHeaderView::resizeSections();
}

void sipQHeaderView::sipProtect_sectionsInserted(const QModelIndex& a0,int a1,int a2)
{
    QHeaderView::sectionsInserted(a0,a1,a2);
}

void sipQHeaderView::sipProtect_sectionsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    QHeaderView::sectionsAboutToBeRemoved(a0,a1,a2);
}

void sipQHeaderView::sipProtect_initialize()
{
    QHeaderView::initialize();
}

void sipQHeaderView::sipProtect_initializeSections()
{
    QHeaderView::initializeSections();
}

void sipQHeaderView::sipProtect_initializeSections(int a0,int a1)
{
    QHeaderView::initializeSections(a0,a1);
}

void sipQHeaderView::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QHeaderView::currentChanged(a0,a1) : currentChanged(a0,a1));
}

bool sipQHeaderView::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QHeaderView::event(a0) : event(a0));
}

bool sipQHeaderView::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QHeaderView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQHeaderView::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QHeaderView::paintEvent(a0) : paintEvent(a0));
}

void sipQHeaderView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QHeaderView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQHeaderView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QHeaderView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQHeaderView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QHeaderView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQHeaderView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QHeaderView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQHeaderView::sipProtectVirt_paintSection(bool sipSelfWasArg,QPainter*a0,const QRect& a1,int a2) const
{
    (sipSelfWasArg ? QHeaderView::paintSection(a0,a1,a2) : paintSection(a0,a1,a2));
}

QSize sipQHeaderView::sipProtectVirt_sectionSizeFromContents(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QHeaderView::sectionSizeFromContents(a0) : sectionSizeFromContents(a0));
}

int sipQHeaderView::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QHeaderView::horizontalOffset() : horizontalOffset());
}

int sipQHeaderView::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QHeaderView::verticalOffset() : verticalOffset());
}

void sipQHeaderView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QHeaderView::updateGeometries() : updateGeometries());
}

void sipQHeaderView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QHeaderView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

void sipQHeaderView::sipProtectVirt_dataChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    (sipSelfWasArg ? QHeaderView::dataChanged(a0,a1,a2) : dataChanged(a0,a1,a2));
}

void sipQHeaderView::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QHeaderView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

QRect sipQHeaderView::sipProtectVirt_visualRect(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QHeaderView::visualRect(a0) : visualRect(a0));
}

void sipQHeaderView::sipProtectVirt_scrollTo(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    (sipSelfWasArg ? QHeaderView::scrollTo(a0,a1) : scrollTo(a0,a1));
}

QModelIndex sipQHeaderView::sipProtectVirt_indexAt(bool sipSelfWasArg,const QPoint& a0) const
{
    return (sipSelfWasArg ? QHeaderView::indexAt(a0) : indexAt(a0));
}

bool sipQHeaderView::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QHeaderView::isIndexHidden(a0) : isIndexHidden(a0));
}

QModelIndex sipQHeaderView::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0,Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ? QHeaderView::moveCursor((QAbstractItemView::CursorAction)a0,a1) : moveCursor((QAbstractItemView::CursorAction)a0,a1));
}

void sipQHeaderView::sipProtectVirt_setSelection(bool sipSelfWasArg,const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ? QHeaderView::setSelection(a0,a1) : setSelection(a0,a1));
}

QRegion sipQHeaderView::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const QItemSelection& a0) const
{
    return (sipSelfWasArg ? QHeaderView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

void sipQHeaderView::sipProtect_initStyleOption(QStyleOptionHeader*a0) const
{
    QHeaderView::initStyleOption(a0);
}


PyDoc_STRVAR(doc_QHeaderView_sender, "QHeaderView.sender() -> QObject");

extern "C" {static PyObject *meth_QHeaderView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 255833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sender, doc_QHeaderView_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_receivers, "QHeaderView.receivers(signal) -> int");

extern "C" {static PyObject *meth_QHeaderView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 255892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_receivers, doc_QHeaderView_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_childEvent, "QHeaderView.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QHeaderView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_childEvent, doc_QHeaderView_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_customEvent, "QHeaderView.customEvent(QEvent)");

extern "C" {static PyObject *meth_QHeaderView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_customEvent, doc_QHeaderView_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_connectNotify, "QHeaderView.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QHeaderView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_connectNotify, doc_QHeaderView_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_disconnectNotify, "QHeaderView.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QHeaderView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_disconnectNotify, doc_QHeaderView_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_senderSignalIndex, "QHeaderView.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QHeaderView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_senderSignalIndex, doc_QHeaderView_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_isSignalConnected, "QHeaderView.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QHeaderView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_isSignalConnected, doc_QHeaderView_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_keyReleaseEvent, "QHeaderView.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QHeaderView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_keyReleaseEvent, doc_QHeaderView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_enterEvent, "QHeaderView.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QHeaderView_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_enterEvent, doc_QHeaderView_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_leaveEvent, "QHeaderView.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QHeaderView_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_leaveEvent, doc_QHeaderView_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_moveEvent, "QHeaderView.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QHeaderView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_moveEvent, doc_QHeaderView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_closeEvent, "QHeaderView.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QHeaderView_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_closeEvent, doc_QHeaderView_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_tabletEvent, "QHeaderView.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QHeaderView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_tabletEvent, doc_QHeaderView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_actionEvent, "QHeaderView.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QHeaderView_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_actionEvent, doc_QHeaderView_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_showEvent, "QHeaderView.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QHeaderView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_showEvent, doc_QHeaderView_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_hideEvent, "QHeaderView.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QHeaderView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_hideEvent, doc_QHeaderView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_metric, "QHeaderView.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QHeaderView_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_metric, doc_QHeaderView_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_updateMicroFocus, "QHeaderView.updateMicroFocus()");

extern "C" {static PyObject *meth_QHeaderView_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_updateMicroFocus, doc_QHeaderView_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_create, "QHeaderView.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QHeaderView_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQHeaderView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_create, doc_QHeaderView_create);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_destroy, "QHeaderView.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QHeaderView_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQHeaderView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_destroy, doc_QHeaderView_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_focusNextChild, "QHeaderView.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QHeaderView_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_focusNextChild, doc_QHeaderView_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_focusPreviousChild, "QHeaderView.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QHeaderView_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_focusPreviousChild, doc_QHeaderView_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_nativeEvent, "QHeaderView.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QHeaderView_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_nativeEvent, doc_QHeaderView_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sharedPainter, "QHeaderView.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QHeaderView_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sharedPainter, doc_QHeaderView_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_initPainter, "QHeaderView.initPainter(QPainter)");

extern "C" {static PyObject *meth_QHeaderView_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_initPainter, doc_QHeaderView_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_changeEvent, "QHeaderView.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QHeaderView_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_changeEvent, doc_QHeaderView_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_drawFrame, "QHeaderView.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QHeaderView_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_drawFrame, doc_QHeaderView_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setViewportMargins, "QHeaderView.setViewportMargins(int, int, int, int)\n"
    "QHeaderView.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QHeaderView_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setViewportMargins, doc_QHeaderView_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_wheelEvent, "QHeaderView.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QHeaderView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_wheelEvent, doc_QHeaderView_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_contextMenuEvent, "QHeaderView.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QHeaderView_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_contextMenuEvent, doc_QHeaderView_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_eventFilter, "QHeaderView.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QHeaderView_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_eventFilter, doc_QHeaderView_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_edit, "QHeaderView.edit(QModelIndex)\n"
    "QHeaderView.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QHeaderView_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_edit, doc_QHeaderView_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_rowsAboutToBeRemoved, "QHeaderView.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QHeaderView_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_rowsAboutToBeRemoved, doc_QHeaderView_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_selectionChanged, "QHeaderView.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QHeaderView_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_selectionChanged, doc_QHeaderView_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_updateEditorData, "QHeaderView.updateEditorData()");

extern "C" {static PyObject *meth_QHeaderView_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_updateEditorData, doc_QHeaderView_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_updateEditorGeometries, "QHeaderView.updateEditorGeometries()");

extern "C" {static PyObject *meth_QHeaderView_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_updateEditorGeometries, doc_QHeaderView_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_verticalScrollbarAction, "QHeaderView.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QHeaderView_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_verticalScrollbarAction, doc_QHeaderView_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_horizontalScrollbarAction, "QHeaderView.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QHeaderView_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_horizontalScrollbarAction, doc_QHeaderView_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_verticalScrollbarValueChanged, "QHeaderView.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QHeaderView_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_verticalScrollbarValueChanged, doc_QHeaderView_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_horizontalScrollbarValueChanged, "QHeaderView.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QHeaderView_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_horizontalScrollbarValueChanged, doc_QHeaderView_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_closeEditor, "QHeaderView.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QHeaderView_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_closeEditor, doc_QHeaderView_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_commitData, "QHeaderView.commitData(QWidget)");

extern "C" {static PyObject *meth_QHeaderView_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_commitData, doc_QHeaderView_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_editorDestroyed, "QHeaderView.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QHeaderView_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_editorDestroyed, doc_QHeaderView_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_selectedIndexes, "QHeaderView.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QHeaderView_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_selectedIndexes, doc_QHeaderView_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_selectionCommand, "QHeaderView.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QHeaderView_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQHeaderView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_selectionCommand, doc_QHeaderView_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_startDrag, "QHeaderView.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QHeaderView_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QHeaderView, sipName_startDrag, doc_QHeaderView_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_viewOptions, "QHeaderView.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QHeaderView_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_viewOptions, doc_QHeaderView_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_state, "QHeaderView.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QHeaderView_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_state, doc_QHeaderView_state);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setState, "QHeaderView.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QHeaderView_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setState, doc_QHeaderView_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_scheduleDelayedItemsLayout, "QHeaderView.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QHeaderView_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_scheduleDelayedItemsLayout, doc_QHeaderView_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_executeDelayedItemsLayout, "QHeaderView.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QHeaderView_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_executeDelayedItemsLayout, doc_QHeaderView_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_scrollDirtyRegion, "QHeaderView.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QHeaderView_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_scrollDirtyRegion, doc_QHeaderView_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setDirtyRegion, "QHeaderView.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QHeaderView_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setDirtyRegion, doc_QHeaderView_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_dirtyRegionOffset, "QHeaderView.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QHeaderView_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_dirtyRegionOffset, doc_QHeaderView_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_dragEnterEvent, "QHeaderView.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QHeaderView_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_dragEnterEvent, doc_QHeaderView_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_dragMoveEvent, "QHeaderView.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QHeaderView_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_dragMoveEvent, doc_QHeaderView_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_dragLeaveEvent, "QHeaderView.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QHeaderView_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_dragLeaveEvent, doc_QHeaderView_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_dropEvent, "QHeaderView.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QHeaderView_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_dropEvent, doc_QHeaderView_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_focusInEvent, "QHeaderView.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QHeaderView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_focusInEvent, doc_QHeaderView_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_focusOutEvent, "QHeaderView.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QHeaderView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_focusOutEvent, doc_QHeaderView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_keyPressEvent, "QHeaderView.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QHeaderView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_keyPressEvent, doc_QHeaderView_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_resizeEvent, "QHeaderView.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QHeaderView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_resizeEvent, doc_QHeaderView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_timerEvent, "QHeaderView.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QHeaderView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_timerEvent, doc_QHeaderView_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_dropIndicatorPosition, "QHeaderView.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QHeaderView_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_dropIndicatorPosition, doc_QHeaderView_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_focusNextPrevChild, "QHeaderView.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QHeaderView_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_focusNextPrevChild, doc_QHeaderView_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_inputMethodEvent, "QHeaderView.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QHeaderView_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_inputMethodEvent, doc_QHeaderView_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_viewportSizeHint, "QHeaderView.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QHeaderView_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_viewportSizeHint, doc_QHeaderView_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setModel, "QHeaderView.setModel(QAbstractItemModel)");

extern "C" {static PyObject *meth_QHeaderView_setModel(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        PyObject *a0Keep;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QHeaderView, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QHeaderView::setModel(a0) : sipCpp->setModel(a0));

            sipKeepReference(sipSelf, -29, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setModel, doc_QHeaderView_setModel);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_orientation, "QHeaderView.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QHeaderView_orientation(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_orientation, doc_QHeaderView_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_offset, "QHeaderView.offset() -> int");

extern "C" {static PyObject *meth_QHeaderView_offset(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_offset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->offset();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_offset, doc_QHeaderView_offset);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_length, "QHeaderView.length() -> int");

extern "C" {static PyObject *meth_QHeaderView_length(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_length(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->length();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_length, doc_QHeaderView_length);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sizeHint, "QHeaderView.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QHeaderView_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QHeaderView::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sizeHint, doc_QHeaderView_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionSizeHint, "QHeaderView.sectionSizeHint(int) -> int");

extern "C" {static PyObject *meth_QHeaderView_sectionSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sectionSizeHint(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionSizeHint, doc_QHeaderView_sectionSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_visualIndexAt, "QHeaderView.visualIndexAt(int) -> int");

extern "C" {static PyObject *meth_QHeaderView_visualIndexAt(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_visualIndexAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->visualIndexAt(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_visualIndexAt, doc_QHeaderView_visualIndexAt);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_logicalIndexAt, "QHeaderView.logicalIndexAt(int) -> int\n"
    "QHeaderView.logicalIndexAt(int, int) -> int\n"
    "QHeaderView.logicalIndexAt(QPoint) -> int");

extern "C" {static PyObject *meth_QHeaderView_logicalIndexAt(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_logicalIndexAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->logicalIndexAt(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        int a0;
        int a1;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1))
        {
            int sipRes;

            sipRes = sipCpp->logicalIndexAt(a0,a1);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QPoint* a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QPoint, &a0))
        {
            int sipRes;

            sipRes = sipCpp->logicalIndexAt(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_logicalIndexAt, doc_QHeaderView_logicalIndexAt);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionSize, "QHeaderView.sectionSize(int) -> int");

extern "C" {static PyObject *meth_QHeaderView_sectionSize(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sectionSize(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionSize, doc_QHeaderView_sectionSize);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionPosition, "QHeaderView.sectionPosition(int) -> int");

extern "C" {static PyObject *meth_QHeaderView_sectionPosition(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sectionPosition(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionPosition, doc_QHeaderView_sectionPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionViewportPosition, "QHeaderView.sectionViewportPosition(int) -> int");

extern "C" {static PyObject *meth_QHeaderView_sectionViewportPosition(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionViewportPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sectionViewportPosition(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionViewportPosition, doc_QHeaderView_sectionViewportPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_moveSection, "QHeaderView.moveSection(int, int)");

extern "C" {static PyObject *meth_QHeaderView_moveSection(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_moveSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1))
        {
            sipCpp->moveSection(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_moveSection, doc_QHeaderView_moveSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_resizeSection, "QHeaderView.resizeSection(int, int)");

extern "C" {static PyObject *meth_QHeaderView_resizeSection(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_resizeSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1))
        {
            sipCpp->resizeSection(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_resizeSection, doc_QHeaderView_resizeSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_isSectionHidden, "QHeaderView.isSectionHidden(int) -> bool");

extern "C" {static PyObject *meth_QHeaderView_isSectionHidden(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_isSectionHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isSectionHidden(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_isSectionHidden, doc_QHeaderView_isSectionHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setSectionHidden, "QHeaderView.setSectionHidden(int, bool)");

extern "C" {static PyObject *meth_QHeaderView_setSectionHidden(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setSectionHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bib", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1))
        {
            sipCpp->setSectionHidden(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setSectionHidden, doc_QHeaderView_setSectionHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_count, "QHeaderView.count() -> int");

extern "C" {static PyObject *meth_QHeaderView_count(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_count, doc_QHeaderView_count);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_visualIndex, "QHeaderView.visualIndex(int) -> int");

extern "C" {static PyObject *meth_QHeaderView_visualIndex(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_visualIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->visualIndex(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_visualIndex, doc_QHeaderView_visualIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_logicalIndex, "QHeaderView.logicalIndex(int) -> int");

extern "C" {static PyObject *meth_QHeaderView_logicalIndex(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_logicalIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->logicalIndex(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_logicalIndex, doc_QHeaderView_logicalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setHighlightSections, "QHeaderView.setHighlightSections(bool)");

extern "C" {static PyObject *meth_QHeaderView_setHighlightSections(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setHighlightSections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setHighlightSections(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setHighlightSections, doc_QHeaderView_setHighlightSections);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_highlightSections, "QHeaderView.highlightSections() -> bool");

extern "C" {static PyObject *meth_QHeaderView_highlightSections(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_highlightSections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->highlightSections();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_highlightSections, doc_QHeaderView_highlightSections);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_stretchSectionCount, "QHeaderView.stretchSectionCount() -> int");

extern "C" {static PyObject *meth_QHeaderView_stretchSectionCount(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_stretchSectionCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->stretchSectionCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_stretchSectionCount, doc_QHeaderView_stretchSectionCount);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setSortIndicatorShown, "QHeaderView.setSortIndicatorShown(bool)");

extern "C" {static PyObject *meth_QHeaderView_setSortIndicatorShown(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setSortIndicatorShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setSortIndicatorShown(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setSortIndicatorShown, doc_QHeaderView_setSortIndicatorShown);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_isSortIndicatorShown, "QHeaderView.isSortIndicatorShown() -> bool");

extern "C" {static PyObject *meth_QHeaderView_isSortIndicatorShown(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_isSortIndicatorShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSortIndicatorShown();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_isSortIndicatorShown, doc_QHeaderView_isSortIndicatorShown);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setSortIndicator, "QHeaderView.setSortIndicator(int, Qt.SortOrder)");

extern "C" {static PyObject *meth_QHeaderView_setSortIndicator(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setSortIndicator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::SortOrder a1;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            sipCpp->setSortIndicator(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setSortIndicator, doc_QHeaderView_setSortIndicator);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sortIndicatorSection, "QHeaderView.sortIndicatorSection() -> int");

extern "C" {static PyObject *meth_QHeaderView_sortIndicatorSection(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sortIndicatorSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sortIndicatorSection();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sortIndicatorSection, doc_QHeaderView_sortIndicatorSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sortIndicatorOrder, "QHeaderView.sortIndicatorOrder() -> Qt.SortOrder");

extern "C" {static PyObject *meth_QHeaderView_sortIndicatorOrder(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sortIndicatorOrder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            Qt::SortOrder sipRes;

            sipRes = sipCpp->sortIndicatorOrder();

            return sipConvertFromEnum(sipRes,sipType_Qt_SortOrder);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sortIndicatorOrder, doc_QHeaderView_sortIndicatorOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_stretchLastSection, "QHeaderView.stretchLastSection() -> bool");

extern "C" {static PyObject *meth_QHeaderView_stretchLastSection(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_stretchLastSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->stretchLastSection();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_stretchLastSection, doc_QHeaderView_stretchLastSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setStretchLastSection, "QHeaderView.setStretchLastSection(bool)");

extern "C" {static PyObject *meth_QHeaderView_setStretchLastSection(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setStretchLastSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setStretchLastSection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setStretchLastSection, doc_QHeaderView_setStretchLastSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionsMoved, "QHeaderView.sectionsMoved() -> bool");

extern "C" {static PyObject *meth_QHeaderView_sectionsMoved(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionsMoved(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sectionsMoved();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionsMoved, doc_QHeaderView_sectionsMoved);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setOffset, "QHeaderView.setOffset(int)");

extern "C" {static PyObject *meth_QHeaderView_setOffset(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setOffset(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setOffset, doc_QHeaderView_setOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_headerDataChanged, "QHeaderView.headerDataChanged(Qt.Orientation, int, int)");

extern "C" {static PyObject *meth_QHeaderView_headerDataChanged(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_headerDataChanged(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        int a1;
        int a2;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEii", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_Qt_Orientation, &a0, &a1, &a2))
        {
            sipCpp->headerDataChanged(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_headerDataChanged, doc_QHeaderView_headerDataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setOffsetToSectionPosition, "QHeaderView.setOffsetToSectionPosition(int)");

extern "C" {static PyObject *meth_QHeaderView_setOffsetToSectionPosition(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setOffsetToSectionPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setOffsetToSectionPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setOffsetToSectionPosition, doc_QHeaderView_setOffsetToSectionPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_updateSection, "QHeaderView.updateSection(int)");

extern "C" {static PyObject *meth_QHeaderView_updateSection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_updateSection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->sipProtect_updateSection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_updateSection, doc_QHeaderView_updateSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_resizeSections, "QHeaderView.resizeSections()\n"
    "QHeaderView.resizeSections(QHeaderView.ResizeMode)");

extern "C" {static PyObject *meth_QHeaderView_resizeSections(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_resizeSections(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->sipProtect_resizeSections();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QHeaderView::ResizeMode a0;
        QHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QHeaderView_ResizeMode, &a0))
        {
            sipCpp->resizeSections(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_resizeSections, doc_QHeaderView_resizeSections);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionsInserted, "QHeaderView.sectionsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QHeaderView_sectionsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_sectionsInserted(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionsInserted, doc_QHeaderView_sectionsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionsAboutToBeRemoved, "QHeaderView.sectionsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QHeaderView_sectionsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_sectionsAboutToBeRemoved(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionsAboutToBeRemoved, doc_QHeaderView_sectionsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_initialize, "QHeaderView.initialize()");

extern "C" {static PyObject *meth_QHeaderView_initialize(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_initialize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->sipProtect_initialize();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_initialize, doc_QHeaderView_initialize);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_initializeSections, "QHeaderView.initializeSections()\n"
    "QHeaderView.initializeSections(int, int)");

extern "C" {static PyObject *meth_QHeaderView_initializeSections(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_initializeSections(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->sipProtect_initializeSections();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_initializeSections(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_initializeSections, doc_QHeaderView_initializeSections);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_currentChanged, "QHeaderView.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QHeaderView_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_currentChanged, doc_QHeaderView_currentChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_event, "QHeaderView.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QHeaderView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_event, doc_QHeaderView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_viewportEvent, "QHeaderView.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QHeaderView_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_viewportEvent, doc_QHeaderView_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_paintEvent, "QHeaderView.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QHeaderView_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_paintEvent, doc_QHeaderView_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_mousePressEvent, "QHeaderView.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QHeaderView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_mousePressEvent, doc_QHeaderView_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_mouseMoveEvent, "QHeaderView.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QHeaderView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_mouseMoveEvent, doc_QHeaderView_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_mouseReleaseEvent, "QHeaderView.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QHeaderView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_mouseReleaseEvent, doc_QHeaderView_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_mouseDoubleClickEvent, "QHeaderView.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QHeaderView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_mouseDoubleClickEvent, doc_QHeaderView_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_paintSection, "QHeaderView.paintSection(QPainter, QRect, int)");

extern "C" {static PyObject *meth_QHeaderView_paintSection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_paintSection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRect* a1;
        int a2;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9i", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, &a2))
        {
            sipCpp->sipProtectVirt_paintSection(sipSelfWasArg,a0,*a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_paintSection, doc_QHeaderView_paintSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionSizeFromContents, "QHeaderView.sectionSizeFromContents(int) -> QSize");

extern "C" {static PyObject *meth_QHeaderView_sectionSizeFromContents(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionSizeFromContents(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_sectionSizeFromContents(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionSizeFromContents, doc_QHeaderView_sectionSizeFromContents);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_horizontalOffset, "QHeaderView.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QHeaderView_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_horizontalOffset, doc_QHeaderView_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_verticalOffset, "QHeaderView.verticalOffset() -> int");

extern "C" {static PyObject *meth_QHeaderView_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_verticalOffset, doc_QHeaderView_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_updateGeometries, "QHeaderView.updateGeometries()");

extern "C" {static PyObject *meth_QHeaderView_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_updateGeometries, doc_QHeaderView_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_scrollContentsBy, "QHeaderView.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QHeaderView_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_scrollContentsBy, doc_QHeaderView_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_dataChanged, "QHeaderView.dataChanged(QModelIndex, QModelIndex, list-of-int roles=[])");

extern "C" {static PyObject *meth_QHeaderView_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const QVector<int>& a2def = QVector<int>();
        const QVector<int>* a2 = &a2def;
        int a2State = 0;
        sipQHeaderView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_roles,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|J1", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1,*a2);
            sipReleaseType(const_cast<QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_dataChanged, doc_QHeaderView_dataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_rowsInserted, "QHeaderView.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QHeaderView_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_rowsInserted, doc_QHeaderView_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_visualRect, "QHeaderView.visualRect(QModelIndex) -> QRect");

extern "C" {static PyObject *meth_QHeaderView_visualRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_visualRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtectVirt_visualRect(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_visualRect, doc_QHeaderView_visualRect);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_scrollTo, "QHeaderView.scrollTo(QModelIndex, QAbstractItemView.ScrollHint)");

extern "C" {static PyObject *meth_QHeaderView_scrollTo(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_scrollTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QAbstractItemView::ScrollHint a1;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9E", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            sipCpp->sipProtectVirt_scrollTo(sipSelfWasArg,*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_scrollTo, doc_QHeaderView_scrollTo);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_indexAt, "QHeaderView.indexAt(QPoint) -> QModelIndex");

extern "C" {static PyObject *meth_QHeaderView_indexAt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_indexAt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QPoint, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_indexAt(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_indexAt, doc_QHeaderView_indexAt);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_isIndexHidden, "QHeaderView.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QHeaderView_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_isIndexHidden, doc_QHeaderView_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_moveCursor, "QHeaderView.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QHeaderView_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_moveCursor, doc_QHeaderView_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setSelection, "QHeaderView.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QHeaderView_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setSelection, doc_QHeaderView_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_visualRegionForSelection, "QHeaderView.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QHeaderView_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_visualRegionForSelection, doc_QHeaderView_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_hideSection, "QHeaderView.hideSection(int)");

extern "C" {static PyObject *meth_QHeaderView_hideSection(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_hideSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->hideSection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_hideSection, doc_QHeaderView_hideSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_showSection, "QHeaderView.showSection(int)");

extern "C" {static PyObject *meth_QHeaderView_showSection(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_showSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->showSection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_showSection, doc_QHeaderView_showSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_hiddenSectionCount, "QHeaderView.hiddenSectionCount() -> int");

extern "C" {static PyObject *meth_QHeaderView_hiddenSectionCount(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_hiddenSectionCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->hiddenSectionCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_hiddenSectionCount, doc_QHeaderView_hiddenSectionCount);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_defaultSectionSize, "QHeaderView.defaultSectionSize() -> int");

extern "C" {static PyObject *meth_QHeaderView_defaultSectionSize(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_defaultSectionSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->defaultSectionSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_defaultSectionSize, doc_QHeaderView_defaultSectionSize);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setDefaultSectionSize, "QHeaderView.setDefaultSectionSize(int)");

extern "C" {static PyObject *meth_QHeaderView_setDefaultSectionSize(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setDefaultSectionSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setDefaultSectionSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setDefaultSectionSize, doc_QHeaderView_setDefaultSectionSize);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_defaultAlignment, "QHeaderView.defaultAlignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QHeaderView_defaultAlignment(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_defaultAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->defaultAlignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_defaultAlignment, doc_QHeaderView_defaultAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setDefaultAlignment, "QHeaderView.setDefaultAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QHeaderView_setDefaultAlignment(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setDefaultAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setDefaultAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setDefaultAlignment, doc_QHeaderView_setDefaultAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionsHidden, "QHeaderView.sectionsHidden() -> bool");

extern "C" {static PyObject *meth_QHeaderView_sectionsHidden(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionsHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sectionsHidden();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionsHidden, doc_QHeaderView_sectionsHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_swapSections, "QHeaderView.swapSections(int, int)");

extern "C" {static PyObject *meth_QHeaderView_swapSections(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_swapSections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, &a1))
        {
            sipCpp->swapSections(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_swapSections, doc_QHeaderView_swapSections);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_cascadingSectionResizes, "QHeaderView.cascadingSectionResizes() -> bool");

extern "C" {static PyObject *meth_QHeaderView_cascadingSectionResizes(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_cascadingSectionResizes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->cascadingSectionResizes();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_cascadingSectionResizes, doc_QHeaderView_cascadingSectionResizes);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setCascadingSectionResizes, "QHeaderView.setCascadingSectionResizes(bool)");

extern "C" {static PyObject *meth_QHeaderView_setCascadingSectionResizes(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setCascadingSectionResizes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setCascadingSectionResizes(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setCascadingSectionResizes, doc_QHeaderView_setCascadingSectionResizes);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_minimumSectionSize, "QHeaderView.minimumSectionSize() -> int");

extern "C" {static PyObject *meth_QHeaderView_minimumSectionSize(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_minimumSectionSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minimumSectionSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_minimumSectionSize, doc_QHeaderView_minimumSectionSize);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setMinimumSectionSize, "QHeaderView.setMinimumSectionSize(int)");

extern "C" {static PyObject *meth_QHeaderView_setMinimumSectionSize(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setMinimumSectionSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setMinimumSectionSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setMinimumSectionSize, doc_QHeaderView_setMinimumSectionSize);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_saveState, "QHeaderView.saveState() -> QByteArray");

extern "C" {static PyObject *meth_QHeaderView_saveState(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_saveState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            QByteArray*sipRes;

            sipRes = new QByteArray(sipCpp->saveState());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_saveState, doc_QHeaderView_saveState);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_restoreState, "QHeaderView.restoreState(QByteArray) -> bool");

extern "C" {static PyObject *meth_QHeaderView_restoreState(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_restoreState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->restoreState(*a0);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_restoreState, doc_QHeaderView_restoreState);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_reset, "QHeaderView.reset()");

extern "C" {static PyObject *meth_QHeaderView_reset(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QHeaderView::reset() : sipCpp->reset());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_reset, doc_QHeaderView_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setOffsetToLastSection, "QHeaderView.setOffsetToLastSection()");

extern "C" {static PyObject *meth_QHeaderView_setOffsetToLastSection(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setOffsetToLastSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            sipCpp->setOffsetToLastSection();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setOffsetToLastSection, doc_QHeaderView_setOffsetToLastSection);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_initStyleOption, "QHeaderView.initStyleOption(QStyleOptionHeader)");

extern "C" {static PyObject *meth_QHeaderView_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionHeader* a0;
        const sipQHeaderView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QStyleOptionHeader, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_initStyleOption, doc_QHeaderView_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setSectionsMovable, "QHeaderView.setSectionsMovable(bool)");

extern "C" {static PyObject *meth_QHeaderView_setSectionsMovable(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setSectionsMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setSectionsMovable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setSectionsMovable, doc_QHeaderView_setSectionsMovable);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionsMovable, "QHeaderView.sectionsMovable() -> bool");

extern "C" {static PyObject *meth_QHeaderView_sectionsMovable(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionsMovable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sectionsMovable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionsMovable, doc_QHeaderView_sectionsMovable);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setSectionsClickable, "QHeaderView.setSectionsClickable(bool)");

extern "C" {static PyObject *meth_QHeaderView_setSectionsClickable(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setSectionsClickable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setSectionsClickable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setSectionsClickable, doc_QHeaderView_setSectionsClickable);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionsClickable, "QHeaderView.sectionsClickable() -> bool");

extern "C" {static PyObject *meth_QHeaderView_sectionsClickable(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionsClickable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sectionsClickable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionsClickable, doc_QHeaderView_sectionsClickable);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_sectionResizeMode, "QHeaderView.sectionResizeMode(int) -> QHeaderView.ResizeMode");

extern "C" {static PyObject *meth_QHeaderView_sectionResizeMode(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_sectionResizeMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            QHeaderView::ResizeMode sipRes;

            sipRes = sipCpp->sectionResizeMode(a0);

            return sipConvertFromEnum(sipRes,sipType_QHeaderView_ResizeMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_sectionResizeMode, doc_QHeaderView_sectionResizeMode);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setSectionResizeMode, "QHeaderView.setSectionResizeMode(int, QHeaderView.ResizeMode)\n"
    "QHeaderView.setSectionResizeMode(QHeaderView.ResizeMode)");

extern "C" {static PyObject *meth_QHeaderView_setSectionResizeMode(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setSectionResizeMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QHeaderView::ResizeMode a1;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QHeaderView, &sipCpp, &a0, sipType_QHeaderView_ResizeMode, &a1))
        {
            sipCpp->setSectionResizeMode(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QHeaderView::ResizeMode a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QHeaderView, &sipCpp, sipType_QHeaderView_ResizeMode, &a0))
        {
            sipCpp->setSectionResizeMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setSectionResizeMode, doc_QHeaderView_setSectionResizeMode);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setVisible, "QHeaderView.setVisible(bool)");

extern "C" {static PyObject *meth_QHeaderView_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QHeaderView::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setVisible, doc_QHeaderView_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setResizeContentsPrecision, "QHeaderView.setResizeContentsPrecision(int)");

extern "C" {static PyObject *meth_QHeaderView_setResizeContentsPrecision(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setResizeContentsPrecision(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setResizeContentsPrecision(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setResizeContentsPrecision, doc_QHeaderView_setResizeContentsPrecision);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_resizeContentsPrecision, "QHeaderView.resizeContentsPrecision() -> int");

extern "C" {static PyObject *meth_QHeaderView_resizeContentsPrecision(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_resizeContentsPrecision(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->resizeContentsPrecision();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_resizeContentsPrecision, doc_QHeaderView_resizeContentsPrecision);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_maximumSectionSize, "QHeaderView.maximumSectionSize() -> int");

extern "C" {static PyObject *meth_QHeaderView_maximumSectionSize(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_maximumSectionSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QHeaderView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maximumSectionSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_maximumSectionSize, doc_QHeaderView_maximumSectionSize);

    return NULL;
}


PyDoc_STRVAR(doc_QHeaderView_setMaximumSectionSize, "QHeaderView.setMaximumSectionSize(int)");

extern "C" {static PyObject *meth_QHeaderView_setMaximumSectionSize(PyObject *, PyObject *);}
static PyObject *meth_QHeaderView_setMaximumSectionSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QHeaderView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QHeaderView, &sipCpp, &a0))
        {
            sipCpp->setMaximumSectionSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHeaderView, sipName_setMaximumSectionSize, doc_QHeaderView_setMaximumSectionSize);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QHeaderView___len__(PyObject *);}
static SIP_SSIZE_T slot_QHeaderView___len__(PyObject *sipSelf)
{
    QHeaderView *sipCpp = reinterpret_cast<QHeaderView *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QHeaderView));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 260416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QHeaderView(void *, const sipTypeDef *);}
static void *cast_QHeaderView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QHeaderView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemView)->ctd_cast((QAbstractItemView *)(QHeaderView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QHeaderView(void *, int);}
static void release_QHeaderView(void *sipCppV,int)
{
    QHeaderView *sipCpp = reinterpret_cast<QHeaderView *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QHeaderView(sipSimpleWrapper *);}
static void dealloc_QHeaderView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQHeaderView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QHeaderView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QHeaderView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QHeaderView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQHeaderView *sipCpp = 0;

    {
        Qt::Orientation a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQHeaderView(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QHeaderView[] = {{4, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QHeaderView[] = {
    {(void *)slot_QHeaderView___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QHeaderView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QHeaderView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cascadingSectionResizes), meth_QHeaderView_cascadingSectionResizes, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_cascadingSectionResizes)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QHeaderView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QHeaderView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QHeaderView_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QHeaderView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QHeaderView_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QHeaderView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QHeaderView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QHeaderView_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_count)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QHeaderView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QHeaderView_currentChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_currentChanged)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QHeaderView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_QHeaderView_dataChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_dataChanged)},
    {SIP_MLNAME_CAST(sipName_defaultAlignment), meth_QHeaderView_defaultAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_defaultAlignment)},
    {SIP_MLNAME_CAST(sipName_defaultSectionSize), meth_QHeaderView_defaultSectionSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_defaultSectionSize)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QHeaderView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QHeaderView_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QHeaderView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QHeaderView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QHeaderView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QHeaderView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QHeaderView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QHeaderView_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QHeaderView_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QHeaderView_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QHeaderView_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QHeaderView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QHeaderView_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QHeaderView_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QHeaderView_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QHeaderView_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QHeaderView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QHeaderView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QHeaderView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QHeaderView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_headerDataChanged), meth_QHeaderView_headerDataChanged, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_headerDataChanged)},
    {SIP_MLNAME_CAST(sipName_hiddenSectionCount), meth_QHeaderView_hiddenSectionCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_hiddenSectionCount)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QHeaderView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideSection), meth_QHeaderView_hideSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_hideSection)},
    {SIP_MLNAME_CAST(sipName_highlightSections), meth_QHeaderView_highlightSections, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_highlightSections)},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QHeaderView_horizontalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_horizontalOffset)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QHeaderView_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QHeaderView_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexAt), (PyCFunction)meth_QHeaderView_indexAt, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_indexAt)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QHeaderView_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QHeaderView_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_initialize), (PyCFunction)meth_QHeaderView_initialize, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_initialize)},
    {SIP_MLNAME_CAST(sipName_initializeSections), (PyCFunction)meth_QHeaderView_initializeSections, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_initializeSections)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QHeaderView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QHeaderView_isIndexHidden, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_isIndexHidden)},
    {SIP_MLNAME_CAST(sipName_isSectionHidden), meth_QHeaderView_isSectionHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_isSectionHidden)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QHeaderView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSortIndicatorShown), meth_QHeaderView_isSortIndicatorShown, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_isSortIndicatorShown)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QHeaderView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QHeaderView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QHeaderView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_length), meth_QHeaderView_length, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_length)},
    {SIP_MLNAME_CAST(sipName_logicalIndex), meth_QHeaderView_logicalIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_logicalIndex)},
    {SIP_MLNAME_CAST(sipName_logicalIndexAt), meth_QHeaderView_logicalIndexAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_logicalIndexAt)},
    {SIP_MLNAME_CAST(sipName_maximumSectionSize), meth_QHeaderView_maximumSectionSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_maximumSectionSize)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QHeaderView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSectionSize), meth_QHeaderView_minimumSectionSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_minimumSectionSize)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QHeaderView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QHeaderView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QHeaderView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QHeaderView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QHeaderView_moveCursor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_moveCursor)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QHeaderView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveSection), meth_QHeaderView_moveSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_moveSection)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QHeaderView_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_offset), meth_QHeaderView_offset, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_offset)},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QHeaderView_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_orientation)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QHeaderView_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_paintEvent)},
    {SIP_MLNAME_CAST(sipName_paintSection), (PyCFunction)meth_QHeaderView_paintSection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_paintSection)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QHeaderView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_QHeaderView_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_reset)},
    {SIP_MLNAME_CAST(sipName_resizeContentsPrecision), meth_QHeaderView_resizeContentsPrecision, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_resizeContentsPrecision)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QHeaderView_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeSection), meth_QHeaderView_resizeSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_resizeSection)},
    {SIP_MLNAME_CAST(sipName_resizeSections), (PyCFunction)meth_QHeaderView_resizeSections, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_resizeSections)},
    {SIP_MLNAME_CAST(sipName_restoreState), meth_QHeaderView_restoreState, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_restoreState)},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QHeaderView_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QHeaderView_rowsInserted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_rowsInserted)},
    {SIP_MLNAME_CAST(sipName_saveState), meth_QHeaderView_saveState, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_saveState)},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QHeaderView_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QHeaderView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QHeaderView_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollTo), (PyCFunction)meth_QHeaderView_scrollTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_scrollTo)},
    {SIP_MLNAME_CAST(sipName_sectionPosition), meth_QHeaderView_sectionPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sectionPosition)},
    {SIP_MLNAME_CAST(sipName_sectionResizeMode), meth_QHeaderView_sectionResizeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sectionResizeMode)},
    {SIP_MLNAME_CAST(sipName_sectionSize), meth_QHeaderView_sectionSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sectionSize)},
    {SIP_MLNAME_CAST(sipName_sectionSizeFromContents), (PyCFunction)meth_QHeaderView_sectionSizeFromContents, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_sectionSizeFromContents)},
    {SIP_MLNAME_CAST(sipName_sectionSizeHint), meth_QHeaderView_sectionSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sectionSizeHint)},
    {SIP_MLNAME_CAST(sipName_sectionViewportPosition), meth_QHeaderView_sectionViewportPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sectionViewportPosition)},
    {SIP_MLNAME_CAST(sipName_sectionsAboutToBeRemoved), (PyCFunction)meth_QHeaderView_sectionsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_sectionsAboutToBeRemoved)},
    {SIP_MLNAME_CAST(sipName_sectionsClickable), meth_QHeaderView_sectionsClickable, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sectionsClickable)},
    {SIP_MLNAME_CAST(sipName_sectionsHidden), meth_QHeaderView_sectionsHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sectionsHidden)},
    {SIP_MLNAME_CAST(sipName_sectionsInserted), (PyCFunction)meth_QHeaderView_sectionsInserted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_sectionsInserted)},
    {SIP_MLNAME_CAST(sipName_sectionsMovable), meth_QHeaderView_sectionsMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sectionsMovable)},
    {SIP_MLNAME_CAST(sipName_sectionsMoved), meth_QHeaderView_sectionsMoved, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sectionsMoved)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QHeaderView_selectedIndexes, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QHeaderView_selectionChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QHeaderView_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QHeaderView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QHeaderView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCascadingSectionResizes), meth_QHeaderView_setCascadingSectionResizes, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setCascadingSectionResizes)},
    {SIP_MLNAME_CAST(sipName_setDefaultAlignment), meth_QHeaderView_setDefaultAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setDefaultAlignment)},
    {SIP_MLNAME_CAST(sipName_setDefaultSectionSize), meth_QHeaderView_setDefaultSectionSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setDefaultSectionSize)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QHeaderView_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setHighlightSections), meth_QHeaderView_setHighlightSections, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setHighlightSections)},
    {SIP_MLNAME_CAST(sipName_setMaximumSectionSize), meth_QHeaderView_setMaximumSectionSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setMaximumSectionSize)},
    {SIP_MLNAME_CAST(sipName_setMinimumSectionSize), meth_QHeaderView_setMinimumSectionSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setMinimumSectionSize)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QHeaderView_setModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setModel)},
    {SIP_MLNAME_CAST(sipName_setOffset), meth_QHeaderView_setOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setOffset)},
    {SIP_MLNAME_CAST(sipName_setOffsetToLastSection), meth_QHeaderView_setOffsetToLastSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setOffsetToLastSection)},
    {SIP_MLNAME_CAST(sipName_setOffsetToSectionPosition), meth_QHeaderView_setOffsetToSectionPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setOffsetToSectionPosition)},
    {SIP_MLNAME_CAST(sipName_setResizeContentsPrecision), meth_QHeaderView_setResizeContentsPrecision, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setResizeContentsPrecision)},
    {SIP_MLNAME_CAST(sipName_setSectionHidden), meth_QHeaderView_setSectionHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setSectionHidden)},
    {SIP_MLNAME_CAST(sipName_setSectionResizeMode), meth_QHeaderView_setSectionResizeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setSectionResizeMode)},
    {SIP_MLNAME_CAST(sipName_setSectionsClickable), meth_QHeaderView_setSectionsClickable, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setSectionsClickable)},
    {SIP_MLNAME_CAST(sipName_setSectionsMovable), meth_QHeaderView_setSectionsMovable, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setSectionsMovable)},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QHeaderView_setSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_setSelection)},
    {SIP_MLNAME_CAST(sipName_setSortIndicator), meth_QHeaderView_setSortIndicator, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setSortIndicator)},
    {SIP_MLNAME_CAST(sipName_setSortIndicatorShown), meth_QHeaderView_setSortIndicatorShown, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setSortIndicatorShown)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QHeaderView_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setStretchLastSection), meth_QHeaderView_setStretchLastSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setStretchLastSection)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QHeaderView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QHeaderView_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_setVisible)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QHeaderView_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QHeaderView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showSection), meth_QHeaderView_showSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_showSection)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QHeaderView_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sizeHint)},
    {SIP_MLNAME_CAST(sipName_sortIndicatorOrder), meth_QHeaderView_sortIndicatorOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sortIndicatorOrder)},
    {SIP_MLNAME_CAST(sipName_sortIndicatorSection), meth_QHeaderView_sortIndicatorSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_sortIndicatorSection)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QHeaderView_startDrag, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QHeaderView_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_stretchLastSection), meth_QHeaderView_stretchLastSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_stretchLastSection)},
    {SIP_MLNAME_CAST(sipName_stretchSectionCount), meth_QHeaderView_stretchSectionCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_stretchSectionCount)},
    {SIP_MLNAME_CAST(sipName_swapSections), meth_QHeaderView_swapSections, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_swapSections)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QHeaderView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QHeaderView_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QHeaderView_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QHeaderView_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QHeaderView_updateGeometries, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_updateGeometries)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QHeaderView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateSection), (PyCFunction)meth_QHeaderView_updateSection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_updateSection)},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QHeaderView_verticalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_verticalOffset)},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QHeaderView_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QHeaderView_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QHeaderView_viewOptions, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QHeaderView_viewportEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_viewportEvent)},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QHeaderView_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_visualIndex), meth_QHeaderView_visualIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_visualIndex)},
    {SIP_MLNAME_CAST(sipName_visualIndexAt), meth_QHeaderView_visualIndexAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QHeaderView_visualIndexAt)},
    {SIP_MLNAME_CAST(sipName_visualRect), (PyCFunction)meth_QHeaderView_visualRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_visualRect)},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QHeaderView_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QHeaderView_visualRegionForSelection)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QHeaderView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QHeaderView[] = {
    {sipName_Custom, static_cast<int>(QHeaderView::Custom), 172},
    {sipName_Fixed, static_cast<int>(QHeaderView::Fixed), 172},
    {sipName_Interactive, static_cast<int>(QHeaderView::Interactive), 172},
    {sipName_ResizeToContents, static_cast<int>(QHeaderView::ResizeToContents), 172},
    {sipName_Stretch, static_cast<int>(QHeaderView::Stretch), 172},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QHeaderView[] = {
    {"sortIndicatorChanged(int,Qt::SortOrder)", "\1QHeaderView.sortIndicatorChanged[int, Qt.SortOrder]", 0, 0},
    {"sectionEntered(int)", "\1QHeaderView.sectionEntered[int]", 0, 0},
    {"sectionHandleDoubleClicked(int)", "\1QHeaderView.sectionHandleDoubleClicked[int]", 0, 0},
    {"sectionCountChanged(int,int)", "\1QHeaderView.sectionCountChanged[int, int]", 0, 0},
    {"sectionDoubleClicked(int)", "\1QHeaderView.sectionDoubleClicked[int]", 0, 0},
    {"sectionClicked(int)", "\1QHeaderView.sectionClicked[int]", 0, 0},
    {"sectionPressed(int)", "\1QHeaderView.sectionPressed[int]", 0, 0},
    {"sectionResized(int,int,int)", "\1QHeaderView.sectionResized[int, int, int]", 0, 0},
    {"sectionMoved(int,int,int)", "\1QHeaderView.sectionMoved[int, int, int]", 0, 0},
    {"geometriesChanged()", "\1QHeaderView.geometriesChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QHeaderView, "\1QHeaderView(Qt.Orientation, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QHeaderView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QHeaderView,
        {0}
    },
    {
        sipNameNr_QHeaderView,
        {0, 0, 1},
        158, methods_QHeaderView,
        5, enummembers_QHeaderView,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QHeaderView,
    -1,
    -1,
    supers_QHeaderView,
    slots_QHeaderView,
    init_type_QHeaderView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QHeaderView,
    0,
    0,
    0,
    release_QHeaderView,
    cast_QHeaderView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QHeaderView::staticMetaObject,
    0,
    signals_QHeaderView,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgroupbox.sip"
#include <qgroupbox.h>
#line 260752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 260756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 260759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260762 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 260765 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260768 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260771 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 260777 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 260780 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 260783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 260786 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 260789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 260792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 260795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 260798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 260801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 260804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 260807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 260810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 260813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 260816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 260819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 260822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 260825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 260828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 260831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 260834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 260837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 260840 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 260843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 260846 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 260849 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 260852 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 260855 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 260897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 260900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 260903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 260906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 260909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 260912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 260915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 260918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 260921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 260924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 260927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 260930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 260933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 260936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 260939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 260942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 260945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 260948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 260951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 260954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 260957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 260960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGroupBox : public QGroupBox
{
public:
    sipQGroupBox(QWidget*);
    sipQGroupBox(const QString&,QWidget*);
    virtual ~sipQGroupBox();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionGroupBox*) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void changeEvent(QEvent*);
    void focusInEvent(QFocusEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    void childEvent(QChildEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGroupBox(const sipQGroupBox &);
    sipQGroupBox &operator = (const sipQGroupBox &);

    char sipPyMethods[46];
};

sipQGroupBox::sipQGroupBox(QWidget*a0): QGroupBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGroupBox::sipQGroupBox(const QString& a0,QWidget*a1): QGroupBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGroupBox::~sipQGroupBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGroupBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGroupBox);
}

int sipQGroupBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGroupBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGroupBox,_c,_id,_a);

    return _id;
}

void *sipQGroupBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGroupBox, _clname, &sipCpp) ? sipCpp : QGroupBox::qt_metacast(_clname));
}

void sipQGroupBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGroupBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGroupBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGroupBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGroupBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGroupBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGroupBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGroupBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QGroupBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQGroupBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QGroupBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGroupBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QGroupBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGroupBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QGroupBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGroupBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QGroupBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGroupBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGroupBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGroupBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGroupBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QGroupBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QGroupBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QGroupBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGroupBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGroupBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGroupBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGroupBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QGroupBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QGroupBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGroupBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QGroupBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QGroupBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QGroupBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QGroupBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGroupBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGroupBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGroupBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGroupBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGroupBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQGroupBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QGroupBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQGroupBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QGroupBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQGroupBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QGroupBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGroupBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QGroupBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGroupBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QGroupBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGroupBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGroupBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGroupBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGroupBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QGroupBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGroupBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QGroupBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QGroupBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGroupBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGroupBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGroupBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGroupBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQGroupBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QGroupBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQGroupBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGroupBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGroupBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGroupBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGroupBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGroupBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGroupBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGroupBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGroupBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGroupBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGroupBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGroupBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGroupBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGroupBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQGroupBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQGroupBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQGroupBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQGroupBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGroupBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQGroupBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQGroupBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGroupBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGroupBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGroupBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQGroupBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQGroupBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQGroupBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQGroupBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQGroupBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQGroupBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQGroupBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQGroupBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQGroupBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQGroupBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQGroupBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQGroupBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQGroupBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQGroupBox::sipProtect_initStyleOption(QStyleOptionGroupBox*a0) const
{
    QGroupBox::initStyleOption(a0);
}

bool sipQGroupBox::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGroupBox::event(a0) : event(a0));
}

void sipQGroupBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QGroupBox::childEvent(a0) : childEvent(a0));
}

void sipQGroupBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QGroupBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQGroupBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QGroupBox::paintEvent(a0) : paintEvent(a0));
}

void sipQGroupBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGroupBox::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGroupBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGroupBox::changeEvent(a0) : changeEvent(a0));
}

void sipQGroupBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGroupBox::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGroupBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGroupBox::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGroupBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGroupBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}


PyDoc_STRVAR(doc_QGroupBox_sender, "QGroupBox.sender() -> QObject");

extern "C" {static PyObject *meth_QGroupBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 262190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_sender, doc_QGroupBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_receivers, "QGroupBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGroupBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGroupBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 262249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_receivers, doc_QGroupBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_timerEvent, "QGroupBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGroupBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_timerEvent, doc_QGroupBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_customEvent, "QGroupBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGroupBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_customEvent, doc_QGroupBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_connectNotify, "QGroupBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGroupBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_connectNotify, doc_QGroupBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_disconnectNotify, "QGroupBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGroupBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_disconnectNotify, doc_QGroupBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_senderSignalIndex, "QGroupBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGroupBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_senderSignalIndex, doc_QGroupBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_isSignalConnected, "QGroupBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGroupBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_isSignalConnected, doc_QGroupBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_mouseDoubleClickEvent, "QGroupBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QGroupBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_mouseDoubleClickEvent, doc_QGroupBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_wheelEvent, "QGroupBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QGroupBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_wheelEvent, doc_QGroupBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_keyPressEvent, "QGroupBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGroupBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_keyPressEvent, doc_QGroupBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_keyReleaseEvent, "QGroupBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGroupBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_keyReleaseEvent, doc_QGroupBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_focusOutEvent, "QGroupBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGroupBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_focusOutEvent, doc_QGroupBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_enterEvent, "QGroupBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QGroupBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_enterEvent, doc_QGroupBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_leaveEvent, "QGroupBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QGroupBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_leaveEvent, doc_QGroupBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_moveEvent, "QGroupBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QGroupBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_moveEvent, doc_QGroupBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_closeEvent, "QGroupBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QGroupBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_closeEvent, doc_QGroupBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_contextMenuEvent, "QGroupBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QGroupBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_contextMenuEvent, doc_QGroupBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_tabletEvent, "QGroupBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QGroupBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_tabletEvent, doc_QGroupBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_actionEvent, "QGroupBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QGroupBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_actionEvent, doc_QGroupBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_dragEnterEvent, "QGroupBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QGroupBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_dragEnterEvent, doc_QGroupBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_dragMoveEvent, "QGroupBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QGroupBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_dragMoveEvent, doc_QGroupBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_dragLeaveEvent, "QGroupBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QGroupBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_dragLeaveEvent, doc_QGroupBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_dropEvent, "QGroupBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QGroupBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_dropEvent, doc_QGroupBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_showEvent, "QGroupBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QGroupBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_showEvent, doc_QGroupBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_hideEvent, "QGroupBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QGroupBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_hideEvent, doc_QGroupBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_metric, "QGroupBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QGroupBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_metric, doc_QGroupBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_inputMethodEvent, "QGroupBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGroupBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_inputMethodEvent, doc_QGroupBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_updateMicroFocus, "QGroupBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QGroupBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_updateMicroFocus, doc_QGroupBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_create, "QGroupBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QGroupBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQGroupBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_create, doc_QGroupBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_destroy, "QGroupBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QGroupBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQGroupBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QGroupBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_destroy, doc_QGroupBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_focusNextPrevChild, "QGroupBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QGroupBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGroupBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_focusNextPrevChild, doc_QGroupBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_focusNextChild, "QGroupBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QGroupBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_focusNextChild, doc_QGroupBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_focusPreviousChild, "QGroupBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QGroupBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_focusPreviousChild, doc_QGroupBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_nativeEvent, "QGroupBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QGroupBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_nativeEvent, doc_QGroupBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_sharedPainter, "QGroupBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QGroupBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_sharedPainter, doc_QGroupBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_initPainter, "QGroupBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QGroupBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_initPainter, doc_QGroupBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_title, "QGroupBox.title() -> str");

extern "C" {static PyObject *meth_QGroupBox_title(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_title(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->title());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_title, doc_QGroupBox_title);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_setTitle, "QGroupBox.setTitle(str)");

extern "C" {static PyObject *meth_QGroupBox_setTitle(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_setTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setTitle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_setTitle, doc_QGroupBox_setTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_alignment, "QGroupBox.alignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QGroupBox_alignment(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_alignment, doc_QGroupBox_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_setAlignment, "QGroupBox.setAlignment(int)");

extern "C" {static PyObject *meth_QGroupBox_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGroupBox, &sipCpp, &a0))
        {
            sipCpp->setAlignment(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_setAlignment, doc_QGroupBox_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_minimumSizeHint, "QGroupBox.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QGroupBox_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QGroupBox::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_minimumSizeHint, doc_QGroupBox_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_isFlat, "QGroupBox.isFlat() -> bool");

extern "C" {static PyObject *meth_QGroupBox_isFlat(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_isFlat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFlat();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_isFlat, doc_QGroupBox_isFlat);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_setFlat, "QGroupBox.setFlat(bool)");

extern "C" {static PyObject *meth_QGroupBox_setFlat(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_setFlat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGroupBox, &sipCpp, &a0))
        {
            sipCpp->setFlat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_setFlat, doc_QGroupBox_setFlat);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_isCheckable, "QGroupBox.isCheckable() -> bool");

extern "C" {static PyObject *meth_QGroupBox_isCheckable(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_isCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isCheckable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_isCheckable, doc_QGroupBox_isCheckable);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_setCheckable, "QGroupBox.setCheckable(bool)");

extern "C" {static PyObject *meth_QGroupBox_setCheckable(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_setCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGroupBox, &sipCpp, &a0))
        {
            sipCpp->setCheckable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_setCheckable, doc_QGroupBox_setCheckable);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_isChecked, "QGroupBox.isChecked() -> bool");

extern "C" {static PyObject *meth_QGroupBox_isChecked(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_isChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGroupBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isChecked();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_isChecked, doc_QGroupBox_isChecked);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_setChecked, "QGroupBox.setChecked(bool)");

extern "C" {static PyObject *meth_QGroupBox_setChecked(PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_setChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGroupBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGroupBox, &sipCpp, &a0))
        {
            sipCpp->setChecked(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_setChecked, doc_QGroupBox_setChecked);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_initStyleOption, "QGroupBox.initStyleOption(QStyleOptionGroupBox)");

extern "C" {static PyObject *meth_QGroupBox_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionGroupBox* a0;
        const sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QStyleOptionGroupBox, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_initStyleOption, doc_QGroupBox_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_event, "QGroupBox.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QGroupBox_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_event, doc_QGroupBox_event);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_childEvent, "QGroupBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGroupBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_childEvent, doc_QGroupBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_resizeEvent, "QGroupBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QGroupBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_resizeEvent, doc_QGroupBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_paintEvent, "QGroupBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QGroupBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_paintEvent, doc_QGroupBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_focusInEvent, "QGroupBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGroupBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_focusInEvent, doc_QGroupBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_changeEvent, "QGroupBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QGroupBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_changeEvent, doc_QGroupBox_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_mousePressEvent, "QGroupBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QGroupBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_mousePressEvent, doc_QGroupBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_mouseMoveEvent, "QGroupBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QGroupBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_mouseMoveEvent, doc_QGroupBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGroupBox_mouseReleaseEvent, "QGroupBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QGroupBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGroupBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQGroupBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGroupBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_mouseReleaseEvent, doc_QGroupBox_mouseReleaseEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGroupBox(void *, const sipTypeDef *);}
static void *cast_QGroupBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGroupBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QGroupBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGroupBox(void *, int);}
static void release_QGroupBox(void *sipCppV,int)
{
    QGroupBox *sipCpp = reinterpret_cast<QGroupBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGroupBox(sipSimpleWrapper *);}
static void dealloc_QGroupBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGroupBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGroupBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGroupBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGroupBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGroupBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQGroupBox(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQGroupBox(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGroupBox[] = {{454, 255, 1}};


static PyMethodDef methods_QGroupBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QGroupBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QGroupBox_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_alignment)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QGroupBox_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGroupBox_childEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_childEvent)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QGroupBox_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGroupBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGroupBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QGroupBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGroupBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QGroupBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGroupBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGroupBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGroupBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGroupBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGroupBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QGroupBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QGroupBox_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGroupBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QGroupBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QGroupBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGroupBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QGroupBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QGroupBox_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QGroupBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QGroupBox_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGroupBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isCheckable), meth_QGroupBox_isCheckable, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_isCheckable)},
    {SIP_MLNAME_CAST(sipName_isChecked), meth_QGroupBox_isChecked, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_isChecked)},
    {SIP_MLNAME_CAST(sipName_isFlat), meth_QGroupBox_isFlat, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_isFlat)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGroupBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGroupBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGroupBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QGroupBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QGroupBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QGroupBox_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGroupBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGroupBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGroupBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGroupBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QGroupBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QGroupBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QGroupBox_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGroupBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QGroupBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGroupBox_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGroupBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGroupBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QGroupBox_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setCheckable), meth_QGroupBox_setCheckable, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_setCheckable)},
    {SIP_MLNAME_CAST(sipName_setChecked), meth_QGroupBox_setChecked, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_setChecked)},
    {SIP_MLNAME_CAST(sipName_setFlat), meth_QGroupBox_setFlat, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_setFlat)},
    {SIP_MLNAME_CAST(sipName_setTitle), meth_QGroupBox_setTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_setTitle)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QGroupBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QGroupBox_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QGroupBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGroupBox_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_title), meth_QGroupBox_title, METH_VARARGS, SIP_MLDOC_CAST(doc_QGroupBox_title)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGroupBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGroupBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


extern "C" {static int emit_QGroupBox_clicked(void *, PyObject *);}

static int emit_QGroupBox_clicked(void *sipCppV, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    QGroupBox *sipCpp = reinterpret_cast<QGroupBox *>(sipCppV);

    {
        bool a0 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|b", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clicked(a0);
            Py_END_ALLOW_THREADS


            return 0;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGroupBox, sipName_clicked, NULL);

    return -1;
}


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGroupBox[] = {
    {"toggled(bool)", "\1QGroupBox.toggled[bool]", 0, 0},
    {"clicked(bool)", "\1QGroupBox.clicked[bool]", 0, emit_QGroupBox_clicked},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGroupBox, "\1QGroupBox(QWidget parent=None)\n"
    "QGroupBox(str, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGroupBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGroupBox,
        {0}
    },
    {
        sipNameNr_QGroupBox,
        {0, 0, 1},
        58, methods_QGroupBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGroupBox,
    -1,
    -1,
    supers_QGroupBox,
    0,
    init_type_QGroupBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGroupBox,
    0,
    0,
    0,
    release_QGroupBox,
    cast_QGroupBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGroupBox::staticMetaObject,
    0,
    signals_QGroupBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgridlayout.sip"
#include <qgridlayout.h>
#line 264097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 264101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 264104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 264107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 264110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 264113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 264116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 264119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 264122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 264125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 264128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 264131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 264134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 264137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 264140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 264143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 264146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 264149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 264152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 264155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 264158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 264161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 264164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 264167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 264170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 264173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 264176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGridLayout : public QGridLayout
{
public:
    sipQGridLayout(QWidget*);
    sipQGridLayout();
    virtual ~sipQGridLayout();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_widgetEvent(QEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtect_addChildLayout(QLayout*);
    void sipProtect_addChildWidget(QWidget*);
    QRect sipProtect_alignmentRect(const QRect&) const;
    void sipProtectVirt_addItem(bool,QLayoutItem*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSpacerItem* spacerItem();
    QWidget* widget();
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QSizePolicy::ControlTypes controlTypes() const;
    void childEvent(QChildEvent*);
    QLayout* layout();
    bool isEmpty() const;
    int indexOf(QWidget*) const;
    QRect geometry() const;
    void addItem(QLayoutItem*);
    void setGeometry(const QRect&);
    int count() const;
    QLayoutItem* takeAt(int);
    QLayoutItem* itemAt(int) const;
    void invalidate();
    Qt::Orientations expandingDirections() const;
    int minimumHeightForWidth(int) const;
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    QSize maximumSize() const;
    QSize minimumSize() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGridLayout(const sipQGridLayout &);
    sipQGridLayout &operator = (const sipQGridLayout &);

    char sipPyMethods[27];
};

sipQGridLayout::sipQGridLayout(QWidget*a0): QGridLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGridLayout::sipQGridLayout(): QGridLayout(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGridLayout::~sipQGridLayout()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGridLayout::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGridLayout);
}

int sipQGridLayout::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGridLayout::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGridLayout,_c,_id,_a);

    return _id;
}

void *sipQGridLayout::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGridLayout, _clname, &sipCpp) ? sipCpp : QGridLayout::qt_metacast(_clname));
}

QSpacerItem* sipQGridLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QGridLayout::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQGridLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QGridLayout::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGridLayout::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGridLayout::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGridLayout::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGridLayout::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGridLayout::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGridLayout::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGridLayout::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGridLayout::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGridLayout::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGridLayout::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGridLayout::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGridLayout::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizePolicy::ControlTypes sipQGridLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QGridLayout::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGridLayout::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGridLayout::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayout* sipQGridLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QGridLayout::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGridLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return QGridLayout::isEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQGridLayout::indexOf(QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return QGridLayout::indexOf(a0);

    extern int sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_QtWidgets_96(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRect sipQGridLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return QGridLayout::geometry();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGridLayout::addItem(QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
        QGridLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLayoutItem*);

    sipVH_QtWidgets_78(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGridLayout::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGridLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGridLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return QGridLayout::count();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QLayoutItem* sipQGridLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return QGridLayout::takeAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_76(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQGridLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return QGridLayout::itemAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_77(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGridLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QGridLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::Orientations sipQGridLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return QGridLayout::expandingDirections();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQGridLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QGridLayout::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGridLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QGridLayout::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGridLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QGridLayout::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQGridLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return QGridLayout::maximumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQGridLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return QGridLayout::minimumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQGridLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QGridLayout::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQGridLayout::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGridLayout::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGridLayout::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGridLayout::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGridLayout::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGridLayout::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGridLayout::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGridLayout::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGridLayout::sipProtect_widgetEvent(QEvent*a0)
{
    QLayout::widgetEvent(a0);
}

void sipQGridLayout::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QLayout::childEvent(a0) : childEvent(a0));
}

void sipQGridLayout::sipProtect_addChildLayout(QLayout*a0)
{
    QLayout::addChildLayout(a0);
}

void sipQGridLayout::sipProtect_addChildWidget(QWidget*a0)
{
    QLayout::addChildWidget(a0);
}

QRect sipQGridLayout::sipProtect_alignmentRect(const QRect& a0) const
{
    return QLayout::alignmentRect(a0);
}

void sipQGridLayout::sipProtectVirt_addItem(bool sipSelfWasArg,QLayoutItem*a0)
{
    (sipSelfWasArg ? QGridLayout::addItem(a0) : addItem(a0));
}


PyDoc_STRVAR(doc_QGridLayout_sender, "QGridLayout.sender() -> QObject");

extern "C" {static PyObject *meth_QGridLayout_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 264829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_sender, doc_QGridLayout_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_receivers, "QGridLayout.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGridLayout_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 264888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_receivers, doc_QGridLayout_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_timerEvent, "QGridLayout.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGridLayout_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_timerEvent, doc_QGridLayout_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_customEvent, "QGridLayout.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGridLayout_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_customEvent, doc_QGridLayout_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_connectNotify, "QGridLayout.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGridLayout_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_connectNotify, doc_QGridLayout_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_disconnectNotify, "QGridLayout.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGridLayout_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_disconnectNotify, doc_QGridLayout_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_senderSignalIndex, "QGridLayout.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGridLayout_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_senderSignalIndex, doc_QGridLayout_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_isSignalConnected, "QGridLayout.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGridLayout_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_isSignalConnected, doc_QGridLayout_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_widgetEvent, "QGridLayout.widgetEvent(QEvent)");

extern "C" {static PyObject *meth_QGridLayout_widgetEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_widgetEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QEvent* a0;
        sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtect_widgetEvent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_widgetEvent, doc_QGridLayout_widgetEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_childEvent, "QGridLayout.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGridLayout_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_childEvent, doc_QGridLayout_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_addChildLayout, "QGridLayout.addChildLayout(QLayout)");

extern "C" {static PyObject *meth_QGridLayout_addChildLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_addChildLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->sipProtect_addChildLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_addChildLayout, doc_QGridLayout_addChildLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_addChildWidget, "QGridLayout.addChildWidget(QWidget)");

extern "C" {static PyObject *meth_QGridLayout_addChildWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_addChildWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B@J8", &sipSelf, sipType_QGridLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipCpp->addChildWidget(a0);
        #else
        sipCpp->sipProtect_addChildWidget(a0);
        #endif
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows
            // addChildWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 265198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_addChildWidget, doc_QGridLayout_addChildWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_alignmentRect, "QGridLayout.alignmentRect(QRect) -> QRect");

extern "C" {static PyObject *meth_QGridLayout_alignmentRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_alignmentRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        const sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QRect, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_alignmentRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_alignmentRect, doc_QGridLayout_alignmentRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_sizeHint, "QGridLayout.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QGridLayout_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QGridLayout::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_sizeHint, doc_QGridLayout_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_minimumSize, "QGridLayout.minimumSize() -> QSize");

extern "C" {static PyObject *meth_QGridLayout_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QGridLayout::minimumSize() : sipCpp->minimumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_minimumSize, doc_QGridLayout_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_maximumSize, "QGridLayout.maximumSize() -> QSize");

extern "C" {static PyObject *meth_QGridLayout_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_maximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QGridLayout::maximumSize() : sipCpp->maximumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_maximumSize, doc_QGridLayout_maximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setRowStretch, "QGridLayout.setRowStretch(int, int)");

extern "C" {static PyObject *meth_QGridLayout_setRowStretch(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setRowStretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowStretch(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setRowStretch, doc_QGridLayout_setRowStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setColumnStretch, "QGridLayout.setColumnStretch(int, int)");

extern "C" {static PyObject *meth_QGridLayout_setColumnStretch(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setColumnStretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnStretch(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setColumnStretch, doc_QGridLayout_setColumnStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_rowStretch, "QGridLayout.rowStretch(int) -> int");

extern "C" {static PyObject *meth_QGridLayout_rowStretch(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_rowStretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->rowStretch(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_rowStretch, doc_QGridLayout_rowStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_columnStretch, "QGridLayout.columnStretch(int) -> int");

extern "C" {static PyObject *meth_QGridLayout_columnStretch(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_columnStretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->columnStretch(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_columnStretch, doc_QGridLayout_columnStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setRowMinimumHeight, "QGridLayout.setRowMinimumHeight(int, int)");

extern "C" {static PyObject *meth_QGridLayout_setRowMinimumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setRowMinimumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowMinimumHeight(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setRowMinimumHeight, doc_QGridLayout_setRowMinimumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setColumnMinimumWidth, "QGridLayout.setColumnMinimumWidth(int, int)");

extern "C" {static PyObject *meth_QGridLayout_setColumnMinimumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setColumnMinimumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnMinimumWidth(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setColumnMinimumWidth, doc_QGridLayout_setColumnMinimumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_rowMinimumHeight, "QGridLayout.rowMinimumHeight(int) -> int");

extern "C" {static PyObject *meth_QGridLayout_rowMinimumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_rowMinimumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->rowMinimumHeight(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_rowMinimumHeight, doc_QGridLayout_rowMinimumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_columnMinimumWidth, "QGridLayout.columnMinimumWidth(int) -> int");

extern "C" {static PyObject *meth_QGridLayout_columnMinimumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_columnMinimumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->columnMinimumWidth(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_columnMinimumWidth, doc_QGridLayout_columnMinimumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_columnCount, "QGridLayout.columnCount() -> int");

extern "C" {static PyObject *meth_QGridLayout_columnCount(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->columnCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_columnCount, doc_QGridLayout_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_rowCount, "QGridLayout.rowCount() -> int");

extern "C" {static PyObject *meth_QGridLayout_rowCount(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->rowCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_rowCount, doc_QGridLayout_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_cellRect, "QGridLayout.cellRect(int, int) -> QRect");

extern "C" {static PyObject *meth_QGridLayout_cellRect(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_cellRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGridLayout, &sipCpp, &a0, &a1))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->cellRect(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_cellRect, doc_QGridLayout_cellRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_hasHeightForWidth, "QGridLayout.hasHeightForWidth() -> bool");

extern "C" {static PyObject *meth_QGridLayout_hasHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_hasHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGridLayout::hasHeightForWidth() : sipCpp->hasHeightForWidth());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_hasHeightForWidth, doc_QGridLayout_hasHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_heightForWidth, "QGridLayout.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QGridLayout_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGridLayout::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_heightForWidth, doc_QGridLayout_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_minimumHeightForWidth, "QGridLayout.minimumHeightForWidth(int) -> int");

extern "C" {static PyObject *meth_QGridLayout_minimumHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_minimumHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGridLayout::minimumHeightForWidth(a0) : sipCpp->minimumHeightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_minimumHeightForWidth, doc_QGridLayout_minimumHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_expandingDirections, "QGridLayout.expandingDirections() -> Qt.Orientations");

extern "C" {static PyObject *meth_QGridLayout_expandingDirections(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_expandingDirections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            Qt::Orientations*sipRes;

            sipRes = new Qt::Orientations((sipSelfWasArg ? sipCpp->QGridLayout::expandingDirections() : sipCpp->expandingDirections()));

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_expandingDirections, doc_QGridLayout_expandingDirections);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_invalidate, "QGridLayout.invalidate()");

extern "C" {static PyObject *meth_QGridLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGridLayout::invalidate() : sipCpp->invalidate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_invalidate, doc_QGridLayout_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_addWidget, "QGridLayout.addWidget(QWidget)\n"
    "QGridLayout.addWidget(QWidget, int, int, Qt.Alignment alignment=0)\n"
    "QGridLayout.addWidget(QWidget, int, int, int, int, Qt.Alignment alignment=0)");

extern "C" {static PyObject *meth_QGridLayout_addWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_addWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        QGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B@J8", &sipSelf, sipType_QGridLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 54 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgridlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->addWidget(a0);
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows addWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 265809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        int a1;
        int a2;
        Qt::Alignment a3def = 0;
        Qt::Alignment* a3 = &a3def;
        int a3State = 0;
        QGridLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B@J8ii|J1", &sipSelf, sipType_QGridLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0, &a1, &a2, sipType_Qt_Alignment, &a3, &a3State))
        {
#line 78 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgridlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->addWidget(a0, a1, a2, *a3);
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows addWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 265856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a3,sipType_Qt_Alignment,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        int a1;
        int a2;
        int a3;
        int a4;
        Qt::Alignment a5def = 0;
        Qt::Alignment* a5 = &a5def;
        int a5State = 0;
        QGridLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B@J8iiii|J1", &sipSelf, sipType_QGridLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0, &a1, &a2, &a3, &a4, sipType_Qt_Alignment, &a5, &a5State))
        {
#line 102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgridlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->addWidget(a0, a1, a2, a3, a4, *a5);
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows addWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 265908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a5,sipType_Qt_Alignment,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_addWidget, doc_QGridLayout_addWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_addLayout, "QGridLayout.addLayout(QLayout, int, int, Qt.Alignment alignment=0)\n"
    "QGridLayout.addLayout(QLayout, int, int, int, int, Qt.Alignment alignment=0)");

extern "C" {static PyObject *meth_QGridLayout_addLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_addLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        int a1;
        int a2;
        Qt::Alignment a3def = 0;
        Qt::Alignment* a3 = &a3def;
        int a3State = 0;
        QGridLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:ii|J1", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QLayout, &a0, &a1, &a2, sipType_Qt_Alignment, &a3, &a3State))
        {
            sipCpp->addLayout(a0,a1,a2,*a3);
            sipReleaseType(a3,sipType_Qt_Alignment,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QLayout* a0;
        int a1;
        int a2;
        int a3;
        int a4;
        Qt::Alignment a5def = 0;
        Qt::Alignment* a5 = &a5def;
        int a5State = 0;
        QGridLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:iiii|J1", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QLayout, &a0, &a1, &a2, &a3, &a4, sipType_Qt_Alignment, &a5, &a5State))
        {
            sipCpp->addLayout(a0,a1,a2,a3,a4,*a5);
            sipReleaseType(a5,sipType_Qt_Alignment,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_addLayout, doc_QGridLayout_addLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setOriginCorner, "QGridLayout.setOriginCorner(Qt.Corner)");

extern "C" {static PyObject *meth_QGridLayout_setOriginCorner(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setOriginCorner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Corner a0;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_Qt_Corner, &a0))
        {
            sipCpp->setOriginCorner(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setOriginCorner, doc_QGridLayout_setOriginCorner);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_originCorner, "QGridLayout.originCorner() -> Qt.Corner");

extern "C" {static PyObject *meth_QGridLayout_originCorner(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_originCorner(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            Qt::Corner sipRes;

            sipRes = sipCpp->originCorner();

            return sipConvertFromEnum(sipRes,sipType_Qt_Corner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_originCorner, doc_QGridLayout_originCorner);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_itemAt, "QGridLayout.itemAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QGridLayout_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGridLayout::itemAt(a0) : sipCpp->itemAt(a0));

            return sipConvertFromType(sipRes,sipType_QLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_itemAt, doc_QGridLayout_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_takeAt, "QGridLayout.takeAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QGridLayout_takeAt(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_takeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGridLayout::takeAt(a0) : sipCpp->takeAt(a0));

            return sipConvertFromType(sipRes,sipType_QLayoutItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_takeAt, doc_QGridLayout_takeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_count, "QGridLayout.count() -> int");

extern "C" {static PyObject *meth_QGridLayout_count(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGridLayout::count() : sipCpp->count());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_count, doc_QGridLayout_count);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setGeometry, "QGridLayout.setGeometry(QRect)");

extern "C" {static PyObject *meth_QGridLayout_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QRect, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGridLayout::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setGeometry, doc_QGridLayout_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_addItem, "QGridLayout.addItem(QLayoutItem, int, int, int rowSpan=1, int columnSpan=1, Qt.Alignment alignment=0)\n"
    "QGridLayout.addItem(QLayoutItem)");

extern "C" {static PyObject *meth_QGridLayout_addItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_addItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayoutItem* a0;
        int a1;
        int a2;
        int a3 = 1;
        int a4 = 1;
        Qt::Alignment a5def = 0;
        Qt::Alignment* a5 = &a5def;
        int a5State = 0;
        QGridLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_rowSpan,
            sipName_columnSpan,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:ii|iiJ1", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QLayoutItem, &a0, &a1, &a2, &a3, &a4, sipType_Qt_Alignment, &a5, &a5State))
        {
            sipCpp->addItem(a0,a1,a2,a3,a4,*a5);
            sipReleaseType(a5,sipType_Qt_Alignment,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QLayoutItem* a0;
        sipQGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QGridLayout, &sipCpp, sipType_QLayoutItem, &a0))
        {
            sipCpp->sipProtectVirt_addItem(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_addItem, doc_QGridLayout_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setDefaultPositioning, "QGridLayout.setDefaultPositioning(int, Qt.Orientation)");

extern "C" {static PyObject *meth_QGridLayout_setDefaultPositioning(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setDefaultPositioning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::Orientation a1;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QGridLayout, &sipCpp, &a0, sipType_Qt_Orientation, &a1))
        {
            sipCpp->setDefaultPositioning(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setDefaultPositioning, doc_QGridLayout_setDefaultPositioning);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_getItemPosition, "QGridLayout.getItemPosition(int) -> (int, int, int, int)");

extern "C" {static PyObject *meth_QGridLayout_getItemPosition(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_getItemPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        int a4;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            sipCpp->getItemPosition(a0,&a1,&a2,&a3,&a4);

            return sipBuildResult(0,"(iiii)",a1,a2,a3,a4);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_getItemPosition, doc_QGridLayout_getItemPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setHorizontalSpacing, "QGridLayout.setHorizontalSpacing(int)");

extern "C" {static PyObject *meth_QGridLayout_setHorizontalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setHorizontalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            sipCpp->setHorizontalSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setHorizontalSpacing, doc_QGridLayout_setHorizontalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_horizontalSpacing, "QGridLayout.horizontalSpacing() -> int");

extern "C" {static PyObject *meth_QGridLayout_horizontalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_horizontalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->horizontalSpacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_horizontalSpacing, doc_QGridLayout_horizontalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setVerticalSpacing, "QGridLayout.setVerticalSpacing(int)");

extern "C" {static PyObject *meth_QGridLayout_setVerticalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setVerticalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            sipCpp->setVerticalSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setVerticalSpacing, doc_QGridLayout_setVerticalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_verticalSpacing, "QGridLayout.verticalSpacing() -> int");

extern "C" {static PyObject *meth_QGridLayout_verticalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_verticalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->verticalSpacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_verticalSpacing, doc_QGridLayout_verticalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_setSpacing, "QGridLayout.setSpacing(int)");

extern "C" {static PyObject *meth_QGridLayout_setSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_setSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGridLayout, &sipCpp, &a0))
        {
            sipCpp->setSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_setSpacing, doc_QGridLayout_setSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_spacing, "QGridLayout.spacing() -> int");

extern "C" {static PyObject *meth_QGridLayout_spacing(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_spacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->spacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_spacing, doc_QGridLayout_spacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGridLayout_itemAtPosition, "QGridLayout.itemAtPosition(int, int) -> QLayoutItem");

extern "C" {static PyObject *meth_QGridLayout_itemAtPosition(PyObject *, PyObject *);}
static PyObject *meth_QGridLayout_itemAtPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGridLayout, &sipCpp, &a0, &a1))
        {
            QLayoutItem*sipRes;

            sipRes = sipCpp->itemAtPosition(a0,a1);

            return sipConvertFromType(sipRes,sipType_QLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGridLayout, sipName_itemAtPosition, doc_QGridLayout_itemAtPosition);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGridLayout(void *, const sipTypeDef *);}
static void *cast_QGridLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGridLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QLayout)->ctd_cast((QLayout *)(QGridLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGridLayout(void *, int);}
static void release_QGridLayout(void *sipCppV,int)
{
    QGridLayout *sipCpp = reinterpret_cast<QGridLayout *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGridLayout(sipSimpleWrapper *);}
static void dealloc_QGridLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGridLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGridLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGridLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGridLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGridLayout *sipCpp = 0;

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQGridLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQGridLayout();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGridLayout[] = {{186, 255, 1}};


static PyMethodDef methods_QGridLayout[] = {
    {SIP_MLNAME_CAST(sipName_addChildLayout), (PyCFunction)meth_QGridLayout_addChildLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addChildWidget), (PyCFunction)meth_QGridLayout_addChildWidget, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), (PyCFunction)meth_QGridLayout_addItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGridLayout_addItem)},
    {SIP_MLNAME_CAST(sipName_addLayout), (PyCFunction)meth_QGridLayout_addLayout, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGridLayout_addLayout)},
    {SIP_MLNAME_CAST(sipName_addWidget), (PyCFunction)meth_QGridLayout_addWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGridLayout_addWidget)},
    {SIP_MLNAME_CAST(sipName_alignmentRect), (PyCFunction)meth_QGridLayout_alignmentRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cellRect), meth_QGridLayout_cellRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_cellRect)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGridLayout_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_QGridLayout_columnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_columnCount)},
    {SIP_MLNAME_CAST(sipName_columnMinimumWidth), meth_QGridLayout_columnMinimumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_columnMinimumWidth)},
    {SIP_MLNAME_CAST(sipName_columnStretch), meth_QGridLayout_columnStretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_columnStretch)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGridLayout_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QGridLayout_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_count)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGridLayout_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGridLayout_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_expandingDirections), meth_QGridLayout_expandingDirections, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_expandingDirections)},
    {SIP_MLNAME_CAST(sipName_getItemPosition), meth_QGridLayout_getItemPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_getItemPosition)},
    {SIP_MLNAME_CAST(sipName_hasHeightForWidth), meth_QGridLayout_hasHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_hasHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QGridLayout_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_horizontalSpacing), meth_QGridLayout_horizontalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_horizontalSpacing)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QGridLayout_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_invalidate)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGridLayout_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QGridLayout_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_itemAt)},
    {SIP_MLNAME_CAST(sipName_itemAtPosition), meth_QGridLayout_itemAtPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_itemAtPosition)},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_QGridLayout_maximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_maximumSize)},
    {SIP_MLNAME_CAST(sipName_minimumHeightForWidth), meth_QGridLayout_minimumHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_minimumHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QGridLayout_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_minimumSize)},
    {SIP_MLNAME_CAST(sipName_originCorner), meth_QGridLayout_originCorner, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_originCorner)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGridLayout_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_QGridLayout_rowCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_rowCount)},
    {SIP_MLNAME_CAST(sipName_rowMinimumHeight), meth_QGridLayout_rowMinimumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_rowMinimumHeight)},
    {SIP_MLNAME_CAST(sipName_rowStretch), meth_QGridLayout_rowStretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_rowStretch)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGridLayout_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGridLayout_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setColumnMinimumWidth), meth_QGridLayout_setColumnMinimumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setColumnMinimumWidth)},
    {SIP_MLNAME_CAST(sipName_setColumnStretch), meth_QGridLayout_setColumnStretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setColumnStretch)},
    {SIP_MLNAME_CAST(sipName_setDefaultPositioning), meth_QGridLayout_setDefaultPositioning, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setDefaultPositioning)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QGridLayout_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setHorizontalSpacing), meth_QGridLayout_setHorizontalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setHorizontalSpacing)},
    {SIP_MLNAME_CAST(sipName_setOriginCorner), meth_QGridLayout_setOriginCorner, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setOriginCorner)},
    {SIP_MLNAME_CAST(sipName_setRowMinimumHeight), meth_QGridLayout_setRowMinimumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setRowMinimumHeight)},
    {SIP_MLNAME_CAST(sipName_setRowStretch), meth_QGridLayout_setRowStretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setRowStretch)},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_QGridLayout_setSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setSpacing)},
    {SIP_MLNAME_CAST(sipName_setVerticalSpacing), meth_QGridLayout_setVerticalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_setVerticalSpacing)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QGridLayout_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_sizeHint)},
    {SIP_MLNAME_CAST(sipName_spacing), meth_QGridLayout_spacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_spacing)},
    {SIP_MLNAME_CAST(sipName_takeAt), meth_QGridLayout_takeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_takeAt)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGridLayout_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalSpacing), meth_QGridLayout_verticalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGridLayout_verticalSpacing)},
    {SIP_MLNAME_CAST(sipName_widgetEvent), (PyCFunction)meth_QGridLayout_widgetEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGridLayout, "\1QGridLayout(QWidget)\n"
    "QGridLayout()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGridLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGridLayout,
        {0}
    },
    {
        sipNameNr_QGridLayout,
        {0, 0, 1},
        50, methods_QGridLayout,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGridLayout,
    -1,
    -1,
    supers_QGridLayout,
    0,
    init_type_QGridLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGridLayout,
    0,
    0,
    0,
    release_QGridLayout,
    cast_QGridLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGridLayout::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 266663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 266667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QGraphicsView_OptimizationFlags___bool__(PyObject *);}
static int slot_QGraphicsView_OptimizationFlags___bool__(PyObject *sipSelf)
{
    QGraphicsView::OptimizationFlags *sipCpp = reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_OptimizationFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::OptimizationFlags::Int() != 0);
#line 266685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsView::OptimizationFlags *sipCpp = reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_OptimizationFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::OptimizationFlags::Int() != a0->operator QGraphicsView::OptimizationFlags::Int());
#line 266715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsView::OptimizationFlags *>(a0),sipType_QGraphicsView_OptimizationFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QGraphicsView_OptimizationFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsView::OptimizationFlags *sipCpp = reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_OptimizationFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::OptimizationFlags::Int() == a0->operator QGraphicsView::OptimizationFlags::Int());
#line 266751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsView::OptimizationFlags *>(a0),sipType_QGraphicsView_OptimizationFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QGraphicsView_OptimizationFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___invert__(PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___invert__(PyObject *sipSelf)
{
    QGraphicsView::OptimizationFlags *sipCpp = reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_OptimizationFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QGraphicsView::OptimizationFlags*sipRes;

            sipRes = new QGraphicsView::OptimizationFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_OptimizationFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State, &a1))
        {
            QGraphicsView::OptimizationFlags*sipRes;

            sipRes = new QGraphicsView::OptimizationFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QGraphicsView_OptimizationFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_OptimizationFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;
        QGraphicsView::OptimizationFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State, sipType_QGraphicsView_OptimizationFlags, &a1, &a1State))
        {
            QGraphicsView::OptimizationFlags*sipRes;

            sipRes = new QGraphicsView::OptimizationFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QGraphicsView_OptimizationFlags,a0State);
            sipReleaseType(a1,sipType_QGraphicsView_OptimizationFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_OptimizationFlags,NULL);
        }
    }

    {
        QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State, &a1))
        {
            QGraphicsView::OptimizationFlags*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsView::OptimizationFlags(*a0 ^ a1);
#line 266854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsView_OptimizationFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_OptimizationFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;
        QGraphicsView::OptimizationFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State, sipType_QGraphicsView_OptimizationFlags, &a1, &a1State))
        {
            QGraphicsView::OptimizationFlags*sipRes;

            sipRes = new QGraphicsView::OptimizationFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QGraphicsView_OptimizationFlags,a0State);
            sipReleaseType(a1,sipType_QGraphicsView_OptimizationFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_OptimizationFlags,NULL);
        }
    }

    {
        QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State, &a1))
        {
            QGraphicsView::OptimizationFlags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsView::OptimizationFlags(*a0 | a1);
#line 266904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsView_OptimizationFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_OptimizationFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___int__(PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___int__(PyObject *sipSelf)
{
    QGraphicsView::OptimizationFlags *sipCpp = reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_OptimizationFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsView_OptimizationFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsView_OptimizationFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsView::OptimizationFlags *sipCpp = reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_OptimizationFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State))
        {
            sipCpp->QGraphicsView::OptimizationFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QGraphicsView_OptimizationFlags,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_QGraphicsView_OptimizationFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsView_OptimizationFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsView::OptimizationFlags *sipCpp = reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_OptimizationFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State))
        {
            sipCpp->QGraphicsView::OptimizationFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QGraphicsView_OptimizationFlags,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_QGraphicsView_OptimizationFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_OptimizationFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsView_OptimizationFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsView::OptimizationFlags *sipCpp = reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_OptimizationFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QGraphicsView::OptimizationFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsView_OptimizationFlags(void *, const sipTypeDef *);}
static void *cast_QGraphicsView_OptimizationFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGraphicsView_OptimizationFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsView_OptimizationFlags(void *, int);}
static void release_QGraphicsView_OptimizationFlags(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipCppV);
}


extern "C" {static void assign_QGraphicsView_OptimizationFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QGraphicsView_OptimizationFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QGraphicsView::OptimizationFlags *>(sipSrc);
}


extern "C" {static void *array_QGraphicsView_OptimizationFlags(SIP_SSIZE_T);}
static void *array_QGraphicsView_OptimizationFlags(SIP_SSIZE_T sipNrElem)
{
    return new QGraphicsView::OptimizationFlags[sipNrElem];
}


extern "C" {static void *copy_QGraphicsView_OptimizationFlags(const void *, SIP_SSIZE_T);}
static void *copy_QGraphicsView_OptimizationFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QGraphicsView::OptimizationFlags(reinterpret_cast<const QGraphicsView::OptimizationFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QGraphicsView_OptimizationFlags(sipSimpleWrapper *);}
static void dealloc_QGraphicsView_OptimizationFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsView_OptimizationFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QGraphicsView_OptimizationFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsView_OptimizationFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QGraphicsView::OptimizationFlags *sipCpp = 0;

    {
        const QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QGraphicsView_OptimizationFlags, &a0, &a0State))
        {
            sipCpp = new QGraphicsView::OptimizationFlags(*a0);
            sipReleaseType(const_cast<QGraphicsView::OptimizationFlags *>(a0),sipType_QGraphicsView_OptimizationFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QGraphicsView::OptimizationFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QGraphicsView::OptimizationFlags();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QGraphicsView_OptimizationFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QGraphicsView_OptimizationFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QGraphicsView::OptimizationFlags **sipCppPtr = reinterpret_cast<QGraphicsView::OptimizationFlags **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QGraphicsView::OptimizationFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsView_OptimizationFlag)) ||
            sipCanConvertToType(sipPy, sipType_QGraphicsView_OptimizationFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsView_OptimizationFlag)))
{
    *sipCppPtr = new QGraphicsView::OptimizationFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QGraphicsView::OptimizationFlags *>(sipConvertToType(sipPy, sipType_QGraphicsView_OptimizationFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 267181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsView_OptimizationFlags[] = {
    {(void *)slot_QGraphicsView_OptimizationFlags___bool__, bool_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___ne__, ne_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___eq__, eq_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___invert__, invert_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___and__, and_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___xor__, xor_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___or__, or_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___int__, int_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___ixor__, ixor_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___ior__, ior_slot},
    {(void *)slot_QGraphicsView_OptimizationFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsView_OptimizationFlags, "\1QGraphicsView.OptimizationFlags(QGraphicsView.OptimizationFlags)\n"
    "QGraphicsView.OptimizationFlags(int)\n"
    "QGraphicsView.OptimizationFlags()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsView_OptimizationFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsView__OptimizationFlags,
        {0}
    },
    {
        sipNameNr_OptimizationFlags,
        {159, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsView_OptimizationFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QGraphicsView_OptimizationFlags,
    init_type_QGraphicsView_OptimizationFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsView_OptimizationFlags,
    assign_QGraphicsView_OptimizationFlags,
    array_QGraphicsView_OptimizationFlags,
    copy_QGraphicsView_OptimizationFlags,
    release_QGraphicsView_OptimizationFlags,
    cast_QGraphicsView_OptimizationFlags,
    convertTo_QGraphicsView_OptimizationFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 267263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 267267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QGraphicsView_CacheMode___bool__(PyObject *);}
static int slot_QGraphicsView_CacheMode___bool__(PyObject *sipSelf)
{
    QGraphicsView::CacheMode *sipCpp = reinterpret_cast<QGraphicsView::CacheMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_CacheMode));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::CacheMode::Int() != 0);
#line 267285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___ne__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsView::CacheMode *sipCpp = reinterpret_cast<QGraphicsView::CacheMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_CacheMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView::CacheMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsView_CacheMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::CacheMode::Int() != a0->operator QGraphicsView::CacheMode::Int());
#line 267315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsView::CacheMode *>(a0),sipType_QGraphicsView_CacheMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QGraphicsView_CacheMode,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___eq__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsView::CacheMode *sipCpp = reinterpret_cast<QGraphicsView::CacheMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_CacheMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView::CacheMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsView_CacheMode, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsView::CacheMode::Int() == a0->operator QGraphicsView::CacheMode::Int());
#line 267351 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsView::CacheMode *>(a0),sipType_QGraphicsView_CacheMode,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QGraphicsView_CacheMode,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___invert__(PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___invert__(PyObject *sipSelf)
{
    QGraphicsView::CacheMode *sipCpp = reinterpret_cast<QGraphicsView::CacheMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_CacheMode));

    if (!sipCpp)
        return 0;


    {
        {
            QGraphicsView::CacheMode*sipRes;

            sipRes = new QGraphicsView::CacheMode(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_CacheMode,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___and__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::CacheMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsView_CacheMode, &a0, &a0State, &a1))
        {
            QGraphicsView::CacheMode*sipRes;

            sipRes = new QGraphicsView::CacheMode((*a0 & a1));
            sipReleaseType(a0,sipType_QGraphicsView_CacheMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_CacheMode,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::CacheMode* a0;
        int a0State = 0;
        QGraphicsView::CacheMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsView_CacheMode, &a0, &a0State, sipType_QGraphicsView_CacheMode, &a1, &a1State))
        {
            QGraphicsView::CacheMode*sipRes;

            sipRes = new QGraphicsView::CacheMode((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QGraphicsView_CacheMode,a0State);
            sipReleaseType(a1,sipType_QGraphicsView_CacheMode,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_CacheMode,NULL);
        }
    }

    {
        QGraphicsView::CacheMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsView_CacheMode, &a0, &a0State, &a1))
        {
            QGraphicsView::CacheMode*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsView::CacheMode(*a0 ^ a1);
#line 267454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsView_CacheMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_CacheMode,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::CacheMode* a0;
        int a0State = 0;
        QGraphicsView::CacheMode* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsView_CacheMode, &a0, &a0State, sipType_QGraphicsView_CacheMode, &a1, &a1State))
        {
            QGraphicsView::CacheMode*sipRes;

            sipRes = new QGraphicsView::CacheMode((*a0 | *a1));
            sipReleaseType(a0,sipType_QGraphicsView_CacheMode,a0State);
            sipReleaseType(a1,sipType_QGraphicsView_CacheMode,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_CacheMode,NULL);
        }
    }

    {
        QGraphicsView::CacheMode* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsView_CacheMode, &a0, &a0State, &a1))
        {
            QGraphicsView::CacheMode*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsView::CacheMode(*a0 | a1);
#line 267504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsView_CacheMode,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_CacheMode,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___int__(PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___int__(PyObject *sipSelf)
{
    QGraphicsView::CacheMode *sipCpp = reinterpret_cast<QGraphicsView::CacheMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_CacheMode));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsView_CacheMode___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsView_CacheMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsView::CacheMode *sipCpp = reinterpret_cast<QGraphicsView::CacheMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_CacheMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::CacheMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsView_CacheMode, &a0, &a0State))
        {
            sipCpp->QGraphicsView::CacheMode::operator^=(*a0);
            sipReleaseType(a0,sipType_QGraphicsView_CacheMode,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_QGraphicsView_CacheMode___ior__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsView_CacheMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsView::CacheMode *sipCpp = reinterpret_cast<QGraphicsView::CacheMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_CacheMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::CacheMode* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsView_CacheMode, &a0, &a0State))
        {
            sipCpp->QGraphicsView::CacheMode::operator|=(*a0);
            sipReleaseType(a0,sipType_QGraphicsView_CacheMode,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_QGraphicsView_CacheMode___iand__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsView_CacheMode___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsView_CacheMode)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsView::CacheMode *sipCpp = reinterpret_cast<QGraphicsView::CacheMode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsView_CacheMode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QGraphicsView::CacheMode::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsView_CacheMode(void *, const sipTypeDef *);}
static void *cast_QGraphicsView_CacheMode(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGraphicsView_CacheMode)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsView_CacheMode(void *, int);}
static void release_QGraphicsView_CacheMode(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsView::CacheMode *>(sipCppV);
}


extern "C" {static void assign_QGraphicsView_CacheMode(void *, SIP_SSIZE_T, const void *);}
static void assign_QGraphicsView_CacheMode(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QGraphicsView::CacheMode *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QGraphicsView::CacheMode *>(sipSrc);
}


extern "C" {static void *array_QGraphicsView_CacheMode(SIP_SSIZE_T);}
static void *array_QGraphicsView_CacheMode(SIP_SSIZE_T sipNrElem)
{
    return new QGraphicsView::CacheMode[sipNrElem];
}


extern "C" {static void *copy_QGraphicsView_CacheMode(const void *, SIP_SSIZE_T);}
static void *copy_QGraphicsView_CacheMode(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QGraphicsView::CacheMode(reinterpret_cast<const QGraphicsView::CacheMode *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QGraphicsView_CacheMode(sipSimpleWrapper *);}
static void dealloc_QGraphicsView_CacheMode(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsView_CacheMode(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QGraphicsView_CacheMode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsView_CacheMode(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QGraphicsView::CacheMode *sipCpp = 0;

    {
        const QGraphicsView::CacheMode* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QGraphicsView_CacheMode, &a0, &a0State))
        {
            sipCpp = new QGraphicsView::CacheMode(*a0);
            sipReleaseType(const_cast<QGraphicsView::CacheMode *>(a0),sipType_QGraphicsView_CacheMode,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QGraphicsView::CacheMode(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QGraphicsView::CacheMode();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QGraphicsView_CacheMode(PyObject *, void **, int *, PyObject *);}
static int convertTo_QGraphicsView_CacheMode(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QGraphicsView::CacheMode **sipCppPtr = reinterpret_cast<QGraphicsView::CacheMode **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QGraphicsView::CacheMode is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsView_CacheModeFlag)) ||
            sipCanConvertToType(sipPy, sipType_QGraphicsView_CacheMode, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsView_CacheModeFlag)))
{
    *sipCppPtr = new QGraphicsView::CacheMode(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QGraphicsView::CacheMode *>(sipConvertToType(sipPy, sipType_QGraphicsView_CacheMode, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 267781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsView_CacheMode[] = {
    {(void *)slot_QGraphicsView_CacheMode___bool__, bool_slot},
    {(void *)slot_QGraphicsView_CacheMode___ne__, ne_slot},
    {(void *)slot_QGraphicsView_CacheMode___eq__, eq_slot},
    {(void *)slot_QGraphicsView_CacheMode___invert__, invert_slot},
    {(void *)slot_QGraphicsView_CacheMode___and__, and_slot},
    {(void *)slot_QGraphicsView_CacheMode___xor__, xor_slot},
    {(void *)slot_QGraphicsView_CacheMode___or__, or_slot},
    {(void *)slot_QGraphicsView_CacheMode___int__, int_slot},
    {(void *)slot_QGraphicsView_CacheMode___ixor__, ixor_slot},
    {(void *)slot_QGraphicsView_CacheMode___ior__, ior_slot},
    {(void *)slot_QGraphicsView_CacheMode___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsView_CacheMode, "\1QGraphicsView.CacheMode(QGraphicsView.CacheMode)\n"
    "QGraphicsView.CacheMode(int)\n"
    "QGraphicsView.CacheMode()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsView_CacheMode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsView__CacheMode,
        {0}
    },
    {
        sipNameNr_CacheMode,
        {159, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsView_CacheMode,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QGraphicsView_CacheMode,
    init_type_QGraphicsView_CacheMode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsView_CacheMode,
    assign_QGraphicsView_CacheMode,
    array_QGraphicsView_CacheMode,
    copy_QGraphicsView_CacheMode,
    release_QGraphicsView_CacheMode,
    cast_QGraphicsView_CacheMode,
    convertTo_QGraphicsView_CacheMode,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 267863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 267867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 267870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 267873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 267876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 267879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 267882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 267885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 267888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 267891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 267930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 267933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 267936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 267939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 267942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 267945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 267948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 267951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 267954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 267957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 267960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 267963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 267966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 267969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 267972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 267975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 267978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 267981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 267984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 267987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 267990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 267993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 267996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 267999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 268002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 268005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 268008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 268011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 268014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 268017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 268020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 268023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 268026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 268029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 268032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 268035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 268038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 268041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 268044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 268047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 268050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 268053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 268056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 268059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 268062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 268065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 268068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 268071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 268074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 268077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 268080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 268083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 268086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 268089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 268092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 268095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 268098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 268101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 268104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 268107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 268110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 268113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 268116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 268119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 268122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsView : public QGraphicsView
{
public:
    sipQGraphicsView(QWidget*);
    sipQGraphicsView(QGraphicsScene*,QWidget*);
    virtual ~sipQGraphicsView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_setupViewport(bool,QWidget*);
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_drawBackground(bool,QPainter*,const QRectF&);
    void sipProtectVirt_drawForeground(bool,QPainter*,const QRectF&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    bool eventFilter(QObject*,QEvent*);
    QSize minimumSizeHint() const;
    void drawForeground(QPainter*,const QRectF&);
    void drawBackground(QPainter*,const QRectF&);
    void inputMethodEvent(QInputMethodEvent*);
    void showEvent(QShowEvent*);
    void scrollContentsBy(int,int);
    void resizeEvent(QResizeEvent*);
    void paintEvent(QPaintEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    bool viewportEvent(QEvent*);
    bool event(QEvent*);
    void setupViewport(QWidget*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsView(const sipQGraphicsView &);
    sipQGraphicsView &operator = (const sipQGraphicsView &);

    char sipPyMethods[51];
};

sipQGraphicsView::sipQGraphicsView(QWidget*a0): QGraphicsView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsView::sipQGraphicsView(QGraphicsScene*a0,QWidget*a1): QGraphicsView(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsView::~sipQGraphicsView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsView);
}

int sipQGraphicsView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsView,_c,_id,_a);

    return _id;
}

void *sipQGraphicsView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsView, _clname, &sipCpp) ? sipCpp : QGraphicsView::qt_metacast(_clname));
}

void sipQGraphicsView::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QGraphicsView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQGraphicsView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QGraphicsView::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsView::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QGraphicsView::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGraphicsView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QGraphicsView::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQGraphicsView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QGraphicsView::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QGraphicsView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QGraphicsView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QGraphicsView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QGraphicsView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QGraphicsView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QGraphicsView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QGraphicsView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQGraphicsView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QGraphicsView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQGraphicsView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QGraphicsView::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QGraphicsView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QGraphicsView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QGraphicsView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QSize sipQGraphicsView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QGraphicsView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsView::drawForeground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_drawForeground);

    if (!sipMeth)
    {
        QGraphicsView::drawForeground(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    sipVH_QtWidgets_115(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsView::drawBackground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_drawBackground);

    if (!sipMeth)
    {
        QGraphicsView::drawBackground(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    sipVH_QtWidgets_115(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QGraphicsView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QGraphicsView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QGraphicsView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QGraphicsView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QGraphicsView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QGraphicsView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsView::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QGraphicsView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsView::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQGraphicsView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QGraphicsView::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQGraphicsView::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsView::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsView::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsView::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsView::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQGraphicsView::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQGraphicsView::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQGraphicsView::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQGraphicsView::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQGraphicsView::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQGraphicsView::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQGraphicsView::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQGraphicsView::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQGraphicsView::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQGraphicsView::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQGraphicsView::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQGraphicsView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQGraphicsView::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

bool sipQGraphicsView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQGraphicsView::sipProtectVirt_setupViewport(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QGraphicsView::setupViewport(a0) : setupViewport(a0));
}

bool sipQGraphicsView::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsView::event(a0) : event(a0));
}

bool sipQGraphicsView::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::focusOutEvent(a0) : focusOutEvent(a0));
}

bool sipQGraphicsView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQGraphicsView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::paintEvent(a0) : paintEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::resizeEvent(a0) : resizeEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QGraphicsView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

void sipQGraphicsView::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::showEvent(a0) : showEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQGraphicsView::sipProtectVirt_drawBackground(bool sipSelfWasArg,QPainter*a0,const QRectF& a1)
{
    (sipSelfWasArg ? QGraphicsView::drawBackground(a0,a1) : drawBackground(a0,a1));
}

void sipQGraphicsView::sipProtectVirt_drawForeground(bool sipSelfWasArg,QPainter*a0,const QRectF& a1)
{
    (sipSelfWasArg ? QGraphicsView::drawForeground(a0,a1) : drawForeground(a0,a1));
}


PyDoc_STRVAR(doc_QGraphicsView_sender, "QGraphicsView.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 269492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_sender, doc_QGraphicsView_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_receivers, "QGraphicsView.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 269551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_receivers, doc_QGraphicsView_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_timerEvent, "QGraphicsView.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_timerEvent, doc_QGraphicsView_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_childEvent, "QGraphicsView.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_childEvent, doc_QGraphicsView_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_customEvent, "QGraphicsView.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_customEvent, doc_QGraphicsView_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_connectNotify, "QGraphicsView.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_connectNotify, doc_QGraphicsView_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_disconnectNotify, "QGraphicsView.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_disconnectNotify, doc_QGraphicsView_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_senderSignalIndex, "QGraphicsView.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_senderSignalIndex, doc_QGraphicsView_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_isSignalConnected, "QGraphicsView.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_isSignalConnected, doc_QGraphicsView_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_enterEvent, "QGraphicsView.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsView_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_enterEvent, doc_QGraphicsView_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_leaveEvent, "QGraphicsView.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsView_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_leaveEvent, doc_QGraphicsView_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_moveEvent, "QGraphicsView.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QGraphicsView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_moveEvent, doc_QGraphicsView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_closeEvent, "QGraphicsView.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QGraphicsView_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_closeEvent, doc_QGraphicsView_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_tabletEvent, "QGraphicsView.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QGraphicsView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_tabletEvent, doc_QGraphicsView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_actionEvent, "QGraphicsView.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QGraphicsView_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_actionEvent, doc_QGraphicsView_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_hideEvent, "QGraphicsView.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QGraphicsView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_hideEvent, doc_QGraphicsView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_metric, "QGraphicsView.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QGraphicsView_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_metric, doc_QGraphicsView_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_updateMicroFocus, "QGraphicsView.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsView_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_updateMicroFocus, doc_QGraphicsView_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_create, "QGraphicsView.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QGraphicsView_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_create, doc_QGraphicsView_create);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_destroy, "QGraphicsView.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QGraphicsView_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_destroy, doc_QGraphicsView_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_focusNextChild, "QGraphicsView.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QGraphicsView_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_focusNextChild, doc_QGraphicsView_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_focusPreviousChild, "QGraphicsView.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QGraphicsView_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_focusPreviousChild, doc_QGraphicsView_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_nativeEvent, "QGraphicsView.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QGraphicsView_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_nativeEvent, doc_QGraphicsView_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_sharedPainter, "QGraphicsView.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QGraphicsView_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_sharedPainter, doc_QGraphicsView_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_initPainter, "QGraphicsView.initPainter(QPainter)");

extern "C" {static PyObject *meth_QGraphicsView_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_initPainter, doc_QGraphicsView_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_changeEvent, "QGraphicsView.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsView_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_changeEvent, doc_QGraphicsView_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_drawFrame, "QGraphicsView.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QGraphicsView_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_drawFrame, doc_QGraphicsView_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setViewportMargins, "QGraphicsView.setViewportMargins(int, int, int, int)\n"
    "QGraphicsView.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QGraphicsView_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setViewportMargins, doc_QGraphicsView_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_eventFilter, "QGraphicsView.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsView_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_eventFilter, doc_QGraphicsView_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_sizeHint, "QGraphicsView.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QGraphicsView_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QGraphicsView::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_sizeHint, doc_QGraphicsView_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_renderHints, "QGraphicsView.renderHints() -> QPainter.RenderHints");

extern "C" {static PyObject *meth_QGraphicsView_renderHints(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_renderHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QPainter::RenderHints*sipRes;

            sipRes = new QPainter::RenderHints(sipCpp->renderHints());

            return sipConvertFromNewType(sipRes,sipType_QPainter_RenderHints,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_renderHints, doc_QGraphicsView_renderHints);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setRenderHint, "QGraphicsView.setRenderHint(QPainter.RenderHint, bool on=True)");

extern "C" {static PyObject *meth_QGraphicsView_setRenderHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setRenderHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter::RenderHint a0;
        bool a1 = 1;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainter_RenderHint, &a0, &a1))
        {
            sipCpp->setRenderHint(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setRenderHint, doc_QGraphicsView_setRenderHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setRenderHints, "QGraphicsView.setRenderHints(QPainter.RenderHints)");

extern "C" {static PyObject *meth_QGraphicsView_setRenderHints(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setRenderHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter::RenderHints* a0;
        int a0State = 0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainter_RenderHints, &a0, &a0State))
        {
            sipCpp->setRenderHints(*a0);
            sipReleaseType(a0,sipType_QPainter_RenderHints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setRenderHints, doc_QGraphicsView_setRenderHints);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_alignment, "QGraphicsView.alignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QGraphicsView_alignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_alignment, doc_QGraphicsView_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setAlignment, "QGraphicsView.setAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QGraphicsView_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setAlignment, doc_QGraphicsView_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_transformationAnchor, "QGraphicsView.transformationAnchor() -> QGraphicsView.ViewportAnchor");

extern "C" {static PyObject *meth_QGraphicsView_transformationAnchor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_transformationAnchor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QGraphicsView::ViewportAnchor sipRes;

            sipRes = sipCpp->transformationAnchor();

            return sipConvertFromEnum(sipRes,sipType_QGraphicsView_ViewportAnchor);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_transformationAnchor, doc_QGraphicsView_transformationAnchor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setTransformationAnchor, "QGraphicsView.setTransformationAnchor(QGraphicsView.ViewportAnchor)");

extern "C" {static PyObject *meth_QGraphicsView_setTransformationAnchor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setTransformationAnchor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::ViewportAnchor a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsView_ViewportAnchor, &a0))
        {
            sipCpp->setTransformationAnchor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setTransformationAnchor, doc_QGraphicsView_setTransformationAnchor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_resizeAnchor, "QGraphicsView.resizeAnchor() -> QGraphicsView.ViewportAnchor");

extern "C" {static PyObject *meth_QGraphicsView_resizeAnchor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_resizeAnchor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QGraphicsView::ViewportAnchor sipRes;

            sipRes = sipCpp->resizeAnchor();

            return sipConvertFromEnum(sipRes,sipType_QGraphicsView_ViewportAnchor);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_resizeAnchor, doc_QGraphicsView_resizeAnchor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setResizeAnchor, "QGraphicsView.setResizeAnchor(QGraphicsView.ViewportAnchor)");

extern "C" {static PyObject *meth_QGraphicsView_setResizeAnchor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setResizeAnchor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::ViewportAnchor a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsView_ViewportAnchor, &a0))
        {
            sipCpp->setResizeAnchor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setResizeAnchor, doc_QGraphicsView_setResizeAnchor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_dragMode, "QGraphicsView.dragMode() -> QGraphicsView.DragMode");

extern "C" {static PyObject *meth_QGraphicsView_dragMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_dragMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QGraphicsView::DragMode sipRes;

            sipRes = sipCpp->dragMode();

            return sipConvertFromEnum(sipRes,sipType_QGraphicsView_DragMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_dragMode, doc_QGraphicsView_dragMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setDragMode, "QGraphicsView.setDragMode(QGraphicsView.DragMode)");

extern "C" {static PyObject *meth_QGraphicsView_setDragMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setDragMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::DragMode a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsView_DragMode, &a0))
        {
            sipCpp->setDragMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setDragMode, doc_QGraphicsView_setDragMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_cacheMode, "QGraphicsView.cacheMode() -> QGraphicsView.CacheMode");

extern "C" {static PyObject *meth_QGraphicsView_cacheMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_cacheMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QGraphicsView::CacheMode*sipRes;

            sipRes = new QGraphicsView::CacheMode(sipCpp->cacheMode());

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_CacheMode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_cacheMode, doc_QGraphicsView_cacheMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setCacheMode, "QGraphicsView.setCacheMode(QGraphicsView.CacheMode)");

extern "C" {static PyObject *meth_QGraphicsView_setCacheMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setCacheMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::CacheMode* a0;
        int a0State = 0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsView_CacheMode, &a0, &a0State))
        {
            sipCpp->setCacheMode(*a0);
            sipReleaseType(a0,sipType_QGraphicsView_CacheMode,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setCacheMode, doc_QGraphicsView_setCacheMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_resetCachedContent, "QGraphicsView.resetCachedContent()");

extern "C" {static PyObject *meth_QGraphicsView_resetCachedContent(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_resetCachedContent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            sipCpp->resetCachedContent();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_resetCachedContent, doc_QGraphicsView_resetCachedContent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_isInteractive, "QGraphicsView.isInteractive() -> bool");

extern "C" {static PyObject *meth_QGraphicsView_isInteractive(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_isInteractive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isInteractive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_isInteractive, doc_QGraphicsView_isInteractive);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setInteractive, "QGraphicsView.setInteractive(bool)");

extern "C" {static PyObject *meth_QGraphicsView_setInteractive(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setInteractive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0))
        {
            sipCpp->setInteractive(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setInteractive, doc_QGraphicsView_setInteractive);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_scene, "QGraphicsView.scene() -> QGraphicsScene");

extern "C" {static PyObject *meth_QGraphicsView_scene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_scene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QGraphicsScene*sipRes;

            sipRes = sipCpp->scene();

            return sipConvertFromType(sipRes,sipType_QGraphicsScene,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_scene, doc_QGraphicsView_scene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setScene, "QGraphicsView.setScene(QGraphicsScene)");

extern "C" {static PyObject *meth_QGraphicsView_setScene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene* a0;
        PyObject *a0Keep;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0Keep, sipType_QGraphicsScene, &a0))
        {
            sipCpp->setScene(a0);

            sipKeepReference(sipSelf, -27, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setScene, doc_QGraphicsView_setScene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_sceneRect, "QGraphicsView.sceneRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsView_sceneRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_sceneRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sceneRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_sceneRect, doc_QGraphicsView_sceneRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setSceneRect, "QGraphicsView.setSceneRect(QRectF)\n"
    "QGraphicsView.setSceneRect(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsView_setSceneRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setSceneRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->setSceneRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setSceneRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setSceneRect, doc_QGraphicsView_setSceneRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_rotate, "QGraphicsView.rotate(float)");

extern "C" {static PyObject *meth_QGraphicsView_rotate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_rotate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0))
        {
            sipCpp->rotate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_rotate, doc_QGraphicsView_rotate);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_scale, "QGraphicsView.scale(float, float)");

extern "C" {static PyObject *meth_QGraphicsView_scale(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_scale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            sipCpp->scale(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_scale, doc_QGraphicsView_scale);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_shear, "QGraphicsView.shear(float, float)");

extern "C" {static PyObject *meth_QGraphicsView_shear(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_shear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            sipCpp->shear(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_shear, doc_QGraphicsView_shear);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_translate, "QGraphicsView.translate(float, float)");

extern "C" {static PyObject *meth_QGraphicsView_translate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_translate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            sipCpp->translate(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_translate, doc_QGraphicsView_translate);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_centerOn, "QGraphicsView.centerOn(QPointF)\n"
    "QGraphicsView.centerOn(QGraphicsItem)\n"
    "QGraphicsView.centerOn(float, float)");

extern "C" {static PyObject *meth_QGraphicsView_centerOn(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_centerOn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->centerOn(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QGraphicsItem* a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->centerOn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            sipCpp->centerOn(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_centerOn, doc_QGraphicsView_centerOn);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_ensureVisible, "QGraphicsView.ensureVisible(QRectF, int xMargin=50, int yMargin=50)\n"
    "QGraphicsView.ensureVisible(QGraphicsItem, int xMargin=50, int yMargin=50)\n"
    "QGraphicsView.ensureVisible(float, float, float, float, int xMargin=50, int yMargin=50)");

extern "C" {static PyObject *meth_QGraphicsView_ensureVisible(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_ensureVisible(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        int a1 = 50;
        int a2 = 50;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_xMargin,
            sipName_yMargin,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|ii", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QRectF, &a0, &a1, &a2))
        {
            sipCpp->ensureVisible(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QGraphicsItem* a0;
        int a1 = 50;
        int a2 = 50;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_xMargin,
            sipName_yMargin,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|ii", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsItem, &a0, &a1, &a2))
        {
            sipCpp->ensureVisible(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        int a4 = 50;
        int a5 = 50;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_xMargin,
            sipName_yMargin,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdddd|ii", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1, &a2, &a3, &a4, &a5))
        {
            sipCpp->ensureVisible(a0,a1,a2,a3,a4,a5);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_ensureVisible, doc_QGraphicsView_ensureVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_fitInView, "QGraphicsView.fitInView(QRectF, Qt.AspectRatioMode mode=Qt.IgnoreAspectRatio)\n"
    "QGraphicsView.fitInView(QGraphicsItem, Qt.AspectRatioMode mode=Qt.IgnoreAspectRatio)\n"
    "QGraphicsView.fitInView(float, float, float, float, Qt.AspectRatioMode mode=Qt.IgnoreAspectRatio)");

extern "C" {static PyObject *meth_QGraphicsView_fitInView(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_fitInView(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        Qt::AspectRatioMode a1 = Qt::IgnoreAspectRatio;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QRectF, &a0, sipType_Qt_AspectRatioMode, &a1))
        {
            sipCpp->fitInView(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QGraphicsItem* a0;
        Qt::AspectRatioMode a1 = Qt::IgnoreAspectRatio;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|E", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsItem, &a0, sipType_Qt_AspectRatioMode, &a1))
        {
            sipCpp->fitInView(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        Qt::AspectRatioMode a4 = Qt::IgnoreAspectRatio;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdddd|E", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1, &a2, &a3, sipType_Qt_AspectRatioMode, &a4))
        {
            sipCpp->fitInView(a0,a1,a2,a3,a4);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_fitInView, doc_QGraphicsView_fitInView);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_render, "QGraphicsView.render(QPainter, QRectF target=QRectF(), QRect source=QRect(), Qt.AspectRatioMode mode=Qt.KeepAspectRatio)");

extern "C" {static PyObject *meth_QGraphicsView_render(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_render(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        const QRectF& a1def = QRectF();
        const QRectF* a1 = &a1def;
        const QRect& a2def = QRect();
        const QRect* a2 = &a2def;
        Qt::AspectRatioMode a3 = Qt::KeepAspectRatio;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_target,
            sipName_source,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|J9J9E", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1, sipType_QRect, &a2, sipType_Qt_AspectRatioMode, &a3))
        {
            sipCpp->render(a0,*a1,*a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_render, doc_QGraphicsView_render);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_items, "QGraphicsView.items() -> list-of-QGraphicsItem\n"
    "QGraphicsView.items(QPoint) -> list-of-QGraphicsItem\n"
    "QGraphicsView.items(int, int) -> list-of-QGraphicsItem\n"
    "QGraphicsView.items(int, int, int, int, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> list-of-QGraphicsItem\n"
    "QGraphicsView.items(QRect, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> list-of-QGraphicsItem\n"
    "QGraphicsView.items(QPolygon, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> list-of-QGraphicsItem\n"
    "QGraphicsView.items(QPainterPath, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> list-of-QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsView_items(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_items(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        const QPoint* a0;
        const QGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPoint, &a0))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(*a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        int a0;
        int a1;
        const QGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;
        Qt::ItemSelectionMode a4 = Qt::IntersectsItemShape;
        const QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Biiii|E", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1, &a2, &a3, sipType_Qt_ItemSelectionMode, &a4))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(a0,a1,a2,a3,a4));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        const QRect* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        const QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QRect, &a0, sipType_Qt_ItemSelectionMode, &a1))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        const QPolygon* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        const QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPolygon, &a0, sipType_Qt_ItemSelectionMode, &a1))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        const QPainterPath* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        const QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainterPath, &a0, sipType_Qt_ItemSelectionMode, &a1))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_items, doc_QGraphicsView_items);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_itemAt, "QGraphicsView.itemAt(QPoint) -> QGraphicsItem\n"
    "QGraphicsView.itemAt(int, int) -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsView_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPoint, &a0))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->itemAt(*a0);

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    {
        int a0;
        int a1;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->itemAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_itemAt, doc_QGraphicsView_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_mapToScene, "QGraphicsView.mapToScene(QPoint) -> QPointF\n"
    "QGraphicsView.mapToScene(QRect) -> QPolygonF\n"
    "QGraphicsView.mapToScene(QPolygon) -> QPolygonF\n"
    "QGraphicsView.mapToScene(QPainterPath) -> QPainterPath\n"
    "QGraphicsView.mapToScene(int, int) -> QPointF\n"
    "QGraphicsView.mapToScene(int, int, int, int) -> QPolygonF");

extern "C" {static PyObject *meth_QGraphicsView_mapToScene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_mapToScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPoint, &a0))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapToScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        const QRect* a0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QRect, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPolygon* a0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPolygon, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPainterPath* a0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainterPath, &a0))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->mapToScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    {
        int a0;
        int a1;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapToScene(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToScene(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_mapToScene, doc_QGraphicsView_mapToScene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_mapFromScene, "QGraphicsView.mapFromScene(QPointF) -> QPoint\n"
    "QGraphicsView.mapFromScene(QRectF) -> QPolygon\n"
    "QGraphicsView.mapFromScene(QPolygonF) -> QPolygon\n"
    "QGraphicsView.mapFromScene(QPainterPath) -> QPainterPath\n"
    "QGraphicsView.mapFromScene(float, float) -> QPoint\n"
    "QGraphicsView.mapFromScene(float, float, float, float) -> QPolygon");

extern "C" {static PyObject *meth_QGraphicsView_mapFromScene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_mapFromScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->mapFromScene(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        const QRectF* a0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QRectF, &a0))
        {
            QPolygon*sipRes;

            sipRes = new QPolygon(sipCpp->mapFromScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygon,NULL);
        }
    }

    {
        const QPolygonF* a0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPolygonF, &a0))
        {
            QPolygon*sipRes;

            sipRes = new QPolygon(sipCpp->mapFromScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygon,NULL);
        }
    }

    {
        const QPainterPath* a0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainterPath, &a0))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->mapFromScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->mapFromScene(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QPolygon*sipRes;

            sipRes = new QPolygon(sipCpp->mapFromScene(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QPolygon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_mapFromScene, doc_QGraphicsView_mapFromScene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_inputMethodQuery, "QGraphicsView.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsView_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QGraphicsView::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_inputMethodQuery, doc_QGraphicsView_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_backgroundBrush, "QGraphicsView.backgroundBrush() -> QBrush");

extern "C" {static PyObject *meth_QGraphicsView_backgroundBrush(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_backgroundBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->backgroundBrush());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_backgroundBrush, doc_QGraphicsView_backgroundBrush);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setBackgroundBrush, "QGraphicsView.setBackgroundBrush(QBrush)");

extern "C" {static PyObject *meth_QGraphicsView_setBackgroundBrush(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setBackgroundBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setBackgroundBrush(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setBackgroundBrush, doc_QGraphicsView_setBackgroundBrush);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_foregroundBrush, "QGraphicsView.foregroundBrush() -> QBrush");

extern "C" {static PyObject *meth_QGraphicsView_foregroundBrush(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_foregroundBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->foregroundBrush());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_foregroundBrush, doc_QGraphicsView_foregroundBrush);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setForegroundBrush, "QGraphicsView.setForegroundBrush(QBrush)");

extern "C" {static PyObject *meth_QGraphicsView_setForegroundBrush(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setForegroundBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setForegroundBrush(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setForegroundBrush, doc_QGraphicsView_setForegroundBrush);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_invalidateScene, "QGraphicsView.invalidateScene(QRectF rect=QRectF(), QGraphicsScene.SceneLayers layers=QGraphicsScene.AllLayers)");

extern "C" {static PyObject *meth_QGraphicsView_invalidateScene(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_invalidateScene(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF& a0def = QRectF();
        const QRectF* a0 = &a0def;
        QGraphicsScene::SceneLayers a1def = QGraphicsScene::AllLayers;
        QGraphicsScene::SceneLayers* a1 = &a1def;
        int a1State = 0;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_rect,
            sipName_layers,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9J1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QRectF, &a0, sipType_QGraphicsScene_SceneLayers, &a1, &a1State))
        {
            sipCpp->invalidateScene(*a0,*a1);
            sipReleaseType(a1,sipType_QGraphicsScene_SceneLayers,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_invalidateScene, doc_QGraphicsView_invalidateScene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_updateScene, "QGraphicsView.updateScene(list-of-QRectF)");

extern "C" {static PyObject *meth_QGraphicsView_updateScene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_updateScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QRectF>* a0;
        int a0State = 0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QList_0100QRectF,&a0, &a0State))
        {
            sipCpp->updateScene(*a0);
            sipReleaseType(const_cast<QList<QRectF> *>(a0),sipType_QList_0100QRectF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_updateScene, doc_QGraphicsView_updateScene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_updateSceneRect, "QGraphicsView.updateSceneRect(QRectF)");

extern "C" {static PyObject *meth_QGraphicsView_updateSceneRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_updateSceneRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->updateSceneRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_updateSceneRect, doc_QGraphicsView_updateSceneRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setupViewport, "QGraphicsView.setupViewport(QWidget)");

extern "C" {static PyObject *meth_QGraphicsView_setupViewport(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setupViewport(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_setupViewport(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setupViewport, doc_QGraphicsView_setupViewport);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_event, "QGraphicsView.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_event, doc_QGraphicsView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_viewportEvent, "QGraphicsView.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsView_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_viewportEvent, doc_QGraphicsView_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_contextMenuEvent, "QGraphicsView.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsView_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_contextMenuEvent, doc_QGraphicsView_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_dragEnterEvent, "QGraphicsView.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QGraphicsView_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_dragEnterEvent, doc_QGraphicsView_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_dragLeaveEvent, "QGraphicsView.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QGraphicsView_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_dragLeaveEvent, doc_QGraphicsView_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_dragMoveEvent, "QGraphicsView.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QGraphicsView_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_dragMoveEvent, doc_QGraphicsView_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_dropEvent, "QGraphicsView.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QGraphicsView_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_dropEvent, doc_QGraphicsView_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_focusInEvent, "QGraphicsView.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_focusInEvent, doc_QGraphicsView_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_focusOutEvent, "QGraphicsView.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_focusOutEvent, doc_QGraphicsView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_focusNextPrevChild, "QGraphicsView.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QGraphicsView_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_focusNextPrevChild, doc_QGraphicsView_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_keyPressEvent, "QGraphicsView.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_keyPressEvent, doc_QGraphicsView_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_keyReleaseEvent, "QGraphicsView.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_keyReleaseEvent, doc_QGraphicsView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_mouseDoubleClickEvent, "QGraphicsView.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_mouseDoubleClickEvent, doc_QGraphicsView_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_mousePressEvent, "QGraphicsView.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_mousePressEvent, doc_QGraphicsView_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_mouseMoveEvent, "QGraphicsView.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_mouseMoveEvent, doc_QGraphicsView_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_mouseReleaseEvent, "QGraphicsView.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_mouseReleaseEvent, doc_QGraphicsView_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_wheelEvent, "QGraphicsView.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_wheelEvent, doc_QGraphicsView_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_paintEvent, "QGraphicsView.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QGraphicsView_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_paintEvent, doc_QGraphicsView_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_resizeEvent, "QGraphicsView.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QGraphicsView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_resizeEvent, doc_QGraphicsView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_scrollContentsBy, "QGraphicsView.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QGraphicsView_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QGraphicsView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_scrollContentsBy, doc_QGraphicsView_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_showEvent, "QGraphicsView.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QGraphicsView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_showEvent, doc_QGraphicsView_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_inputMethodEvent, "QGraphicsView.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsView_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_inputMethodEvent, doc_QGraphicsView_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_drawBackground, "QGraphicsView.drawBackground(QPainter, QRectF)");

extern "C" {static PyObject *meth_QGraphicsView_drawBackground(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_drawBackground(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRectF* a1;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1))
        {
            sipCpp->sipProtectVirt_drawBackground(sipSelfWasArg,a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_drawBackground, doc_QGraphicsView_drawBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_drawForeground, "QGraphicsView.drawForeground(QPainter, QRectF)");

extern "C" {static PyObject *meth_QGraphicsView_drawForeground(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_drawForeground(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRectF* a1;
        sipQGraphicsView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1))
        {
            sipCpp->sipProtectVirt_drawForeground(sipSelfWasArg,a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_drawForeground, doc_QGraphicsView_drawForeground);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_viewportUpdateMode, "QGraphicsView.viewportUpdateMode() -> QGraphicsView.ViewportUpdateMode");

extern "C" {static PyObject *meth_QGraphicsView_viewportUpdateMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_viewportUpdateMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QGraphicsView::ViewportUpdateMode sipRes;

            sipRes = sipCpp->viewportUpdateMode();

            return sipConvertFromEnum(sipRes,sipType_QGraphicsView_ViewportUpdateMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_viewportUpdateMode, doc_QGraphicsView_viewportUpdateMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setViewportUpdateMode, "QGraphicsView.setViewportUpdateMode(QGraphicsView.ViewportUpdateMode)");

extern "C" {static PyObject *meth_QGraphicsView_setViewportUpdateMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setViewportUpdateMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::ViewportUpdateMode a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsView_ViewportUpdateMode, &a0))
        {
            sipCpp->setViewportUpdateMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setViewportUpdateMode, doc_QGraphicsView_setViewportUpdateMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_optimizationFlags, "QGraphicsView.optimizationFlags() -> QGraphicsView.OptimizationFlags");

extern "C" {static PyObject *meth_QGraphicsView_optimizationFlags(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_optimizationFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QGraphicsView::OptimizationFlags*sipRes;

            sipRes = new QGraphicsView::OptimizationFlags(sipCpp->optimizationFlags());

            return sipConvertFromNewType(sipRes,sipType_QGraphicsView_OptimizationFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_optimizationFlags, doc_QGraphicsView_optimizationFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setOptimizationFlag, "QGraphicsView.setOptimizationFlag(QGraphicsView.OptimizationFlag, bool enabled=True)");

extern "C" {static PyObject *meth_QGraphicsView_setOptimizationFlag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setOptimizationFlag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::OptimizationFlag a0;
        bool a1 = 1;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsView_OptimizationFlag, &a0, &a1))
        {
            sipCpp->setOptimizationFlag(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setOptimizationFlag, doc_QGraphicsView_setOptimizationFlag);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setOptimizationFlags, "QGraphicsView.setOptimizationFlags(QGraphicsView.OptimizationFlags)");

extern "C" {static PyObject *meth_QGraphicsView_setOptimizationFlags(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setOptimizationFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView::OptimizationFlags* a0;
        int a0State = 0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QGraphicsView_OptimizationFlags, &a0, &a0State))
        {
            sipCpp->setOptimizationFlags(*a0);
            sipReleaseType(a0,sipType_QGraphicsView_OptimizationFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setOptimizationFlags, doc_QGraphicsView_setOptimizationFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_rubberBandSelectionMode, "QGraphicsView.rubberBandSelectionMode() -> Qt.ItemSelectionMode");

extern "C" {static PyObject *meth_QGraphicsView_rubberBandSelectionMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_rubberBandSelectionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            Qt::ItemSelectionMode sipRes;

            sipRes = sipCpp->rubberBandSelectionMode();

            return sipConvertFromEnum(sipRes,sipType_Qt_ItemSelectionMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_rubberBandSelectionMode, doc_QGraphicsView_rubberBandSelectionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setRubberBandSelectionMode, "QGraphicsView.setRubberBandSelectionMode(Qt.ItemSelectionMode)");

extern "C" {static PyObject *meth_QGraphicsView_setRubberBandSelectionMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setRubberBandSelectionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ItemSelectionMode a0;
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_Qt_ItemSelectionMode, &a0))
        {
            sipCpp->setRubberBandSelectionMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setRubberBandSelectionMode, doc_QGraphicsView_setRubberBandSelectionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_transform, "QGraphicsView.transform() -> QTransform");

extern "C" {static PyObject *meth_QGraphicsView_transform(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_transform(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QTransform*sipRes;

            sipRes = new QTransform(sipCpp->transform());

            return sipConvertFromNewType(sipRes,sipType_QTransform,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_transform, doc_QGraphicsView_transform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_viewportTransform, "QGraphicsView.viewportTransform() -> QTransform");

extern "C" {static PyObject *meth_QGraphicsView_viewportTransform(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_viewportTransform(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QTransform*sipRes;

            sipRes = new QTransform(sipCpp->viewportTransform());

            return sipConvertFromNewType(sipRes,sipType_QTransform,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_viewportTransform, doc_QGraphicsView_viewportTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_setTransform, "QGraphicsView.setTransform(QTransform, bool combine=False)");

extern "C" {static PyObject *meth_QGraphicsView_setTransform(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_setTransform(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QTransform* a0;
        bool a1 = 0;
        QGraphicsView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_combine,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|b", &sipSelf, sipType_QGraphicsView, &sipCpp, sipType_QTransform, &a0, &a1))
        {
            sipCpp->setTransform(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_setTransform, doc_QGraphicsView_setTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_resetTransform, "QGraphicsView.resetTransform()");

extern "C" {static PyObject *meth_QGraphicsView_resetTransform(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_resetTransform(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            sipCpp->resetTransform();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_resetTransform, doc_QGraphicsView_resetTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_isTransformed, "QGraphicsView.isTransformed() -> bool");

extern "C" {static PyObject *meth_QGraphicsView_isTransformed(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_isTransformed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isTransformed();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_isTransformed, doc_QGraphicsView_isTransformed);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsView_rubberBandRect, "QGraphicsView.rubberBandRect() -> QRect");

extern "C" {static PyObject *meth_QGraphicsView_rubberBandRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsView_rubberBandRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsView, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->rubberBandRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsView, sipName_rubberBandRect, doc_QGraphicsView_rubberBandRect);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsView(void *, const sipTypeDef *);}
static void *cast_QGraphicsView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractScrollArea)->ctd_cast((QAbstractScrollArea *)(QGraphicsView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsView(void *, int);}
static void release_QGraphicsView(void *sipCppV,int)
{
    QGraphicsView *sipCpp = reinterpret_cast<QGraphicsView *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsView(sipSimpleWrapper *);}
static void dealloc_QGraphicsView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsView(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QGraphicsScene* a0;
        PyObject *a0Keep;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "@J8|JH", &a0Keep, sipType_QGraphicsScene, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsView(a0,a1);

            sipKeepReference((PyObject *)sipSelf, -26, a0Keep);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsView[] = {{15, 255, 1}};


static PyMethodDef methods_QGraphicsView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QGraphicsView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QGraphicsView_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_alignment)},
    {SIP_MLNAME_CAST(sipName_backgroundBrush), meth_QGraphicsView_backgroundBrush, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_backgroundBrush)},
    {SIP_MLNAME_CAST(sipName_cacheMode), meth_QGraphicsView_cacheMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_cacheMode)},
    {SIP_MLNAME_CAST(sipName_centerOn), meth_QGraphicsView_centerOn, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_centerOn)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QGraphicsView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QGraphicsView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QGraphicsView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QGraphicsView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMode), meth_QGraphicsView_dragMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_dragMode)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_drawBackground), (PyCFunction)meth_QGraphicsView_drawBackground, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_drawBackground)},
    {SIP_MLNAME_CAST(sipName_drawForeground), (PyCFunction)meth_QGraphicsView_drawForeground, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_drawForeground)},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QGraphicsView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsView_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_dropEvent)},
    {SIP_MLNAME_CAST(sipName_ensureVisible), (PyCFunction)meth_QGraphicsView_ensureVisible, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_ensureVisible)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QGraphicsView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QGraphicsView_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QGraphicsView_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fitInView), (PyCFunction)meth_QGraphicsView_fitInView, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_fitInView)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsView_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QGraphicsView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QGraphicsView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QGraphicsView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_foregroundBrush), meth_QGraphicsView_foregroundBrush, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_foregroundBrush)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QGraphicsView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QGraphicsView_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QGraphicsView_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_invalidateScene), (PyCFunction)meth_QGraphicsView_invalidateScene, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_invalidateScene)},
    {SIP_MLNAME_CAST(sipName_isInteractive), meth_QGraphicsView_isInteractive, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_isInteractive)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTransformed), meth_QGraphicsView_isTransformed, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_isTransformed)},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QGraphicsView_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_itemAt)},
    {SIP_MLNAME_CAST(sipName_items), (PyCFunction)meth_QGraphicsView_items, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_items)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QGraphicsView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mapFromScene), meth_QGraphicsView_mapFromScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_mapFromScene)},
    {SIP_MLNAME_CAST(sipName_mapToScene), meth_QGraphicsView_mapToScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_mapToScene)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QGraphicsView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QGraphicsView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QGraphicsView_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_optimizationFlags), meth_QGraphicsView_optimizationFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_optimizationFlags)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QGraphicsView_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_render), (PyCFunction)meth_QGraphicsView_render, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_render)},
    {SIP_MLNAME_CAST(sipName_renderHints), meth_QGraphicsView_renderHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_renderHints)},
    {SIP_MLNAME_CAST(sipName_resetCachedContent), meth_QGraphicsView_resetCachedContent, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_resetCachedContent)},
    {SIP_MLNAME_CAST(sipName_resetTransform), meth_QGraphicsView_resetTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_resetTransform)},
    {SIP_MLNAME_CAST(sipName_resizeAnchor), meth_QGraphicsView_resizeAnchor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_resizeAnchor)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QGraphicsView_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_rotate), meth_QGraphicsView_rotate, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_rotate)},
    {SIP_MLNAME_CAST(sipName_rubberBandRect), meth_QGraphicsView_rubberBandRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_rubberBandRect)},
    {SIP_MLNAME_CAST(sipName_rubberBandSelectionMode), meth_QGraphicsView_rubberBandSelectionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_rubberBandSelectionMode)},
    {SIP_MLNAME_CAST(sipName_scale), meth_QGraphicsView_scale, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_scale)},
    {SIP_MLNAME_CAST(sipName_scene), meth_QGraphicsView_scene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_scene)},
    {SIP_MLNAME_CAST(sipName_sceneRect), meth_QGraphicsView_sceneRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_sceneRect)},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QGraphicsView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QGraphicsView_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setBackgroundBrush), meth_QGraphicsView_setBackgroundBrush, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setBackgroundBrush)},
    {SIP_MLNAME_CAST(sipName_setCacheMode), meth_QGraphicsView_setCacheMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setCacheMode)},
    {SIP_MLNAME_CAST(sipName_setDragMode), meth_QGraphicsView_setDragMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setDragMode)},
    {SIP_MLNAME_CAST(sipName_setForegroundBrush), meth_QGraphicsView_setForegroundBrush, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setForegroundBrush)},
    {SIP_MLNAME_CAST(sipName_setInteractive), meth_QGraphicsView_setInteractive, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setInteractive)},
    {SIP_MLNAME_CAST(sipName_setOptimizationFlag), (PyCFunction)meth_QGraphicsView_setOptimizationFlag, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_setOptimizationFlag)},
    {SIP_MLNAME_CAST(sipName_setOptimizationFlags), meth_QGraphicsView_setOptimizationFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setOptimizationFlags)},
    {SIP_MLNAME_CAST(sipName_setRenderHint), (PyCFunction)meth_QGraphicsView_setRenderHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_setRenderHint)},
    {SIP_MLNAME_CAST(sipName_setRenderHints), meth_QGraphicsView_setRenderHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setRenderHints)},
    {SIP_MLNAME_CAST(sipName_setResizeAnchor), meth_QGraphicsView_setResizeAnchor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setResizeAnchor)},
    {SIP_MLNAME_CAST(sipName_setRubberBandSelectionMode), meth_QGraphicsView_setRubberBandSelectionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setRubberBandSelectionMode)},
    {SIP_MLNAME_CAST(sipName_setScene), meth_QGraphicsView_setScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setScene)},
    {SIP_MLNAME_CAST(sipName_setSceneRect), meth_QGraphicsView_setSceneRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setSceneRect)},
    {SIP_MLNAME_CAST(sipName_setTransform), (PyCFunction)meth_QGraphicsView_setTransform, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_setTransform)},
    {SIP_MLNAME_CAST(sipName_setTransformationAnchor), meth_QGraphicsView_setTransformationAnchor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setTransformationAnchor)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QGraphicsView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewportUpdateMode), meth_QGraphicsView_setViewportUpdateMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_setViewportUpdateMode)},
    {SIP_MLNAME_CAST(sipName_setupViewport), (PyCFunction)meth_QGraphicsView_setupViewport, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_setupViewport)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QGraphicsView_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_shear), meth_QGraphicsView_shear, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_shear)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QGraphicsView_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QGraphicsView_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QGraphicsView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsView_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_transform), meth_QGraphicsView_transform, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_transform)},
    {SIP_MLNAME_CAST(sipName_transformationAnchor), meth_QGraphicsView_transformationAnchor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_transformationAnchor)},
    {SIP_MLNAME_CAST(sipName_translate), meth_QGraphicsView_translate, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_translate)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateScene), meth_QGraphicsView_updateScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_updateScene)},
    {SIP_MLNAME_CAST(sipName_updateSceneRect), meth_QGraphicsView_updateSceneRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_updateSceneRect)},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QGraphicsView_viewportEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_viewportEvent)},
    {SIP_MLNAME_CAST(sipName_viewportTransform), meth_QGraphicsView_viewportTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_viewportTransform)},
    {SIP_MLNAME_CAST(sipName_viewportUpdateMode), meth_QGraphicsView_viewportUpdateMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsView_viewportUpdateMode)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsView_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsView_wheelEvent)}
};

static sipEnumMemberDef enummembers_QGraphicsView[] = {
    {sipName_AnchorUnderMouse, static_cast<int>(QGraphicsView::AnchorUnderMouse), 165},
    {sipName_AnchorViewCenter, static_cast<int>(QGraphicsView::AnchorViewCenter), 165},
    {sipName_BoundingRectViewportUpdate, static_cast<int>(QGraphicsView::BoundingRectViewportUpdate), 166},
    {sipName_CacheBackground, static_cast<int>(QGraphicsView::CacheBackground), 161},
    {sipName_CacheNone, static_cast<int>(QGraphicsView::CacheNone), 161},
    {sipName_DontAdjustForAntialiasing, static_cast<int>(QGraphicsView::DontAdjustForAntialiasing), 163},
    {sipName_DontClipPainter, static_cast<int>(QGraphicsView::DontClipPainter), 163},
    {sipName_DontSavePainterState, static_cast<int>(QGraphicsView::DontSavePainterState), 163},
    {sipName_FullViewportUpdate, static_cast<int>(QGraphicsView::FullViewportUpdate), 166},
    {sipName_MinimalViewportUpdate, static_cast<int>(QGraphicsView::MinimalViewportUpdate), 166},
    {sipName_NoAnchor, static_cast<int>(QGraphicsView::NoAnchor), 165},
    {sipName_NoDrag, static_cast<int>(QGraphicsView::NoDrag), 162},
    {sipName_NoViewportUpdate, static_cast<int>(QGraphicsView::NoViewportUpdate), 166},
    {sipName_RubberBandDrag, static_cast<int>(QGraphicsView::RubberBandDrag), 162},
    {sipName_ScrollHandDrag, static_cast<int>(QGraphicsView::ScrollHandDrag), 162},
    {sipName_SmartViewportUpdate, static_cast<int>(QGraphicsView::SmartViewportUpdate), 166},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsView[] = {
    {"rubberBandChanged(QRect,QPointF,QPointF)", "\1QGraphicsView.rubberBandChanged[QRect, QPointF, QPointF]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsView, "\1QGraphicsView(QWidget parent=None)\n"
    "QGraphicsView(QGraphicsScene, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsView,
        {0}
    },
    {
        sipNameNr_QGraphicsView,
        {0, 0, 1},
        108, methods_QGraphicsView,
        16, enummembers_QGraphicsView,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsView,
    -1,
    -1,
    supers_QGraphicsView,
    0,
    init_type_QGraphicsView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsView,
    0,
    0,
    0,
    release_QGraphicsView,
    cast_QGraphicsView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsView::staticMetaObject,
    0,
    signals_QGraphicsView,
    0
};

#line 68 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 273336 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 273340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 273343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qvector3d.sip"
#include <qvector3d.h>
#line 273346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 273349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 273352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 273355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 273358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 273361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 273364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 273367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 273370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 273373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 273376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 273379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 273382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 273385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 273388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 273391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsRotation : public QGraphicsRotation
{
public:
    sipQGraphicsRotation(QObject*);
    virtual ~sipQGraphicsRotation();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_update();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void applyTo(QMatrix4x4*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsRotation(const sipQGraphicsRotation &);
    sipQGraphicsRotation &operator = (const sipQGraphicsRotation &);

    char sipPyMethods[8];
};

sipQGraphicsRotation::sipQGraphicsRotation(QObject*a0): QGraphicsRotation(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsRotation::~sipQGraphicsRotation()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsRotation::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsRotation);
}

int sipQGraphicsRotation::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsRotation::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsRotation,_c,_id,_a);

    return _id;
}

void *sipQGraphicsRotation::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsRotation, _clname, &sipCpp) ? sipCpp : QGraphicsRotation::qt_metacast(_clname));
}

void sipQGraphicsRotation::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsRotation::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsRotation::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsRotation::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsRotation::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsRotation::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsRotation::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsRotation::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsRotation::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsRotation::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRotation::applyTo(QMatrix4x4*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_applyTo);

    if (!sipMeth)
    {
        QGraphicsRotation::applyTo(a0);
        return;
    }

    extern void sipVH_QtWidgets_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMatrix4x4*);

    sipVH_QtWidgets_116(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGraphicsRotation::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsRotation::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsRotation::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsRotation::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsRotation::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsRotation::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsRotation::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsRotation::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsRotation::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsRotation::sipProtect_update()
{
    QGraphicsTransform::update();
}


PyDoc_STRVAR(doc_QGraphicsRotation_sender, "QGraphicsRotation.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsRotation_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsRotation, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 273704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_sender, doc_QGraphicsRotation_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_receivers, "QGraphicsRotation.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsRotation_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsRotation, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 273763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_receivers, doc_QGraphicsRotation_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_timerEvent, "QGraphicsRotation.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsRotation_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_timerEvent, doc_QGraphicsRotation_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_childEvent, "QGraphicsRotation.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsRotation_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_childEvent, doc_QGraphicsRotation_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_customEvent, "QGraphicsRotation.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsRotation_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_customEvent, doc_QGraphicsRotation_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_connectNotify, "QGraphicsRotation.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsRotation_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_connectNotify, doc_QGraphicsRotation_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_disconnectNotify, "QGraphicsRotation.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsRotation_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_disconnectNotify, doc_QGraphicsRotation_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_senderSignalIndex, "QGraphicsRotation.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsRotation_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsRotation, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_senderSignalIndex, doc_QGraphicsRotation_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_isSignalConnected, "QGraphicsRotation.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsRotation_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_isSignalConnected, doc_QGraphicsRotation_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_update, "QGraphicsRotation.update()");

extern "C" {static PyObject *meth_QGraphicsRotation_update(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_update(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsRotation *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsRotation, &sipCpp))
        {
            sipCpp->sipProtect_update();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_update, doc_QGraphicsRotation_update);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_origin, "QGraphicsRotation.origin() -> QVector3D");

extern "C" {static PyObject *meth_QGraphicsRotation_origin(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_origin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsRotation, &sipCpp))
        {
            QVector3D*sipRes;

            sipRes = new QVector3D(sipCpp->origin());

            return sipConvertFromNewType(sipRes,sipType_QVector3D,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_origin, doc_QGraphicsRotation_origin);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_setOrigin, "QGraphicsRotation.setOrigin(QVector3D)");

extern "C" {static PyObject *meth_QGraphicsRotation_setOrigin(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_setOrigin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVector3D* a0;
        QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QVector3D, &a0))
        {
            sipCpp->setOrigin(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_setOrigin, doc_QGraphicsRotation_setOrigin);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_angle, "QGraphicsRotation.angle() -> float");

extern "C" {static PyObject *meth_QGraphicsRotation_angle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_angle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsRotation, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->angle();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_angle, doc_QGraphicsRotation_angle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_setAngle, "QGraphicsRotation.setAngle(float)");

extern "C" {static PyObject *meth_QGraphicsRotation_setAngle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_setAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsRotation, &sipCpp, &a0))
        {
            sipCpp->setAngle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_setAngle, doc_QGraphicsRotation_setAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_axis, "QGraphicsRotation.axis() -> QVector3D");

extern "C" {static PyObject *meth_QGraphicsRotation_axis(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_axis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsRotation, &sipCpp))
        {
            QVector3D*sipRes;

            sipRes = new QVector3D(sipCpp->axis());

            return sipConvertFromNewType(sipRes,sipType_QVector3D,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_axis, doc_QGraphicsRotation_axis);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_setAxis, "QGraphicsRotation.setAxis(QVector3D)\n"
    "QGraphicsRotation.setAxis(Qt.Axis)");

extern "C" {static PyObject *meth_QGraphicsRotation_setAxis(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_setAxis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVector3D* a0;
        QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QVector3D, &a0))
        {
            sipCpp->setAxis(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Qt::Axis a0;
        QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_Qt_Axis, &a0))
        {
            sipCpp->setAxis(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_setAxis, doc_QGraphicsRotation_setAxis);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRotation_applyTo, "QGraphicsRotation.applyTo(QMatrix4x4)");

extern "C" {static PyObject *meth_QGraphicsRotation_applyTo(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRotation_applyTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMatrix4x4* a0;
        const QGraphicsRotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsRotation, &sipCpp, sipType_QMatrix4x4, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsRotation::applyTo(a0) : sipCpp->applyTo(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRotation, sipName_applyTo, doc_QGraphicsRotation_applyTo);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsRotation(void *, const sipTypeDef *);}
static void *cast_QGraphicsRotation(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsRotation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsTransform)->ctd_cast((QGraphicsTransform *)(QGraphicsRotation *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsRotation(void *, int);}
static void release_QGraphicsRotation(void *sipCppV,int)
{
    QGraphicsRotation *sipCpp = reinterpret_cast<QGraphicsRotation *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsRotation(sipSimpleWrapper *);}
static void dealloc_QGraphicsRotation(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsRotation *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsRotation(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsRotation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsRotation(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsRotation *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsRotation(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsRotation[] = {{158, 255, 1}};


static PyMethodDef methods_QGraphicsRotation[] = {
    {SIP_MLNAME_CAST(sipName_angle), meth_QGraphicsRotation_angle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRotation_angle)},
    {SIP_MLNAME_CAST(sipName_applyTo), meth_QGraphicsRotation_applyTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRotation_applyTo)},
    {SIP_MLNAME_CAST(sipName_axis), meth_QGraphicsRotation_axis, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRotation_axis)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsRotation_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsRotation_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsRotation_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsRotation_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsRotation_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_origin), meth_QGraphicsRotation_origin, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRotation_origin)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsRotation_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsRotation_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsRotation_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAngle), meth_QGraphicsRotation_setAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRotation_setAngle)},
    {SIP_MLNAME_CAST(sipName_setAxis), meth_QGraphicsRotation_setAxis, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRotation_setAxis)},
    {SIP_MLNAME_CAST(sipName_setOrigin), meth_QGraphicsRotation_setOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRotation_setOrigin)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsRotation_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_update), (PyCFunction)meth_QGraphicsRotation_update, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsRotation[] = {
    {"axisChanged()", "\1QGraphicsRotation.axisChanged", 0, 0},
    {"angleChanged()", "\1QGraphicsRotation.angleChanged", 0, 0},
    {"originChanged()", "\1QGraphicsRotation.originChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsRotation, "\1QGraphicsRotation(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsRotation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsRotation,
        {0}
    },
    {
        sipNameNr_QGraphicsRotation,
        {0, 0, 1},
        17, methods_QGraphicsRotation,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsRotation,
    -1,
    -1,
    supers_QGraphicsRotation,
    0,
    init_type_QGraphicsRotation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsRotation,
    0,
    0,
    0,
    release_QGraphicsRotation,
    cast_QGraphicsRotation,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsRotation::staticMetaObject,
    0,
    signals_QGraphicsRotation,
    0
};

#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 274370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 274374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 274377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qvector3d.sip"
#include <qvector3d.h>
#line 274380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 274383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 274386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 274389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 274392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 274395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 274398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 274401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 274404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 274407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 274410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 274413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 274416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 274419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 274422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 274425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsScale : public QGraphicsScale
{
public:
    sipQGraphicsScale(QObject*);
    virtual ~sipQGraphicsScale();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_update();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void applyTo(QMatrix4x4*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsScale(const sipQGraphicsScale &);
    sipQGraphicsScale &operator = (const sipQGraphicsScale &);

    char sipPyMethods[8];
};

sipQGraphicsScale::sipQGraphicsScale(QObject*a0): QGraphicsScale(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsScale::~sipQGraphicsScale()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsScale::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsScale);
}

int sipQGraphicsScale::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsScale::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsScale,_c,_id,_a);

    return _id;
}

void *sipQGraphicsScale::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsScale, _clname, &sipCpp) ? sipCpp : QGraphicsScale::qt_metacast(_clname));
}

void sipQGraphicsScale::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsScale::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScale::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsScale::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScale::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsScale::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScale::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsScale::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScale::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsScale::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsScale::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsScale::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsScale::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsScale::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScale::applyTo(QMatrix4x4*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_applyTo);

    if (!sipMeth)
    {
        QGraphicsScale::applyTo(a0);
        return;
    }

    extern void sipVH_QtWidgets_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMatrix4x4*);

    sipVH_QtWidgets_116(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGraphicsScale::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsScale::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsScale::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsScale::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsScale::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsScale::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsScale::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsScale::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsScale::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsScale::sipProtect_update()
{
    QGraphicsTransform::update();
}


PyDoc_STRVAR(doc_QGraphicsScale_sender, "QGraphicsScale.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsScale_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsScale, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 274738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_sender, doc_QGraphicsScale_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_receivers, "QGraphicsScale.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsScale_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsScale, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 274797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_receivers, doc_QGraphicsScale_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_timerEvent, "QGraphicsScale.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsScale_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScale, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_timerEvent, doc_QGraphicsScale_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_childEvent, "QGraphicsScale.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsScale_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScale, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_childEvent, doc_QGraphicsScale_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_customEvent, "QGraphicsScale.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsScale_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScale, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_customEvent, doc_QGraphicsScale_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_connectNotify, "QGraphicsScale.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsScale_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsScale, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_connectNotify, doc_QGraphicsScale_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_disconnectNotify, "QGraphicsScale.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsScale_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsScale, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_disconnectNotify, doc_QGraphicsScale_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_senderSignalIndex, "QGraphicsScale.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsScale_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsScale, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_senderSignalIndex, doc_QGraphicsScale_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_isSignalConnected, "QGraphicsScale.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsScale_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsScale, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_isSignalConnected, doc_QGraphicsScale_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_update, "QGraphicsScale.update()");

extern "C" {static PyObject *meth_QGraphicsScale_update(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_update(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsScale *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsScale, &sipCpp))
        {
            sipCpp->sipProtect_update();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_update, doc_QGraphicsScale_update);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_origin, "QGraphicsScale.origin() -> QVector3D");

extern "C" {static PyObject *meth_QGraphicsScale_origin(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_origin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScale, &sipCpp))
        {
            QVector3D*sipRes;

            sipRes = new QVector3D(sipCpp->origin());

            return sipConvertFromNewType(sipRes,sipType_QVector3D,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_origin, doc_QGraphicsScale_origin);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_setOrigin, "QGraphicsScale.setOrigin(QVector3D)");

extern "C" {static PyObject *meth_QGraphicsScale_setOrigin(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_setOrigin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVector3D* a0;
        QGraphicsScale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsScale, &sipCpp, sipType_QVector3D, &a0))
        {
            sipCpp->setOrigin(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_setOrigin, doc_QGraphicsScale_setOrigin);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_xScale, "QGraphicsScale.xScale() -> float");

extern "C" {static PyObject *meth_QGraphicsScale_xScale(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_xScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScale, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->xScale();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_xScale, doc_QGraphicsScale_xScale);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_setXScale, "QGraphicsScale.setXScale(float)");

extern "C" {static PyObject *meth_QGraphicsScale_setXScale(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_setXScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsScale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsScale, &sipCpp, &a0))
        {
            sipCpp->setXScale(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_setXScale, doc_QGraphicsScale_setXScale);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_yScale, "QGraphicsScale.yScale() -> float");

extern "C" {static PyObject *meth_QGraphicsScale_yScale(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_yScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScale, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->yScale();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_yScale, doc_QGraphicsScale_yScale);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_setYScale, "QGraphicsScale.setYScale(float)");

extern "C" {static PyObject *meth_QGraphicsScale_setYScale(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_setYScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsScale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsScale, &sipCpp, &a0))
        {
            sipCpp->setYScale(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_setYScale, doc_QGraphicsScale_setYScale);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_zScale, "QGraphicsScale.zScale() -> float");

extern "C" {static PyObject *meth_QGraphicsScale_zScale(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_zScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScale, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->zScale();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_zScale, doc_QGraphicsScale_zScale);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_setZScale, "QGraphicsScale.setZScale(float)");

extern "C" {static PyObject *meth_QGraphicsScale_setZScale(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_setZScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsScale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsScale, &sipCpp, &a0))
        {
            sipCpp->setZScale(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_setZScale, doc_QGraphicsScale_setZScale);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScale_applyTo, "QGraphicsScale.applyTo(QMatrix4x4)");

extern "C" {static PyObject *meth_QGraphicsScale_applyTo(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScale_applyTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMatrix4x4* a0;
        const QGraphicsScale *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsScale, &sipCpp, sipType_QMatrix4x4, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsScale::applyTo(a0) : sipCpp->applyTo(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScale, sipName_applyTo, doc_QGraphicsScale_applyTo);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsScale(void *, const sipTypeDef *);}
static void *cast_QGraphicsScale(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsScale)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsTransform)->ctd_cast((QGraphicsTransform *)(QGraphicsScale *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsScale(void *, int);}
static void release_QGraphicsScale(void *sipCppV,int)
{
    QGraphicsScale *sipCpp = reinterpret_cast<QGraphicsScale *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsScale(sipSimpleWrapper *);}
static void dealloc_QGraphicsScale(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsScale *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsScale(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsScale(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsScale(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsScale *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsScale(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsScale[] = {{158, 255, 1}};


static PyMethodDef methods_QGraphicsScale[] = {
    {SIP_MLNAME_CAST(sipName_applyTo), meth_QGraphicsScale_applyTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScale_applyTo)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsScale_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsScale_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsScale_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsScale_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsScale_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_origin), meth_QGraphicsScale_origin, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScale_origin)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsScale_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsScale_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsScale_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setOrigin), meth_QGraphicsScale_setOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScale_setOrigin)},
    {SIP_MLNAME_CAST(sipName_setXScale), meth_QGraphicsScale_setXScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScale_setXScale)},
    {SIP_MLNAME_CAST(sipName_setYScale), meth_QGraphicsScale_setYScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScale_setYScale)},
    {SIP_MLNAME_CAST(sipName_setZScale), meth_QGraphicsScale_setZScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScale_setZScale)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsScale_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_update), (PyCFunction)meth_QGraphicsScale_update, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_xScale), meth_QGraphicsScale_xScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScale_xScale)},
    {SIP_MLNAME_CAST(sipName_yScale), meth_QGraphicsScale_yScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScale_yScale)},
    {SIP_MLNAME_CAST(sipName_zScale), meth_QGraphicsScale_zScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScale_zScale)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsScale[] = {
    {"zScaleChanged()", "\1QGraphicsScale.zScaleChanged", 0, 0},
    {"yScaleChanged()", "\1QGraphicsScale.yScaleChanged", 0, 0},
    {"xScaleChanged()", "\1QGraphicsScale.xScaleChanged", 0, 0},
    {"scaleChanged()", "\1QGraphicsScale.scaleChanged", 0, 0},
    {"originChanged()", "\1QGraphicsScale.originChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsScale, "\1QGraphicsScale(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsScale = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsScale,
        {0}
    },
    {
        sipNameNr_QGraphicsScale,
        {0, 0, 1},
        19, methods_QGraphicsScale,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsScale,
    -1,
    -1,
    supers_QGraphicsScale,
    0,
    init_type_QGraphicsScale,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsScale,
    0,
    0,
    0,
    release_QGraphicsScale,
    cast_QGraphicsScale,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsScale::staticMetaObject,
    0,
    signals_QGraphicsScale,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 275448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 275452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qmatrix4x4.sip"
#include <qmatrix4x4.h>
#line 275455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 275458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 275461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 275464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 275467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 275470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 275473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 275476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 275479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 275482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 275485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 275488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 275491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 275494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 275497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 275500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsTransform : public QGraphicsTransform
{
public:
    sipQGraphicsTransform(QObject*);
    virtual ~sipQGraphicsTransform();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_update();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void applyTo(QMatrix4x4*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsTransform(const sipQGraphicsTransform &);
    sipQGraphicsTransform &operator = (const sipQGraphicsTransform &);

    char sipPyMethods[8];
};

sipQGraphicsTransform::sipQGraphicsTransform(QObject*a0): QGraphicsTransform(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsTransform::~sipQGraphicsTransform()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsTransform::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsTransform);
}

int sipQGraphicsTransform::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsTransform::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsTransform,_c,_id,_a);

    return _id;
}

void *sipQGraphicsTransform::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsTransform, _clname, &sipCpp) ? sipCpp : QGraphicsTransform::qt_metacast(_clname));
}

void sipQGraphicsTransform::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsTransform::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTransform::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsTransform::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTransform::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsTransform::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTransform::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsTransform::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTransform::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsTransform::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsTransform::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsTransform::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsTransform::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsTransform::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTransform::applyTo(QMatrix4x4*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,sipName_QGraphicsTransform,sipName_applyTo);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMatrix4x4*);

    sipVH_QtWidgets_116(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGraphicsTransform::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsTransform::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsTransform::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsTransform::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsTransform::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsTransform::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsTransform::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsTransform::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsTransform::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsTransform::sipProtect_update()
{
    QGraphicsTransform::update();
}


PyDoc_STRVAR(doc_QGraphicsTransform_sender, "QGraphicsTransform.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsTransform_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsTransform, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 275810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_sender, doc_QGraphicsTransform_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_receivers, "QGraphicsTransform.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsTransform_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsTransform, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 275869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_receivers, doc_QGraphicsTransform_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_timerEvent, "QGraphicsTransform.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsTransform_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTransform, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_timerEvent, doc_QGraphicsTransform_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_childEvent, "QGraphicsTransform.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsTransform_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTransform, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_childEvent, doc_QGraphicsTransform_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_customEvent, "QGraphicsTransform.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsTransform_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTransform, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_customEvent, doc_QGraphicsTransform_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_connectNotify, "QGraphicsTransform.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsTransform_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsTransform, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_connectNotify, doc_QGraphicsTransform_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_disconnectNotify, "QGraphicsTransform.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsTransform_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsTransform, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_disconnectNotify, doc_QGraphicsTransform_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_senderSignalIndex, "QGraphicsTransform.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsTransform_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsTransform, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_senderSignalIndex, doc_QGraphicsTransform_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_isSignalConnected, "QGraphicsTransform.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsTransform_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsTransform, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_isSignalConnected, doc_QGraphicsTransform_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_applyTo, "QGraphicsTransform.applyTo(QMatrix4x4)");

extern "C" {static PyObject *meth_QGraphicsTransform_applyTo(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_applyTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QMatrix4x4* a0;
        const QGraphicsTransform *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsTransform, &sipCpp, sipType_QMatrix4x4, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGraphicsTransform, sipName_applyTo);
                return NULL;
            }

            sipCpp->applyTo(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_applyTo, doc_QGraphicsTransform_applyTo);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTransform_update, "QGraphicsTransform.update()");

extern "C" {static PyObject *meth_QGraphicsTransform_update(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTransform_update(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsTransform *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsTransform, &sipCpp))
        {
            sipCpp->sipProtect_update();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTransform, sipName_update, doc_QGraphicsTransform_update);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsTransform(void *, const sipTypeDef *);}
static void *cast_QGraphicsTransform(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsTransform)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QGraphicsTransform *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsTransform(void *, int);}
static void release_QGraphicsTransform(void *sipCppV,int)
{
    QGraphicsTransform *sipCpp = reinterpret_cast<QGraphicsTransform *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsTransform(sipSimpleWrapper *);}
static void dealloc_QGraphicsTransform(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsTransform *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsTransform(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsTransform(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsTransform(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsTransform *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsTransform(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsTransform[] = {{162, 0, 1}};


static PyMethodDef methods_QGraphicsTransform[] = {
    {SIP_MLNAME_CAST(sipName_applyTo), meth_QGraphicsTransform_applyTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTransform_applyTo)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsTransform_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsTransform_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsTransform_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsTransform_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsTransform_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsTransform_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsTransform_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsTransform_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsTransform_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_update), (PyCFunction)meth_QGraphicsTransform_update, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTransform_update)}
};

PyDoc_STRVAR(doc_QGraphicsTransform, "\1QGraphicsTransform(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsTransform = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsTransform,
        {0}
    },
    {
        sipNameNr_QGraphicsTransform,
        {0, 0, 1},
        11, methods_QGraphicsTransform,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsTransform,
    -1,
    -1,
    supers_QGraphicsTransform,
    0,
    init_type_QGraphicsTransform,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsTransform,
    0,
    0,
    0,
    release_QGraphicsTransform,
    cast_QGraphicsTransform,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsTransform::staticMetaObject,
    0,
    0,
    0
};

#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 276291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 276295 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 276298 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 276301 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsSceneMoveEvent : public QGraphicsSceneMoveEvent
{
public:
    sipQGraphicsSceneMoveEvent();
    ~sipQGraphicsSceneMoveEvent();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsSceneMoveEvent(const sipQGraphicsSceneMoveEvent &);
    sipQGraphicsSceneMoveEvent &operator = (const sipQGraphicsSceneMoveEvent &);
};

sipQGraphicsSceneMoveEvent::sipQGraphicsSceneMoveEvent(): QGraphicsSceneMoveEvent(), sipPySelf(0)
{
}

sipQGraphicsSceneMoveEvent::~sipQGraphicsSceneMoveEvent()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QGraphicsSceneMoveEvent_oldPos, "QGraphicsSceneMoveEvent.oldPos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneMoveEvent_oldPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMoveEvent_oldPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMoveEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMoveEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->oldPos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMoveEvent, sipName_oldPos, doc_QGraphicsSceneMoveEvent_oldPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMoveEvent_newPos, "QGraphicsSceneMoveEvent.newPos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneMoveEvent_newPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMoveEvent_newPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMoveEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMoveEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->newPos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMoveEvent, sipName_newPos, doc_QGraphicsSceneMoveEvent_newPos);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSceneMoveEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneMoveEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSceneMoveEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsSceneEvent)->ctd_cast((QGraphicsSceneEvent *)(QGraphicsSceneMoveEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSceneMoveEvent(void *, int);}
static void release_QGraphicsSceneMoveEvent(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsSceneMoveEvent *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsSceneMoveEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSceneMoveEvent(sipSimpleWrapper *);}
static void dealloc_QGraphicsSceneMoveEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsSceneMoveEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSceneMoveEvent(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsSceneMoveEvent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsSceneMoveEvent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQGraphicsSceneMoveEvent *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQGraphicsSceneMoveEvent();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneMoveEvent[] = {{149, 255, 1}};


static PyMethodDef methods_QGraphicsSceneMoveEvent[] = {
    {SIP_MLNAME_CAST(sipName_newPos), meth_QGraphicsSceneMoveEvent_newPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMoveEvent_newPos)},
    {SIP_MLNAME_CAST(sipName_oldPos), meth_QGraphicsSceneMoveEvent_oldPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMoveEvent_oldPos)}
};

PyDoc_STRVAR(doc_QGraphicsSceneMoveEvent, "\1QGraphicsSceneMoveEvent()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneMoveEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneMoveEvent,
        {0}
    },
    {
        sipNameNr_QGraphicsSceneMoveEvent,
        {0, 0, 1},
        2, methods_QGraphicsSceneMoveEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsSceneMoveEvent,
    -1,
    -1,
    supers_QGraphicsSceneMoveEvent,
    0,
    init_type_QGraphicsSceneMoveEvent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSceneMoveEvent,
    0,
    0,
    0,
    release_QGraphicsSceneMoveEvent,
    cast_QGraphicsSceneMoveEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 276511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 276515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 276518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 276521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsSceneResizeEvent : public QGraphicsSceneResizeEvent
{
public:
    sipQGraphicsSceneResizeEvent();
    ~sipQGraphicsSceneResizeEvent();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsSceneResizeEvent(const sipQGraphicsSceneResizeEvent &);
    sipQGraphicsSceneResizeEvent &operator = (const sipQGraphicsSceneResizeEvent &);
};

sipQGraphicsSceneResizeEvent::sipQGraphicsSceneResizeEvent(): QGraphicsSceneResizeEvent(), sipPySelf(0)
{
}

sipQGraphicsSceneResizeEvent::~sipQGraphicsSceneResizeEvent()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QGraphicsSceneResizeEvent_oldSize, "QGraphicsSceneResizeEvent.oldSize() -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsSceneResizeEvent_oldSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneResizeEvent_oldSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneResizeEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneResizeEvent, &sipCpp))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->oldSize());

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneResizeEvent, sipName_oldSize, doc_QGraphicsSceneResizeEvent_oldSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneResizeEvent_newSize, "QGraphicsSceneResizeEvent.newSize() -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsSceneResizeEvent_newSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneResizeEvent_newSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneResizeEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneResizeEvent, &sipCpp))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->newSize());

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneResizeEvent, sipName_newSize, doc_QGraphicsSceneResizeEvent_newSize);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSceneResizeEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneResizeEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSceneResizeEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsSceneEvent)->ctd_cast((QGraphicsSceneEvent *)(QGraphicsSceneResizeEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSceneResizeEvent(void *, int);}
static void release_QGraphicsSceneResizeEvent(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsSceneResizeEvent *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsSceneResizeEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSceneResizeEvent(sipSimpleWrapper *);}
static void dealloc_QGraphicsSceneResizeEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsSceneResizeEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSceneResizeEvent(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsSceneResizeEvent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsSceneResizeEvent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQGraphicsSceneResizeEvent *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQGraphicsSceneResizeEvent();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneResizeEvent[] = {{149, 255, 1}};


static PyMethodDef methods_QGraphicsSceneResizeEvent[] = {
    {SIP_MLNAME_CAST(sipName_newSize), meth_QGraphicsSceneResizeEvent_newSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneResizeEvent_newSize)},
    {SIP_MLNAME_CAST(sipName_oldSize), meth_QGraphicsSceneResizeEvent_oldSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneResizeEvent_oldSize)}
};

PyDoc_STRVAR(doc_QGraphicsSceneResizeEvent, "\1QGraphicsSceneResizeEvent()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneResizeEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneResizeEvent,
        {0}
    },
    {
        sipNameNr_QGraphicsSceneResizeEvent,
        {0, 0, 1},
        2, methods_QGraphicsSceneResizeEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsSceneResizeEvent,
    -1,
    -1,
    supers_QGraphicsSceneResizeEvent,
    0,
    init_type_QGraphicsSceneResizeEvent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSceneResizeEvent,
    0,
    0,
    0,
    release_QGraphicsSceneResizeEvent,
    cast_QGraphicsSceneResizeEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 276731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 276735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 276738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 276741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 276744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 276747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 276750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 276753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 276756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 276759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_pos, "QGraphicsSceneDragDropEvent.pos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_pos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->pos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_pos, doc_QGraphicsSceneDragDropEvent_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_scenePos, "QGraphicsSceneDragDropEvent.scenePos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_scenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_scenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->scenePos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_scenePos, doc_QGraphicsSceneDragDropEvent_scenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_screenPos, "QGraphicsSceneDragDropEvent.screenPos() -> QPoint");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_screenPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_screenPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->screenPos());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_screenPos, doc_QGraphicsSceneDragDropEvent_screenPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_buttons, "QGraphicsSceneDragDropEvent.buttons() -> Qt.MouseButtons");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_buttons(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_buttons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            Qt::MouseButtons*sipRes;

            sipRes = new Qt::MouseButtons(sipCpp->buttons());

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_buttons, doc_QGraphicsSceneDragDropEvent_buttons);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_modifiers, "QGraphicsSceneDragDropEvent.modifiers() -> Qt.KeyboardModifiers");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_modifiers(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_modifiers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            Qt::KeyboardModifiers*sipRes;

            sipRes = new Qt::KeyboardModifiers(sipCpp->modifiers());

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_modifiers, doc_QGraphicsSceneDragDropEvent_modifiers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_possibleActions, "QGraphicsSceneDragDropEvent.possibleActions() -> Qt.DropActions");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_possibleActions(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_possibleActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            Qt::DropActions*sipRes;

            sipRes = new Qt::DropActions(sipCpp->possibleActions());

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_possibleActions, doc_QGraphicsSceneDragDropEvent_possibleActions);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_proposedAction, "QGraphicsSceneDragDropEvent.proposedAction() -> Qt.DropAction");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_proposedAction(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_proposedAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            Qt::DropAction sipRes;

            sipRes = sipCpp->proposedAction();

            return sipConvertFromEnum(sipRes,sipType_Qt_DropAction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_proposedAction, doc_QGraphicsSceneDragDropEvent_proposedAction);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_acceptProposedAction, "QGraphicsSceneDragDropEvent.acceptProposedAction()");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_acceptProposedAction(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_acceptProposedAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            sipCpp->acceptProposedAction();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_acceptProposedAction, doc_QGraphicsSceneDragDropEvent_acceptProposedAction);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_dropAction, "QGraphicsSceneDragDropEvent.dropAction() -> Qt.DropAction");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_dropAction(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_dropAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            Qt::DropAction sipRes;

            sipRes = sipCpp->dropAction();

            return sipConvertFromEnum(sipRes,sipType_Qt_DropAction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_dropAction, doc_QGraphicsSceneDragDropEvent_dropAction);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_setDropAction, "QGraphicsSceneDragDropEvent.setDropAction(Qt.DropAction)");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_setDropAction(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_setDropAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DropAction a0;
        QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp, sipType_Qt_DropAction, &a0))
        {
            sipCpp->setDropAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_setDropAction, doc_QGraphicsSceneDragDropEvent_setDropAction);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_source, "QGraphicsSceneDragDropEvent.source() -> QWidget");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_source(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_source(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->source();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_source, doc_QGraphicsSceneDragDropEvent_source);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneDragDropEvent_mimeData, "QGraphicsSceneDragDropEvent.mimeData() -> QMimeData");

extern "C" {static PyObject *meth_QGraphicsSceneDragDropEvent_mimeData(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneDragDropEvent_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneDragDropEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneDragDropEvent, &sipCpp))
        {
            const QMimeData*sipRes;

            sipRes = sipCpp->mimeData();

            return sipConvertFromType(const_cast<QMimeData *>(sipRes),sipType_QMimeData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneDragDropEvent, sipName_mimeData, doc_QGraphicsSceneDragDropEvent_mimeData);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSceneDragDropEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneDragDropEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSceneDragDropEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsSceneEvent)->ctd_cast((QGraphicsSceneEvent *)(QGraphicsSceneDragDropEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSceneDragDropEvent(void *, int);}
static void release_QGraphicsSceneDragDropEvent(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsSceneDragDropEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSceneDragDropEvent(sipSimpleWrapper *);}
static void dealloc_QGraphicsSceneDragDropEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSceneDragDropEvent(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneDragDropEvent[] = {{149, 255, 1}};


static PyMethodDef methods_QGraphicsSceneDragDropEvent[] = {
    {SIP_MLNAME_CAST(sipName_acceptProposedAction), meth_QGraphicsSceneDragDropEvent_acceptProposedAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_acceptProposedAction)},
    {SIP_MLNAME_CAST(sipName_buttons), meth_QGraphicsSceneDragDropEvent_buttons, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_buttons)},
    {SIP_MLNAME_CAST(sipName_dropAction), meth_QGraphicsSceneDragDropEvent_dropAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_dropAction)},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_QGraphicsSceneDragDropEvent_mimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_mimeData)},
    {SIP_MLNAME_CAST(sipName_modifiers), meth_QGraphicsSceneDragDropEvent_modifiers, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_modifiers)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QGraphicsSceneDragDropEvent_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_pos)},
    {SIP_MLNAME_CAST(sipName_possibleActions), meth_QGraphicsSceneDragDropEvent_possibleActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_possibleActions)},
    {SIP_MLNAME_CAST(sipName_proposedAction), meth_QGraphicsSceneDragDropEvent_proposedAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_proposedAction)},
    {SIP_MLNAME_CAST(sipName_scenePos), meth_QGraphicsSceneDragDropEvent_scenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_scenePos)},
    {SIP_MLNAME_CAST(sipName_screenPos), meth_QGraphicsSceneDragDropEvent_screenPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_screenPos)},
    {SIP_MLNAME_CAST(sipName_setDropAction), meth_QGraphicsSceneDragDropEvent_setDropAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_setDropAction)},
    {SIP_MLNAME_CAST(sipName_source), meth_QGraphicsSceneDragDropEvent_source, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneDragDropEvent_source)}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneDragDropEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneDragDropEvent,
        {0}
    },
    {
        sipNameNr_QGraphicsSceneDragDropEvent,
        {0, 0, 1},
        12, methods_QGraphicsSceneDragDropEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QGraphicsSceneDragDropEvent,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSceneDragDropEvent,
    0,
    0,
    0,
    release_QGraphicsSceneDragDropEvent,
    cast_QGraphicsSceneDragDropEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 277195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 277199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 277202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 277205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 277208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneHelpEvent_scenePos, "QGraphicsSceneHelpEvent.scenePos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneHelpEvent_scenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneHelpEvent_scenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneHelpEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneHelpEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->scenePos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneHelpEvent, sipName_scenePos, doc_QGraphicsSceneHelpEvent_scenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneHelpEvent_screenPos, "QGraphicsSceneHelpEvent.screenPos() -> QPoint");

extern "C" {static PyObject *meth_QGraphicsSceneHelpEvent_screenPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneHelpEvent_screenPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneHelpEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneHelpEvent, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->screenPos());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneHelpEvent, sipName_screenPos, doc_QGraphicsSceneHelpEvent_screenPos);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSceneHelpEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneHelpEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSceneHelpEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsSceneEvent)->ctd_cast((QGraphicsSceneEvent *)(QGraphicsSceneHelpEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSceneHelpEvent(void *, int);}
static void release_QGraphicsSceneHelpEvent(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsSceneHelpEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSceneHelpEvent(sipSimpleWrapper *);}
static void dealloc_QGraphicsSceneHelpEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSceneHelpEvent(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneHelpEvent[] = {{149, 255, 1}};


static PyMethodDef methods_QGraphicsSceneHelpEvent[] = {
    {SIP_MLNAME_CAST(sipName_scenePos), meth_QGraphicsSceneHelpEvent_scenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneHelpEvent_scenePos)},
    {SIP_MLNAME_CAST(sipName_screenPos), meth_QGraphicsSceneHelpEvent_screenPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneHelpEvent_screenPos)}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneHelpEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneHelpEvent,
        {0}
    },
    {
        sipNameNr_QGraphicsSceneHelpEvent,
        {0, 0, 1},
        2, methods_QGraphicsSceneHelpEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QGraphicsSceneHelpEvent,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSceneHelpEvent,
    0,
    0,
    0,
    release_QGraphicsSceneHelpEvent,
    cast_QGraphicsSceneHelpEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 277365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 277369 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 277372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 277375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 277378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 277381 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneHoverEvent_pos, "QGraphicsSceneHoverEvent.pos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneHoverEvent_pos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneHoverEvent_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneHoverEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneHoverEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->pos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneHoverEvent, sipName_pos, doc_QGraphicsSceneHoverEvent_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneHoverEvent_scenePos, "QGraphicsSceneHoverEvent.scenePos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneHoverEvent_scenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneHoverEvent_scenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneHoverEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneHoverEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->scenePos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneHoverEvent, sipName_scenePos, doc_QGraphicsSceneHoverEvent_scenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneHoverEvent_screenPos, "QGraphicsSceneHoverEvent.screenPos() -> QPoint");

extern "C" {static PyObject *meth_QGraphicsSceneHoverEvent_screenPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneHoverEvent_screenPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneHoverEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneHoverEvent, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->screenPos());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneHoverEvent, sipName_screenPos, doc_QGraphicsSceneHoverEvent_screenPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneHoverEvent_lastPos, "QGraphicsSceneHoverEvent.lastPos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneHoverEvent_lastPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneHoverEvent_lastPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneHoverEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneHoverEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->lastPos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneHoverEvent, sipName_lastPos, doc_QGraphicsSceneHoverEvent_lastPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneHoverEvent_lastScenePos, "QGraphicsSceneHoverEvent.lastScenePos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneHoverEvent_lastScenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneHoverEvent_lastScenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneHoverEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneHoverEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->lastScenePos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneHoverEvent, sipName_lastScenePos, doc_QGraphicsSceneHoverEvent_lastScenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneHoverEvent_lastScreenPos, "QGraphicsSceneHoverEvent.lastScreenPos() -> QPoint");

extern "C" {static PyObject *meth_QGraphicsSceneHoverEvent_lastScreenPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneHoverEvent_lastScreenPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneHoverEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneHoverEvent, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->lastScreenPos());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneHoverEvent, sipName_lastScreenPos, doc_QGraphicsSceneHoverEvent_lastScreenPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneHoverEvent_modifiers, "QGraphicsSceneHoverEvent.modifiers() -> Qt.KeyboardModifiers");

extern "C" {static PyObject *meth_QGraphicsSceneHoverEvent_modifiers(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneHoverEvent_modifiers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneHoverEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneHoverEvent, &sipCpp))
        {
            Qt::KeyboardModifiers*sipRes;

            sipRes = new Qt::KeyboardModifiers(sipCpp->modifiers());

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneHoverEvent, sipName_modifiers, doc_QGraphicsSceneHoverEvent_modifiers);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSceneHoverEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneHoverEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSceneHoverEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsSceneEvent)->ctd_cast((QGraphicsSceneEvent *)(QGraphicsSceneHoverEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSceneHoverEvent(void *, int);}
static void release_QGraphicsSceneHoverEvent(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsSceneHoverEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSceneHoverEvent(sipSimpleWrapper *);}
static void dealloc_QGraphicsSceneHoverEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSceneHoverEvent(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneHoverEvent[] = {{149, 255, 1}};


static PyMethodDef methods_QGraphicsSceneHoverEvent[] = {
    {SIP_MLNAME_CAST(sipName_lastPos), meth_QGraphicsSceneHoverEvent_lastPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneHoverEvent_lastPos)},
    {SIP_MLNAME_CAST(sipName_lastScenePos), meth_QGraphicsSceneHoverEvent_lastScenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneHoverEvent_lastScenePos)},
    {SIP_MLNAME_CAST(sipName_lastScreenPos), meth_QGraphicsSceneHoverEvent_lastScreenPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneHoverEvent_lastScreenPos)},
    {SIP_MLNAME_CAST(sipName_modifiers), meth_QGraphicsSceneHoverEvent_modifiers, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneHoverEvent_modifiers)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QGraphicsSceneHoverEvent_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneHoverEvent_pos)},
    {SIP_MLNAME_CAST(sipName_scenePos), meth_QGraphicsSceneHoverEvent_scenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneHoverEvent_scenePos)},
    {SIP_MLNAME_CAST(sipName_screenPos), meth_QGraphicsSceneHoverEvent_screenPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneHoverEvent_screenPos)}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneHoverEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneHoverEvent,
        {0}
    },
    {
        sipNameNr_QGraphicsSceneHoverEvent,
        {0, 0, 1},
        7, methods_QGraphicsSceneHoverEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QGraphicsSceneHoverEvent,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSceneHoverEvent,
    0,
    0,
    0,
    release_QGraphicsSceneHoverEvent,
    cast_QGraphicsSceneHoverEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 277678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 277682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 277685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 277688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 277691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 277694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneContextMenuEvent_pos, "QGraphicsSceneContextMenuEvent.pos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneContextMenuEvent_pos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneContextMenuEvent_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneContextMenuEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneContextMenuEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->pos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneContextMenuEvent, sipName_pos, doc_QGraphicsSceneContextMenuEvent_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneContextMenuEvent_scenePos, "QGraphicsSceneContextMenuEvent.scenePos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneContextMenuEvent_scenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneContextMenuEvent_scenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneContextMenuEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneContextMenuEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->scenePos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneContextMenuEvent, sipName_scenePos, doc_QGraphicsSceneContextMenuEvent_scenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneContextMenuEvent_screenPos, "QGraphicsSceneContextMenuEvent.screenPos() -> QPoint");

extern "C" {static PyObject *meth_QGraphicsSceneContextMenuEvent_screenPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneContextMenuEvent_screenPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneContextMenuEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneContextMenuEvent, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->screenPos());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneContextMenuEvent, sipName_screenPos, doc_QGraphicsSceneContextMenuEvent_screenPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneContextMenuEvent_modifiers, "QGraphicsSceneContextMenuEvent.modifiers() -> Qt.KeyboardModifiers");

extern "C" {static PyObject *meth_QGraphicsSceneContextMenuEvent_modifiers(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneContextMenuEvent_modifiers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneContextMenuEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneContextMenuEvent, &sipCpp))
        {
            Qt::KeyboardModifiers*sipRes;

            sipRes = new Qt::KeyboardModifiers(sipCpp->modifiers());

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneContextMenuEvent, sipName_modifiers, doc_QGraphicsSceneContextMenuEvent_modifiers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneContextMenuEvent_reason, "QGraphicsSceneContextMenuEvent.reason() -> QGraphicsSceneContextMenuEvent.Reason");

extern "C" {static PyObject *meth_QGraphicsSceneContextMenuEvent_reason(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneContextMenuEvent_reason(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneContextMenuEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneContextMenuEvent, &sipCpp))
        {
            QGraphicsSceneContextMenuEvent::Reason sipRes;

            sipRes = sipCpp->reason();

            return sipConvertFromEnum(sipRes,sipType_QGraphicsSceneContextMenuEvent_Reason);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneContextMenuEvent, sipName_reason, doc_QGraphicsSceneContextMenuEvent_reason);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSceneContextMenuEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneContextMenuEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSceneContextMenuEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsSceneEvent)->ctd_cast((QGraphicsSceneEvent *)(QGraphicsSceneContextMenuEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSceneContextMenuEvent(void *, int);}
static void release_QGraphicsSceneContextMenuEvent(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsSceneContextMenuEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSceneContextMenuEvent(sipSimpleWrapper *);}
static void dealloc_QGraphicsSceneContextMenuEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSceneContextMenuEvent(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneContextMenuEvent[] = {{149, 255, 1}};


static PyMethodDef methods_QGraphicsSceneContextMenuEvent[] = {
    {SIP_MLNAME_CAST(sipName_modifiers), meth_QGraphicsSceneContextMenuEvent_modifiers, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneContextMenuEvent_modifiers)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QGraphicsSceneContextMenuEvent_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneContextMenuEvent_pos)},
    {SIP_MLNAME_CAST(sipName_reason), meth_QGraphicsSceneContextMenuEvent_reason, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneContextMenuEvent_reason)},
    {SIP_MLNAME_CAST(sipName_scenePos), meth_QGraphicsSceneContextMenuEvent_scenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneContextMenuEvent_scenePos)},
    {SIP_MLNAME_CAST(sipName_screenPos), meth_QGraphicsSceneContextMenuEvent_screenPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneContextMenuEvent_screenPos)}
};

static sipEnumMemberDef enummembers_QGraphicsSceneContextMenuEvent[] = {
    {sipName_Keyboard, static_cast<int>(QGraphicsSceneContextMenuEvent::Keyboard), 147},
    {sipName_Mouse, static_cast<int>(QGraphicsSceneContextMenuEvent::Mouse), 147},
    {sipName_Other, static_cast<int>(QGraphicsSceneContextMenuEvent::Other), 147},
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneContextMenuEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneContextMenuEvent,
        {0}
    },
    {
        sipNameNr_QGraphicsSceneContextMenuEvent,
        {0, 0, 1},
        5, methods_QGraphicsSceneContextMenuEvent,
        3, enummembers_QGraphicsSceneContextMenuEvent,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QGraphicsSceneContextMenuEvent,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSceneContextMenuEvent,
    0,
    0,
    0,
    release_QGraphicsSceneContextMenuEvent,
    cast_QGraphicsSceneContextMenuEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 277941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 277945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 277948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 277951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 277954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 277957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 277960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 277963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneWheelEvent_pos, "QGraphicsSceneWheelEvent.pos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneWheelEvent_pos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneWheelEvent_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneWheelEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneWheelEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->pos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneWheelEvent, sipName_pos, doc_QGraphicsSceneWheelEvent_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneWheelEvent_scenePos, "QGraphicsSceneWheelEvent.scenePos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneWheelEvent_scenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneWheelEvent_scenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneWheelEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneWheelEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->scenePos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneWheelEvent, sipName_scenePos, doc_QGraphicsSceneWheelEvent_scenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneWheelEvent_screenPos, "QGraphicsSceneWheelEvent.screenPos() -> QPoint");

extern "C" {static PyObject *meth_QGraphicsSceneWheelEvent_screenPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneWheelEvent_screenPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneWheelEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneWheelEvent, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->screenPos());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneWheelEvent, sipName_screenPos, doc_QGraphicsSceneWheelEvent_screenPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneWheelEvent_buttons, "QGraphicsSceneWheelEvent.buttons() -> Qt.MouseButtons");

extern "C" {static PyObject *meth_QGraphicsSceneWheelEvent_buttons(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneWheelEvent_buttons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneWheelEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneWheelEvent, &sipCpp))
        {
            Qt::MouseButtons*sipRes;

            sipRes = new Qt::MouseButtons(sipCpp->buttons());

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneWheelEvent, sipName_buttons, doc_QGraphicsSceneWheelEvent_buttons);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneWheelEvent_modifiers, "QGraphicsSceneWheelEvent.modifiers() -> Qt.KeyboardModifiers");

extern "C" {static PyObject *meth_QGraphicsSceneWheelEvent_modifiers(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneWheelEvent_modifiers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneWheelEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneWheelEvent, &sipCpp))
        {
            Qt::KeyboardModifiers*sipRes;

            sipRes = new Qt::KeyboardModifiers(sipCpp->modifiers());

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneWheelEvent, sipName_modifiers, doc_QGraphicsSceneWheelEvent_modifiers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneWheelEvent_delta, "QGraphicsSceneWheelEvent.delta() -> int");

extern "C" {static PyObject *meth_QGraphicsSceneWheelEvent_delta(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneWheelEvent_delta(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneWheelEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneWheelEvent, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->delta();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneWheelEvent, sipName_delta, doc_QGraphicsSceneWheelEvent_delta);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneWheelEvent_orientation, "QGraphicsSceneWheelEvent.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QGraphicsSceneWheelEvent_orientation(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneWheelEvent_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneWheelEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneWheelEvent, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneWheelEvent, sipName_orientation, doc_QGraphicsSceneWheelEvent_orientation);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSceneWheelEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneWheelEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSceneWheelEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsSceneEvent)->ctd_cast((QGraphicsSceneEvent *)(QGraphicsSceneWheelEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSceneWheelEvent(void *, int);}
static void release_QGraphicsSceneWheelEvent(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsSceneWheelEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSceneWheelEvent(sipSimpleWrapper *);}
static void dealloc_QGraphicsSceneWheelEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSceneWheelEvent(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneWheelEvent[] = {{149, 255, 1}};


static PyMethodDef methods_QGraphicsSceneWheelEvent[] = {
    {SIP_MLNAME_CAST(sipName_buttons), meth_QGraphicsSceneWheelEvent_buttons, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneWheelEvent_buttons)},
    {SIP_MLNAME_CAST(sipName_delta), meth_QGraphicsSceneWheelEvent_delta, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneWheelEvent_delta)},
    {SIP_MLNAME_CAST(sipName_modifiers), meth_QGraphicsSceneWheelEvent_modifiers, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneWheelEvent_modifiers)},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QGraphicsSceneWheelEvent_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneWheelEvent_orientation)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QGraphicsSceneWheelEvent_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneWheelEvent_pos)},
    {SIP_MLNAME_CAST(sipName_scenePos), meth_QGraphicsSceneWheelEvent_scenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneWheelEvent_scenePos)},
    {SIP_MLNAME_CAST(sipName_screenPos), meth_QGraphicsSceneWheelEvent_screenPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneWheelEvent_screenPos)}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneWheelEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneWheelEvent,
        {0}
    },
    {
        sipNameNr_QGraphicsSceneWheelEvent,
        {0, 0, 1},
        7, methods_QGraphicsSceneWheelEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QGraphicsSceneWheelEvent,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSceneWheelEvent,
    0,
    0,
    0,
    release_QGraphicsSceneWheelEvent,
    cast_QGraphicsSceneWheelEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 278260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 278264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 278267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 278270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 278273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 278276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 278279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 278282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 278285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_pos, "QGraphicsSceneMouseEvent.pos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_pos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->pos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_pos, doc_QGraphicsSceneMouseEvent_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_scenePos, "QGraphicsSceneMouseEvent.scenePos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_scenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_scenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->scenePos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_scenePos, doc_QGraphicsSceneMouseEvent_scenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_screenPos, "QGraphicsSceneMouseEvent.screenPos() -> QPoint");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_screenPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_screenPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->screenPos());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_screenPos, doc_QGraphicsSceneMouseEvent_screenPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_buttonDownPos, "QGraphicsSceneMouseEvent.buttonDownPos(Qt.MouseButton) -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_buttonDownPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_buttonDownPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MouseButton a0;
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp, sipType_Qt_MouseButton, &a0))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->buttonDownPos(a0));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_buttonDownPos, doc_QGraphicsSceneMouseEvent_buttonDownPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_buttonDownScenePos, "QGraphicsSceneMouseEvent.buttonDownScenePos(Qt.MouseButton) -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_buttonDownScenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_buttonDownScenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MouseButton a0;
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp, sipType_Qt_MouseButton, &a0))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->buttonDownScenePos(a0));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_buttonDownScenePos, doc_QGraphicsSceneMouseEvent_buttonDownScenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_buttonDownScreenPos, "QGraphicsSceneMouseEvent.buttonDownScreenPos(Qt.MouseButton) -> QPoint");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_buttonDownScreenPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_buttonDownScreenPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MouseButton a0;
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp, sipType_Qt_MouseButton, &a0))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->buttonDownScreenPos(a0));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_buttonDownScreenPos, doc_QGraphicsSceneMouseEvent_buttonDownScreenPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_lastPos, "QGraphicsSceneMouseEvent.lastPos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_lastPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_lastPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->lastPos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_lastPos, doc_QGraphicsSceneMouseEvent_lastPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_lastScenePos, "QGraphicsSceneMouseEvent.lastScenePos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_lastScenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_lastScenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->lastScenePos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_lastScenePos, doc_QGraphicsSceneMouseEvent_lastScenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_lastScreenPos, "QGraphicsSceneMouseEvent.lastScreenPos() -> QPoint");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_lastScreenPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_lastScreenPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->lastScreenPos());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_lastScreenPos, doc_QGraphicsSceneMouseEvent_lastScreenPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_buttons, "QGraphicsSceneMouseEvent.buttons() -> Qt.MouseButtons");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_buttons(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_buttons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            Qt::MouseButtons*sipRes;

            sipRes = new Qt::MouseButtons(sipCpp->buttons());

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_buttons, doc_QGraphicsSceneMouseEvent_buttons);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_button, "QGraphicsSceneMouseEvent.button() -> Qt.MouseButton");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_button(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_button(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            Qt::MouseButton sipRes;

            sipRes = sipCpp->button();

            return sipConvertFromEnum(sipRes,sipType_Qt_MouseButton);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_button, doc_QGraphicsSceneMouseEvent_button);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_modifiers, "QGraphicsSceneMouseEvent.modifiers() -> Qt.KeyboardModifiers");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_modifiers(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_modifiers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            Qt::KeyboardModifiers*sipRes;

            sipRes = new Qt::KeyboardModifiers(sipCpp->modifiers());

            return sipConvertFromNewType(sipRes,sipType_Qt_KeyboardModifiers,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_modifiers, doc_QGraphicsSceneMouseEvent_modifiers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_source, "QGraphicsSceneMouseEvent.source() -> Qt.MouseEventSource");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_source(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_source(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            Qt::MouseEventSource sipRes;

            sipRes = sipCpp->source();

            return sipConvertFromEnum(sipRes,sipType_Qt_MouseEventSource);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_source, doc_QGraphicsSceneMouseEvent_source);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSceneMouseEvent_flags, "QGraphicsSceneMouseEvent.flags() -> Qt.MouseEventFlags");

extern "C" {static PyObject *meth_QGraphicsSceneMouseEvent_flags(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneMouseEvent_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneMouseEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneMouseEvent, &sipCpp))
        {
            Qt::MouseEventFlags*sipRes;

            sipRes = new Qt::MouseEventFlags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseEventFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneMouseEvent, sipName_flags, doc_QGraphicsSceneMouseEvent_flags);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSceneMouseEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneMouseEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSceneMouseEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsSceneEvent)->ctd_cast((QGraphicsSceneEvent *)(QGraphicsSceneMouseEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSceneMouseEvent(void *, int);}
static void release_QGraphicsSceneMouseEvent(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsSceneMouseEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSceneMouseEvent(sipSimpleWrapper *);}
static void dealloc_QGraphicsSceneMouseEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSceneMouseEvent(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneMouseEvent[] = {{149, 255, 1}};


static PyMethodDef methods_QGraphicsSceneMouseEvent[] = {
    {SIP_MLNAME_CAST(sipName_button), meth_QGraphicsSceneMouseEvent_button, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_button)},
    {SIP_MLNAME_CAST(sipName_buttonDownPos), meth_QGraphicsSceneMouseEvent_buttonDownPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_buttonDownPos)},
    {SIP_MLNAME_CAST(sipName_buttonDownScenePos), meth_QGraphicsSceneMouseEvent_buttonDownScenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_buttonDownScenePos)},
    {SIP_MLNAME_CAST(sipName_buttonDownScreenPos), meth_QGraphicsSceneMouseEvent_buttonDownScreenPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_buttonDownScreenPos)},
    {SIP_MLNAME_CAST(sipName_buttons), meth_QGraphicsSceneMouseEvent_buttons, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_buttons)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QGraphicsSceneMouseEvent_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_flags)},
    {SIP_MLNAME_CAST(sipName_lastPos), meth_QGraphicsSceneMouseEvent_lastPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_lastPos)},
    {SIP_MLNAME_CAST(sipName_lastScenePos), meth_QGraphicsSceneMouseEvent_lastScenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_lastScenePos)},
    {SIP_MLNAME_CAST(sipName_lastScreenPos), meth_QGraphicsSceneMouseEvent_lastScreenPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_lastScreenPos)},
    {SIP_MLNAME_CAST(sipName_modifiers), meth_QGraphicsSceneMouseEvent_modifiers, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_modifiers)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QGraphicsSceneMouseEvent_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_pos)},
    {SIP_MLNAME_CAST(sipName_scenePos), meth_QGraphicsSceneMouseEvent_scenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_scenePos)},
    {SIP_MLNAME_CAST(sipName_screenPos), meth_QGraphicsSceneMouseEvent_screenPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_screenPos)},
    {SIP_MLNAME_CAST(sipName_source), meth_QGraphicsSceneMouseEvent_source, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneMouseEvent_source)}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneMouseEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneMouseEvent,
        {0}
    },
    {
        sipNameNr_QGraphicsSceneMouseEvent,
        {0, 0, 1},
        14, methods_QGraphicsSceneMouseEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QGraphicsSceneMouseEvent,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSceneMouseEvent,
    0,
    0,
    0,
    release_QGraphicsSceneMouseEvent,
    cast_QGraphicsSceneMouseEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 278781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 278785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 278788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsSceneEvent_widget, "QGraphicsSceneEvent.widget() -> QWidget");

extern "C" {static PyObject *meth_QGraphicsSceneEvent_widget(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSceneEvent_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSceneEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSceneEvent, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSceneEvent, sipName_widget, doc_QGraphicsSceneEvent_widget);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSceneEvent(void *, const sipTypeDef *);}
static void *cast_QGraphicsSceneEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSceneEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QEvent)->ctd_cast((QEvent *)(QGraphicsSceneEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSceneEvent(void *, int);}
static void release_QGraphicsSceneEvent(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsSceneEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSceneEvent(sipSimpleWrapper *);}
static void dealloc_QGraphicsSceneEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSceneEvent(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSceneEvent[] = {{53, 0, 1}};


static PyMethodDef methods_QGraphicsSceneEvent[] = {
    {SIP_MLNAME_CAST(sipName_widget), meth_QGraphicsSceneEvent_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSceneEvent_widget)}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSceneEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSceneEvent,
        {0}
    },
    {
        sipNameNr_QGraphicsSceneEvent,
        {0, 0, 1},
        1, methods_QGraphicsSceneEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QGraphicsSceneEvent,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSceneEvent,
    0,
    0,
    0,
    release_QGraphicsSceneEvent,
    cast_QGraphicsSceneEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 278917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 278921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QGraphicsScene_SceneLayers___bool__(PyObject *);}
static int slot_QGraphicsScene_SceneLayers___bool__(PyObject *sipSelf)
{
    QGraphicsScene::SceneLayers *sipCpp = reinterpret_cast<QGraphicsScene::SceneLayers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsScene_SceneLayers));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsScene::SceneLayers::Int() != 0);
#line 278939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___ne__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsScene::SceneLayers *sipCpp = reinterpret_cast<QGraphicsScene::SceneLayers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsScene_SceneLayers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene::SceneLayers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsScene_SceneLayers, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsScene::SceneLayers::Int() != a0->operator QGraphicsScene::SceneLayers::Int());
#line 278969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsScene::SceneLayers *>(a0),sipType_QGraphicsScene_SceneLayers,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QGraphicsScene_SceneLayers,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___eq__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsScene::SceneLayers *sipCpp = reinterpret_cast<QGraphicsScene::SceneLayers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsScene_SceneLayers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene::SceneLayers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsScene_SceneLayers, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsScene::SceneLayers::Int() == a0->operator QGraphicsScene::SceneLayers::Int());
#line 279005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsScene::SceneLayers *>(a0),sipType_QGraphicsScene_SceneLayers,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QGraphicsScene_SceneLayers,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___invert__(PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___invert__(PyObject *sipSelf)
{
    QGraphicsScene::SceneLayers *sipCpp = reinterpret_cast<QGraphicsScene::SceneLayers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsScene_SceneLayers));

    if (!sipCpp)
        return 0;


    {
        {
            QGraphicsScene::SceneLayers*sipRes;

            sipRes = new QGraphicsScene::SceneLayers(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QGraphicsScene_SceneLayers,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___and__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene::SceneLayers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsScene_SceneLayers, &a0, &a0State, &a1))
        {
            QGraphicsScene::SceneLayers*sipRes;

            sipRes = new QGraphicsScene::SceneLayers((*a0 & a1));
            sipReleaseType(a0,sipType_QGraphicsScene_SceneLayers,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsScene_SceneLayers,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene::SceneLayers* a0;
        int a0State = 0;
        QGraphicsScene::SceneLayers* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsScene_SceneLayers, &a0, &a0State, sipType_QGraphicsScene_SceneLayers, &a1, &a1State))
        {
            QGraphicsScene::SceneLayers*sipRes;

            sipRes = new QGraphicsScene::SceneLayers((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QGraphicsScene_SceneLayers,a0State);
            sipReleaseType(a1,sipType_QGraphicsScene_SceneLayers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsScene_SceneLayers,NULL);
        }
    }

    {
        QGraphicsScene::SceneLayers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsScene_SceneLayers, &a0, &a0State, &a1))
        {
            QGraphicsScene::SceneLayers*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsScene::SceneLayers(*a0 ^ a1);
#line 279108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsScene_SceneLayers,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsScene_SceneLayers,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene::SceneLayers* a0;
        int a0State = 0;
        QGraphicsScene::SceneLayers* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsScene_SceneLayers, &a0, &a0State, sipType_QGraphicsScene_SceneLayers, &a1, &a1State))
        {
            QGraphicsScene::SceneLayers*sipRes;

            sipRes = new QGraphicsScene::SceneLayers((*a0 | *a1));
            sipReleaseType(a0,sipType_QGraphicsScene_SceneLayers,a0State);
            sipReleaseType(a1,sipType_QGraphicsScene_SceneLayers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsScene_SceneLayers,NULL);
        }
    }

    {
        QGraphicsScene::SceneLayers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsScene_SceneLayers, &a0, &a0State, &a1))
        {
            QGraphicsScene::SceneLayers*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsScene::SceneLayers(*a0 | a1);
#line 279158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsScene_SceneLayers,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsScene_SceneLayers,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___int__(PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___int__(PyObject *sipSelf)
{
    QGraphicsScene::SceneLayers *sipCpp = reinterpret_cast<QGraphicsScene::SceneLayers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsScene_SceneLayers));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsScene_SceneLayers___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsScene_SceneLayers)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsScene::SceneLayers *sipCpp = reinterpret_cast<QGraphicsScene::SceneLayers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsScene_SceneLayers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene::SceneLayers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsScene_SceneLayers, &a0, &a0State))
        {
            sipCpp->QGraphicsScene::SceneLayers::operator^=(*a0);
            sipReleaseType(a0,sipType_QGraphicsScene_SceneLayers,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_QGraphicsScene_SceneLayers___ior__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsScene_SceneLayers)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsScene::SceneLayers *sipCpp = reinterpret_cast<QGraphicsScene::SceneLayers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsScene_SceneLayers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene::SceneLayers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsScene_SceneLayers, &a0, &a0State))
        {
            sipCpp->QGraphicsScene::SceneLayers::operator|=(*a0);
            sipReleaseType(a0,sipType_QGraphicsScene_SceneLayers,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_QGraphicsScene_SceneLayers___iand__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsScene_SceneLayers___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsScene_SceneLayers)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsScene::SceneLayers *sipCpp = reinterpret_cast<QGraphicsScene::SceneLayers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsScene_SceneLayers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QGraphicsScene::SceneLayers::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsScene_SceneLayers(void *, const sipTypeDef *);}
static void *cast_QGraphicsScene_SceneLayers(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGraphicsScene_SceneLayers)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsScene_SceneLayers(void *, int);}
static void release_QGraphicsScene_SceneLayers(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsScene::SceneLayers *>(sipCppV);
}


extern "C" {static void assign_QGraphicsScene_SceneLayers(void *, SIP_SSIZE_T, const void *);}
static void assign_QGraphicsScene_SceneLayers(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QGraphicsScene::SceneLayers *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QGraphicsScene::SceneLayers *>(sipSrc);
}


extern "C" {static void *array_QGraphicsScene_SceneLayers(SIP_SSIZE_T);}
static void *array_QGraphicsScene_SceneLayers(SIP_SSIZE_T sipNrElem)
{
    return new QGraphicsScene::SceneLayers[sipNrElem];
}


extern "C" {static void *copy_QGraphicsScene_SceneLayers(const void *, SIP_SSIZE_T);}
static void *copy_QGraphicsScene_SceneLayers(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QGraphicsScene::SceneLayers(reinterpret_cast<const QGraphicsScene::SceneLayers *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QGraphicsScene_SceneLayers(sipSimpleWrapper *);}
static void dealloc_QGraphicsScene_SceneLayers(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsScene_SceneLayers(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QGraphicsScene_SceneLayers(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsScene_SceneLayers(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QGraphicsScene::SceneLayers *sipCpp = 0;

    {
        const QGraphicsScene::SceneLayers* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QGraphicsScene_SceneLayers, &a0, &a0State))
        {
            sipCpp = new QGraphicsScene::SceneLayers(*a0);
            sipReleaseType(const_cast<QGraphicsScene::SceneLayers *>(a0),sipType_QGraphicsScene_SceneLayers,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QGraphicsScene::SceneLayers(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QGraphicsScene::SceneLayers();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QGraphicsScene_SceneLayers(PyObject *, void **, int *, PyObject *);}
static int convertTo_QGraphicsScene_SceneLayers(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QGraphicsScene::SceneLayers **sipCppPtr = reinterpret_cast<QGraphicsScene::SceneLayers **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QGraphicsScene::SceneLayers is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsScene_SceneLayer)) ||
            sipCanConvertToType(sipPy, sipType_QGraphicsScene_SceneLayers, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsScene_SceneLayer)))
{
    *sipCppPtr = new QGraphicsScene::SceneLayers(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QGraphicsScene::SceneLayers *>(sipConvertToType(sipPy, sipType_QGraphicsScene_SceneLayers, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 279435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsScene_SceneLayers[] = {
    {(void *)slot_QGraphicsScene_SceneLayers___bool__, bool_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___ne__, ne_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___eq__, eq_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___invert__, invert_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___and__, and_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___xor__, xor_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___or__, or_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___int__, int_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___ixor__, ixor_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___ior__, ior_slot},
    {(void *)slot_QGraphicsScene_SceneLayers___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsScene_SceneLayers, "\1QGraphicsScene.SceneLayers(QGraphicsScene.SceneLayers)\n"
    "QGraphicsScene.SceneLayers(int)\n"
    "QGraphicsScene.SceneLayers()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsScene_SceneLayers = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsScene__SceneLayers,
        {0}
    },
    {
        sipNameNr_SceneLayers,
        {142, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsScene_SceneLayers,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QGraphicsScene_SceneLayers,
    init_type_QGraphicsScene_SceneLayers,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsScene_SceneLayers,
    assign_QGraphicsScene_SceneLayers,
    array_QGraphicsScene_SceneLayers,
    copy_QGraphicsScene_SceneLayers,
    release_QGraphicsScene_SceneLayers,
    cast_QGraphicsScene_SceneLayers,
    convertTo_QGraphicsScene_SceneLayers,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 279517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 279521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 279524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 279530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 279533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 279536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 279539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 279542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 279545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 279548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 279551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 279554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 279557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 279560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 279563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 279566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 279569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 279572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 279575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 279578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 279581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 279584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 279587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 279590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 279593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 279596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 279599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsview.sip"
#include <qgraphicsview.h>
#line 279602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 279605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 279608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 279614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 279623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 279629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 279635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 96 "sip/QtCore/qline.sip"
#include <qline.h>
#line 279644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 279650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 279653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 279656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 279659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 279662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 279665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 279668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 279671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 279674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 279677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 279680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 279683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 279686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsScene : public QGraphicsScene
{
public:
    sipQGraphicsScene(QObject*);
    sipQGraphicsScene(const QRectF&,QObject*);
    sipQGraphicsScene(qreal,qreal,qreal,qreal,QObject*);
    virtual ~sipQGraphicsScene();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_helpEvent(bool,QGraphicsSceneHelpEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_drawBackground(bool,QPainter*,const QRectF&);
    void sipProtectVirt_drawForeground(bool,QPainter*,const QRectF&);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtect_focusNextPrevChild(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void drawForeground(QPainter*,const QRectF&);
    void drawBackground(QPainter*,const QRectF&);
    void inputMethodEvent(QInputMethodEvent*);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void helpEvent(QGraphicsSceneHelpEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool event(QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsScene(const sipQGraphicsScene &);
    sipQGraphicsScene &operator = (const sipQGraphicsScene &);

    char sipPyMethods[26];
};

sipQGraphicsScene::sipQGraphicsScene(QObject*a0): QGraphicsScene(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsScene::sipQGraphicsScene(const QRectF& a0,QObject*a1): QGraphicsScene(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsScene::sipQGraphicsScene(qreal a0,qreal a1,qreal a2,qreal a3,QObject*a4): QGraphicsScene(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsScene::~sipQGraphicsScene()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsScene::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsScene);
}

int sipQGraphicsScene::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsScene::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsScene,_c,_id,_a);

    return _id;
}

void *sipQGraphicsScene::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsScene, _clname, &sipCpp) ? sipCpp : QGraphicsScene::qt_metacast(_clname));
}

void sipQGraphicsScene::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsScene::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsScene::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsScene::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsScene::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsScene::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsScene::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsScene::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsScene::drawForeground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_drawForeground);

    if (!sipMeth)
    {
        QGraphicsScene::drawForeground(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    sipVH_QtWidgets_115(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsScene::drawBackground(QPainter*a0,const QRectF& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_drawBackground);

    if (!sipMeth)
    {
        QGraphicsScene::drawBackground(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRectF&);

    sipVH_QtWidgets_115(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsScene::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsScene::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsScene::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsScene::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsScene::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsScene::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsScene::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsScene::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsScene::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::helpEvent(QGraphicsSceneHelpEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
    {
        QGraphicsScene::helpEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHelpEvent*);

    sipVH_QtWidgets_119(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsScene::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsScene::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsScene::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsScene::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsScene::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsScene::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsScene::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsScene::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsScene::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsScene::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsScene::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGraphicsScene::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsScene::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsScene::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsScene::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsScene::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsScene::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQGraphicsScene::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsScene::event(a0) : event(a0));
}

void sipQGraphicsScene::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_helpEvent(bool sipSelfWasArg,QGraphicsSceneHelpEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::helpEvent(a0) : helpEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsScene::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQGraphicsScene::sipProtectVirt_drawBackground(bool sipSelfWasArg,QPainter*a0,const QRectF& a1)
{
    (sipSelfWasArg ? QGraphicsScene::drawBackground(a0,a1) : drawBackground(a0,a1));
}

void sipQGraphicsScene::sipProtectVirt_drawForeground(bool sipSelfWasArg,QPainter*a0,const QRectF& a1)
{
    (sipSelfWasArg ? QGraphicsScene::drawForeground(a0,a1) : drawForeground(a0,a1));
}

bool sipQGraphicsScene::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsScene::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQGraphicsScene::sipProtect_focusNextPrevChild(bool a0)
{
    return QGraphicsScene::focusNextPrevChild(a0);
}


PyDoc_STRVAR(doc_QGraphicsScene_sender, "QGraphicsScene.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsScene_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 280470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_sender, doc_QGraphicsScene_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_receivers, "QGraphicsScene.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsScene_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 280529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_receivers, doc_QGraphicsScene_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_timerEvent, "QGraphicsScene.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_timerEvent, doc_QGraphicsScene_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_childEvent, "QGraphicsScene.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_childEvent, doc_QGraphicsScene_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_customEvent, "QGraphicsScene.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_customEvent, doc_QGraphicsScene_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_connectNotify, "QGraphicsScene.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsScene_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_connectNotify, doc_QGraphicsScene_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_disconnectNotify, "QGraphicsScene.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsScene_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_disconnectNotify, doc_QGraphicsScene_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_senderSignalIndex, "QGraphicsScene.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsScene_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_senderSignalIndex, doc_QGraphicsScene_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_isSignalConnected, "QGraphicsScene.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsScene_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_isSignalConnected, doc_QGraphicsScene_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_sceneRect, "QGraphicsScene.sceneRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsScene_sceneRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_sceneRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sceneRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_sceneRect, doc_QGraphicsScene_sceneRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_width, "QGraphicsScene.width() -> float");

extern "C" {static PyObject *meth_QGraphicsScene_width(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->width();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_width, doc_QGraphicsScene_width);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_height, "QGraphicsScene.height() -> float");

extern "C" {static PyObject *meth_QGraphicsScene_height(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_height(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->height();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_height, doc_QGraphicsScene_height);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setSceneRect, "QGraphicsScene.setSceneRect(QRectF)\n"
    "QGraphicsScene.setSceneRect(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsScene_setSceneRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setSceneRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->setSceneRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setSceneRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setSceneRect, doc_QGraphicsScene_setSceneRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_render, "QGraphicsScene.render(QPainter, QRectF target=QRectF(), QRectF source=QRectF(), Qt.AspectRatioMode mode=Qt.KeepAspectRatio)");

extern "C" {static PyObject *meth_QGraphicsScene_render(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_render(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        const QRectF& a1def = QRectF();
        const QRectF* a1 = &a1def;
        const QRectF& a2def = QRectF();
        const QRectF* a2 = &a2def;
        Qt::AspectRatioMode a3 = Qt::KeepAspectRatio;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_target,
            sipName_source,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|J9J9E", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1, sipType_QRectF, &a2, sipType_Qt_AspectRatioMode, &a3))
        {
            sipCpp->render(a0,*a1,*a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_render, doc_QGraphicsScene_render);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_itemIndexMethod, "QGraphicsScene.itemIndexMethod() -> QGraphicsScene.ItemIndexMethod");

extern "C" {static PyObject *meth_QGraphicsScene_itemIndexMethod(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_itemIndexMethod(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QGraphicsScene::ItemIndexMethod sipRes;

            sipRes = sipCpp->itemIndexMethod();

            return sipConvertFromEnum(sipRes,sipType_QGraphicsScene_ItemIndexMethod);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_itemIndexMethod, doc_QGraphicsScene_itemIndexMethod);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setItemIndexMethod, "QGraphicsScene.setItemIndexMethod(QGraphicsScene.ItemIndexMethod)");

extern "C" {static PyObject *meth_QGraphicsScene_setItemIndexMethod(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setItemIndexMethod(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene::ItemIndexMethod a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsScene_ItemIndexMethod, &a0))
        {
            sipCpp->setItemIndexMethod(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setItemIndexMethod, doc_QGraphicsScene_setItemIndexMethod);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_itemsBoundingRect, "QGraphicsScene.itemsBoundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsScene_itemsBoundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_itemsBoundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->itemsBoundingRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_itemsBoundingRect, doc_QGraphicsScene_itemsBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_items, "QGraphicsScene.items(Qt.SortOrder order=Qt.DescendingOrder) -> list-of-QGraphicsItem\n"
    "QGraphicsScene.items(QPointF, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, Qt.SortOrder order=Qt.DescendingOrder, QTransform deviceTransform=QTransform()) -> list-of-QGraphicsItem\n"
    "QGraphicsScene.items(QRectF, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, Qt.SortOrder order=Qt.DescendingOrder, QTransform deviceTransform=QTransform()) -> list-of-QGraphicsItem\n"
    "QGraphicsScene.items(QPolygonF, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, Qt.SortOrder order=Qt.DescendingOrder, QTransform deviceTransform=QTransform()) -> list-of-QGraphicsItem\n"
    "QGraphicsScene.items(QPainterPath, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, Qt.SortOrder order=Qt.DescendingOrder, QTransform deviceTransform=QTransform()) -> list-of-QGraphicsItem\n"
    "QGraphicsScene.items(float, float, float, float, Qt.ItemSelectionMode, Qt.SortOrder, QTransform deviceTransform=QTransform()) -> list-of-QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsScene_items(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_items(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::SortOrder a0 = Qt::DescendingOrder;
        const QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_Qt_SortOrder, &a0))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        const QPointF* a0;
        int a0State = 0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        Qt::SortOrder a2 = Qt::DescendingOrder;
        const QTransform& a3def = QTransform();
        const QTransform* a3 = &a3def;
        const QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
            sipName_order,
            sipName_deviceTransform,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|EEJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_Qt_ItemSelectionMode, &a1, sipType_Qt_SortOrder, &a2, sipType_QTransform, &a3))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(*a0,a1,a2,*a3));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        const QRectF* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        Qt::SortOrder a2 = Qt::DescendingOrder;
        const QTransform& a3def = QTransform();
        const QTransform* a3 = &a3def;
        const QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
            sipName_order,
            sipName_deviceTransform,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|EEJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QRectF, &a0, sipType_Qt_ItemSelectionMode, &a1, sipType_Qt_SortOrder, &a2, sipType_QTransform, &a3))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(*a0,a1,a2,*a3));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        const QPolygonF* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        Qt::SortOrder a2 = Qt::DescendingOrder;
        const QTransform& a3def = QTransform();
        const QTransform* a3 = &a3def;
        const QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
            sipName_order,
            sipName_deviceTransform,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|EEJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPolygonF, &a0, sipType_Qt_ItemSelectionMode, &a1, sipType_Qt_SortOrder, &a2, sipType_QTransform, &a3))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(*a0,a1,a2,*a3));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        const QPainterPath* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        Qt::SortOrder a2 = Qt::DescendingOrder;
        const QTransform& a3def = QTransform();
        const QTransform* a3 = &a3def;
        const QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
            sipName_order,
            sipName_deviceTransform,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|EEJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPainterPath, &a0, sipType_Qt_ItemSelectionMode, &a1, sipType_Qt_SortOrder, &a2, sipType_QTransform, &a3))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(*a0,a1,a2,*a3));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        Qt::ItemSelectionMode a4;
        Qt::SortOrder a5;
        const QTransform& a6def = QTransform();
        const QTransform* a6 = &a6def;
        const QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_deviceTransform,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BddddEE|J9", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0, &a1, &a2, &a3, sipType_Qt_ItemSelectionMode, &a4, sipType_Qt_SortOrder, &a5, sipType_QTransform, &a6))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->items(a0,a1,a2,a3,a4,a5,*a6));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_items, doc_QGraphicsScene_items);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_collidingItems, "QGraphicsScene.collidingItems(QGraphicsItem, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> list-of-QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsScene_collidingItems(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_collidingItems(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        const QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|E", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsItem, &a0, sipType_Qt_ItemSelectionMode, &a1))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->collidingItems(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_collidingItems, doc_QGraphicsScene_collidingItems);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_selectedItems, "QGraphicsScene.selectedItems() -> list-of-QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsScene_selectedItems(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_selectedItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->selectedItems());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_selectedItems, doc_QGraphicsScene_selectedItems);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setSelectionArea, "QGraphicsScene.setSelectionArea(QPainterPath, QTransform)\n"
    "QGraphicsScene.setSelectionArea(QPainterPath, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape, QTransform deviceTransform=QTransform())");

extern "C" {static PyObject *meth_QGraphicsScene_setSelectionArea(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setSelectionArea(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPainterPath* a0;
        const QTransform* a1;
        QGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPainterPath, &a0, sipType_QTransform, &a1))
        {
            sipCpp->setSelectionArea(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QPainterPath* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        const QTransform& a2def = QTransform();
        const QTransform* a2 = &a2def;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
            sipName_deviceTransform,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|EJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPainterPath, &a0, sipType_Qt_ItemSelectionMode, &a1, sipType_QTransform, &a2))
        {
            sipCpp->setSelectionArea(*a0,a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setSelectionArea, doc_QGraphicsScene_setSelectionArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_clearSelection, "QGraphicsScene.clearSelection()");

extern "C" {static PyObject *meth_QGraphicsScene_clearSelection(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_clearSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            sipCpp->clearSelection();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_clearSelection, doc_QGraphicsScene_clearSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_createItemGroup, "QGraphicsScene.createItemGroup(list-of-QGraphicsItem) -> QGraphicsItemGroup");

extern "C" {static PyObject *meth_QGraphicsScene_createItemGroup(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_createItemGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QGraphicsItem*>* a0;
        int a0State = 0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ3", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QList_0101QGraphicsItem,&a0, &a0State))
        {
            QGraphicsItemGroup*sipRes;

            sipRes = sipCpp->createItemGroup(*a0);
            sipReleaseType(const_cast<QList<QGraphicsItem*> *>(a0),sipType_QList_0101QGraphicsItem,a0State);

            return sipConvertFromType(sipRes,sipType_QGraphicsItemGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_createItemGroup, doc_QGraphicsScene_createItemGroup);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_destroyItemGroup, "QGraphicsScene.destroyItemGroup(QGraphicsItemGroup)");

extern "C" {static PyObject *meth_QGraphicsScene_destroyItemGroup(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_destroyItemGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItemGroup* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsItemGroup, &a0))
        {
            sipCpp->destroyItemGroup(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_destroyItemGroup, doc_QGraphicsScene_destroyItemGroup);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addItem, "QGraphicsScene.addItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsScene_addItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->addItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addItem, doc_QGraphicsScene_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addEllipse, "QGraphicsScene.addEllipse(QRectF, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsEllipseItem\n"
    "QGraphicsScene.addEllipse(float, float, float, float, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsEllipseItem");

extern "C" {static PyObject *meth_QGraphicsScene_addEllipse(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addEllipse(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        const QPen& a1def = QPen();
        const QPen* a1 = &a1def;
        int a1State = 0;
        const QBrush& a2def = QBrush();
        const QBrush* a2 = &a2def;
        int a2State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_pen,
            sipName_brush,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J1J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QRectF, &a0, sipType_QPen, &a1, &a1State, sipType_QBrush, &a2, &a2State))
        {
            QGraphicsEllipseItem*sipRes;

            sipRes = sipCpp->addEllipse(*a0,*a1,*a2);
            sipReleaseType(const_cast<QPen *>(a1),sipType_QPen,a1State);
            sipReleaseType(const_cast<QBrush *>(a2),sipType_QBrush,a2State);

            return sipConvertFromType(sipRes,sipType_QGraphicsEllipseItem,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QPen& a4def = QPen();
        const QPen* a4 = &a4def;
        int a4State = 0;
        const QBrush& a5def = QBrush();
        const QBrush* a5 = &a5def;
        int a5State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_pen,
            sipName_brush,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdddd|J1J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0, &a1, &a2, &a3, sipType_QPen, &a4, &a4State, sipType_QBrush, &a5, &a5State))
        {
            QGraphicsEllipseItem*sipRes;

            sipRes = sipCpp->addEllipse(a0,a1,a2,a3,*a4,*a5);
            sipReleaseType(const_cast<QPen *>(a4),sipType_QPen,a4State);
            sipReleaseType(const_cast<QBrush *>(a5),sipType_QBrush,a5State);

            return sipConvertFromType(sipRes,sipType_QGraphicsEllipseItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addEllipse, doc_QGraphicsScene_addEllipse);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addLine, "QGraphicsScene.addLine(QLineF, QPen pen=QPen()) -> QGraphicsLineItem\n"
    "QGraphicsScene.addLine(float, float, float, float, QPen pen=QPen()) -> QGraphicsLineItem");

extern "C" {static PyObject *meth_QGraphicsScene_addLine(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addLine(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineF* a0;
        const QPen& a1def = QPen();
        const QPen* a1 = &a1def;
        int a1State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_pen,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QLineF, &a0, sipType_QPen, &a1, &a1State))
        {
            QGraphicsLineItem*sipRes;

            sipRes = sipCpp->addLine(*a0,*a1);
            sipReleaseType(const_cast<QPen *>(a1),sipType_QPen,a1State);

            return sipConvertFromType(sipRes,sipType_QGraphicsLineItem,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QPen& a4def = QPen();
        const QPen* a4 = &a4def;
        int a4State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_pen,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdddd|J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0, &a1, &a2, &a3, sipType_QPen, &a4, &a4State))
        {
            QGraphicsLineItem*sipRes;

            sipRes = sipCpp->addLine(a0,a1,a2,a3,*a4);
            sipReleaseType(const_cast<QPen *>(a4),sipType_QPen,a4State);

            return sipConvertFromType(sipRes,sipType_QGraphicsLineItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addLine, doc_QGraphicsScene_addLine);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addPath, "QGraphicsScene.addPath(QPainterPath, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsPathItem");

extern "C" {static PyObject *meth_QGraphicsScene_addPath(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addPath(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPainterPath* a0;
        const QPen& a1def = QPen();
        const QPen* a1 = &a1def;
        int a1State = 0;
        const QBrush& a2def = QBrush();
        const QBrush* a2 = &a2def;
        int a2State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_pen,
            sipName_brush,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J1J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPainterPath, &a0, sipType_QPen, &a1, &a1State, sipType_QBrush, &a2, &a2State))
        {
            QGraphicsPathItem*sipRes;

            sipRes = sipCpp->addPath(*a0,*a1,*a2);
            sipReleaseType(const_cast<QPen *>(a1),sipType_QPen,a1State);
            sipReleaseType(const_cast<QBrush *>(a2),sipType_QBrush,a2State);

            return sipConvertFromType(sipRes,sipType_QGraphicsPathItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addPath, doc_QGraphicsScene_addPath);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addPixmap, "QGraphicsScene.addPixmap(QPixmap) -> QGraphicsPixmapItem");

extern "C" {static PyObject *meth_QGraphicsScene_addPixmap(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPixmap, &a0))
        {
            QGraphicsPixmapItem*sipRes;

            sipRes = sipCpp->addPixmap(*a0);

            return sipConvertFromType(sipRes,sipType_QGraphicsPixmapItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addPixmap, doc_QGraphicsScene_addPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addPolygon, "QGraphicsScene.addPolygon(QPolygonF, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsPolygonItem");

extern "C" {static PyObject *meth_QGraphicsScene_addPolygon(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addPolygon(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPolygonF* a0;
        const QPen& a1def = QPen();
        const QPen* a1 = &a1def;
        int a1State = 0;
        const QBrush& a2def = QBrush();
        const QBrush* a2 = &a2def;
        int a2State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_pen,
            sipName_brush,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J1J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPolygonF, &a0, sipType_QPen, &a1, &a1State, sipType_QBrush, &a2, &a2State))
        {
            QGraphicsPolygonItem*sipRes;

            sipRes = sipCpp->addPolygon(*a0,*a1,*a2);
            sipReleaseType(const_cast<QPen *>(a1),sipType_QPen,a1State);
            sipReleaseType(const_cast<QBrush *>(a2),sipType_QBrush,a2State);

            return sipConvertFromType(sipRes,sipType_QGraphicsPolygonItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addPolygon, doc_QGraphicsScene_addPolygon);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addRect, "QGraphicsScene.addRect(QRectF, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsRectItem\n"
    "QGraphicsScene.addRect(float, float, float, float, QPen pen=QPen(), QBrush brush=QBrush()) -> QGraphicsRectItem");

extern "C" {static PyObject *meth_QGraphicsScene_addRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        const QPen& a1def = QPen();
        const QPen* a1 = &a1def;
        int a1State = 0;
        const QBrush& a2def = QBrush();
        const QBrush* a2 = &a2def;
        int a2State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_pen,
            sipName_brush,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J1J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QRectF, &a0, sipType_QPen, &a1, &a1State, sipType_QBrush, &a2, &a2State))
        {
            QGraphicsRectItem*sipRes;

            sipRes = sipCpp->addRect(*a0,*a1,*a2);
            sipReleaseType(const_cast<QPen *>(a1),sipType_QPen,a1State);
            sipReleaseType(const_cast<QBrush *>(a2),sipType_QBrush,a2State);

            return sipConvertFromType(sipRes,sipType_QGraphicsRectItem,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QPen& a4def = QPen();
        const QPen* a4 = &a4def;
        int a4State = 0;
        const QBrush& a5def = QBrush();
        const QBrush* a5 = &a5def;
        int a5State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_pen,
            sipName_brush,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdddd|J1J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0, &a1, &a2, &a3, sipType_QPen, &a4, &a4State, sipType_QBrush, &a5, &a5State))
        {
            QGraphicsRectItem*sipRes;

            sipRes = sipCpp->addRect(a0,a1,a2,a3,*a4,*a5);
            sipReleaseType(const_cast<QPen *>(a4),sipType_QPen,a4State);
            sipReleaseType(const_cast<QBrush *>(a5),sipType_QBrush,a5State);

            return sipConvertFromType(sipRes,sipType_QGraphicsRectItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addRect, doc_QGraphicsScene_addRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addSimpleText, "QGraphicsScene.addSimpleText(str, QFont font=QFont()) -> QGraphicsSimpleTextItem");

extern "C" {static PyObject *meth_QGraphicsScene_addSimpleText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addSimpleText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QFont& a1def = QFont();
        const QFont* a1 = &a1def;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_font,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QString,&a0, &a0State, sipType_QFont, &a1))
        {
            QGraphicsSimpleTextItem*sipRes;

            sipRes = sipCpp->addSimpleText(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QGraphicsSimpleTextItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addSimpleText, doc_QGraphicsScene_addSimpleText);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addText, "QGraphicsScene.addText(str, QFont font=QFont()) -> QGraphicsTextItem");

extern "C" {static PyObject *meth_QGraphicsScene_addText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QFont& a1def = QFont();
        const QFont* a1 = &a1def;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_font,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QString,&a0, &a0State, sipType_QFont, &a1))
        {
            QGraphicsTextItem*sipRes;

            sipRes = sipCpp->addText(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QGraphicsTextItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addText, doc_QGraphicsScene_addText);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_removeItem, "QGraphicsScene.removeItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsScene_removeItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_removeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->removeItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_removeItem, doc_QGraphicsScene_removeItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_focusItem, "QGraphicsScene.focusItem() -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsScene_focusItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_focusItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->focusItem();

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_focusItem, doc_QGraphicsScene_focusItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setFocusItem, "QGraphicsScene.setFocusItem(QGraphicsItem, Qt.FocusReason focusReason=Qt.OtherFocusReason)");

extern "C" {static PyObject *meth_QGraphicsScene_setFocusItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setFocusItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        Qt::FocusReason a1 = Qt::OtherFocusReason;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_focusReason,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|E", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsItem, &a0, sipType_Qt_FocusReason, &a1))
        {
            sipCpp->setFocusItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setFocusItem, doc_QGraphicsScene_setFocusItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_hasFocus, "QGraphicsScene.hasFocus() -> bool");

extern "C" {static PyObject *meth_QGraphicsScene_hasFocus(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_hasFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_hasFocus, doc_QGraphicsScene_hasFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setFocus, "QGraphicsScene.setFocus(Qt.FocusReason focusReason=Qt.OtherFocusReason)");

extern "C" {static PyObject *meth_QGraphicsScene_setFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::FocusReason a0 = Qt::OtherFocusReason;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            sipName_focusReason,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_Qt_FocusReason, &a0))
        {
            sipCpp->setFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setFocus, doc_QGraphicsScene_setFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_clearFocus, "QGraphicsScene.clearFocus()");

extern "C" {static PyObject *meth_QGraphicsScene_clearFocus(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_clearFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            sipCpp->clearFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_clearFocus, doc_QGraphicsScene_clearFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_mouseGrabberItem, "QGraphicsScene.mouseGrabberItem() -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsScene_mouseGrabberItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_mouseGrabberItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->mouseGrabberItem();

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_mouseGrabberItem, doc_QGraphicsScene_mouseGrabberItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_backgroundBrush, "QGraphicsScene.backgroundBrush() -> QBrush");

extern "C" {static PyObject *meth_QGraphicsScene_backgroundBrush(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_backgroundBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->backgroundBrush());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_backgroundBrush, doc_QGraphicsScene_backgroundBrush);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setBackgroundBrush, "QGraphicsScene.setBackgroundBrush(QBrush)");

extern "C" {static PyObject *meth_QGraphicsScene_setBackgroundBrush(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setBackgroundBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setBackgroundBrush(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setBackgroundBrush, doc_QGraphicsScene_setBackgroundBrush);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_foregroundBrush, "QGraphicsScene.foregroundBrush() -> QBrush");

extern "C" {static PyObject *meth_QGraphicsScene_foregroundBrush(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_foregroundBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->foregroundBrush());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_foregroundBrush, doc_QGraphicsScene_foregroundBrush);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setForegroundBrush, "QGraphicsScene.setForegroundBrush(QBrush)");

extern "C" {static PyObject *meth_QGraphicsScene_setForegroundBrush(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setForegroundBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setForegroundBrush(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setForegroundBrush, doc_QGraphicsScene_setForegroundBrush);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_inputMethodQuery, "QGraphicsScene.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsScene_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QGraphicsScene::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_inputMethodQuery, doc_QGraphicsScene_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_views, "QGraphicsScene.views() -> list-of-QGraphicsView");

extern "C" {static PyObject *meth_QGraphicsScene_views(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_views(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QList<QGraphicsView*>*sipRes;

            sipRes = new QList<QGraphicsView*>(sipCpp->views());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_views, doc_QGraphicsScene_views);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_advance, "QGraphicsScene.advance()");

extern "C" {static PyObject *meth_QGraphicsScene_advance(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_advance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            sipCpp->advance();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_advance, doc_QGraphicsScene_advance);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_update, "QGraphicsScene.update(QRectF rect=QRectF())\n"
    "QGraphicsScene.update(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsScene_update(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_update(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF& a0def = QRectF();
        const QRectF* a0 = &a0def;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            sipName_rect,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->update(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bdddd", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->update(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_update, doc_QGraphicsScene_update);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_invalidate, "QGraphicsScene.invalidate(QRectF rect=QRectF(), QGraphicsScene.SceneLayers layers=QGraphicsScene.AllLayers)\n"
    "QGraphicsScene.invalidate(float, float, float, float, QGraphicsScene.SceneLayers layers=QGraphicsScene.AllLayers)");

extern "C" {static PyObject *meth_QGraphicsScene_invalidate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_invalidate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF& a0def = QRectF();
        const QRectF* a0 = &a0def;
        QGraphicsScene::SceneLayers a1def = QGraphicsScene::AllLayers;
        QGraphicsScene::SceneLayers* a1 = &a1def;
        int a1State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            sipName_rect,
            sipName_layers,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QRectF, &a0, sipType_QGraphicsScene_SceneLayers, &a1, &a1State))
        {
            sipCpp->invalidate(*a0,*a1);
            sipReleaseType(a1,sipType_QGraphicsScene_SceneLayers,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsScene::SceneLayers a4def = QGraphicsScene::AllLayers;
        QGraphicsScene::SceneLayers* a4 = &a4def;
        int a4State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_layers,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdddd|J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0, &a1, &a2, &a3, sipType_QGraphicsScene_SceneLayers, &a4, &a4State))
        {
            sipCpp->invalidate(a0,a1,a2,a3,*a4);
            sipReleaseType(a4,sipType_QGraphicsScene_SceneLayers,a4State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_invalidate, doc_QGraphicsScene_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_clear, "QGraphicsScene.clear()");

extern "C" {static PyObject *meth_QGraphicsScene_clear(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_clear, doc_QGraphicsScene_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_event, "QGraphicsScene.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsScene_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_event, doc_QGraphicsScene_event);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_contextMenuEvent, "QGraphicsScene.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_contextMenuEvent, doc_QGraphicsScene_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_dragEnterEvent, "QGraphicsScene.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_dragEnterEvent, doc_QGraphicsScene_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_dragMoveEvent, "QGraphicsScene.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_dragMoveEvent, doc_QGraphicsScene_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_dragLeaveEvent, "QGraphicsScene.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_dragLeaveEvent, doc_QGraphicsScene_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_dropEvent, "QGraphicsScene.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_dropEvent, doc_QGraphicsScene_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_focusInEvent, "QGraphicsScene.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_focusInEvent, doc_QGraphicsScene_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_focusOutEvent, "QGraphicsScene.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_focusOutEvent, doc_QGraphicsScene_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_helpEvent, "QGraphicsScene.helpEvent(QGraphicsSceneHelpEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_helpEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_helpEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHelpEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneHelpEvent, &a0))
        {
            sipCpp->sipProtectVirt_helpEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_helpEvent, doc_QGraphicsScene_helpEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_keyPressEvent, "QGraphicsScene.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_keyPressEvent, doc_QGraphicsScene_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_keyReleaseEvent, "QGraphicsScene.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_keyReleaseEvent, doc_QGraphicsScene_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_mousePressEvent, "QGraphicsScene.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_mousePressEvent, doc_QGraphicsScene_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_mouseMoveEvent, "QGraphicsScene.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_mouseMoveEvent, doc_QGraphicsScene_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_mouseReleaseEvent, "QGraphicsScene.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_mouseReleaseEvent, doc_QGraphicsScene_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_mouseDoubleClickEvent, "QGraphicsScene.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_mouseDoubleClickEvent, doc_QGraphicsScene_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_wheelEvent, "QGraphicsScene.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_wheelEvent, doc_QGraphicsScene_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_inputMethodEvent, "QGraphicsScene.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsScene_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_inputMethodEvent, doc_QGraphicsScene_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_drawBackground, "QGraphicsScene.drawBackground(QPainter, QRectF)");

extern "C" {static PyObject *meth_QGraphicsScene_drawBackground(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_drawBackground(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRectF* a1;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1))
        {
            sipCpp->sipProtectVirt_drawBackground(sipSelfWasArg,a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_drawBackground, doc_QGraphicsScene_drawBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_drawForeground, "QGraphicsScene.drawForeground(QPainter, QRectF)");

extern "C" {static PyObject *meth_QGraphicsScene_drawForeground(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_drawForeground(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRectF* a1;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPainter, &a0, sipType_QRectF, &a1))
        {
            sipCpp->sipProtectVirt_drawForeground(sipSelfWasArg,a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_drawForeground, doc_QGraphicsScene_drawForeground);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_bspTreeDepth, "QGraphicsScene.bspTreeDepth() -> int");

extern "C" {static PyObject *meth_QGraphicsScene_bspTreeDepth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_bspTreeDepth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->bspTreeDepth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_bspTreeDepth, doc_QGraphicsScene_bspTreeDepth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setBspTreeDepth, "QGraphicsScene.setBspTreeDepth(int)");

extern "C" {static PyObject *meth_QGraphicsScene_setBspTreeDepth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setBspTreeDepth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0))
        {
            sipCpp->setBspTreeDepth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setBspTreeDepth, doc_QGraphicsScene_setBspTreeDepth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_selectionArea, "QGraphicsScene.selectionArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsScene_selectionArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_selectionArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->selectionArea());

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_selectionArea, doc_QGraphicsScene_selectionArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_addWidget, "QGraphicsScene.addWidget(QWidget, Qt.WindowFlags flags=0) -> QGraphicsProxyWidget");

extern "C" {static PyObject *meth_QGraphicsScene_addWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_addWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;
        QGraphicsScene *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:|J1", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QWidget, &a0, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            QGraphicsProxyWidget*sipRes;

            sipRes = sipCpp->addWidget(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            return sipConvertFromType(sipRes,sipType_QGraphicsProxyWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_addWidget, doc_QGraphicsScene_addWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_style, "QGraphicsScene.style() -> QStyle");

extern "C" {static PyObject *meth_QGraphicsScene_style(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_style(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QStyle*sipRes;

            sipRes = sipCpp->style();

            return sipConvertFromType(sipRes,sipType_QStyle,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_style, doc_QGraphicsScene_style);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setStyle, "QGraphicsScene.setStyle(QStyle)");

extern "C" {static PyObject *meth_QGraphicsScene_setStyle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QStyle, &a0))
        {
            sipCpp->setStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setStyle, doc_QGraphicsScene_setStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_font, "QGraphicsScene.font() -> QFont");

extern "C" {static PyObject *meth_QGraphicsScene_font(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_font, doc_QGraphicsScene_font);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setFont, "QGraphicsScene.setFont(QFont)");

extern "C" {static PyObject *meth_QGraphicsScene_setFont(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setFont, doc_QGraphicsScene_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_palette, "QGraphicsScene.palette() -> QPalette");

extern "C" {static PyObject *meth_QGraphicsScene_palette(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_palette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QPalette*sipRes;

            sipRes = new QPalette(sipCpp->palette());

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_palette, doc_QGraphicsScene_palette);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setPalette, "QGraphicsScene.setPalette(QPalette)");

extern "C" {static PyObject *meth_QGraphicsScene_setPalette(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setPalette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPalette* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPalette, &a0))
        {
            sipCpp->setPalette(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setPalette, doc_QGraphicsScene_setPalette);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_activeWindow, "QGraphicsScene.activeWindow() -> QGraphicsWidget");

extern "C" {static PyObject *meth_QGraphicsScene_activeWindow(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_activeWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QGraphicsWidget*sipRes;

            sipRes = sipCpp->activeWindow();

            return sipConvertFromType(sipRes,sipType_QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_activeWindow, doc_QGraphicsScene_activeWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setActiveWindow, "QGraphicsScene.setActiveWindow(QGraphicsWidget)");

extern "C" {static PyObject *meth_QGraphicsScene_setActiveWindow(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setActiveWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsWidget, &a0))
        {
            sipCpp->setActiveWindow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setActiveWindow, doc_QGraphicsScene_setActiveWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_eventFilter, "QGraphicsScene.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsScene_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_eventFilter, doc_QGraphicsScene_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_focusNextPrevChild, "QGraphicsScene.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QGraphicsScene_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipQGraphicsScene *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextPrevChild(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_focusNextPrevChild, doc_QGraphicsScene_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setStickyFocus, "QGraphicsScene.setStickyFocus(bool)");

extern "C" {static PyObject *meth_QGraphicsScene_setStickyFocus(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setStickyFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0))
        {
            sipCpp->setStickyFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setStickyFocus, doc_QGraphicsScene_setStickyFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_stickyFocus, "QGraphicsScene.stickyFocus() -> bool");

extern "C" {static PyObject *meth_QGraphicsScene_stickyFocus(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_stickyFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->stickyFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_stickyFocus, doc_QGraphicsScene_stickyFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_itemAt, "QGraphicsScene.itemAt(QPointF, QTransform) -> QGraphicsItem\n"
    "QGraphicsScene.itemAt(float, float, QTransform) -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsScene_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const QTransform* a1;
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QPointF, &a0, &a0State, sipType_QTransform, &a1))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->itemAt(*a0,*a1);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        const QTransform* a2;
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BddJ9", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0, &a1, sipType_QTransform, &a2))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->itemAt(a0,a1,*a2);

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_itemAt, doc_QGraphicsScene_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_isActive, "QGraphicsScene.isActive() -> bool");

extern "C" {static PyObject *meth_QGraphicsScene_isActive(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_isActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_isActive, doc_QGraphicsScene_isActive);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_activePanel, "QGraphicsScene.activePanel() -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsScene_activePanel(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_activePanel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->activePanel();

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_activePanel, doc_QGraphicsScene_activePanel);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setActivePanel, "QGraphicsScene.setActivePanel(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsScene_setActivePanel(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setActivePanel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->setActivePanel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setActivePanel, doc_QGraphicsScene_setActivePanel);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_sendEvent, "QGraphicsScene.sendEvent(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsScene_sendEvent(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_sendEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        QEvent* a1;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QGraphicsScene, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sendEvent(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_sendEvent, doc_QGraphicsScene_sendEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_minimumRenderSize, "QGraphicsScene.minimumRenderSize() -> float");

extern "C" {static PyObject *meth_QGraphicsScene_minimumRenderSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_minimumRenderSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsScene, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->minimumRenderSize();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_minimumRenderSize, doc_QGraphicsScene_minimumRenderSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsScene_setMinimumRenderSize, "QGraphicsScene.setMinimumRenderSize(float)");

extern "C" {static PyObject *meth_QGraphicsScene_setMinimumRenderSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsScene_setMinimumRenderSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsScene *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsScene, &sipCpp, &a0))
        {
            sipCpp->setMinimumRenderSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsScene, sipName_setMinimumRenderSize, doc_QGraphicsScene_setMinimumRenderSize);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsScene(void *, const sipTypeDef *);}
static void *cast_QGraphicsScene(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsScene)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QGraphicsScene *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsScene(void *, int);}
static void release_QGraphicsScene(void *sipCppV,int)
{
    QGraphicsScene *sipCpp = reinterpret_cast<QGraphicsScene *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsScene(sipSimpleWrapper *);}
static void dealloc_QGraphicsScene(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsScene *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsScene(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsScene(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsScene(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsScene *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsScene(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QRectF* a0;
        QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QRectF, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsScene(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QObject* a4 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "dddd|JH", &a0, &a1, &a2, &a3, sipType_QObject, &a4, sipOwner))
        {
            sipCpp = new sipQGraphicsScene(a0,a1,a2,a3,a4);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsScene[] = {{162, 0, 1}};


static PyMethodDef methods_QGraphicsScene[] = {
    {SIP_MLNAME_CAST(sipName_activePanel), meth_QGraphicsScene_activePanel, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_activePanel)},
    {SIP_MLNAME_CAST(sipName_activeWindow), meth_QGraphicsScene_activeWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_activeWindow)},
    {SIP_MLNAME_CAST(sipName_addEllipse), (PyCFunction)meth_QGraphicsScene_addEllipse, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_addEllipse)},
    {SIP_MLNAME_CAST(sipName_addItem), meth_QGraphicsScene_addItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_addItem)},
    {SIP_MLNAME_CAST(sipName_addLine), (PyCFunction)meth_QGraphicsScene_addLine, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_addLine)},
    {SIP_MLNAME_CAST(sipName_addPath), (PyCFunction)meth_QGraphicsScene_addPath, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_addPath)},
    {SIP_MLNAME_CAST(sipName_addPixmap), meth_QGraphicsScene_addPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_addPixmap)},
    {SIP_MLNAME_CAST(sipName_addPolygon), (PyCFunction)meth_QGraphicsScene_addPolygon, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_addPolygon)},
    {SIP_MLNAME_CAST(sipName_addRect), (PyCFunction)meth_QGraphicsScene_addRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_addRect)},
    {SIP_MLNAME_CAST(sipName_addSimpleText), (PyCFunction)meth_QGraphicsScene_addSimpleText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_addSimpleText)},
    {SIP_MLNAME_CAST(sipName_addText), (PyCFunction)meth_QGraphicsScene_addText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_addText)},
    {SIP_MLNAME_CAST(sipName_addWidget), (PyCFunction)meth_QGraphicsScene_addWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_addWidget)},
    {SIP_MLNAME_CAST(sipName_advance), meth_QGraphicsScene_advance, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_advance)},
    {SIP_MLNAME_CAST(sipName_backgroundBrush), meth_QGraphicsScene_backgroundBrush, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_backgroundBrush)},
    {SIP_MLNAME_CAST(sipName_bspTreeDepth), meth_QGraphicsScene_bspTreeDepth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_bspTreeDepth)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsScene_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QGraphicsScene_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_clear)},
    {SIP_MLNAME_CAST(sipName_clearFocus), meth_QGraphicsScene_clearFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_clearFocus)},
    {SIP_MLNAME_CAST(sipName_clearSelection), meth_QGraphicsScene_clearSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_clearSelection)},
    {SIP_MLNAME_CAST(sipName_collidingItems), (PyCFunction)meth_QGraphicsScene_collidingItems, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_collidingItems)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsScene_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsScene_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_createItemGroup), meth_QGraphicsScene_createItemGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_createItemGroup)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsScene_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroyItemGroup), meth_QGraphicsScene_destroyItemGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_destroyItemGroup)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsScene_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsScene_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsScene_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsScene_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_drawBackground), (PyCFunction)meth_QGraphicsScene_drawBackground, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_drawBackground)},
    {SIP_MLNAME_CAST(sipName_drawForeground), (PyCFunction)meth_QGraphicsScene_drawForeground, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_drawForeground)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsScene_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_dropEvent)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QGraphicsScene_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QGraphicsScene_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsScene_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusItem), meth_QGraphicsScene_focusItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_focusItem)},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QGraphicsScene_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsScene_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_font), meth_QGraphicsScene_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_font)},
    {SIP_MLNAME_CAST(sipName_foregroundBrush), meth_QGraphicsScene_foregroundBrush, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_foregroundBrush)},
    {SIP_MLNAME_CAST(sipName_hasFocus), meth_QGraphicsScene_hasFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_hasFocus)},
    {SIP_MLNAME_CAST(sipName_height), meth_QGraphicsScene_height, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_height)},
    {SIP_MLNAME_CAST(sipName_helpEvent), (PyCFunction)meth_QGraphicsScene_helpEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_helpEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsScene_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QGraphicsScene_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_invalidate), (PyCFunction)meth_QGraphicsScene_invalidate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_invalidate)},
    {SIP_MLNAME_CAST(sipName_isActive), meth_QGraphicsScene_isActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_isActive)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsScene_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QGraphicsScene_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_itemAt)},
    {SIP_MLNAME_CAST(sipName_itemIndexMethod), meth_QGraphicsScene_itemIndexMethod, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_itemIndexMethod)},
    {SIP_MLNAME_CAST(sipName_items), (PyCFunction)meth_QGraphicsScene_items, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_items)},
    {SIP_MLNAME_CAST(sipName_itemsBoundingRect), meth_QGraphicsScene_itemsBoundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_itemsBoundingRect)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsScene_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsScene_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_minimumRenderSize), meth_QGraphicsScene_minimumRenderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_minimumRenderSize)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsScene_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseGrabberItem), meth_QGraphicsScene_mouseGrabberItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_mouseGrabberItem)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsScene_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsScene_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsScene_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_palette), meth_QGraphicsScene_palette, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_palette)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsScene_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_QGraphicsScene_removeItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_removeItem)},
    {SIP_MLNAME_CAST(sipName_render), (PyCFunction)meth_QGraphicsScene_render, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_render)},
    {SIP_MLNAME_CAST(sipName_sceneRect), meth_QGraphicsScene_sceneRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_sceneRect)},
    {SIP_MLNAME_CAST(sipName_selectedItems), meth_QGraphicsScene_selectedItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_selectedItems)},
    {SIP_MLNAME_CAST(sipName_selectionArea), meth_QGraphicsScene_selectionArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_selectionArea)},
    {SIP_MLNAME_CAST(sipName_sendEvent), meth_QGraphicsScene_sendEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_sendEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsScene_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsScene_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setActivePanel), meth_QGraphicsScene_setActivePanel, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setActivePanel)},
    {SIP_MLNAME_CAST(sipName_setActiveWindow), meth_QGraphicsScene_setActiveWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setActiveWindow)},
    {SIP_MLNAME_CAST(sipName_setBackgroundBrush), meth_QGraphicsScene_setBackgroundBrush, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setBackgroundBrush)},
    {SIP_MLNAME_CAST(sipName_setBspTreeDepth), meth_QGraphicsScene_setBspTreeDepth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setBspTreeDepth)},
    {SIP_MLNAME_CAST(sipName_setFocus), (PyCFunction)meth_QGraphicsScene_setFocus, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_setFocus)},
    {SIP_MLNAME_CAST(sipName_setFocusItem), (PyCFunction)meth_QGraphicsScene_setFocusItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_setFocusItem)},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QGraphicsScene_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setFont)},
    {SIP_MLNAME_CAST(sipName_setForegroundBrush), meth_QGraphicsScene_setForegroundBrush, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setForegroundBrush)},
    {SIP_MLNAME_CAST(sipName_setItemIndexMethod), meth_QGraphicsScene_setItemIndexMethod, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setItemIndexMethod)},
    {SIP_MLNAME_CAST(sipName_setMinimumRenderSize), meth_QGraphicsScene_setMinimumRenderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setMinimumRenderSize)},
    {SIP_MLNAME_CAST(sipName_setPalette), meth_QGraphicsScene_setPalette, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setPalette)},
    {SIP_MLNAME_CAST(sipName_setSceneRect), meth_QGraphicsScene_setSceneRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setSceneRect)},
    {SIP_MLNAME_CAST(sipName_setSelectionArea), (PyCFunction)meth_QGraphicsScene_setSelectionArea, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_setSelectionArea)},
    {SIP_MLNAME_CAST(sipName_setStickyFocus), meth_QGraphicsScene_setStickyFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setStickyFocus)},
    {SIP_MLNAME_CAST(sipName_setStyle), meth_QGraphicsScene_setStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_setStyle)},
    {SIP_MLNAME_CAST(sipName_stickyFocus), meth_QGraphicsScene_stickyFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_stickyFocus)},
    {SIP_MLNAME_CAST(sipName_style), meth_QGraphicsScene_style, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_style)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsScene_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_update), (PyCFunction)meth_QGraphicsScene_update, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_update)},
    {SIP_MLNAME_CAST(sipName_views), meth_QGraphicsScene_views, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_views)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsScene_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsScene_wheelEvent)},
    {SIP_MLNAME_CAST(sipName_width), meth_QGraphicsScene_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsScene_width)}
};

static sipEnumMemberDef enummembers_QGraphicsScene[] = {
    {sipName_AllLayers, static_cast<int>(QGraphicsScene::AllLayers), 144},
    {sipName_BackgroundLayer, static_cast<int>(QGraphicsScene::BackgroundLayer), 144},
    {sipName_BspTreeIndex, static_cast<int>(QGraphicsScene::BspTreeIndex), 143},
    {sipName_ForegroundLayer, static_cast<int>(QGraphicsScene::ForegroundLayer), 144},
    {sipName_ItemLayer, static_cast<int>(QGraphicsScene::ItemLayer), 144},
    {sipName_NoIndex, static_cast<int>(QGraphicsScene::NoIndex), 143},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsScene[] = {
    {"focusItemChanged(QGraphicsItem*,QGraphicsItem*,Qt::FocusReason)", "\1QGraphicsScene.focusItemChanged[QGraphicsItem, QGraphicsItem, Qt.FocusReason]", 0, 0},
    {"selectionChanged()", "\1QGraphicsScene.selectionChanged", 0, 0},
    {"sceneRectChanged(QRectF)", "\1QGraphicsScene.sceneRectChanged[QRectF]", 0, 0},
    {"changed(QList<QRectF>)", "\1QGraphicsScene.changed[list-of-QRectF]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsScene, "\1QGraphicsScene(QObject parent=None)\n"
    "QGraphicsScene(QRectF, QObject parent=None)\n"
    "QGraphicsScene(float, float, float, float, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsScene = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsScene,
        {0}
    },
    {
        sipNameNr_QGraphicsScene,
        {0, 0, 1},
        92, methods_QGraphicsScene,
        6, enummembers_QGraphicsScene,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsScene,
    -1,
    -1,
    supers_QGraphicsScene,
    0,
    init_type_QGraphicsScene,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsScene,
    0,
    0,
    0,
    release_QGraphicsScene,
    cast_QGraphicsScene,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsScene::staticMetaObject,
    0,
    signals_QGraphicsScene,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 283807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 283811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 283814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 283817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 283820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 283823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 283826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 283829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 283832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 283835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 283838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 283841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 283844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 283847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 283850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 283853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 283856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 283859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 283862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 283865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 283868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 283871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 283874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 283877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 283880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 283883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 283886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 283889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 283892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 283895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 283898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 283901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 283904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 283907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 283910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 283913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 283916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 283919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 283922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 283925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 283928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 283931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 283934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 283937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 283940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 283943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 283946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 283949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 283952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 283955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 283958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 283961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 283964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 283967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 283970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 283973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 283976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 283979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 283982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 283985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 283988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 283991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 283994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 283997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 284000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 284003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsProxyWidget : public QGraphicsProxyWidget
{
public:
    sipQGraphicsProxyWidget(QGraphicsItem*,Qt::WindowFlags);
    virtual ~sipQGraphicsProxyWidget();

    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.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem*);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_updateMicroFocus();
    void sipProtectVirt_initStyleOption(bool,QStyleOption*) const;
    void sipProtectVirt_updateGeometry(bool);
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent*);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent*);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent*);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent*);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_grabMouseEvent(bool,QEvent*);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    QGraphicsProxyWidget* sipProtect_newProxyWidget(const QWidget*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    void updateGeometry();
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void inputMethodEvent(QInputMethodEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    bool focusNextPrevChild(bool);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QGraphicsSceneWheelEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    int type() const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsProxyWidget(const sipQGraphicsProxyWidget &);
    sipQGraphicsProxyWidget &operator = (const sipQGraphicsProxyWidget &);

    char sipPyMethods[59];
};

sipQGraphicsProxyWidget::sipQGraphicsProxyWidget(QGraphicsItem*a0,Qt::WindowFlags a1): QGraphicsProxyWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsProxyWidget::~sipQGraphicsProxyWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsProxyWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsProxyWidget);
}

int sipQGraphicsProxyWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsProxyWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsProxyWidget,_c,_id,_a);

    return _id;
}

void *sipQGraphicsProxyWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsProxyWidget, _clname, &sipCpp) ? sipCpp : QGraphicsProxyWidget::qt_metacast(_clname));
}

bool sipQGraphicsProxyWidget::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsProxyWidget::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QPainterPath sipQGraphicsProxyWidget::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsProxyWidget::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsProxyWidget::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsProxyWidget::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsProxyWidget::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsProxyWidget::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsProxyWidget::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsProxyWidget::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsProxyWidget::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsProxyWidget::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_106(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    sipVH_QtWidgets_106(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipQGraphicsProxyWidget::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return QGraphicsProxyWidget::windowFrameSectionAt(a0);

    extern Qt::WindowFrameSection sipVH_QtWidgets_107(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_107(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return QGraphicsProxyWidget::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsProxyWidget::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsProxyWidget::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::initStyleOption(a0);
        return;
    }

    extern void sipVH_QtWidgets_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    sipVH_QtWidgets_110(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsProxyWidget::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsProxyWidget::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsProxyWidget::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsProxyWidget::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsProxyWidget::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQGraphicsProxyWidget::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    sipVH_QtWidgets_114(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQGraphicsProxyWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsProxyWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsProxyWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_105(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    sipVH_QtWidgets_105(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizeF sipQGraphicsProxyWidget::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QGraphicsProxyWidget::sizeHint(a0,a1);

    extern QSizeF sipVH_QtWidgets_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return sipVH_QtWidgets_109(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsProxyWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QGraphicsProxyWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsProxyWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsProxyWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsProxyWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsProxyWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsProxyWidget::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

int sipQGraphicsProxyWidget::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsProxyWidget::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsProxyWidget::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQGraphicsProxyWidget::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsProxyWidget::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_45)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[45]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsProxyWidget::sipProtect_setGraphicsItem(QGraphicsItem*a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipQGraphicsProxyWidget::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipQGraphicsProxyWidget::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsProxyWidget::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

QObject* sipQGraphicsProxyWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsProxyWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsProxyWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsProxyWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsProxyWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsProxyWidget::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

void sipQGraphicsProxyWidget::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption*a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

bool sipQGraphicsProxyWidget::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsProxyWidget::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipQGraphicsProxyWidget::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipQGraphicsProxyWidget::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}

QVariant sipQGraphicsProxyWidget::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::itemChange(a0,a1) : itemChange(a0,a1));
}

bool sipQGraphicsProxyWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::event(a0) : event(a0));
}

bool sipQGraphicsProxyWidget::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQGraphicsProxyWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::showEvent(a0) : showEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

bool sipQGraphicsProxyWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

QSizeF sipQGraphicsProxyWidget::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipQGraphicsProxyWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::dropEvent(a0) : dropEvent(a0));
}

QGraphicsProxyWidget* sipQGraphicsProxyWidget::sipProtect_newProxyWidget(const QWidget*a0)
{
    return QGraphicsProxyWidget::newProxyWidget(a0);
}

QVariant sipQGraphicsProxyWidget::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsProxyWidget::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipQGraphicsProxyWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsProxyWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_setGraphicsItem, "QGraphicsProxyWidget.setGraphicsItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_setGraphicsItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->sipProtect_setGraphicsItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_setGraphicsItem, doc_QGraphicsProxyWidget_setGraphicsItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_setOwnedByLayout, "QGraphicsProxyWidget.setOwnedByLayout(bool)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_setOwnedByLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtect_setOwnedByLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_setOwnedByLayout, doc_QGraphicsProxyWidget_setOwnedByLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_prepareGeometryChange, "QGraphicsProxyWidget.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_prepareGeometryChange, doc_QGraphicsProxyWidget_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_sceneEventFilter, "QGraphicsProxyWidget.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_sceneEventFilter, doc_QGraphicsProxyWidget_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_sender, "QGraphicsProxyWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 285617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_sender, doc_QGraphicsProxyWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_receivers, "QGraphicsProxyWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 285676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_receivers, doc_QGraphicsProxyWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_timerEvent, "QGraphicsProxyWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_timerEvent, doc_QGraphicsProxyWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_childEvent, "QGraphicsProxyWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_childEvent, doc_QGraphicsProxyWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_customEvent, "QGraphicsProxyWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_customEvent, doc_QGraphicsProxyWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_connectNotify, "QGraphicsProxyWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_connectNotify, doc_QGraphicsProxyWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_disconnectNotify, "QGraphicsProxyWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_disconnectNotify, doc_QGraphicsProxyWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_senderSignalIndex, "QGraphicsProxyWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_senderSignalIndex, doc_QGraphicsProxyWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_isSignalConnected, "QGraphicsProxyWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_isSignalConnected, doc_QGraphicsProxyWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_updateMicroFocus, "QGraphicsProxyWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_updateMicroFocus, doc_QGraphicsProxyWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_initStyleOption, "QGraphicsProxyWidget.initStyleOption(QStyleOption)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption* a0;
        const sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QStyleOption, &a0))
        {
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_initStyleOption, doc_QGraphicsProxyWidget_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_updateGeometry, "QGraphicsProxyWidget.updateGeometry()");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_updateGeometry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_updateGeometry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_updateGeometry, doc_QGraphicsProxyWidget_updateGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_sceneEvent, "QGraphicsProxyWidget.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_sceneEvent, doc_QGraphicsProxyWidget_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_windowFrameEvent, "QGraphicsProxyWidget.windowFrameEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_windowFrameEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_windowFrameEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_windowFrameEvent, doc_QGraphicsProxyWidget_windowFrameEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_windowFrameSectionAt, "QGraphicsProxyWidget.windowFrameSectionAt(QPointF) -> Qt.WindowFrameSection");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_windowFrameSectionAt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_windowFrameSectionAt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            Qt::WindowFrameSection sipRes;

            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_windowFrameSectionAt, doc_QGraphicsProxyWidget_windowFrameSectionAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_changeEvent, "QGraphicsProxyWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_changeEvent, doc_QGraphicsProxyWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_closeEvent, "QGraphicsProxyWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_closeEvent, doc_QGraphicsProxyWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_moveEvent, "QGraphicsProxyWidget.moveEvent(QGraphicsSceneMoveEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_moveEvent, doc_QGraphicsProxyWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_polishEvent, "QGraphicsProxyWidget.polishEvent()");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_polishEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_polishEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_polishEvent, doc_QGraphicsProxyWidget_polishEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_grabKeyboardEvent, "QGraphicsProxyWidget.grabKeyboardEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_grabKeyboardEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_grabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_grabKeyboardEvent, doc_QGraphicsProxyWidget_grabKeyboardEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_ungrabKeyboardEvent, "QGraphicsProxyWidget.ungrabKeyboardEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_ungrabKeyboardEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_ungrabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_ungrabKeyboardEvent, doc_QGraphicsProxyWidget_ungrabKeyboardEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_setWidget, "QGraphicsProxyWidget.setWidget(QWidget)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_setWidget(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_setWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QGraphicsProxyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QWidget, &a0))
        {
#line 34 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
        // The ownership of any existing widget must be passed back to Python.
        QWidget *w = sipCpp->widget();
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->setWidget(a0);
        Py_END_ALLOW_THREADS
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QWidget);
        
            if (wo)
                sipTransferBack(wo);
        }
#line 286257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_setWidget, doc_QGraphicsProxyWidget_setWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_widget, "QGraphicsProxyWidget.widget() -> QWidget");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_widget(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsProxyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_widget, doc_QGraphicsProxyWidget_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_subWidgetRect, "QGraphicsProxyWidget.subWidgetRect(QWidget) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_subWidgetRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_subWidgetRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        const QGraphicsProxyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QWidget, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->subWidgetRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_subWidgetRect, doc_QGraphicsProxyWidget_subWidgetRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_setGeometry, "QGraphicsProxyWidget.setGeometry(QRectF)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        QGraphicsProxyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QRectF, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsProxyWidget::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_setGeometry, doc_QGraphicsProxyWidget_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_paint, "QGraphicsProxyWidget.paint(QPainter, QStyleOptionGraphicsItem, QWidget)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_paint(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2;
        QGraphicsProxyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsProxyWidget::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_paint, doc_QGraphicsProxyWidget_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_type, "QGraphicsProxyWidget.type() -> int");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsProxyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsProxyWidget::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_type, doc_QGraphicsProxyWidget_type);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_createProxyForChildWidget, "QGraphicsProxyWidget.createProxyForChildWidget(QWidget) -> QGraphicsProxyWidget");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_createProxyForChildWidget(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_createProxyForChildWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QGraphicsProxyWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QWidget, &a0))
        {
            QGraphicsProxyWidget*sipRes;

            sipRes = sipCpp->createProxyForChildWidget(a0);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsProxyWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_createProxyForChildWidget, doc_QGraphicsProxyWidget_createProxyForChildWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_itemChange, "QGraphicsProxyWidget.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsProxyWidget, sipName_itemChange, doc_QGraphicsProxyWidget_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_event, "QGraphicsProxyWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_event, doc_QGraphicsProxyWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_eventFilter, "QGraphicsProxyWidget.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_eventFilter, doc_QGraphicsProxyWidget_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_showEvent, "QGraphicsProxyWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_showEvent, doc_QGraphicsProxyWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_hideEvent, "QGraphicsProxyWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_hideEvent, doc_QGraphicsProxyWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_contextMenuEvent, "QGraphicsProxyWidget.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_contextMenuEvent, doc_QGraphicsProxyWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_hoverEnterEvent, "QGraphicsProxyWidget.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_hoverEnterEvent, doc_QGraphicsProxyWidget_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_hoverLeaveEvent, "QGraphicsProxyWidget.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_hoverLeaveEvent, doc_QGraphicsProxyWidget_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_hoverMoveEvent, "QGraphicsProxyWidget.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_hoverMoveEvent, doc_QGraphicsProxyWidget_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_grabMouseEvent, "QGraphicsProxyWidget.grabMouseEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_grabMouseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_grabMouseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_grabMouseEvent, doc_QGraphicsProxyWidget_grabMouseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_ungrabMouseEvent, "QGraphicsProxyWidget.ungrabMouseEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_ungrabMouseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_ungrabMouseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_ungrabMouseEvent, doc_QGraphicsProxyWidget_ungrabMouseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_mouseMoveEvent, "QGraphicsProxyWidget.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_mouseMoveEvent, doc_QGraphicsProxyWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_mousePressEvent, "QGraphicsProxyWidget.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_mousePressEvent, doc_QGraphicsProxyWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_mouseReleaseEvent, "QGraphicsProxyWidget.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_mouseReleaseEvent, doc_QGraphicsProxyWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_mouseDoubleClickEvent, "QGraphicsProxyWidget.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_mouseDoubleClickEvent, doc_QGraphicsProxyWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_wheelEvent, "QGraphicsProxyWidget.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_wheelEvent, doc_QGraphicsProxyWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_keyPressEvent, "QGraphicsProxyWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_keyPressEvent, doc_QGraphicsProxyWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_keyReleaseEvent, "QGraphicsProxyWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_keyReleaseEvent, doc_QGraphicsProxyWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_focusInEvent, "QGraphicsProxyWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_focusInEvent, doc_QGraphicsProxyWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_focusOutEvent, "QGraphicsProxyWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_focusOutEvent, doc_QGraphicsProxyWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_focusNextPrevChild, "QGraphicsProxyWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_focusNextPrevChild, doc_QGraphicsProxyWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_sizeHint, "QGraphicsProxyWidget.sizeHint(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_sizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const sipQGraphicsProxyWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_constraint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J9", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_sizeHint, doc_QGraphicsProxyWidget_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_resizeEvent, "QGraphicsProxyWidget.resizeEvent(QGraphicsSceneResizeEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_resizeEvent, doc_QGraphicsProxyWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_dragEnterEvent, "QGraphicsProxyWidget.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_dragEnterEvent, doc_QGraphicsProxyWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_dragLeaveEvent, "QGraphicsProxyWidget.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_dragLeaveEvent, doc_QGraphicsProxyWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_dragMoveEvent, "QGraphicsProxyWidget.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_dragMoveEvent, doc_QGraphicsProxyWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_dropEvent, "QGraphicsProxyWidget.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_dropEvent, doc_QGraphicsProxyWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_newProxyWidget, "QGraphicsProxyWidget.newProxyWidget(QWidget) -> QGraphicsProxyWidget");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_newProxyWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_newProxyWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QWidget, &a0))
        {
            QGraphicsProxyWidget*sipRes;

            sipRes = sipCpp->sipProtect_newProxyWidget(a0);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsProxyWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_newProxyWidget, doc_QGraphicsProxyWidget_newProxyWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_inputMethodQuery, "QGraphicsProxyWidget.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_inputMethodQuery, doc_QGraphicsProxyWidget_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsProxyWidget_inputMethodEvent, "QGraphicsProxyWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsProxyWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsProxyWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsProxyWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsProxyWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsProxyWidget, sipName_inputMethodEvent, doc_QGraphicsProxyWidget_inputMethodEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsProxyWidget(void *, const sipTypeDef *);}
static void *cast_QGraphicsProxyWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsProxyWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsWidget)->ctd_cast((QGraphicsWidget *)(QGraphicsProxyWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsProxyWidget(void *, int);}
static void release_QGraphicsProxyWidget(void *sipCppV,int)
{
    QGraphicsProxyWidget *sipCpp = reinterpret_cast<QGraphicsProxyWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsProxyWidget(sipSimpleWrapper *);}
static void dealloc_QGraphicsProxyWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsProxyWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsProxyWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsProxyWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsProxyWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsProxyWidget *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QGraphicsItem, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQGraphicsProxyWidget(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsProxyWidget[] = {{167, 255, 1}};


static PyMethodDef methods_QGraphicsProxyWidget[] = {
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QGraphicsProxyWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsProxyWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QGraphicsProxyWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsProxyWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsProxyWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_createProxyForChildWidget), meth_QGraphicsProxyWidget_createProxyForChildWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_createProxyForChildWidget)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsProxyWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsProxyWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsProxyWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsProxyWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsProxyWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsProxyWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_dropEvent)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QGraphicsProxyWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QGraphicsProxyWidget_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsProxyWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QGraphicsProxyWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsProxyWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), (PyCFunction)meth_QGraphicsProxyWidget_grabKeyboardEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), (PyCFunction)meth_QGraphicsProxyWidget_grabMouseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_grabMouseEvent)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QGraphicsProxyWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_hideEvent)},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsProxyWidget_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_hoverEnterEvent)},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsProxyWidget_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_hoverLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsProxyWidget_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_hoverMoveEvent)},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QGraphicsProxyWidget_initStyleOption, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsProxyWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsProxyWidget_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsProxyWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsProxyWidget_itemChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_itemChange)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsProxyWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsProxyWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsProxyWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsProxyWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsProxyWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsProxyWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QGraphicsProxyWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_newProxyWidget), (PyCFunction)meth_QGraphicsProxyWidget_newProxyWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_newProxyWidget)},
    {SIP_MLNAME_CAST(sipName_paint), meth_QGraphicsProxyWidget_paint, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_paint)},
    {SIP_MLNAME_CAST(sipName_polishEvent), (PyCFunction)meth_QGraphicsProxyWidget_polishEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsProxyWidget_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsProxyWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QGraphicsProxyWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsProxyWidget_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsProxyWidget_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsProxyWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsProxyWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QGraphicsProxyWidget_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), (PyCFunction)meth_QGraphicsProxyWidget_setGraphicsItem, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), (PyCFunction)meth_QGraphicsProxyWidget_setOwnedByLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_QGraphicsProxyWidget_setWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_setWidget)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QGraphicsProxyWidget_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), (PyCFunction)meth_QGraphicsProxyWidget_sizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_sizeHint)},
    {SIP_MLNAME_CAST(sipName_subWidgetRect), meth_QGraphicsProxyWidget_subWidgetRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_subWidgetRect)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsProxyWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsProxyWidget_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_type)},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), (PyCFunction)meth_QGraphicsProxyWidget_ungrabKeyboardEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), (PyCFunction)meth_QGraphicsProxyWidget_ungrabMouseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_ungrabMouseEvent)},
    {SIP_MLNAME_CAST(sipName_updateGeometry), (PyCFunction)meth_QGraphicsProxyWidget_updateGeometry, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsProxyWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsProxyWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_wheelEvent)},
    {SIP_MLNAME_CAST(sipName_widget), meth_QGraphicsProxyWidget_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsProxyWidget_widget)},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), (PyCFunction)meth_QGraphicsProxyWidget_windowFrameEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), (PyCFunction)meth_QGraphicsProxyWidget_windowFrameSectionAt, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGraphicsProxyWidget, "\1QGraphicsProxyWidget(QGraphicsItem parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsProxyWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsProxyWidget,
        {0}
    },
    {
        sipNameNr_QGraphicsProxyWidget,
        {0, 0, 1},
        62, methods_QGraphicsProxyWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsProxyWidget,
    -1,
    -1,
    supers_QGraphicsProxyWidget,
    0,
    init_type_QGraphicsProxyWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsProxyWidget,
    0,
    0,
    0,
    release_QGraphicsProxyWidget,
    cast_QGraphicsProxyWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsProxyWidget::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 287499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 287503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 287509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 287515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 287524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 287527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 287530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 287536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 287539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 287542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 287545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 287548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 287551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 287554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 287557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 287560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 287563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 287566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 287569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 287572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 287575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 287578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 287581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 287584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 287590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 287593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 287596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 287599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 287602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 287605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 287608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 287611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 287617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 287620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 287623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 287629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 287632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 287635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 287638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 287641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 287644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 287647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 287650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 287659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 287662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 287668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 287671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 287674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 287677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 287680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 287683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 287686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 287689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 287692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsWidget : public QGraphicsWidget
{
public:
    sipQGraphicsWidget(QGraphicsItem*,Qt::WindowFlags);
    virtual ~sipQGraphicsWidget();

    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.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem*);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_updateMicroFocus();
    void sipProtectVirt_initStyleOption(bool,QStyleOption*) const;
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;
    void sipProtectVirt_updateGeometry(bool);
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_windowFrameEvent(bool,QEvent*);
    Qt::WindowFrameSection sipProtectVirt_windowFrameSectionAt(bool,const QPointF&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_moveEvent(bool,QGraphicsSceneMoveEvent*);
    void sipProtectVirt_polishEvent(bool);
    void sipProtectVirt_resizeEvent(bool,QGraphicsSceneResizeEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_grabMouseEvent(bool,QEvent*);
    void sipProtectVirt_ungrabMouseEvent(bool,QEvent*);
    void sipProtectVirt_grabKeyboardEvent(bool,QEvent*);
    void sipProtectVirt_ungrabKeyboardEvent(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    void advance(int);
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void ungrabKeyboardEvent(QEvent*);
    void grabKeyboardEvent(QEvent*);
    void ungrabMouseEvent(QEvent*);
    void grabMouseEvent(QEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void showEvent(QShowEvent*);
    void resizeEvent(QGraphicsSceneResizeEvent*);
    void polishEvent();
    void moveEvent(QGraphicsSceneMoveEvent*);
    void hideEvent(QHideEvent*);
    void focusOutEvent(QFocusEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    bool event(QEvent*);
    Qt::WindowFrameSection windowFrameSectionAt(const QPointF&) const;
    bool windowFrameEvent(QEvent*);
    bool sceneEvent(QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    void updateGeometry();
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void initStyleOption(QStyleOption*) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    int type() const;
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsWidget(const sipQGraphicsWidget &);
    sipQGraphicsWidget &operator = (const sipQGraphicsWidget &);

    char sipPyMethods[59];
};

sipQGraphicsWidget::sipQGraphicsWidget(QGraphicsItem*a0,Qt::WindowFlags a1): QGraphicsWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsWidget::~sipQGraphicsWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsWidget);
}

int sipQGraphicsWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsWidget,_c,_id,_a);

    return _id;
}

void *sipQGraphicsWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsWidget, _clname, &sipCpp) ? sipCpp : QGraphicsWidget::qt_metacast(_clname));
}

void sipQGraphicsWidget::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsWidget::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsWidget::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsWidget::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsWidget::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsWidget::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsWidget::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsWidget::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsWidget::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsWidget::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsWidget::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsWidget::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsWidget::ungrabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_ungrabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::ungrabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::grabKeyboardEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_grabKeyboardEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::grabKeyboardEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::ungrabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_ungrabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::ungrabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::grabMouseEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_grabMouseEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::grabMouseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::resizeEvent(QGraphicsSceneResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::resizeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_105(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneResizeEvent*);

    sipVH_QtWidgets_105(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::polishEvent()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_polishEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::polishEvent();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsWidget::moveEvent(QGraphicsSceneMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::moveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_106(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMoveEvent*);

    sipVH_QtWidgets_106(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QGraphicsWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QGraphicsWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

Qt::WindowFrameSection sipQGraphicsWidget::windowFrameSectionAt(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_windowFrameSectionAt);

    if (!sipMeth)
        return QGraphicsWidget::windowFrameSectionAt(a0);

    extern Qt::WindowFrameSection sipVH_QtWidgets_107(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_107(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::windowFrameEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_windowFrameEvent);

    if (!sipMeth)
        return QGraphicsWidget::windowFrameEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsWidget::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsWidget::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsWidget::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsWidget::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsWidget::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsWidget::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSizeF sipQGraphicsWidget::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QGraphicsWidget::sizeHint(a0,a1);

    extern QSizeF sipVH_QtWidgets_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return sipVH_QtWidgets_109(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsWidget::initStyleOption(QStyleOption*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_initStyleOption);

    if (!sipMeth)
    {
        QGraphicsWidget::initStyleOption(a0);
        return;
    }

    extern void sipVH_QtWidgets_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyleOption*);

    sipVH_QtWidgets_110(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsWidget::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsWidget::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsWidget::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[53]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsWidget::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsWidget::paintWindowFrame(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_paintWindowFrame);

    if (!sipMeth)
    {
        QGraphicsWidget::paintWindowFrame(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQGraphicsWidget::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsWidget::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

int sipQGraphicsWidget::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[56]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsWidget::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsWidget::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsWidget::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    sipVH_QtWidgets_114(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQGraphicsWidget::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsWidget::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_45)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[45]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsWidget::sipProtect_setGraphicsItem(QGraphicsItem*a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipQGraphicsWidget::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipQGraphicsWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsWidget::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

void sipQGraphicsWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsWidget::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsWidget::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

QObject* sipQGraphicsWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsWidget::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

void sipQGraphicsWidget::sipProtectVirt_initStyleOption(bool sipSelfWasArg,QStyleOption*a0) const
{
    (sipSelfWasArg ? QGraphicsWidget::initStyleOption(a0) : initStyleOption(a0));
}

QSizeF sipQGraphicsWidget::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsWidget::sizeHint(a0,a1) : sizeHint(a0,a1));
}

void sipQGraphicsWidget::sipProtectVirt_updateGeometry(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::updateGeometry() : updateGeometry());
}

QVariant sipQGraphicsWidget::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsWidget::itemChange(a0,a1) : itemChange(a0,a1));
}

bool sipQGraphicsWidget::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsWidget::sipProtectVirt_windowFrameEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameEvent(a0) : windowFrameEvent(a0));
}

Qt::WindowFrameSection sipQGraphicsWidget::sipProtectVirt_windowFrameSectionAt(bool sipSelfWasArg,const QPointF& a0) const
{
    return (sipSelfWasArg ? QGraphicsWidget::windowFrameSectionAt(a0) : windowFrameSectionAt(a0));
}

bool sipQGraphicsWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::event(a0) : event(a0));
}

void sipQGraphicsWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::changeEvent(a0) : changeEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusInEvent(a0) : focusInEvent(a0));
}

bool sipQGraphicsWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QGraphicsWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQGraphicsWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QGraphicsSceneMoveEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_polishEvent(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QGraphicsWidget::polishEvent() : polishEvent());
}

void sipQGraphicsWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QGraphicsSceneResizeEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::showEvent(a0) : showEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_grabMouseEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabMouseEvent(a0) : grabMouseEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_ungrabMouseEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabMouseEvent(a0) : ungrabMouseEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_grabKeyboardEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::grabKeyboardEvent(a0) : grabKeyboardEvent(a0));
}

void sipQGraphicsWidget::sipProtectVirt_ungrabKeyboardEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QGraphicsWidget::ungrabKeyboardEvent(a0) : ungrabKeyboardEvent(a0));
}


PyDoc_STRVAR(doc_QGraphicsWidget_setGraphicsItem, "QGraphicsWidget.setGraphicsItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsWidget_setGraphicsItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->sipProtect_setGraphicsItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setGraphicsItem, doc_QGraphicsWidget_setGraphicsItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setOwnedByLayout, "QGraphicsWidget.setOwnedByLayout(bool)");

extern "C" {static PyObject *meth_QGraphicsWidget_setOwnedByLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0))
        {
            sipCpp->sipProtect_setOwnedByLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setOwnedByLayout, doc_QGraphicsWidget_setOwnedByLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_contextMenuEvent, "QGraphicsWidget.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_contextMenuEvent, doc_QGraphicsWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_dragEnterEvent, "QGraphicsWidget.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_dragEnterEvent, doc_QGraphicsWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_dragLeaveEvent, "QGraphicsWidget.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_dragLeaveEvent, doc_QGraphicsWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_dragMoveEvent, "QGraphicsWidget.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_dragMoveEvent, doc_QGraphicsWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_dropEvent, "QGraphicsWidget.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_dropEvent, doc_QGraphicsWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_hoverEnterEvent, "QGraphicsWidget.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_hoverEnterEvent, doc_QGraphicsWidget_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_inputMethodEvent, "QGraphicsWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_inputMethodEvent, doc_QGraphicsWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_inputMethodQuery, "QGraphicsWidget.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsWidget_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_inputMethodQuery, doc_QGraphicsWidget_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_keyPressEvent, "QGraphicsWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_keyPressEvent, doc_QGraphicsWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_keyReleaseEvent, "QGraphicsWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_keyReleaseEvent, doc_QGraphicsWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_mouseDoubleClickEvent, "QGraphicsWidget.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_mouseDoubleClickEvent, doc_QGraphicsWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_mouseMoveEvent, "QGraphicsWidget.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_mouseMoveEvent, doc_QGraphicsWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_mousePressEvent, "QGraphicsWidget.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_mousePressEvent, doc_QGraphicsWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_mouseReleaseEvent, "QGraphicsWidget.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_mouseReleaseEvent, doc_QGraphicsWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_prepareGeometryChange, "QGraphicsWidget.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsWidget_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_prepareGeometryChange, doc_QGraphicsWidget_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_sceneEventFilter, "QGraphicsWidget.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_sceneEventFilter, doc_QGraphicsWidget_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_wheelEvent, "QGraphicsWidget.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_wheelEvent, doc_QGraphicsWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_sender, "QGraphicsWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 289715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_sender, doc_QGraphicsWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_receivers, "QGraphicsWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 289774 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_receivers, doc_QGraphicsWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_timerEvent, "QGraphicsWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_timerEvent, doc_QGraphicsWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_childEvent, "QGraphicsWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_childEvent, doc_QGraphicsWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_customEvent, "QGraphicsWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_customEvent, doc_QGraphicsWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_connectNotify, "QGraphicsWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_connectNotify, doc_QGraphicsWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_disconnectNotify, "QGraphicsWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_disconnectNotify, doc_QGraphicsWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_senderSignalIndex, "QGraphicsWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_senderSignalIndex, doc_QGraphicsWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_isSignalConnected, "QGraphicsWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_isSignalConnected, doc_QGraphicsWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_updateMicroFocus, "QGraphicsWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_updateMicroFocus, doc_QGraphicsWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_layout, "QGraphicsWidget.layout() -> QGraphicsLayout");

extern "C" {static PyObject *meth_QGraphicsWidget_layout(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_layout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QGraphicsLayout*sipRes;

            sipRes = sipCpp->layout();

            return sipConvertFromType(sipRes,sipType_QGraphicsLayout,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_layout, doc_QGraphicsWidget_layout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setLayout, "QGraphicsWidget.setLayout(QGraphicsLayout)");

extern "C" {static PyObject *meth_QGraphicsWidget_setLayout(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayout* a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsLayout, &a0))
        {
            sipCpp->setLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setLayout, doc_QGraphicsWidget_setLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_adjustSize, "QGraphicsWidget.adjustSize()");

extern "C" {static PyObject *meth_QGraphicsWidget_adjustSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_adjustSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            sipCpp->adjustSize();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_adjustSize, doc_QGraphicsWidget_adjustSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_layoutDirection, "QGraphicsWidget.layoutDirection() -> Qt.LayoutDirection");

extern "C" {static PyObject *meth_QGraphicsWidget_layoutDirection(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_layoutDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            Qt::LayoutDirection sipRes;

            sipRes = sipCpp->layoutDirection();

            return sipConvertFromEnum(sipRes,sipType_Qt_LayoutDirection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_layoutDirection, doc_QGraphicsWidget_layoutDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setLayoutDirection, "QGraphicsWidget.setLayoutDirection(Qt.LayoutDirection)");

extern "C" {static PyObject *meth_QGraphicsWidget_setLayoutDirection(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setLayoutDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::LayoutDirection a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_Qt_LayoutDirection, &a0))
        {
            sipCpp->setLayoutDirection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setLayoutDirection, doc_QGraphicsWidget_setLayoutDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_unsetLayoutDirection, "QGraphicsWidget.unsetLayoutDirection()");

extern "C" {static PyObject *meth_QGraphicsWidget_unsetLayoutDirection(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_unsetLayoutDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            sipCpp->unsetLayoutDirection();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_unsetLayoutDirection, doc_QGraphicsWidget_unsetLayoutDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_style, "QGraphicsWidget.style() -> QStyle");

extern "C" {static PyObject *meth_QGraphicsWidget_style(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_style(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QStyle*sipRes;

            sipRes = sipCpp->style();

            return sipConvertFromType(sipRes,sipType_QStyle,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_style, doc_QGraphicsWidget_style);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setStyle, "QGraphicsWidget.setStyle(QStyle)");

extern "C" {static PyObject *meth_QGraphicsWidget_setStyle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle* a0;
        PyObject *a0Keep;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0Keep, sipType_QStyle, &a0))
        {
            sipCpp->setStyle(a0);

            sipKeepReference(sipSelf, -28, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setStyle, doc_QGraphicsWidget_setStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_font, "QGraphicsWidget.font() -> QFont");

extern "C" {static PyObject *meth_QGraphicsWidget_font(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_font, doc_QGraphicsWidget_font);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setFont, "QGraphicsWidget.setFont(QFont)");

extern "C" {static PyObject *meth_QGraphicsWidget_setFont(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setFont, doc_QGraphicsWidget_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_palette, "QGraphicsWidget.palette() -> QPalette");

extern "C" {static PyObject *meth_QGraphicsWidget_palette(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_palette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QPalette*sipRes;

            sipRes = new QPalette(sipCpp->palette());

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_palette, doc_QGraphicsWidget_palette);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setPalette, "QGraphicsWidget.setPalette(QPalette)");

extern "C" {static PyObject *meth_QGraphicsWidget_setPalette(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setPalette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPalette* a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QPalette, &a0))
        {
            sipCpp->setPalette(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setPalette, doc_QGraphicsWidget_setPalette);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_resize, "QGraphicsWidget.resize(QSizeF)\n"
    "QGraphicsWidget.resize(float, float)");

extern "C" {static PyObject *meth_QGraphicsWidget_resize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_resize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QSizeF, &a0))
        {
            sipCpp->resize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->resize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_resize, doc_QGraphicsWidget_resize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_size, "QGraphicsWidget.size() -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsWidget_size(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->size());

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_size, doc_QGraphicsWidget_size);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setGeometry, "QGraphicsWidget.setGeometry(QRectF)\n"
    "QGraphicsWidget.setGeometry(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsWidget_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QRectF, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsWidget::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setGeometry(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setGeometry, doc_QGraphicsWidget_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_rect, "QGraphicsWidget.rect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsWidget_rect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_rect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->rect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_rect, doc_QGraphicsWidget_rect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setContentsMargins, "QGraphicsWidget.setContentsMargins(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsWidget_setContentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setContentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setContentsMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setContentsMargins, doc_QGraphicsWidget_setContentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_getContentsMargins, "QGraphicsWidget.getContentsMargins() -> (float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsWidget_getContentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_getContentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsWidget::getContentsMargins(&a0,&a1,&a2,&a3) : sipCpp->getContentsMargins(&a0,&a1,&a2,&a3));

            return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_getContentsMargins, doc_QGraphicsWidget_getContentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setWindowFrameMargins, "QGraphicsWidget.setWindowFrameMargins(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsWidget_setWindowFrameMargins(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setWindowFrameMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setWindowFrameMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setWindowFrameMargins, doc_QGraphicsWidget_setWindowFrameMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_getWindowFrameMargins, "QGraphicsWidget.getWindowFrameMargins() -> (float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsWidget_getWindowFrameMargins(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_getWindowFrameMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            sipCpp->getWindowFrameMargins(&a0,&a1,&a2,&a3);

            return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_getWindowFrameMargins, doc_QGraphicsWidget_getWindowFrameMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_unsetWindowFrameMargins, "QGraphicsWidget.unsetWindowFrameMargins()");

extern "C" {static PyObject *meth_QGraphicsWidget_unsetWindowFrameMargins(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_unsetWindowFrameMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            sipCpp->unsetWindowFrameMargins();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_unsetWindowFrameMargins, doc_QGraphicsWidget_unsetWindowFrameMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_windowFrameGeometry, "QGraphicsWidget.windowFrameGeometry() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsWidget_windowFrameGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_windowFrameGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->windowFrameGeometry());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_windowFrameGeometry, doc_QGraphicsWidget_windowFrameGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_windowFrameRect, "QGraphicsWidget.windowFrameRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsWidget_windowFrameRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_windowFrameRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->windowFrameRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_windowFrameRect, doc_QGraphicsWidget_windowFrameRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_windowFlags, "QGraphicsWidget.windowFlags() -> Qt.WindowFlags");

extern "C" {static PyObject *meth_QGraphicsWidget_windowFlags(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_windowFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            Qt::WindowFlags*sipRes;

            sipRes = new Qt::WindowFlags(sipCpp->windowFlags());

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_windowFlags, doc_QGraphicsWidget_windowFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_windowType, "QGraphicsWidget.windowType() -> Qt.WindowType");

extern "C" {static PyObject *meth_QGraphicsWidget_windowType(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_windowType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            Qt::WindowType sipRes;

            sipRes = sipCpp->windowType();

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_windowType, doc_QGraphicsWidget_windowType);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setWindowFlags, "QGraphicsWidget.setWindowFlags(Qt.WindowFlags)");

extern "C" {static PyObject *meth_QGraphicsWidget_setWindowFlags(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setWindowFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowFlags* a0;
        int a0State = 0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_Qt_WindowFlags, &a0, &a0State))
        {
            sipCpp->setWindowFlags(*a0);
            sipReleaseType(a0,sipType_Qt_WindowFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setWindowFlags, doc_QGraphicsWidget_setWindowFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_isActiveWindow, "QGraphicsWidget.isActiveWindow() -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_isActiveWindow(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_isActiveWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActiveWindow();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_isActiveWindow, doc_QGraphicsWidget_isActiveWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setWindowTitle, "QGraphicsWidget.setWindowTitle(str)");

extern "C" {static PyObject *meth_QGraphicsWidget_setWindowTitle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setWindowTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWindowTitle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setWindowTitle, doc_QGraphicsWidget_setWindowTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_windowTitle, "QGraphicsWidget.windowTitle() -> str");

extern "C" {static PyObject *meth_QGraphicsWidget_windowTitle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_windowTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->windowTitle());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_windowTitle, doc_QGraphicsWidget_windowTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_focusPolicy, "QGraphicsWidget.focusPolicy() -> Qt.FocusPolicy");

extern "C" {static PyObject *meth_QGraphicsWidget_focusPolicy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_focusPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            Qt::FocusPolicy sipRes;

            sipRes = sipCpp->focusPolicy();

            return sipConvertFromEnum(sipRes,sipType_Qt_FocusPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_focusPolicy, doc_QGraphicsWidget_focusPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setFocusPolicy, "QGraphicsWidget.setFocusPolicy(Qt.FocusPolicy)");

extern "C" {static PyObject *meth_QGraphicsWidget_setFocusPolicy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setFocusPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::FocusPolicy a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_Qt_FocusPolicy, &a0))
        {
            sipCpp->setFocusPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setFocusPolicy, doc_QGraphicsWidget_setFocusPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setTabOrder, "QGraphicsWidget.setTabOrder(QGraphicsWidget, QGraphicsWidget)");

extern "C" {static PyObject *meth_QGraphicsWidget_setTabOrder(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setTabOrder(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget* a0;
        QGraphicsWidget* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J8", sipType_QGraphicsWidget, &a0, sipType_QGraphicsWidget, &a1))
        {
            QGraphicsWidget::setTabOrder(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setTabOrder, doc_QGraphicsWidget_setTabOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_focusWidget, "QGraphicsWidget.focusWidget() -> QGraphicsWidget");

extern "C" {static PyObject *meth_QGraphicsWidget_focusWidget(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_focusWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QGraphicsWidget*sipRes;

            sipRes = sipCpp->focusWidget();

            return sipConvertFromType(sipRes,sipType_QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_focusWidget, doc_QGraphicsWidget_focusWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_grabShortcut, "QGraphicsWidget.grabShortcut(QKeySequence, Qt.ShortcutContext context=Qt.WindowShortcut) -> int");

extern "C" {static PyObject *meth_QGraphicsWidget_grabShortcut(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_grabShortcut(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        Qt::ShortcutContext a1 = Qt::WindowShortcut;
        QGraphicsWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_context,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QKeySequence, &a0, &a0State, sipType_Qt_ShortcutContext, &a1))
        {
            int sipRes;

            sipRes = sipCpp->grabShortcut(*a0,a1);
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_grabShortcut, doc_QGraphicsWidget_grabShortcut);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_releaseShortcut, "QGraphicsWidget.releaseShortcut(int)");

extern "C" {static PyObject *meth_QGraphicsWidget_releaseShortcut(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_releaseShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0))
        {
            sipCpp->releaseShortcut(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_releaseShortcut, doc_QGraphicsWidget_releaseShortcut);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setShortcutEnabled, "QGraphicsWidget.setShortcutEnabled(int, bool enabled=True)");

extern "C" {static PyObject *meth_QGraphicsWidget_setShortcutEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setShortcutEnabled(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1 = 1;
        QGraphicsWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|b", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setShortcutEnabled(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setShortcutEnabled, doc_QGraphicsWidget_setShortcutEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setShortcutAutoRepeat, "QGraphicsWidget.setShortcutAutoRepeat(int, bool enabled=True)");

extern "C" {static PyObject *meth_QGraphicsWidget_setShortcutAutoRepeat(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setShortcutAutoRepeat(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1 = 1;
        QGraphicsWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|b", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setShortcutAutoRepeat(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setShortcutAutoRepeat, doc_QGraphicsWidget_setShortcutAutoRepeat);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_addAction, "QGraphicsWidget.addAction(QAction)");

extern "C" {static PyObject *meth_QGraphicsWidget_addAction(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->addAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_addAction, doc_QGraphicsWidget_addAction);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_addActions, "QGraphicsWidget.addActions(list-of-QAction)");

extern "C" {static PyObject *meth_QGraphicsWidget_addActions(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_addActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QList<QAction*>* a0;
        int a0State = 0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QList_0101QAction,&a0, &a0State))
        {
            sipCpp->addActions(*a0);
            sipReleaseType(a0,sipType_QList_0101QAction,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_addActions, doc_QGraphicsWidget_addActions);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_insertAction, "QGraphicsWidget.insertAction(QAction, QAction)");

extern "C" {static PyObject *meth_QGraphicsWidget_insertAction(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_insertAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QAction* a1;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QAction, &a0, sipType_QAction, &a1))
        {
            sipCpp->insertAction(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_insertAction, doc_QGraphicsWidget_insertAction);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_insertActions, "QGraphicsWidget.insertActions(QAction, list-of-QAction)");

extern "C" {static PyObject *meth_QGraphicsWidget_insertActions(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_insertActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QList<QAction*>* a1;
        int a1State = 0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QAction, &a0, sipType_QList_0101QAction,&a1, &a1State))
        {
            sipCpp->insertActions(a0,*a1);
            sipReleaseType(a1,sipType_QList_0101QAction,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_insertActions, doc_QGraphicsWidget_insertActions);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_removeAction, "QGraphicsWidget.removeAction(QAction)");

extern "C" {static PyObject *meth_QGraphicsWidget_removeAction(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_removeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->removeAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_removeAction, doc_QGraphicsWidget_removeAction);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_actions, "QGraphicsWidget.actions() -> list-of-QAction");

extern "C" {static PyObject *meth_QGraphicsWidget_actions(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_actions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QList<QAction*>*sipRes;

            sipRes = new QList<QAction*>(sipCpp->actions());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_actions, doc_QGraphicsWidget_actions);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setAttribute, "QGraphicsWidget.setAttribute(Qt.WidgetAttribute, bool on=True)");

extern "C" {static PyObject *meth_QGraphicsWidget_setAttribute(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setAttribute(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WidgetAttribute a0;
        bool a1 = 1;
        QGraphicsWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_Qt_WidgetAttribute, &a0, &a1))
        {
            sipCpp->setAttribute(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setAttribute, doc_QGraphicsWidget_setAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_testAttribute, "QGraphicsWidget.testAttribute(Qt.WidgetAttribute) -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_testAttribute(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_testAttribute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WidgetAttribute a0;
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_Qt_WidgetAttribute, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testAttribute(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_testAttribute, doc_QGraphicsWidget_testAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_type, "QGraphicsWidget.type() -> int");

extern "C" {static PyObject *meth_QGraphicsWidget_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsWidget::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_type, doc_QGraphicsWidget_type);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_paint, "QGraphicsWidget.paint(QPainter, QStyleOptionGraphicsItem, QWidget widget=None)");

extern "C" {static PyObject *meth_QGraphicsWidget_paint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_paint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        QGraphicsWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsWidget::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_paint, doc_QGraphicsWidget_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_paintWindowFrame, "QGraphicsWidget.paintWindowFrame(QPainter, QStyleOptionGraphicsItem, QWidget widget=None)");

extern "C" {static PyObject *meth_QGraphicsWidget_paintWindowFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_paintWindowFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        QGraphicsWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsWidget::paintWindowFrame(a0,a1,a2) : sipCpp->paintWindowFrame(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_paintWindowFrame, doc_QGraphicsWidget_paintWindowFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_boundingRect, "QGraphicsWidget.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsWidget_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsWidget::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_boundingRect, doc_QGraphicsWidget_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_shape, "QGraphicsWidget.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsWidget_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsWidget::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_shape, doc_QGraphicsWidget_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_close, "QGraphicsWidget.close() -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_close(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->close();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_close, doc_QGraphicsWidget_close);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_initStyleOption, "QGraphicsWidget.initStyleOption(QStyleOption)");

extern "C" {static PyObject *meth_QGraphicsWidget_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyleOption* a0;
        const sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QStyleOption, &a0))
        {
            sipCpp->sipProtectVirt_initStyleOption(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_initStyleOption, doc_QGraphicsWidget_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_sizeHint, "QGraphicsWidget.sizeHint(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsWidget_sizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const sipQGraphicsWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_constraint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J9", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_sizeHint, doc_QGraphicsWidget_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_updateGeometry, "QGraphicsWidget.updateGeometry()");

extern "C" {static PyObject *meth_QGraphicsWidget_updateGeometry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_updateGeometry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometry(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_updateGeometry, doc_QGraphicsWidget_updateGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_itemChange, "QGraphicsWidget.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsWidget_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsWidget, sipName_itemChange, doc_QGraphicsWidget_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_sceneEvent, "QGraphicsWidget.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_sceneEvent, doc_QGraphicsWidget_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_windowFrameEvent, "QGraphicsWidget.windowFrameEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_windowFrameEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_windowFrameEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_windowFrameEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_windowFrameEvent, doc_QGraphicsWidget_windowFrameEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_windowFrameSectionAt, "QGraphicsWidget.windowFrameSectionAt(QPointF) -> Qt.WindowFrameSection");

extern "C" {static PyObject *meth_QGraphicsWidget_windowFrameSectionAt(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_windowFrameSectionAt(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            Qt::WindowFrameSection sipRes;

            sipRes = sipCpp->sipProtectVirt_windowFrameSectionAt(sipSelfWasArg,*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowFrameSection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_windowFrameSectionAt, doc_QGraphicsWidget_windowFrameSectionAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_event, "QGraphicsWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_event, doc_QGraphicsWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_changeEvent, "QGraphicsWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_changeEvent, doc_QGraphicsWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_closeEvent, "QGraphicsWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_closeEvent, doc_QGraphicsWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_focusInEvent, "QGraphicsWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_focusInEvent, doc_QGraphicsWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_focusNextPrevChild, "QGraphicsWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_focusNextPrevChild, doc_QGraphicsWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_focusOutEvent, "QGraphicsWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_focusOutEvent, doc_QGraphicsWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_hideEvent, "QGraphicsWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_hideEvent, doc_QGraphicsWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_moveEvent, "QGraphicsWidget.moveEvent(QGraphicsSceneMoveEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMoveEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_moveEvent, doc_QGraphicsWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_polishEvent, "QGraphicsWidget.polishEvent()");

extern "C" {static PyObject *meth_QGraphicsWidget_polishEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_polishEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            sipCpp->sipProtectVirt_polishEvent(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_polishEvent, doc_QGraphicsWidget_polishEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_resizeEvent, "QGraphicsWidget.resizeEvent(QGraphicsSceneResizeEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneResizeEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_resizeEvent, doc_QGraphicsWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_showEvent, "QGraphicsWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_showEvent, doc_QGraphicsWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_hoverMoveEvent, "QGraphicsWidget.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_hoverMoveEvent, doc_QGraphicsWidget_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_hoverLeaveEvent, "QGraphicsWidget.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_hoverLeaveEvent, doc_QGraphicsWidget_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_grabMouseEvent, "QGraphicsWidget.grabMouseEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_grabMouseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_grabMouseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_grabMouseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_grabMouseEvent, doc_QGraphicsWidget_grabMouseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_ungrabMouseEvent, "QGraphicsWidget.ungrabMouseEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_ungrabMouseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_ungrabMouseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_ungrabMouseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_ungrabMouseEvent, doc_QGraphicsWidget_ungrabMouseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_grabKeyboardEvent, "QGraphicsWidget.grabKeyboardEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_grabKeyboardEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_grabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_grabKeyboardEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_grabKeyboardEvent, doc_QGraphicsWidget_grabKeyboardEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_ungrabKeyboardEvent, "QGraphicsWidget.ungrabKeyboardEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsWidget_ungrabKeyboardEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_ungrabKeyboardEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_ungrabKeyboardEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_ungrabKeyboardEvent, doc_QGraphicsWidget_ungrabKeyboardEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_autoFillBackground, "QGraphicsWidget.autoFillBackground() -> bool");

extern "C" {static PyObject *meth_QGraphicsWidget_autoFillBackground(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_autoFillBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoFillBackground();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_autoFillBackground, doc_QGraphicsWidget_autoFillBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsWidget_setAutoFillBackground, "QGraphicsWidget.setAutoFillBackground(bool)");

extern "C" {static PyObject *meth_QGraphicsWidget_setAutoFillBackground(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsWidget_setAutoFillBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsWidget, &sipCpp, &a0))
        {
            sipCpp->setAutoFillBackground(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsWidget, sipName_setAutoFillBackground, doc_QGraphicsWidget_setAutoFillBackground);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsWidget(void *, const sipTypeDef *);}
static void *cast_QGraphicsWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsObject)->ctd_cast((QGraphicsObject *)(QGraphicsWidget *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsLayoutItem)->ctd_cast((QGraphicsLayoutItem *)(QGraphicsWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsWidget(void *, int);}
static void release_QGraphicsWidget(void *sipCppV,int)
{
    QGraphicsWidget *sipCpp = reinterpret_cast<QGraphicsWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsWidget(sipSimpleWrapper *);}
static void dealloc_QGraphicsWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsWidget *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QGraphicsItem, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQGraphicsWidget(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsWidget[] = {{132, 255, 0}, {129, 255, 1}};


static PyMethodDef methods_QGraphicsWidget[] = {
    {SIP_MLNAME_CAST(sipName_actions), meth_QGraphicsWidget_actions, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_actions)},
    {SIP_MLNAME_CAST(sipName_addAction), meth_QGraphicsWidget_addAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_addAction)},
    {SIP_MLNAME_CAST(sipName_addActions), meth_QGraphicsWidget_addActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_addActions)},
    {SIP_MLNAME_CAST(sipName_adjustSize), meth_QGraphicsWidget_adjustSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_adjustSize)},
    {SIP_MLNAME_CAST(sipName_autoFillBackground), meth_QGraphicsWidget_autoFillBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_autoFillBackground)},
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsWidget_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_boundingRect)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QGraphicsWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_close), meth_QGraphicsWidget_close, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_close)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QGraphicsWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_closeEvent)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QGraphicsWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QGraphicsWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPolicy), meth_QGraphicsWidget_focusPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_focusPolicy)},
    {SIP_MLNAME_CAST(sipName_focusWidget), meth_QGraphicsWidget_focusWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_focusWidget)},
    {SIP_MLNAME_CAST(sipName_font), meth_QGraphicsWidget_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_font)},
    {SIP_MLNAME_CAST(sipName_getContentsMargins), meth_QGraphicsWidget_getContentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_getContentsMargins)},
    {SIP_MLNAME_CAST(sipName_getWindowFrameMargins), meth_QGraphicsWidget_getWindowFrameMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_getWindowFrameMargins)},
    {SIP_MLNAME_CAST(sipName_grabKeyboardEvent), (PyCFunction)meth_QGraphicsWidget_grabKeyboardEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_grabKeyboardEvent)},
    {SIP_MLNAME_CAST(sipName_grabMouseEvent), (PyCFunction)meth_QGraphicsWidget_grabMouseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_grabMouseEvent)},
    {SIP_MLNAME_CAST(sipName_grabShortcut), (PyCFunction)meth_QGraphicsWidget_grabShortcut, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_grabShortcut)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QGraphicsWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_hideEvent)},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsWidget_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsWidget_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_hoverLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsWidget_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_hoverMoveEvent)},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QGraphicsWidget_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsWidget_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_insertAction), meth_QGraphicsWidget_insertAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_insertAction)},
    {SIP_MLNAME_CAST(sipName_insertActions), meth_QGraphicsWidget_insertActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_insertActions)},
    {SIP_MLNAME_CAST(sipName_isActiveWindow), meth_QGraphicsWidget_isActiveWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_isActiveWindow)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsWidget_itemChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_itemChange)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_layout), meth_QGraphicsWidget_layout, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_layout)},
    {SIP_MLNAME_CAST(sipName_layoutDirection), meth_QGraphicsWidget_layoutDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_layoutDirection)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QGraphicsWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_moveEvent)},
    {SIP_MLNAME_CAST(sipName_paint), (PyCFunction)meth_QGraphicsWidget_paint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_paint)},
    {SIP_MLNAME_CAST(sipName_paintWindowFrame), (PyCFunction)meth_QGraphicsWidget_paintWindowFrame, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_paintWindowFrame)},
    {SIP_MLNAME_CAST(sipName_palette), meth_QGraphicsWidget_palette, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_palette)},
    {SIP_MLNAME_CAST(sipName_polishEvent), (PyCFunction)meth_QGraphicsWidget_polishEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_polishEvent)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsWidget_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rect), meth_QGraphicsWidget_rect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_rect)},
    {SIP_MLNAME_CAST(sipName_releaseShortcut), meth_QGraphicsWidget_releaseShortcut, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_releaseShortcut)},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_QGraphicsWidget_removeAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_removeAction)},
    {SIP_MLNAME_CAST(sipName_resize), meth_QGraphicsWidget_resize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_resize)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QGraphicsWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsWidget_sceneEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_sceneEvent)},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsWidget_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAttribute), (PyCFunction)meth_QGraphicsWidget_setAttribute, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setAttribute)},
    {SIP_MLNAME_CAST(sipName_setAutoFillBackground), meth_QGraphicsWidget_setAutoFillBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setAutoFillBackground)},
    {SIP_MLNAME_CAST(sipName_setContentsMargins), meth_QGraphicsWidget_setContentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setContentsMargins)},
    {SIP_MLNAME_CAST(sipName_setFocusPolicy), meth_QGraphicsWidget_setFocusPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setFocusPolicy)},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QGraphicsWidget_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setFont)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QGraphicsWidget_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), (PyCFunction)meth_QGraphicsWidget_setGraphicsItem, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setLayout), meth_QGraphicsWidget_setLayout, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setLayout)},
    {SIP_MLNAME_CAST(sipName_setLayoutDirection), meth_QGraphicsWidget_setLayoutDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setLayoutDirection)},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), (PyCFunction)meth_QGraphicsWidget_setOwnedByLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setPalette), meth_QGraphicsWidget_setPalette, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setPalette)},
    {SIP_MLNAME_CAST(sipName_setShortcutAutoRepeat), (PyCFunction)meth_QGraphicsWidget_setShortcutAutoRepeat, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setShortcutAutoRepeat)},
    {SIP_MLNAME_CAST(sipName_setShortcutEnabled), (PyCFunction)meth_QGraphicsWidget_setShortcutEnabled, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setShortcutEnabled)},
    {SIP_MLNAME_CAST(sipName_setStyle), meth_QGraphicsWidget_setStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setStyle)},
    {SIP_MLNAME_CAST(sipName_setTabOrder), meth_QGraphicsWidget_setTabOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setTabOrder)},
    {SIP_MLNAME_CAST(sipName_setWindowFlags), meth_QGraphicsWidget_setWindowFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setWindowFlags)},
    {SIP_MLNAME_CAST(sipName_setWindowFrameMargins), meth_QGraphicsWidget_setWindowFrameMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setWindowFrameMargins)},
    {SIP_MLNAME_CAST(sipName_setWindowTitle), meth_QGraphicsWidget_setWindowTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_setWindowTitle)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsWidget_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_shape)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QGraphicsWidget_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_showEvent)},
    {SIP_MLNAME_CAST(sipName_size), meth_QGraphicsWidget_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_size)},
    {SIP_MLNAME_CAST(sipName_sizeHint), (PyCFunction)meth_QGraphicsWidget_sizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_sizeHint)},
    {SIP_MLNAME_CAST(sipName_style), meth_QGraphicsWidget_style, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_style)},
    {SIP_MLNAME_CAST(sipName_testAttribute), meth_QGraphicsWidget_testAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_testAttribute)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsWidget_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_type)},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboardEvent), (PyCFunction)meth_QGraphicsWidget_ungrabKeyboardEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_ungrabKeyboardEvent)},
    {SIP_MLNAME_CAST(sipName_ungrabMouseEvent), (PyCFunction)meth_QGraphicsWidget_ungrabMouseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_ungrabMouseEvent)},
    {SIP_MLNAME_CAST(sipName_unsetLayoutDirection), meth_QGraphicsWidget_unsetLayoutDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_unsetLayoutDirection)},
    {SIP_MLNAME_CAST(sipName_unsetWindowFrameMargins), meth_QGraphicsWidget_unsetWindowFrameMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_unsetWindowFrameMargins)},
    {SIP_MLNAME_CAST(sipName_updateGeometry), (PyCFunction)meth_QGraphicsWidget_updateGeometry, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_updateGeometry)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_windowFlags), meth_QGraphicsWidget_windowFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_windowFlags)},
    {SIP_MLNAME_CAST(sipName_windowFrameEvent), (PyCFunction)meth_QGraphicsWidget_windowFrameEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_windowFrameEvent)},
    {SIP_MLNAME_CAST(sipName_windowFrameGeometry), meth_QGraphicsWidget_windowFrameGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_windowFrameGeometry)},
    {SIP_MLNAME_CAST(sipName_windowFrameRect), meth_QGraphicsWidget_windowFrameRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_windowFrameRect)},
    {SIP_MLNAME_CAST(sipName_windowFrameSectionAt), (PyCFunction)meth_QGraphicsWidget_windowFrameSectionAt, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsWidget_windowFrameSectionAt)},
    {SIP_MLNAME_CAST(sipName_windowTitle), meth_QGraphicsWidget_windowTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_windowTitle)},
    {SIP_MLNAME_CAST(sipName_windowType), meth_QGraphicsWidget_windowType, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsWidget_windowType)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsWidget[] = {
    {"geometryChanged()", "\1QGraphicsWidget.geometryChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsWidget, "\1QGraphicsWidget(QGraphicsItem parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsWidget,
        {0}
    },
    {
        sipNameNr_QGraphicsWidget,
        {0, 0, 1},
        106, methods_QGraphicsWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsWidget,
    -1,
    -1,
    supers_QGraphicsWidget,
    0,
    init_type_QGraphicsWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsWidget,
    0,
    0,
    0,
    release_QGraphicsWidget,
    cast_QGraphicsWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsWidget::staticMetaObject,
    0,
    signals_QGraphicsWidget,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslinearlayout.sip"
#include <qgraphicslinearlayout.h>
#line 292495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 292499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 292502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 292505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 292508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 292511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 292514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 292517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 292520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsLinearLayout : public QGraphicsLinearLayout
{
public:
    sipQGraphicsLinearLayout(QGraphicsLayoutItem*);
    sipQGraphicsLinearLayout(Qt::Orientation,QGraphicsLayoutItem*);
    virtual ~sipQGraphicsLinearLayout();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem*);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtect_addChildLayoutItem(QGraphicsLayoutItem*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void updateGeometry();
    void widgetEvent(QEvent*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void invalidate();
    QGraphicsLayoutItem* itemAt(int) const;
    int count() const;
    void setGeometry(const QRectF&);
    void removeAt(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsLinearLayout(const sipQGraphicsLinearLayout &);
    sipQGraphicsLinearLayout &operator = (const sipQGraphicsLinearLayout &);

    char sipPyMethods[9];
};

sipQGraphicsLinearLayout::sipQGraphicsLinearLayout(QGraphicsLayoutItem*a0): QGraphicsLinearLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsLinearLayout::sipQGraphicsLinearLayout(Qt::Orientation a0,QGraphicsLayoutItem*a1): QGraphicsLinearLayout(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsLinearLayout::~sipQGraphicsLinearLayout()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsLinearLayout::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsLinearLayout::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsLinearLayout::widgetEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_widgetEvent);

    if (!sipMeth)
    {
        QGraphicsLinearLayout::widgetEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLinearLayout::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsLinearLayout::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    sipVH_QtWidgets_114(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QSizeF sipQGraphicsLinearLayout::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QGraphicsLinearLayout::sizeHint(a0,a1);

    extern QSizeF sipVH_QtWidgets_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return sipVH_QtWidgets_109(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsLinearLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QGraphicsLinearLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QGraphicsLayoutItem* sipQGraphicsLinearLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return QGraphicsLinearLayout::itemAt(a0);

    extern QGraphicsLayoutItem* sipVH_QtWidgets_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_122(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsLinearLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return QGraphicsLinearLayout::count();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsLinearLayout::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsLinearLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_45)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[45]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLinearLayout::removeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_removeAt);

    if (!sipMeth)
    {
        QGraphicsLinearLayout::removeAt(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLinearLayout::sipProtect_setGraphicsItem(QGraphicsItem*a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipQGraphicsLinearLayout::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipQGraphicsLinearLayout::sipProtect_addChildLayoutItem(QGraphicsLayoutItem*a0)
{
    QGraphicsLayout::addChildLayoutItem(a0);
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_setGraphicsItem, "QGraphicsLinearLayout.setGraphicsItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_setGraphicsItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        sipQGraphicsLinearLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->sipProtect_setGraphicsItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_setGraphicsItem, doc_QGraphicsLinearLayout_setGraphicsItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_setOwnedByLayout, "QGraphicsLinearLayout.setOwnedByLayout(bool)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_setOwnedByLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipQGraphicsLinearLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, &a0))
        {
            sipCpp->sipProtect_setOwnedByLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_setOwnedByLayout, doc_QGraphicsLinearLayout_setOwnedByLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_addChildLayoutItem, "QGraphicsLinearLayout.addChildLayoutItem(QGraphicsLayoutItem)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_addChildLayoutItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_addChildLayoutItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        sipQGraphicsLinearLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            sipCpp->sipProtect_addChildLayoutItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_addChildLayoutItem, doc_QGraphicsLinearLayout_addChildLayoutItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_setOrientation, "QGraphicsLinearLayout.setOrientation(Qt.Orientation)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            sipCpp->setOrientation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_setOrientation, doc_QGraphicsLinearLayout_setOrientation);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_orientation, "QGraphicsLinearLayout.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_orientation(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_orientation, doc_QGraphicsLinearLayout_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_addItem, "QGraphicsLinearLayout.addItem(QGraphicsLayoutItem)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_addItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            sipCpp->addItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_addItem, doc_QGraphicsLinearLayout_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_addStretch, "QGraphicsLinearLayout.addStretch(int stretch=1)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_addStretch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_addStretch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        QGraphicsLinearLayout *sipCpp;

        static const char *sipKwdList[] = {
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, &a0))
        {
            sipCpp->addStretch(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_addStretch, doc_QGraphicsLinearLayout_addStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_insertItem, "QGraphicsLinearLayout.insertItem(int, QGraphicsLayoutItem)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_insertItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_insertItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QGraphicsLayoutItem* a1;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, &a0, sipType_QGraphicsLayoutItem, &a1))
        {
            sipCpp->insertItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_insertItem, doc_QGraphicsLinearLayout_insertItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_insertStretch, "QGraphicsLinearLayout.insertStretch(int, int stretch=1)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_insertStretch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_insertStretch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = 1;
        QGraphicsLinearLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|i", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->insertStretch(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_insertStretch, doc_QGraphicsLinearLayout_insertStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_removeItem, "QGraphicsLinearLayout.removeItem(QGraphicsLayoutItem)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_removeItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_removeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            sipCpp->removeItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_removeItem, doc_QGraphicsLinearLayout_removeItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_removeAt, "QGraphicsLinearLayout.removeAt(int)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_removeAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_removeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, &a0))
        {
#line 42 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslinearlayout.sip"
        // The ownership of any existing item must be passed back to Python.
        QGraphicsLayoutItem *itm;
        
        if (a0 < sipCpp->count())
            itm = sipCpp->itemAt(a0);
        else
            itm = 0;
        
        Py_BEGIN_ALLOW_THREADS
        sipSelfWasArg ? sipCpp->QGraphicsLinearLayout::removeAt(a0)
                      : sipCpp->removeAt(a0);
        Py_END_ALLOW_THREADS
        
        // The Qt documentation isn't quite correct as ownership isn't always passed
        // back to the caller.
        if (itm && !itm->parentLayoutItem())
        {
            PyObject *itmo = sipGetPyObject(itm, sipType_QGraphicsLayoutItem);
        
            if (itmo)
                sipTransferBack(itmo);
        }
#line 293065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_removeAt, doc_QGraphicsLinearLayout_removeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_setSpacing, "QGraphicsLinearLayout.setSpacing(float)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_setSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_setSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, &a0))
        {
            sipCpp->setSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_setSpacing, doc_QGraphicsLinearLayout_setSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_spacing, "QGraphicsLinearLayout.spacing() -> float");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_spacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_spacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->spacing();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_spacing, doc_QGraphicsLinearLayout_spacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_setItemSpacing, "QGraphicsLinearLayout.setItemSpacing(int, float)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_setItemSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_setItemSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setItemSpacing(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_setItemSpacing, doc_QGraphicsLinearLayout_setItemSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_itemSpacing, "QGraphicsLinearLayout.itemSpacing(int) -> float");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_itemSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_itemSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, &a0))
        {
            qreal sipRes;

            sipRes = sipCpp->itemSpacing(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_itemSpacing, doc_QGraphicsLinearLayout_itemSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_setStretchFactor, "QGraphicsLinearLayout.setStretchFactor(QGraphicsLayoutItem, int)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_setStretchFactor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_setStretchFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        int a1;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, &a1))
        {
            sipCpp->setStretchFactor(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_setStretchFactor, doc_QGraphicsLinearLayout_setStretchFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_stretchFactor, "QGraphicsLinearLayout.stretchFactor(QGraphicsLayoutItem) -> int");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_stretchFactor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_stretchFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        const QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            int sipRes;

            sipRes = sipCpp->stretchFactor(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_stretchFactor, doc_QGraphicsLinearLayout_stretchFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_setAlignment, "QGraphicsLinearLayout.setAlignment(QGraphicsLayoutItem, Qt.Alignment)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        Qt::Alignment* a1;
        int a1State = 0;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            sipCpp->setAlignment(a0,*a1);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_setAlignment, doc_QGraphicsLinearLayout_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_alignment, "QGraphicsLinearLayout.alignment(QGraphicsLayoutItem) -> Qt.Alignment");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_alignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        const QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment(a0));

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_alignment, doc_QGraphicsLinearLayout_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_setGeometry, "QGraphicsLinearLayout.setGeometry(QRectF)");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_QRectF, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLinearLayout::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_setGeometry, doc_QGraphicsLinearLayout_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_count, "QGraphicsLinearLayout.count() -> int");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_count(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsLinearLayout::count() : sipCpp->count());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_count, doc_QGraphicsLinearLayout_count);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_itemAt, "QGraphicsLinearLayout.itemAt(int) -> QGraphicsLayoutItem");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, &a0))
        {
            QGraphicsLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsLinearLayout::itemAt(a0) : sipCpp->itemAt(a0));

            return sipConvertFromType(sipRes,sipType_QGraphicsLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_itemAt, doc_QGraphicsLinearLayout_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_invalidate, "QGraphicsLinearLayout.invalidate()");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsLinearLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLinearLayout::invalidate() : sipCpp->invalidate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_invalidate, doc_QGraphicsLinearLayout_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLinearLayout_sizeHint, "QGraphicsLinearLayout.sizeHint(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsLinearLayout_sizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLinearLayout_sizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const QGraphicsLinearLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_constraint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J9", &sipSelf, sipType_QGraphicsLinearLayout, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->QGraphicsLinearLayout::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLinearLayout, sipName_sizeHint, doc_QGraphicsLinearLayout_sizeHint);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsLinearLayout(void *, const sipTypeDef *);}
static void *cast_QGraphicsLinearLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsLinearLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsLayout)->ctd_cast((QGraphicsLayout *)(QGraphicsLinearLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsLinearLayout(void *, int);}
static void release_QGraphicsLinearLayout(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsLinearLayout *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsLinearLayout *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsLinearLayout(sipSimpleWrapper *);}
static void dealloc_QGraphicsLinearLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsLinearLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsLinearLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsLinearLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsLinearLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsLinearLayout *sipCpp = 0;

    {
        QGraphicsLayoutItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsLayoutItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsLinearLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Qt::Orientation a0;
        QGraphicsLayoutItem* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_Qt_Orientation, &a0, sipType_QGraphicsLayoutItem, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsLinearLayout(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsLinearLayout[] = {{128, 255, 1}};


static PyMethodDef methods_QGraphicsLinearLayout[] = {
    {SIP_MLNAME_CAST(sipName_addChildLayoutItem), (PyCFunction)meth_QGraphicsLinearLayout_addChildLayoutItem, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), meth_QGraphicsLinearLayout_addItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_addItem)},
    {SIP_MLNAME_CAST(sipName_addStretch), (PyCFunction)meth_QGraphicsLinearLayout_addStretch, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_addStretch)},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QGraphicsLinearLayout_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_alignment)},
    {SIP_MLNAME_CAST(sipName_count), meth_QGraphicsLinearLayout_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_count)},
    {SIP_MLNAME_CAST(sipName_insertItem), meth_QGraphicsLinearLayout_insertItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_insertItem)},
    {SIP_MLNAME_CAST(sipName_insertStretch), (PyCFunction)meth_QGraphicsLinearLayout_insertStretch, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_insertStretch)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QGraphicsLinearLayout_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_invalidate)},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QGraphicsLinearLayout_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_itemAt)},
    {SIP_MLNAME_CAST(sipName_itemSpacing), meth_QGraphicsLinearLayout_itemSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_itemSpacing)},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QGraphicsLinearLayout_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_orientation)},
    {SIP_MLNAME_CAST(sipName_removeAt), meth_QGraphicsLinearLayout_removeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_removeAt)},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_QGraphicsLinearLayout_removeItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_removeItem)},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QGraphicsLinearLayout_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QGraphicsLinearLayout_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), (PyCFunction)meth_QGraphicsLinearLayout_setGraphicsItem, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setItemSpacing), meth_QGraphicsLinearLayout_setItemSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_setItemSpacing)},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_QGraphicsLinearLayout_setOrientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_setOrientation)},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), (PyCFunction)meth_QGraphicsLinearLayout_setOwnedByLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_QGraphicsLinearLayout_setSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_setSpacing)},
    {SIP_MLNAME_CAST(sipName_setStretchFactor), meth_QGraphicsLinearLayout_setStretchFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_setStretchFactor)},
    {SIP_MLNAME_CAST(sipName_sizeHint), (PyCFunction)meth_QGraphicsLinearLayout_sizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_sizeHint)},
    {SIP_MLNAME_CAST(sipName_spacing), meth_QGraphicsLinearLayout_spacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_spacing)},
    {SIP_MLNAME_CAST(sipName_stretchFactor), meth_QGraphicsLinearLayout_stretchFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLinearLayout_stretchFactor)}
};

PyDoc_STRVAR(doc_QGraphicsLinearLayout, "\1QGraphicsLinearLayout(QGraphicsLayoutItem parent=None)\n"
    "QGraphicsLinearLayout(Qt.Orientation, QGraphicsLayoutItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsLinearLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsLinearLayout,
        {0}
    },
    {
        sipNameNr_QGraphicsLinearLayout,
        {0, 0, 1},
        24, methods_QGraphicsLinearLayout,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsLinearLayout,
    -1,
    -1,
    supers_QGraphicsLinearLayout,
    0,
    init_type_QGraphicsLinearLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsLinearLayout,
    0,
    0,
    0,
    release_QGraphicsLinearLayout,
    cast_QGraphicsLinearLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 293628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 293632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 293635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 293638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 293641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 293644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsLayoutItem : public QGraphicsLayoutItem
{
public:
    sipQGraphicsLayoutItem(QGraphicsLayoutItem*,bool);
    virtual ~sipQGraphicsLayoutItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QSizeF sipProtect_sizeHint(Qt::SizeHint,const QSizeF&) const;
    void sipProtect_setGraphicsItem(QGraphicsItem*);
    void sipProtect_setOwnedByLayout(bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void updateGeometry();
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    void setGeometry(const QRectF&);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsLayoutItem(const sipQGraphicsLayoutItem &);
    sipQGraphicsLayoutItem &operator = (const sipQGraphicsLayoutItem &);

    char sipPyMethods[4];
};

sipQGraphicsLayoutItem::sipQGraphicsLayoutItem(QGraphicsLayoutItem*a0,bool a1): QGraphicsLayoutItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsLayoutItem::~sipQGraphicsLayoutItem()
{
    sipCommonDtor(sipPySelf);
}

QSizeF sipQGraphicsLayoutItem::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_QGraphicsLayoutItem,sipName_sizeHint);

    if (!sipMeth)
        return QSizeF();

    extern QSizeF sipVH_QtWidgets_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return sipVH_QtWidgets_109(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsLayoutItem::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsLayoutItem::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsLayoutItem::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsLayoutItem::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    sipVH_QtWidgets_114(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQGraphicsLayoutItem::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsLayoutItem::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_45)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[45]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizeF sipQGraphicsLayoutItem::sipProtect_sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    return sizeHint(a0,a1);
}

void sipQGraphicsLayoutItem::sipProtect_setGraphicsItem(QGraphicsItem*a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipQGraphicsLayoutItem::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setSizePolicy, "QGraphicsLayoutItem.setSizePolicy(QSizePolicy)\n"
    "QGraphicsLayoutItem.setSizePolicy(QSizePolicy.Policy, QSizePolicy.Policy, QSizePolicy.ControlType controlType=QSizePolicy.DefaultType)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setSizePolicy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setSizePolicy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizePolicy* a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_QSizePolicy, &a0))
        {
            sipCpp->setSizePolicy(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QSizePolicy::Policy a0;
        QSizePolicy::Policy a1;
        QSizePolicy::ControlType a2 = QSizePolicy::DefaultType;
        QGraphicsLayoutItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_controlType,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEE|E", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_QSizePolicy_Policy, &a0, sipType_QSizePolicy_Policy, &a1, sipType_QSizePolicy_ControlType, &a2))
        {
            sipCpp->setSizePolicy(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setSizePolicy, doc_QGraphicsLayoutItem_setSizePolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_sizePolicy, "QGraphicsLayoutItem.sizePolicy() -> QSizePolicy");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_sizePolicy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_sizePolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            QSizePolicy*sipRes;

            sipRes = new QSizePolicy(sipCpp->sizePolicy());

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_sizePolicy, doc_QGraphicsLayoutItem_sizePolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setMinimumSize, "QGraphicsLayoutItem.setMinimumSize(QSizeF)\n"
    "QGraphicsLayoutItem.setMinimumSize(float, float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setMinimumSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setMinimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_QSizeF, &a0))
        {
            sipCpp->setMinimumSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0, &a1))
        {
            sipCpp->setMinimumSize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setMinimumSize, doc_QGraphicsLayoutItem_setMinimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_minimumSize, "QGraphicsLayoutItem.minimumSize() -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->minimumSize());

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_minimumSize, doc_QGraphicsLayoutItem_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setMinimumWidth, "QGraphicsLayoutItem.setMinimumWidth(float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setMinimumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setMinimumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0))
        {
            sipCpp->setMinimumWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setMinimumWidth, doc_QGraphicsLayoutItem_setMinimumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setMinimumHeight, "QGraphicsLayoutItem.setMinimumHeight(float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setMinimumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setMinimumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0))
        {
            sipCpp->setMinimumHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setMinimumHeight, doc_QGraphicsLayoutItem_setMinimumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setPreferredSize, "QGraphicsLayoutItem.setPreferredSize(QSizeF)\n"
    "QGraphicsLayoutItem.setPreferredSize(float, float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setPreferredSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setPreferredSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_QSizeF, &a0))
        {
            sipCpp->setPreferredSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0, &a1))
        {
            sipCpp->setPreferredSize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setPreferredSize, doc_QGraphicsLayoutItem_setPreferredSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_preferredSize, "QGraphicsLayoutItem.preferredSize() -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_preferredSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_preferredSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->preferredSize());

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_preferredSize, doc_QGraphicsLayoutItem_preferredSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setPreferredWidth, "QGraphicsLayoutItem.setPreferredWidth(float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setPreferredWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setPreferredWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0))
        {
            sipCpp->setPreferredWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setPreferredWidth, doc_QGraphicsLayoutItem_setPreferredWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setPreferredHeight, "QGraphicsLayoutItem.setPreferredHeight(float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setPreferredHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setPreferredHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0))
        {
            sipCpp->setPreferredHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setPreferredHeight, doc_QGraphicsLayoutItem_setPreferredHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setMaximumSize, "QGraphicsLayoutItem.setMaximumSize(QSizeF)\n"
    "QGraphicsLayoutItem.setMaximumSize(float, float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setMaximumSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setMaximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSizeF* a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_QSizeF, &a0))
        {
            sipCpp->setMaximumSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0, &a1))
        {
            sipCpp->setMaximumSize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setMaximumSize, doc_QGraphicsLayoutItem_setMaximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_maximumSize, "QGraphicsLayoutItem.maximumSize() -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_maximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->maximumSize());

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_maximumSize, doc_QGraphicsLayoutItem_maximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setMaximumWidth, "QGraphicsLayoutItem.setMaximumWidth(float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setMaximumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setMaximumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0))
        {
            sipCpp->setMaximumWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setMaximumWidth, doc_QGraphicsLayoutItem_setMaximumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setMaximumHeight, "QGraphicsLayoutItem.setMaximumHeight(float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setMaximumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setMaximumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0))
        {
            sipCpp->setMaximumHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setMaximumHeight, doc_QGraphicsLayoutItem_setMaximumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setGeometry, "QGraphicsLayoutItem.setGeometry(QRectF)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_QRectF, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLayoutItem::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setGeometry, doc_QGraphicsLayoutItem_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_geometry, "QGraphicsLayoutItem.geometry() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_geometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_geometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->geometry());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_geometry, doc_QGraphicsLayoutItem_geometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_getContentsMargins, "QGraphicsLayoutItem.getContentsMargins() -> (float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_getContentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_getContentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLayoutItem::getContentsMargins(&a0,&a1,&a2,&a3) : sipCpp->getContentsMargins(&a0,&a1,&a2,&a3));

            return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_getContentsMargins, doc_QGraphicsLayoutItem_getContentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_contentsRect, "QGraphicsLayoutItem.contentsRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_contentsRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_contentsRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->contentsRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_contentsRect, doc_QGraphicsLayoutItem_contentsRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_effectiveSizeHint, "QGraphicsLayoutItem.effectiveSizeHint(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_effectiveSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_effectiveSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const QGraphicsLayoutItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_constraint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J9", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->effectiveSizeHint(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_effectiveSizeHint, doc_QGraphicsLayoutItem_effectiveSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_updateGeometry, "QGraphicsLayoutItem.updateGeometry()");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLayoutItem::updateGeometry() : sipCpp->updateGeometry());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_updateGeometry, doc_QGraphicsLayoutItem_updateGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_parentLayoutItem, "QGraphicsLayoutItem.parentLayoutItem() -> QGraphicsLayoutItem");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_parentLayoutItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_parentLayoutItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            QGraphicsLayoutItem*sipRes;

            sipRes = sipCpp->parentLayoutItem();

            return sipConvertFromType(sipRes,sipType_QGraphicsLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_parentLayoutItem, doc_QGraphicsLayoutItem_parentLayoutItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setParentLayoutItem, "QGraphicsLayoutItem.setParentLayoutItem(QGraphicsLayoutItem)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setParentLayoutItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setParentLayoutItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        sipWrapper *sipOwner = 0;
        QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJH", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_QGraphicsLayoutItem, &a0, &sipOwner))
        {
            sipCpp->setParentLayoutItem(a0);

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setParentLayoutItem, doc_QGraphicsLayoutItem_setParentLayoutItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_isLayout, "QGraphicsLayoutItem.isLayout() -> bool");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_isLayout(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_isLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isLayout();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_isLayout, doc_QGraphicsLayoutItem_isLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_minimumWidth, "QGraphicsLayoutItem.minimumWidth() -> float");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_minimumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_minimumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->minimumWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_minimumWidth, doc_QGraphicsLayoutItem_minimumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_minimumHeight, "QGraphicsLayoutItem.minimumHeight() -> float");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_minimumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_minimumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->minimumHeight();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_minimumHeight, doc_QGraphicsLayoutItem_minimumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_preferredWidth, "QGraphicsLayoutItem.preferredWidth() -> float");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_preferredWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_preferredWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->preferredWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_preferredWidth, doc_QGraphicsLayoutItem_preferredWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_preferredHeight, "QGraphicsLayoutItem.preferredHeight() -> float");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_preferredHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_preferredHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->preferredHeight();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_preferredHeight, doc_QGraphicsLayoutItem_preferredHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_maximumWidth, "QGraphicsLayoutItem.maximumWidth() -> float");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_maximumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_maximumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->maximumWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_maximumWidth, doc_QGraphicsLayoutItem_maximumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_maximumHeight, "QGraphicsLayoutItem.maximumHeight() -> float");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_maximumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_maximumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->maximumHeight();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_maximumHeight, doc_QGraphicsLayoutItem_maximumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_graphicsItem, "QGraphicsLayoutItem.graphicsItem() -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_graphicsItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_graphicsItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->graphicsItem();

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_graphicsItem, doc_QGraphicsLayoutItem_graphicsItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_ownedByLayout, "QGraphicsLayoutItem.ownedByLayout() -> bool");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_ownedByLayout(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_ownedByLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayoutItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->ownedByLayout();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_ownedByLayout, doc_QGraphicsLayoutItem_ownedByLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_sizeHint, "QGraphicsLayoutItem.sizeHint(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_sizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_sizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const sipQGraphicsLayoutItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_constraint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J9", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGraphicsLayoutItem, sipName_sizeHint);
                return NULL;
            }

            sipRes = new QSizeF(sipCpp->sipProtect_sizeHint(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_sizeHint, doc_QGraphicsLayoutItem_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setGraphicsItem, "QGraphicsLayoutItem.setGraphicsItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setGraphicsItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        sipQGraphicsLayoutItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->sipProtect_setGraphicsItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setGraphicsItem, doc_QGraphicsLayoutItem_setGraphicsItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayoutItem_setOwnedByLayout, "QGraphicsLayoutItem.setOwnedByLayout(bool)");

extern "C" {static PyObject *meth_QGraphicsLayoutItem_setOwnedByLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayoutItem_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipQGraphicsLayoutItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsLayoutItem, &sipCpp, &a0))
        {
            sipCpp->sipProtect_setOwnedByLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayoutItem, sipName_setOwnedByLayout, doc_QGraphicsLayoutItem_setOwnedByLayout);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsLayoutItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsLayoutItem(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGraphicsLayoutItem)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsLayoutItem(void *, int);}
static void release_QGraphicsLayoutItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsLayoutItem *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsLayoutItem *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsLayoutItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsLayoutItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsLayoutItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsLayoutItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsLayoutItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsLayoutItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsLayoutItem *sipCpp = 0;

    {
        QGraphicsLayoutItem* a0 = 0;
        bool a1 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_isLayout,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHb", sipType_QGraphicsLayoutItem, &a0, sipOwner, &a1))
        {
            sipCpp = new sipQGraphicsLayoutItem(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QGraphicsLayoutItem[] = {
    {SIP_MLNAME_CAST(sipName_contentsRect), meth_QGraphicsLayoutItem_contentsRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_contentsRect)},
    {SIP_MLNAME_CAST(sipName_effectiveSizeHint), (PyCFunction)meth_QGraphicsLayoutItem_effectiveSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_effectiveSizeHint)},
    {SIP_MLNAME_CAST(sipName_geometry), meth_QGraphicsLayoutItem_geometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_geometry)},
    {SIP_MLNAME_CAST(sipName_getContentsMargins), meth_QGraphicsLayoutItem_getContentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_getContentsMargins)},
    {SIP_MLNAME_CAST(sipName_graphicsItem), meth_QGraphicsLayoutItem_graphicsItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_graphicsItem)},
    {SIP_MLNAME_CAST(sipName_isLayout), meth_QGraphicsLayoutItem_isLayout, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_isLayout)},
    {SIP_MLNAME_CAST(sipName_maximumHeight), meth_QGraphicsLayoutItem_maximumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_maximumHeight)},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_QGraphicsLayoutItem_maximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_maximumSize)},
    {SIP_MLNAME_CAST(sipName_maximumWidth), meth_QGraphicsLayoutItem_maximumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_maximumWidth)},
    {SIP_MLNAME_CAST(sipName_minimumHeight), meth_QGraphicsLayoutItem_minimumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_minimumHeight)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QGraphicsLayoutItem_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_minimumSize)},
    {SIP_MLNAME_CAST(sipName_minimumWidth), meth_QGraphicsLayoutItem_minimumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_minimumWidth)},
    {SIP_MLNAME_CAST(sipName_ownedByLayout), meth_QGraphicsLayoutItem_ownedByLayout, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_ownedByLayout)},
    {SIP_MLNAME_CAST(sipName_parentLayoutItem), meth_QGraphicsLayoutItem_parentLayoutItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_parentLayoutItem)},
    {SIP_MLNAME_CAST(sipName_preferredHeight), meth_QGraphicsLayoutItem_preferredHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_preferredHeight)},
    {SIP_MLNAME_CAST(sipName_preferredSize), meth_QGraphicsLayoutItem_preferredSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_preferredSize)},
    {SIP_MLNAME_CAST(sipName_preferredWidth), meth_QGraphicsLayoutItem_preferredWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_preferredWidth)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QGraphicsLayoutItem_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), (PyCFunction)meth_QGraphicsLayoutItem_setGraphicsItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setGraphicsItem)},
    {SIP_MLNAME_CAST(sipName_setMaximumHeight), meth_QGraphicsLayoutItem_setMaximumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setMaximumHeight)},
    {SIP_MLNAME_CAST(sipName_setMaximumSize), meth_QGraphicsLayoutItem_setMaximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setMaximumSize)},
    {SIP_MLNAME_CAST(sipName_setMaximumWidth), meth_QGraphicsLayoutItem_setMaximumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setMaximumWidth)},
    {SIP_MLNAME_CAST(sipName_setMinimumHeight), meth_QGraphicsLayoutItem_setMinimumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setMinimumHeight)},
    {SIP_MLNAME_CAST(sipName_setMinimumSize), meth_QGraphicsLayoutItem_setMinimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setMinimumSize)},
    {SIP_MLNAME_CAST(sipName_setMinimumWidth), meth_QGraphicsLayoutItem_setMinimumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setMinimumWidth)},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), (PyCFunction)meth_QGraphicsLayoutItem_setOwnedByLayout, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setOwnedByLayout)},
    {SIP_MLNAME_CAST(sipName_setParentLayoutItem), meth_QGraphicsLayoutItem_setParentLayoutItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setParentLayoutItem)},
    {SIP_MLNAME_CAST(sipName_setPreferredHeight), meth_QGraphicsLayoutItem_setPreferredHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setPreferredHeight)},
    {SIP_MLNAME_CAST(sipName_setPreferredSize), meth_QGraphicsLayoutItem_setPreferredSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setPreferredSize)},
    {SIP_MLNAME_CAST(sipName_setPreferredWidth), meth_QGraphicsLayoutItem_setPreferredWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setPreferredWidth)},
    {SIP_MLNAME_CAST(sipName_setSizePolicy), (PyCFunction)meth_QGraphicsLayoutItem_setSizePolicy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_setSizePolicy)},
    {SIP_MLNAME_CAST(sipName_sizeHint), (PyCFunction)meth_QGraphicsLayoutItem_sizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_sizeHint)},
    {SIP_MLNAME_CAST(sipName_sizePolicy), meth_QGraphicsLayoutItem_sizePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_sizePolicy)},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_QGraphicsLayoutItem_updateGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayoutItem_updateGeometry)}
};

PyDoc_STRVAR(doc_QGraphicsLayoutItem, "\1QGraphicsLayoutItem(QGraphicsLayoutItem parent=None, bool isLayout=False)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsLayoutItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsLayoutItem,
        {0}
    },
    {
        sipNameNr_QGraphicsLayoutItem,
        {0, 0, 1},
        34, methods_QGraphicsLayoutItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsLayoutItem,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QGraphicsLayoutItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsLayoutItem,
    0,
    0,
    0,
    release_QGraphicsLayoutItem,
    cast_QGraphicsLayoutItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 294954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 294958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 294961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 294964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 294967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 294970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 294973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 294976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 294979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 294982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 294985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 294988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 294991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qtextcursor.sip"
#include <qtextcursor.h>
#line 294994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 294997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 40 "sip/QtGui/qtextdocument.sip"
#include <qtextdocument.h>
#line 295000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 295003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 295006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 295009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 295012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 295015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 295018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 295021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 295024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 295027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 295030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 295033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 295036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 295039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 295042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 295045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 295048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 295051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 295054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 295057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 295060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 295063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 295066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 295069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 295072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 295075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 295078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 295081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 295084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 295087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 295090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 295093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 295096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 295099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 295102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 295105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 295108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 295111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 295114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsTextItem : public QGraphicsTextItem
{
public:
    sipQGraphicsTextItem(QGraphicsItem*);
    sipQGraphicsTextItem(const QString&,QGraphicsItem*);
    virtual ~sipQGraphicsTextItem();

    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.
     */
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_updateMicroFocus();
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    void advance(int);
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void inputMethodEvent(QInputMethodEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    bool sceneEvent(QEvent*);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsTextItem(const sipQGraphicsTextItem &);
    sipQGraphicsTextItem &operator = (const sipQGraphicsTextItem &);

    char sipPyMethods[39];
};

sipQGraphicsTextItem::sipQGraphicsTextItem(QGraphicsItem*a0): QGraphicsTextItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsTextItem::sipQGraphicsTextItem(const QString& a0,QGraphicsItem*a1): QGraphicsTextItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsTextItem::~sipQGraphicsTextItem()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsTextItem::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsTextItem);
}

int sipQGraphicsTextItem::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsTextItem::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsTextItem,_c,_id,_a);

    return _id;
}

void *sipQGraphicsTextItem::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsTextItem, _clname, &sipCpp) ? sipCpp : QGraphicsTextItem::qt_metacast(_clname));
}

void sipQGraphicsTextItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsTextItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsTextItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsTextItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsTextItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsTextItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsTextItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsTextItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsTextItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsTextItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsTextItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsTextItem::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsTextItem::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsTextItem::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsTextItem::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsTextItem::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsTextItem::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsTextItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsTextItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsTextItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsTextItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsTextItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsTextItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsTextItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPainterPath sipQGraphicsTextItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsTextItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsTextItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsTextItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsTextItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsTextItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGraphicsTextItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsTextItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsTextItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsTextItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsTextItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsTextItem::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQGraphicsTextItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsTextItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsTextItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsTextItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

QObject* sipQGraphicsTextItem::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsTextItem::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsTextItem::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsTextItem::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsTextItem::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsTextItem::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

bool sipQGraphicsTextItem::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsObject::event(a0) : event(a0));
}

bool sipQGraphicsTextItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsTextItem::sceneEvent(a0) : sceneEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsTextItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsTextItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

QVariant sipQGraphicsTextItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsTextItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}


PyDoc_STRVAR(doc_QGraphicsTextItem_itemChange, "QGraphicsTextItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsTextItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsTextItem, sipName_itemChange, doc_QGraphicsTextItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_prepareGeometryChange, "QGraphicsTextItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsTextItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_prepareGeometryChange, doc_QGraphicsTextItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_sceneEventFilter, "QGraphicsTextItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsTextItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_sceneEventFilter, doc_QGraphicsTextItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_wheelEvent, "QGraphicsTextItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_wheelEvent, doc_QGraphicsTextItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_sender, "QGraphicsTextItem.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsTextItem_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 296246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_sender, doc_QGraphicsTextItem_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_receivers, "QGraphicsTextItem.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsTextItem_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 296305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_receivers, doc_QGraphicsTextItem_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_timerEvent, "QGraphicsTextItem.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_timerEvent, doc_QGraphicsTextItem_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_childEvent, "QGraphicsTextItem.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_childEvent, doc_QGraphicsTextItem_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_customEvent, "QGraphicsTextItem.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_customEvent, doc_QGraphicsTextItem_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_connectNotify, "QGraphicsTextItem.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsTextItem_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_connectNotify, doc_QGraphicsTextItem_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_disconnectNotify, "QGraphicsTextItem.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsTextItem_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_disconnectNotify, doc_QGraphicsTextItem_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_senderSignalIndex, "QGraphicsTextItem.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsTextItem_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_senderSignalIndex, doc_QGraphicsTextItem_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_isSignalConnected, "QGraphicsTextItem.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsTextItem_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_isSignalConnected, doc_QGraphicsTextItem_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_updateMicroFocus, "QGraphicsTextItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsTextItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_updateMicroFocus, doc_QGraphicsTextItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_event, "QGraphicsTextItem.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsTextItem_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_event, doc_QGraphicsTextItem_event);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_toHtml, "QGraphicsTextItem.toHtml() -> str");

extern "C" {static PyObject *meth_QGraphicsTextItem_toHtml(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_toHtml(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toHtml());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_toHtml, doc_QGraphicsTextItem_toHtml);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setHtml, "QGraphicsTextItem.setHtml(str)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setHtml(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setHtml(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setHtml(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setHtml, doc_QGraphicsTextItem_setHtml);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_toPlainText, "QGraphicsTextItem.toPlainText() -> str");

extern "C" {static PyObject *meth_QGraphicsTextItem_toPlainText(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_toPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toPlainText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_toPlainText, doc_QGraphicsTextItem_toPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setPlainText, "QGraphicsTextItem.setPlainText(str)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setPlainText(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setPlainText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPlainText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setPlainText, doc_QGraphicsTextItem_setPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_font, "QGraphicsTextItem.font() -> QFont");

extern "C" {static PyObject *meth_QGraphicsTextItem_font(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_font, doc_QGraphicsTextItem_font);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setFont, "QGraphicsTextItem.setFont(QFont)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setFont(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setFont, doc_QGraphicsTextItem_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setDefaultTextColor, "QGraphicsTextItem.setDefaultTextColor(QColor)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setDefaultTextColor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setDefaultTextColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setDefaultTextColor(*a0);
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setDefaultTextColor, doc_QGraphicsTextItem_setDefaultTextColor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_defaultTextColor, "QGraphicsTextItem.defaultTextColor() -> QColor");

extern "C" {static PyObject *meth_QGraphicsTextItem_defaultTextColor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_defaultTextColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QColor*sipRes;

            sipRes = new QColor(sipCpp->defaultTextColor());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_defaultTextColor, doc_QGraphicsTextItem_defaultTextColor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_boundingRect, "QGraphicsTextItem.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsTextItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsTextItem::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_boundingRect, doc_QGraphicsTextItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_shape, "QGraphicsTextItem.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsTextItem_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsTextItem::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_shape, doc_QGraphicsTextItem_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_contains, "QGraphicsTextItem.contains(QPointF) -> bool");

extern "C" {static PyObject *meth_QGraphicsTextItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsTextItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_contains, doc_QGraphicsTextItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_paint, "QGraphicsTextItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget)");

extern "C" {static PyObject *meth_QGraphicsTextItem_paint(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsTextItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_paint, doc_QGraphicsTextItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_isObscuredBy, "QGraphicsTextItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsTextItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsTextItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_isObscuredBy, doc_QGraphicsTextItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_opaqueArea, "QGraphicsTextItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsTextItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsTextItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_opaqueArea, doc_QGraphicsTextItem_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_type, "QGraphicsTextItem.type() -> int");

extern "C" {static PyObject *meth_QGraphicsTextItem_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsTextItem::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_type, doc_QGraphicsTextItem_type);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setTextWidth, "QGraphicsTextItem.setTextWidth(float)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setTextWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setTextWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, &a0))
        {
            sipCpp->setTextWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setTextWidth, doc_QGraphicsTextItem_setTextWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_textWidth, "QGraphicsTextItem.textWidth() -> float");

extern "C" {static PyObject *meth_QGraphicsTextItem_textWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_textWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->textWidth();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_textWidth, doc_QGraphicsTextItem_textWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_adjustSize, "QGraphicsTextItem.adjustSize()");

extern "C" {static PyObject *meth_QGraphicsTextItem_adjustSize(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_adjustSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            sipCpp->adjustSize();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_adjustSize, doc_QGraphicsTextItem_adjustSize);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setDocument, "QGraphicsTextItem.setDocument(QTextDocument)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setDocument(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setDocument(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QTextDocument* a0;
        PyObject *a0Keep;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, &a0Keep, sipType_QTextDocument, &a0))
        {
            sipCpp->setDocument(a0);

            sipKeepReference(sipSelf, -25, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setDocument, doc_QGraphicsTextItem_setDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_document, "QGraphicsTextItem.document() -> QTextDocument");

extern "C" {static PyObject *meth_QGraphicsTextItem_document(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_document(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QTextDocument*sipRes;

            sipRes = sipCpp->document();

            return sipConvertFromType(sipRes,sipType_QTextDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_document, doc_QGraphicsTextItem_document);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setTextInteractionFlags, "QGraphicsTextItem.setTextInteractionFlags(Qt.TextInteractionFlags)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setTextInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setTextInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextInteractionFlags* a0;
        int a0State = 0;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_Qt_TextInteractionFlags, &a0, &a0State))
        {
            sipCpp->setTextInteractionFlags(*a0);
            sipReleaseType(a0,sipType_Qt_TextInteractionFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setTextInteractionFlags, doc_QGraphicsTextItem_setTextInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_textInteractionFlags, "QGraphicsTextItem.textInteractionFlags() -> Qt.TextInteractionFlags");

extern "C" {static PyObject *meth_QGraphicsTextItem_textInteractionFlags(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_textInteractionFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            Qt::TextInteractionFlags*sipRes;

            sipRes = new Qt::TextInteractionFlags(sipCpp->textInteractionFlags());

            return sipConvertFromNewType(sipRes,sipType_Qt_TextInteractionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_textInteractionFlags, doc_QGraphicsTextItem_textInteractionFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setTabChangesFocus, "QGraphicsTextItem.setTabChangesFocus(bool)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setTabChangesFocus(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setTabChangesFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, &a0))
        {
            sipCpp->setTabChangesFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setTabChangesFocus, doc_QGraphicsTextItem_setTabChangesFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_tabChangesFocus, "QGraphicsTextItem.tabChangesFocus() -> bool");

extern "C" {static PyObject *meth_QGraphicsTextItem_tabChangesFocus(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_tabChangesFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tabChangesFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_tabChangesFocus, doc_QGraphicsTextItem_tabChangesFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setOpenExternalLinks, "QGraphicsTextItem.setOpenExternalLinks(bool)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setOpenExternalLinks(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setOpenExternalLinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, &a0))
        {
            sipCpp->setOpenExternalLinks(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setOpenExternalLinks, doc_QGraphicsTextItem_setOpenExternalLinks);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_openExternalLinks, "QGraphicsTextItem.openExternalLinks() -> bool");

extern "C" {static PyObject *meth_QGraphicsTextItem_openExternalLinks(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_openExternalLinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->openExternalLinks();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_openExternalLinks, doc_QGraphicsTextItem_openExternalLinks);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_setTextCursor, "QGraphicsTextItem.setTextCursor(QTextCursor)");

extern "C" {static PyObject *meth_QGraphicsTextItem_setTextCursor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_setTextCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCursor* a0;
        QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QTextCursor, &a0))
        {
            sipCpp->setTextCursor(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_setTextCursor, doc_QGraphicsTextItem_setTextCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_textCursor, "QGraphicsTextItem.textCursor() -> QTextCursor");

extern "C" {static PyObject *meth_QGraphicsTextItem_textCursor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_textCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsTextItem, &sipCpp))
        {
            QTextCursor*sipRes;

            sipRes = new QTextCursor(sipCpp->textCursor());

            return sipConvertFromNewType(sipRes,sipType_QTextCursor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_textCursor, doc_QGraphicsTextItem_textCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_sceneEvent, "QGraphicsTextItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsTextItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_sceneEvent, doc_QGraphicsTextItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_mousePressEvent, "QGraphicsTextItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_mousePressEvent, doc_QGraphicsTextItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_mouseMoveEvent, "QGraphicsTextItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_mouseMoveEvent, doc_QGraphicsTextItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_mouseReleaseEvent, "QGraphicsTextItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_mouseReleaseEvent, doc_QGraphicsTextItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_mouseDoubleClickEvent, "QGraphicsTextItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_mouseDoubleClickEvent, doc_QGraphicsTextItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_contextMenuEvent, "QGraphicsTextItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_contextMenuEvent, doc_QGraphicsTextItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_keyPressEvent, "QGraphicsTextItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_keyPressEvent, doc_QGraphicsTextItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_keyReleaseEvent, "QGraphicsTextItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_keyReleaseEvent, doc_QGraphicsTextItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_focusInEvent, "QGraphicsTextItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_focusInEvent, doc_QGraphicsTextItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_focusOutEvent, "QGraphicsTextItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_focusOutEvent, doc_QGraphicsTextItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_dragEnterEvent, "QGraphicsTextItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_dragEnterEvent, doc_QGraphicsTextItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_dragLeaveEvent, "QGraphicsTextItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_dragLeaveEvent, doc_QGraphicsTextItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_dragMoveEvent, "QGraphicsTextItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_dragMoveEvent, doc_QGraphicsTextItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_dropEvent, "QGraphicsTextItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_dropEvent, doc_QGraphicsTextItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_inputMethodEvent, "QGraphicsTextItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_inputMethodEvent, doc_QGraphicsTextItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_hoverEnterEvent, "QGraphicsTextItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_hoverEnterEvent, doc_QGraphicsTextItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_hoverMoveEvent, "QGraphicsTextItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_hoverMoveEvent, doc_QGraphicsTextItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_hoverLeaveEvent, "QGraphicsTextItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsTextItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_hoverLeaveEvent, doc_QGraphicsTextItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsTextItem_inputMethodQuery, "QGraphicsTextItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsTextItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsTextItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsTextItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsTextItem, sipName_inputMethodQuery, doc_QGraphicsTextItem_inputMethodQuery);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsTextItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsTextItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsTextItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsObject)->ctd_cast((QGraphicsObject *)(QGraphicsTextItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsTextItem(void *, int);}
static void release_QGraphicsTextItem(void *sipCppV,int)
{
    QGraphicsTextItem *sipCpp = reinterpret_cast<QGraphicsTextItem *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsTextItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsTextItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsTextItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsTextItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsTextItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsTextItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsTextItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsTextItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QGraphicsItem* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QGraphicsItem, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsTextItem(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsTextItem[] = {{132, 255, 1}};


static PyMethodDef methods_QGraphicsTextItem[] = {
    {SIP_MLNAME_CAST(sipName_adjustSize), meth_QGraphicsTextItem_adjustSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_adjustSize)},
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsTextItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsTextItem_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsTextItem_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contains), meth_QGraphicsTextItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_contains)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsTextItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsTextItem_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultTextColor), meth_QGraphicsTextItem_defaultTextColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_defaultTextColor)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsTextItem_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_document), meth_QGraphicsTextItem_document, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_document)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsTextItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsTextItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsTextItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsTextItem_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_dropEvent)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QGraphicsTextItem_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsTextItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsTextItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_font), meth_QGraphicsTextItem_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_font)},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsTextItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_hoverEnterEvent)},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsTextItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_hoverLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsTextItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_hoverMoveEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsTextItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsTextItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsTextItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsTextItem_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsTextItem_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsTextItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsTextItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsTextItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsTextItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsTextItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsTextItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsTextItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_openExternalLinks), meth_QGraphicsTextItem_openExternalLinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_openExternalLinks)},
    {SIP_MLNAME_CAST(sipName_paint), meth_QGraphicsTextItem_paint, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_paint)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsTextItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsTextItem_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsTextItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_sceneEvent)},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsTextItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsTextItem_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsTextItem_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultTextColor), meth_QGraphicsTextItem_setDefaultTextColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setDefaultTextColor)},
    {SIP_MLNAME_CAST(sipName_setDocument), meth_QGraphicsTextItem_setDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setDocument)},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QGraphicsTextItem_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setFont)},
    {SIP_MLNAME_CAST(sipName_setHtml), meth_QGraphicsTextItem_setHtml, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setHtml)},
    {SIP_MLNAME_CAST(sipName_setOpenExternalLinks), meth_QGraphicsTextItem_setOpenExternalLinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setOpenExternalLinks)},
    {SIP_MLNAME_CAST(sipName_setPlainText), meth_QGraphicsTextItem_setPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setPlainText)},
    {SIP_MLNAME_CAST(sipName_setTabChangesFocus), meth_QGraphicsTextItem_setTabChangesFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setTabChangesFocus)},
    {SIP_MLNAME_CAST(sipName_setTextCursor), meth_QGraphicsTextItem_setTextCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setTextCursor)},
    {SIP_MLNAME_CAST(sipName_setTextInteractionFlags), meth_QGraphicsTextItem_setTextInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setTextInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_setTextWidth), meth_QGraphicsTextItem_setTextWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_setTextWidth)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsTextItem_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_shape)},
    {SIP_MLNAME_CAST(sipName_tabChangesFocus), meth_QGraphicsTextItem_tabChangesFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_tabChangesFocus)},
    {SIP_MLNAME_CAST(sipName_textCursor), meth_QGraphicsTextItem_textCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_textCursor)},
    {SIP_MLNAME_CAST(sipName_textInteractionFlags), meth_QGraphicsTextItem_textInteractionFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_textInteractionFlags)},
    {SIP_MLNAME_CAST(sipName_textWidth), meth_QGraphicsTextItem_textWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_textWidth)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsTextItem_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toHtml), meth_QGraphicsTextItem_toHtml, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_toHtml)},
    {SIP_MLNAME_CAST(sipName_toPlainText), meth_QGraphicsTextItem_toPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_toPlainText)},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsTextItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsTextItem_type)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsTextItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsTextItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsTextItem[] = {
    {"linkHovered(QString)", "\1QGraphicsTextItem.linkHovered[str]", 0, 0},
    {"linkActivated(QString)", "\1QGraphicsTextItem.linkActivated[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsTextItem, "\1QGraphicsTextItem(QGraphicsItem parent=None)\n"
    "QGraphicsTextItem(str, QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsTextItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsTextItem,
        {0}
    },
    {
        sipNameNr_QGraphicsTextItem,
        {0, 0, 1},
        62, methods_QGraphicsTextItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsTextItem,
    -1,
    -1,
    supers_QGraphicsTextItem,
    0,
    init_type_QGraphicsTextItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsTextItem,
    0,
    0,
    0,
    release_QGraphicsTextItem,
    cast_QGraphicsTextItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsTextItem::staticMetaObject,
    0,
    signals_QGraphicsTextItem,
    0
};

#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 298116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 298120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 298123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 298126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 298129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 298132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 298135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 298138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 298141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 298144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 298147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 298150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 298153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 298156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 298159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 298162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 298165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 298168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 298171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 298174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 298177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 298180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 298183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 298186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 298189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 298192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 298195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 298198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 298201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 298204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 298207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 298210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 298213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 298216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 298219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 298222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 298225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 298228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 298231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 298234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 298237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 298240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 298243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 298246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 298249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 298252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 298255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 298258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsObject : public QGraphicsObject
{
public:
    sipQGraphicsObject(QGraphicsItem*);
    virtual ~sipQGraphicsObject();

    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.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_updateMicroFocus();
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    int type() const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void advance(int);
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsObject(const sipQGraphicsObject &);
    sipQGraphicsObject &operator = (const sipQGraphicsObject &);

    char sipPyMethods[39];
};

sipQGraphicsObject::sipQGraphicsObject(QGraphicsItem*a0): QGraphicsObject(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsObject::~sipQGraphicsObject()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsObject::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsObject);
}

int sipQGraphicsObject::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsObject::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsObject,_c,_id,_a);

    return _id;
}

void *sipQGraphicsObject::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsObject, _clname, &sipCpp) ? sipCpp : QGraphicsObject::qt_metacast(_clname));
}

void sipQGraphicsObject::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsObject::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsObject::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsObject::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsObject::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsObject::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsObject::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsObject::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsObject::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsObject::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsObject::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsObject::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsObject::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsObject::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsObject::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsObject::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsObject::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsObject::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsObject::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsObject::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsObject::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsObject::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsObject::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsObject::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsObject::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsObject::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsObject::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsObject::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsObject::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsObject::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,sipName_QGraphicsObject,sipName_paint);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QPainterPath sipQGraphicsObject::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsObject::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsObject::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsObject::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsObject::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsObject::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsObject::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsObject::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsObject::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsObject::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsObject::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsObject::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsObject::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,sipName_QGraphicsObject,sipName_boundingRect);

    if (!sipMeth)
        return QRectF();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsObject::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsObject::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsObject::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsObject::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsObject::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsObject::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsObject::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsObject::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsObject::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsObject::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsObject::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsObject::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsObject::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsObject::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsObject::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsObject::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsObject::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsObject::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsObject::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

QObject* sipQGraphicsObject::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsObject::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsObject::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsObject::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsObject::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsObject::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsObject::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsObject::sipProtect_updateMicroFocus()
{
    QGraphicsObject::updateMicroFocus();
}

bool sipQGraphicsObject::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsObject::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QGraphicsObject_contextMenuEvent, "QGraphicsObject.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_contextMenuEvent, doc_QGraphicsObject_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_dragEnterEvent, "QGraphicsObject.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_dragEnterEvent, doc_QGraphicsObject_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_dragLeaveEvent, "QGraphicsObject.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_dragLeaveEvent, doc_QGraphicsObject_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_dragMoveEvent, "QGraphicsObject.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_dragMoveEvent, doc_QGraphicsObject_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_dropEvent, "QGraphicsObject.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_dropEvent, doc_QGraphicsObject_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_focusInEvent, "QGraphicsObject.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_focusInEvent, doc_QGraphicsObject_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_focusOutEvent, "QGraphicsObject.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_focusOutEvent, doc_QGraphicsObject_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_hoverEnterEvent, "QGraphicsObject.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_hoverEnterEvent, doc_QGraphicsObject_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_hoverLeaveEvent, "QGraphicsObject.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_hoverLeaveEvent, doc_QGraphicsObject_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_hoverMoveEvent, "QGraphicsObject.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_hoverMoveEvent, doc_QGraphicsObject_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_inputMethodEvent, "QGraphicsObject.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_inputMethodEvent, doc_QGraphicsObject_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_inputMethodQuery, "QGraphicsObject.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsObject_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_inputMethodQuery, doc_QGraphicsObject_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_itemChange, "QGraphicsObject.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsObject_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsObject, sipName_itemChange, doc_QGraphicsObject_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_keyPressEvent, "QGraphicsObject.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_keyPressEvent, doc_QGraphicsObject_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_keyReleaseEvent, "QGraphicsObject.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_keyReleaseEvent, doc_QGraphicsObject_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_mouseDoubleClickEvent, "QGraphicsObject.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_mouseDoubleClickEvent, doc_QGraphicsObject_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_mouseMoveEvent, "QGraphicsObject.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_mouseMoveEvent, doc_QGraphicsObject_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_mousePressEvent, "QGraphicsObject.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_mousePressEvent, doc_QGraphicsObject_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_mouseReleaseEvent, "QGraphicsObject.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_mouseReleaseEvent, doc_QGraphicsObject_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_prepareGeometryChange, "QGraphicsObject.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsObject_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsObject, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_prepareGeometryChange, doc_QGraphicsObject_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_sceneEvent, "QGraphicsObject.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsObject_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_sceneEvent, doc_QGraphicsObject_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_sceneEventFilter, "QGraphicsObject.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsObject_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_sceneEventFilter, doc_QGraphicsObject_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_wheelEvent, "QGraphicsObject.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_wheelEvent, doc_QGraphicsObject_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_sender, "QGraphicsObject.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsObject_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsObject, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 299915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_sender, doc_QGraphicsObject_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_receivers, "QGraphicsObject.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsObject_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsObject, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 299974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_receivers, doc_QGraphicsObject_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_timerEvent, "QGraphicsObject.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_timerEvent, doc_QGraphicsObject_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_childEvent, "QGraphicsObject.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_childEvent, doc_QGraphicsObject_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_customEvent, "QGraphicsObject.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsObject_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_customEvent, doc_QGraphicsObject_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_connectNotify, "QGraphicsObject.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsObject_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_connectNotify, doc_QGraphicsObject_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_disconnectNotify, "QGraphicsObject.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsObject_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_disconnectNotify, doc_QGraphicsObject_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_senderSignalIndex, "QGraphicsObject.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsObject_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsObject, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_senderSignalIndex, doc_QGraphicsObject_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_isSignalConnected, "QGraphicsObject.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsObject_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_isSignalConnected, doc_QGraphicsObject_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_grabGesture, "QGraphicsObject.grabGesture(Qt.GestureType, Qt.GestureFlags flags=Qt.GestureFlags(0))");

extern "C" {static PyObject *meth_QGraphicsObject_grabGesture(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_grabGesture(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::GestureType a0;
        Qt::GestureFlags a1def = Qt::GestureFlags(0);
        Qt::GestureFlags* a1 = &a1def;
        int a1State = 0;
        QGraphicsObject *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J1", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_Qt_GestureType, &a0, sipType_Qt_GestureFlags, &a1, &a1State))
        {
            sipCpp->grabGesture(a0,*a1);
            sipReleaseType(a1,sipType_Qt_GestureFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_grabGesture, doc_QGraphicsObject_grabGesture);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_ungrabGesture, "QGraphicsObject.ungrabGesture(Qt.GestureType)");

extern "C" {static PyObject *meth_QGraphicsObject_ungrabGesture(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_ungrabGesture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::GestureType a0;
        QGraphicsObject *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_Qt_GestureType, &a0))
        {
            sipCpp->ungrabGesture(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_ungrabGesture, doc_QGraphicsObject_ungrabGesture);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_updateMicroFocus, "QGraphicsObject.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsObject_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsObject, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_updateMicroFocus, doc_QGraphicsObject_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsObject_event, "QGraphicsObject.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsObject_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsObject_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsObject *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsObject, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsObject, sipName_event, doc_QGraphicsObject_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsObject(void *, const sipTypeDef *);}
static void *cast_QGraphicsObject(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsObject)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QGraphicsObject *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsItem)->ctd_cast((QGraphicsItem *)(QGraphicsObject *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsObject(void *, int);}
static void release_QGraphicsObject(void *sipCppV,int)
{
    QGraphicsObject *sipCpp = reinterpret_cast<QGraphicsObject *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsObject(sipSimpleWrapper *);}
static void dealloc_QGraphicsObject(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsObject *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsObject(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsObject(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsObject(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsObject *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsObject(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsObject[] = {{162, 0, 0}, {121, 255, 1}};


static PyMethodDef methods_QGraphicsObject[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsObject_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsObject_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsObject_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsObject_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsObject_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsObject_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsObject_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsObject_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsObject_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QGraphicsObject_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsObject_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsObject_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsObject_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_grabGesture), (PyCFunction)meth_QGraphicsObject_grabGesture, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsObject_grabGesture)},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsObject_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsObject_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsObject_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsObject_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsObject_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsObject_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsObject_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsObject_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsObject_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsObject_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsObject_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsObject_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsObject_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsObject_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsObject_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsObject_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsObject_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsObject_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsObject_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsObject_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_ungrabGesture), meth_QGraphicsObject_ungrabGesture, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsObject_ungrabGesture)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsObject_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsObject_updateMicroFocus)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsObject_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsObject[] = {
    {"scaleChanged()", "\1QGraphicsObject.scaleChanged", 0, 0},
    {"rotationChanged()", "\1QGraphicsObject.rotationChanged", 0, 0},
    {"zChanged()", "\1QGraphicsObject.zChanged", 0, 0},
    {"yChanged()", "\1QGraphicsObject.yChanged", 0, 0},
    {"xChanged()", "\1QGraphicsObject.xChanged", 0, 0},
    {"enabledChanged()", "\1QGraphicsObject.enabledChanged", 0, 0},
    {"visibleChanged()", "\1QGraphicsObject.visibleChanged", 0, 0},
    {"opacityChanged()", "\1QGraphicsObject.opacityChanged", 0, 0},
    {"parentChanged()", "\1QGraphicsObject.parentChanged", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsObject, "\1QGraphicsObject(QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsObject = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsObject,
        {0}
    },
    {
        sipNameNr_QGraphicsObject,
        {0, 0, 1},
        36, methods_QGraphicsObject,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsObject,
    -1,
    -1,
    supers_QGraphicsObject,
    0,
    init_type_QGraphicsObject,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsObject,
    0,
    0,
    0,
    release_QGraphicsObject,
    cast_QGraphicsObject,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsObject::staticMetaObject,
    0,
    signals_QGraphicsObject,
    0
};

#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 300497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 300501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 300504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 300507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 300510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 300513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 300516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 300519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 300522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 300525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 300528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 300531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 300534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 300537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 300540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 300543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 300546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 300549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 300552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 300555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 300558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 300561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 300564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 300567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 300570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 300573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 300576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 300579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 300582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 300585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 300588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 300591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 300594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 300597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 300600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsItemGroup : public QGraphicsItemGroup
{
public:
    sipQGraphicsItemGroup(QGraphicsItem*);
    virtual ~sipQGraphicsItemGroup();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    void advance(int);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QRectF boundingRect() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsItemGroup(const sipQGraphicsItemGroup &);
    sipQGraphicsItemGroup &operator = (const sipQGraphicsItemGroup &);

    char sipPyMethods[32];
};

sipQGraphicsItemGroup::sipQGraphicsItemGroup(QGraphicsItem*a0): QGraphicsItemGroup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsItemGroup::~sipQGraphicsItemGroup()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsItemGroup::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsItemGroup::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsItemGroup::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsItemGroup::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsItemGroup::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsItemGroup::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsItemGroup::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsItemGroup::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsItemGroup::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsItemGroup::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsItemGroup::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsItemGroup::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsItemGroup::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsItemGroup::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsItemGroup::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsItemGroup::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsItemGroup::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsItemGroup::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsItemGroup::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsItemGroup::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsItemGroup::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsItemGroup::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPainterPath sipQGraphicsItemGroup::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsItemGroup::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsItemGroup::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsItemGroup::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItemGroup::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsItemGroup::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QRectF sipQGraphicsItemGroup::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsItemGroup::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsItemGroup::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsItemGroup::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsItemGroup::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsItemGroup::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsItemGroup::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsItemGroup::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsItemGroup::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsItemGroup::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsItemGroup::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsItemGroup::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_contextMenuEvent, "QGraphicsItemGroup.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_contextMenuEvent, doc_QGraphicsItemGroup_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_dragEnterEvent, "QGraphicsItemGroup.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_dragEnterEvent, doc_QGraphicsItemGroup_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_dragLeaveEvent, "QGraphicsItemGroup.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_dragLeaveEvent, doc_QGraphicsItemGroup_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_dragMoveEvent, "QGraphicsItemGroup.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_dragMoveEvent, doc_QGraphicsItemGroup_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_dropEvent, "QGraphicsItemGroup.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_dropEvent, doc_QGraphicsItemGroup_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_focusInEvent, "QGraphicsItemGroup.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_focusInEvent, doc_QGraphicsItemGroup_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_focusOutEvent, "QGraphicsItemGroup.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_focusOutEvent, doc_QGraphicsItemGroup_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_hoverEnterEvent, "QGraphicsItemGroup.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_hoverEnterEvent, doc_QGraphicsItemGroup_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_hoverLeaveEvent, "QGraphicsItemGroup.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_hoverLeaveEvent, doc_QGraphicsItemGroup_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_hoverMoveEvent, "QGraphicsItemGroup.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_hoverMoveEvent, doc_QGraphicsItemGroup_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_inputMethodEvent, "QGraphicsItemGroup.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_inputMethodEvent, doc_QGraphicsItemGroup_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_inputMethodQuery, "QGraphicsItemGroup.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsItemGroup_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_inputMethodQuery, doc_QGraphicsItemGroup_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_itemChange, "QGraphicsItemGroup.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsItemGroup_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsItemGroup, sipName_itemChange, doc_QGraphicsItemGroup_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_keyPressEvent, "QGraphicsItemGroup.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_keyPressEvent, doc_QGraphicsItemGroup_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_keyReleaseEvent, "QGraphicsItemGroup.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_keyReleaseEvent, doc_QGraphicsItemGroup_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_mouseDoubleClickEvent, "QGraphicsItemGroup.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_mouseDoubleClickEvent, doc_QGraphicsItemGroup_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_mouseMoveEvent, "QGraphicsItemGroup.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_mouseMoveEvent, doc_QGraphicsItemGroup_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_mousePressEvent, "QGraphicsItemGroup.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_mousePressEvent, doc_QGraphicsItemGroup_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_mouseReleaseEvent, "QGraphicsItemGroup.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_mouseReleaseEvent, doc_QGraphicsItemGroup_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_prepareGeometryChange, "QGraphicsItemGroup.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsItemGroup_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_prepareGeometryChange, doc_QGraphicsItemGroup_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_sceneEvent, "QGraphicsItemGroup.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsItemGroup_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_sceneEvent, doc_QGraphicsItemGroup_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_sceneEventFilter, "QGraphicsItemGroup.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsItemGroup_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_sceneEventFilter, doc_QGraphicsItemGroup_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_wheelEvent, "QGraphicsItemGroup.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_wheelEvent, doc_QGraphicsItemGroup_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_updateMicroFocus, "QGraphicsItemGroup.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsItemGroup_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsItemGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_updateMicroFocus, doc_QGraphicsItemGroup_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_addToGroup, "QGraphicsItemGroup.addToGroup(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_addToGroup(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_addToGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        QGraphicsItemGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->addToGroup(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_addToGroup, doc_QGraphicsItemGroup_addToGroup);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_removeFromGroup, "QGraphicsItemGroup.removeFromGroup(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_removeFromGroup(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_removeFromGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        PyObject *a0Wrapper;
        QGraphicsItemGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, &a0Wrapper, sipType_QGraphicsItem, &a0))
        {
#line 615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
        sipCpp->removeFromGroup(a0);
        
        // The item will be passed to the group's parent if there is one.  If not,
        // transfer ownership back to Python.
        if (sipCpp->parentItem())
            sipTransferTo(a0Wrapper, sipGetPyObject(sipCpp->parentItem(), sipType_QGraphicsItem));
        else
            sipTransferBack(a0Wrapper);
#line 302083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_removeFromGroup, doc_QGraphicsItemGroup_removeFromGroup);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_boundingRect, "QGraphicsItemGroup.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItemGroup_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItemGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsItemGroup::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_boundingRect, doc_QGraphicsItemGroup_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_paint, "QGraphicsItemGroup.paint(QPainter, QStyleOptionGraphicsItem, QWidget widget=None)");

extern "C" {static PyObject *meth_QGraphicsItemGroup_paint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_paint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        QGraphicsItemGroup *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsItemGroup::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_paint, doc_QGraphicsItemGroup_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_isObscuredBy, "QGraphicsItemGroup.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsItemGroup_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsItemGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsItemGroup::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_isObscuredBy, doc_QGraphicsItemGroup_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_opaqueArea, "QGraphicsItemGroup.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsItemGroup_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItemGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsItemGroup::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_opaqueArea, doc_QGraphicsItemGroup_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItemGroup_type, "QGraphicsItemGroup.type() -> int");

extern "C" {static PyObject *meth_QGraphicsItemGroup_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItemGroup_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItemGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItemGroup, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsItemGroup::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItemGroup, sipName_type, doc_QGraphicsItemGroup_type);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsItemGroup(void *, const sipTypeDef *);}
static void *cast_QGraphicsItemGroup(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsItemGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsItem)->ctd_cast((QGraphicsItem *)(QGraphicsItemGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsItemGroup(void *, int);}
static void release_QGraphicsItemGroup(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsItemGroup *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsItemGroup *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsItemGroup(sipSimpleWrapper *);}
static void dealloc_QGraphicsItemGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsItemGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsItemGroup(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsItemGroup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsItemGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsItemGroup *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsItemGroup(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsItemGroup[] = {{121, 255, 1}};


static PyMethodDef methods_QGraphicsItemGroup[] = {
    {SIP_MLNAME_CAST(sipName_addToGroup), meth_QGraphicsItemGroup_addToGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItemGroup_addToGroup)},
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsItemGroup_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItemGroup_boundingRect)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsItemGroup_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsItemGroup_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsItemGroup_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsItemGroup_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsItemGroup_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsItemGroup_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsItemGroup_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsItemGroup_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsItemGroup_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsItemGroup_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsItemGroup_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsItemGroup_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsItemGroup_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItemGroup_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsItemGroup_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsItemGroup_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsItemGroup_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsItemGroup_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsItemGroup_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsItemGroup_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsItemGroup_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsItemGroup_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItemGroup_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_paint), (PyCFunction)meth_QGraphicsItemGroup_paint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItemGroup_paint)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsItemGroup_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeFromGroup), meth_QGraphicsItemGroup_removeFromGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItemGroup_removeFromGroup)},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsItemGroup_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsItemGroup_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsItemGroup_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItemGroup_type)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsItemGroup_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsItemGroup_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGraphicsItemGroup, "\1QGraphicsItemGroup(QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsItemGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsItemGroup,
        {0}
    },
    {
        sipNameNr_QGraphicsItemGroup,
        {0, 0, 1},
        31, methods_QGraphicsItemGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsItemGroup,
    -1,
    -1,
    supers_QGraphicsItemGroup,
    0,
    init_type_QGraphicsItemGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsItemGroup,
    0,
    0,
    0,
    release_QGraphicsItemGroup,
    cast_QGraphicsItemGroup,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 302410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 302414 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 302417 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 302420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 302423 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 302426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 302429 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 302432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 302435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 302438 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 302441 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 302444 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 302447 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 302450 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 302453 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 302456 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 302459 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 302462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 302465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 302468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 302471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 302474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 302477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 302480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 302483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 302486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 302489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 302492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 302495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 302498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 302501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 302504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 302507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 302510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 302513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 302516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 302519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 302522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 302525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsSimpleTextItem : public QGraphicsSimpleTextItem
{
public:
    sipQGraphicsSimpleTextItem(QGraphicsItem*);
    sipQGraphicsSimpleTextItem(const QString&,QGraphicsItem*);
    virtual ~sipQGraphicsSimpleTextItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    void advance(int);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsSimpleTextItem(const sipQGraphicsSimpleTextItem &);
    sipQGraphicsSimpleTextItem &operator = (const sipQGraphicsSimpleTextItem &);

    char sipPyMethods[32];
};

sipQGraphicsSimpleTextItem::sipQGraphicsSimpleTextItem(QGraphicsItem*a0): QGraphicsSimpleTextItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsSimpleTextItem::sipQGraphicsSimpleTextItem(const QString& a0,QGraphicsItem*a1): QGraphicsSimpleTextItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsSimpleTextItem::~sipQGraphicsSimpleTextItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsSimpleTextItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsSimpleTextItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsSimpleTextItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsSimpleTextItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsSimpleTextItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsSimpleTextItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsSimpleTextItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsSimpleTextItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsSimpleTextItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPainterPath sipQGraphicsSimpleTextItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsSimpleTextItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsSimpleTextItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsSimpleTextItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGraphicsSimpleTextItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsSimpleTextItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsSimpleTextItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsSimpleTextItem::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsSimpleTextItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsSimpleTextItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsSimpleTextItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsSimpleTextItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsSimpleTextItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsSimpleTextItem::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_contextMenuEvent, "QGraphicsSimpleTextItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_contextMenuEvent, doc_QGraphicsSimpleTextItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_dragEnterEvent, "QGraphicsSimpleTextItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_dragEnterEvent, doc_QGraphicsSimpleTextItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_dragLeaveEvent, "QGraphicsSimpleTextItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_dragLeaveEvent, doc_QGraphicsSimpleTextItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_dragMoveEvent, "QGraphicsSimpleTextItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_dragMoveEvent, doc_QGraphicsSimpleTextItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_dropEvent, "QGraphicsSimpleTextItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_dropEvent, doc_QGraphicsSimpleTextItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_focusInEvent, "QGraphicsSimpleTextItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_focusInEvent, doc_QGraphicsSimpleTextItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_focusOutEvent, "QGraphicsSimpleTextItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_focusOutEvent, doc_QGraphicsSimpleTextItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_hoverEnterEvent, "QGraphicsSimpleTextItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_hoverEnterEvent, doc_QGraphicsSimpleTextItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_hoverLeaveEvent, "QGraphicsSimpleTextItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_hoverLeaveEvent, doc_QGraphicsSimpleTextItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_hoverMoveEvent, "QGraphicsSimpleTextItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_hoverMoveEvent, doc_QGraphicsSimpleTextItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_inputMethodEvent, "QGraphicsSimpleTextItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_inputMethodEvent, doc_QGraphicsSimpleTextItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_inputMethodQuery, "QGraphicsSimpleTextItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_inputMethodQuery, doc_QGraphicsSimpleTextItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_itemChange, "QGraphicsSimpleTextItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsSimpleTextItem, sipName_itemChange, doc_QGraphicsSimpleTextItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_keyPressEvent, "QGraphicsSimpleTextItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_keyPressEvent, doc_QGraphicsSimpleTextItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_keyReleaseEvent, "QGraphicsSimpleTextItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_keyReleaseEvent, doc_QGraphicsSimpleTextItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_mouseDoubleClickEvent, "QGraphicsSimpleTextItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_mouseDoubleClickEvent, doc_QGraphicsSimpleTextItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_mouseMoveEvent, "QGraphicsSimpleTextItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_mouseMoveEvent, doc_QGraphicsSimpleTextItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_mousePressEvent, "QGraphicsSimpleTextItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_mousePressEvent, doc_QGraphicsSimpleTextItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_mouseReleaseEvent, "QGraphicsSimpleTextItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_mouseReleaseEvent, doc_QGraphicsSimpleTextItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_prepareGeometryChange, "QGraphicsSimpleTextItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_prepareGeometryChange, doc_QGraphicsSimpleTextItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_sceneEvent, "QGraphicsSimpleTextItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_sceneEvent, doc_QGraphicsSimpleTextItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_sceneEventFilter, "QGraphicsSimpleTextItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_sceneEventFilter, doc_QGraphicsSimpleTextItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_wheelEvent, "QGraphicsSimpleTextItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_wheelEvent, doc_QGraphicsSimpleTextItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_updateMicroFocus, "QGraphicsSimpleTextItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsSimpleTextItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_updateMicroFocus, doc_QGraphicsSimpleTextItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_setText, "QGraphicsSimpleTextItem.setText(str)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_setText(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_setText, doc_QGraphicsSimpleTextItem_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_text, "QGraphicsSimpleTextItem.text() -> str");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_text(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_text, doc_QGraphicsSimpleTextItem_text);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_setFont, "QGraphicsSimpleTextItem.setFont(QFont)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_setFont(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_setFont, doc_QGraphicsSimpleTextItem_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_font, "QGraphicsSimpleTextItem.font() -> QFont");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_font(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_font, doc_QGraphicsSimpleTextItem_font);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_boundingRect, "QGraphicsSimpleTextItem.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsSimpleTextItem::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_boundingRect, doc_QGraphicsSimpleTextItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_shape, "QGraphicsSimpleTextItem.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsSimpleTextItem::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_shape, doc_QGraphicsSimpleTextItem_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_contains, "QGraphicsSimpleTextItem.contains(QPointF) -> bool");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsSimpleTextItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_contains, doc_QGraphicsSimpleTextItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_paint, "QGraphicsSimpleTextItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget)");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_paint(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2;
        QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsSimpleTextItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_paint, doc_QGraphicsSimpleTextItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_isObscuredBy, "QGraphicsSimpleTextItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsSimpleTextItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_isObscuredBy, doc_QGraphicsSimpleTextItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_opaqueArea, "QGraphicsSimpleTextItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsSimpleTextItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_opaqueArea, doc_QGraphicsSimpleTextItem_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsSimpleTextItem_type, "QGraphicsSimpleTextItem.type() -> int");

extern "C" {static PyObject *meth_QGraphicsSimpleTextItem_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsSimpleTextItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsSimpleTextItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsSimpleTextItem, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsSimpleTextItem::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsSimpleTextItem, sipName_type, doc_QGraphicsSimpleTextItem_type);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsSimpleTextItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsSimpleTextItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsSimpleTextItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractGraphicsShapeItem)->ctd_cast((QAbstractGraphicsShapeItem *)(QGraphicsSimpleTextItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsSimpleTextItem(void *, int);}
static void release_QGraphicsSimpleTextItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsSimpleTextItem *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsSimpleTextItem *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsSimpleTextItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsSimpleTextItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsSimpleTextItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsSimpleTextItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsSimpleTextItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsSimpleTextItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsSimpleTextItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsSimpleTextItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QGraphicsItem* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QGraphicsItem, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsSimpleTextItem(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsSimpleTextItem[] = {{1, 255, 1}};


static PyMethodDef methods_QGraphicsSimpleTextItem[] = {
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsSimpleTextItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QGraphicsSimpleTextItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_contains)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_font), meth_QGraphicsSimpleTextItem_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_font)},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsSimpleTextItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsSimpleTextItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsSimpleTextItem_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsSimpleTextItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_paint), meth_QGraphicsSimpleTextItem_paint, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_paint)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsSimpleTextItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsSimpleTextItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QGraphicsSimpleTextItem_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_setFont)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QGraphicsSimpleTextItem_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_setText)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsSimpleTextItem_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_shape)},
    {SIP_MLNAME_CAST(sipName_text), meth_QGraphicsSimpleTextItem_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_text)},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsSimpleTextItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsSimpleTextItem_type)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsSimpleTextItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsSimpleTextItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGraphicsSimpleTextItem, "\1QGraphicsSimpleTextItem(QGraphicsItem parent=None)\n"
    "QGraphicsSimpleTextItem(str, QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsSimpleTextItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsSimpleTextItem,
        {0}
    },
    {
        sipNameNr_QGraphicsSimpleTextItem,
        {0, 0, 1},
        35, methods_QGraphicsSimpleTextItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsSimpleTextItem,
    -1,
    -1,
    supers_QGraphicsSimpleTextItem,
    0,
    init_type_QGraphicsSimpleTextItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsSimpleTextItem,
    0,
    0,
    0,
    release_QGraphicsSimpleTextItem,
    cast_QGraphicsSimpleTextItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 304473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 304476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 304479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 304482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 304485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 304488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 304491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 304494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 304497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 304500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 304503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 304506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 304512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 304515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 304518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 304521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 304524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 304530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 304536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 304539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 304542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 304548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 304554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 304557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 304560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 304563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 304566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 304572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 304575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsPixmapItem : public QGraphicsPixmapItem
{
public:
    sipQGraphicsPixmapItem(QGraphicsItem*);
    sipQGraphicsPixmapItem(const QPixmap&,QGraphicsItem*);
    virtual ~sipQGraphicsPixmapItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    void advance(int);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsPixmapItem(const sipQGraphicsPixmapItem &);
    sipQGraphicsPixmapItem &operator = (const sipQGraphicsPixmapItem &);

    char sipPyMethods[32];
};

sipQGraphicsPixmapItem::sipQGraphicsPixmapItem(QGraphicsItem*a0): QGraphicsPixmapItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsPixmapItem::sipQGraphicsPixmapItem(const QPixmap& a0,QGraphicsItem*a1): QGraphicsPixmapItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsPixmapItem::~sipQGraphicsPixmapItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsPixmapItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsPixmapItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsPixmapItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPixmapItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsPixmapItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsPixmapItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsPixmapItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsPixmapItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsPixmapItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsPixmapItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsPixmapItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPixmapItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsPixmapItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsPixmapItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsPixmapItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsPixmapItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPainterPath sipQGraphicsPixmapItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsPixmapItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsPixmapItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsPixmapItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPixmapItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsPixmapItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGraphicsPixmapItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsPixmapItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsPixmapItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsPixmapItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsPixmapItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsPixmapItem::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsPixmapItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsPixmapItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsPixmapItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsPixmapItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsPixmapItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsPixmapItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsPixmapItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsPixmapItem::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_contextMenuEvent, "QGraphicsPixmapItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_contextMenuEvent, doc_QGraphicsPixmapItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_dragEnterEvent, "QGraphicsPixmapItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_dragEnterEvent, doc_QGraphicsPixmapItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_dragLeaveEvent, "QGraphicsPixmapItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_dragLeaveEvent, doc_QGraphicsPixmapItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_dragMoveEvent, "QGraphicsPixmapItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_dragMoveEvent, doc_QGraphicsPixmapItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_dropEvent, "QGraphicsPixmapItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_dropEvent, doc_QGraphicsPixmapItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_focusInEvent, "QGraphicsPixmapItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_focusInEvent, doc_QGraphicsPixmapItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_focusOutEvent, "QGraphicsPixmapItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_focusOutEvent, doc_QGraphicsPixmapItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_hoverEnterEvent, "QGraphicsPixmapItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_hoverEnterEvent, doc_QGraphicsPixmapItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_hoverLeaveEvent, "QGraphicsPixmapItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_hoverLeaveEvent, doc_QGraphicsPixmapItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_hoverMoveEvent, "QGraphicsPixmapItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_hoverMoveEvent, doc_QGraphicsPixmapItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_inputMethodEvent, "QGraphicsPixmapItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_inputMethodEvent, doc_QGraphicsPixmapItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_inputMethodQuery, "QGraphicsPixmapItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_inputMethodQuery, doc_QGraphicsPixmapItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_itemChange, "QGraphicsPixmapItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsPixmapItem, sipName_itemChange, doc_QGraphicsPixmapItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_keyPressEvent, "QGraphicsPixmapItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_keyPressEvent, doc_QGraphicsPixmapItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_keyReleaseEvent, "QGraphicsPixmapItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_keyReleaseEvent, doc_QGraphicsPixmapItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_mouseDoubleClickEvent, "QGraphicsPixmapItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_mouseDoubleClickEvent, doc_QGraphicsPixmapItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_mouseMoveEvent, "QGraphicsPixmapItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_mouseMoveEvent, doc_QGraphicsPixmapItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_mousePressEvent, "QGraphicsPixmapItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_mousePressEvent, doc_QGraphicsPixmapItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_mouseReleaseEvent, "QGraphicsPixmapItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_mouseReleaseEvent, doc_QGraphicsPixmapItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_prepareGeometryChange, "QGraphicsPixmapItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_prepareGeometryChange, doc_QGraphicsPixmapItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_sceneEvent, "QGraphicsPixmapItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_sceneEvent, doc_QGraphicsPixmapItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_sceneEventFilter, "QGraphicsPixmapItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_sceneEventFilter, doc_QGraphicsPixmapItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_wheelEvent, "QGraphicsPixmapItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_wheelEvent, doc_QGraphicsPixmapItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_updateMicroFocus, "QGraphicsPixmapItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsPixmapItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_updateMicroFocus, doc_QGraphicsPixmapItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_pixmap, "QGraphicsPixmapItem.pixmap() -> QPixmap");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_pixmap(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_pixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            QPixmap*sipRes;

            sipRes = new QPixmap(sipCpp->pixmap());

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_pixmap, doc_QGraphicsPixmapItem_pixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_setPixmap, "QGraphicsPixmapItem.setPixmap(QPixmap)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_setPixmap(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_setPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPixmap* a0;
        QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QPixmap, &a0))
        {
            sipCpp->setPixmap(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_setPixmap, doc_QGraphicsPixmapItem_setPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_transformationMode, "QGraphicsPixmapItem.transformationMode() -> Qt.TransformationMode");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_transformationMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_transformationMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            Qt::TransformationMode sipRes;

            sipRes = sipCpp->transformationMode();

            return sipConvertFromEnum(sipRes,sipType_Qt_TransformationMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_transformationMode, doc_QGraphicsPixmapItem_transformationMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_setTransformationMode, "QGraphicsPixmapItem.setTransformationMode(Qt.TransformationMode)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_setTransformationMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_setTransformationMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TransformationMode a0;
        QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_Qt_TransformationMode, &a0))
        {
            sipCpp->setTransformationMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_setTransformationMode, doc_QGraphicsPixmapItem_setTransformationMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_offset, "QGraphicsPixmapItem.offset() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_offset(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_offset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->offset());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_offset, doc_QGraphicsPixmapItem_offset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_setOffset, "QGraphicsPixmapItem.setOffset(QPointF)\n"
    "QGraphicsPixmapItem.setOffset(float, float)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_setOffset(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_setOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setOffset(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, &a0, &a1))
        {
            sipCpp->setOffset(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_setOffset, doc_QGraphicsPixmapItem_setOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_boundingRect, "QGraphicsPixmapItem.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsPixmapItem::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_boundingRect, doc_QGraphicsPixmapItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_shape, "QGraphicsPixmapItem.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsPixmapItem::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_shape, doc_QGraphicsPixmapItem_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_contains, "QGraphicsPixmapItem.contains(QPointF) -> bool");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsPixmapItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_contains, doc_QGraphicsPixmapItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_paint, "QGraphicsPixmapItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_paint(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2;
        QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsPixmapItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_paint, doc_QGraphicsPixmapItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_isObscuredBy, "QGraphicsPixmapItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsPixmapItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_isObscuredBy, doc_QGraphicsPixmapItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_opaqueArea, "QGraphicsPixmapItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsPixmapItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_opaqueArea, doc_QGraphicsPixmapItem_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_type, "QGraphicsPixmapItem.type() -> int");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsPixmapItem::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_type, doc_QGraphicsPixmapItem_type);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_shapeMode, "QGraphicsPixmapItem.shapeMode() -> QGraphicsPixmapItem.ShapeMode");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_shapeMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_shapeMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp))
        {
            QGraphicsPixmapItem::ShapeMode sipRes;

            sipRes = sipCpp->shapeMode();

            return sipConvertFromEnum(sipRes,sipType_QGraphicsPixmapItem_ShapeMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_shapeMode, doc_QGraphicsPixmapItem_shapeMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPixmapItem_setShapeMode, "QGraphicsPixmapItem.setShapeMode(QGraphicsPixmapItem.ShapeMode)");

extern "C" {static PyObject *meth_QGraphicsPixmapItem_setShapeMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPixmapItem_setShapeMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsPixmapItem::ShapeMode a0;
        QGraphicsPixmapItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsPixmapItem, &sipCpp, sipType_QGraphicsPixmapItem_ShapeMode, &a0))
        {
            sipCpp->setShapeMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPixmapItem, sipName_setShapeMode, doc_QGraphicsPixmapItem_setShapeMode);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsPixmapItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsPixmapItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsPixmapItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsItem)->ctd_cast((QGraphicsItem *)(QGraphicsPixmapItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsPixmapItem(void *, int);}
static void release_QGraphicsPixmapItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsPixmapItem *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsPixmapItem *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsPixmapItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsPixmapItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsPixmapItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsPixmapItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsPixmapItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsPixmapItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsPixmapItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsPixmapItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QPixmap* a0;
        QGraphicsItem* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QPixmap, &a0, sipType_QGraphicsItem, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsPixmapItem(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsPixmapItem[] = {{121, 255, 1}};


static PyMethodDef methods_QGraphicsPixmapItem[] = {
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsPixmapItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QGraphicsPixmapItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_contains)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsPixmapItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsPixmapItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsPixmapItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsPixmapItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsPixmapItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsPixmapItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsPixmapItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsPixmapItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsPixmapItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsPixmapItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsPixmapItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsPixmapItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsPixmapItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsPixmapItem_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsPixmapItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsPixmapItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsPixmapItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsPixmapItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsPixmapItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsPixmapItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_offset), meth_QGraphicsPixmapItem_offset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_offset)},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsPixmapItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_paint), meth_QGraphicsPixmapItem_paint, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_paint)},
    {SIP_MLNAME_CAST(sipName_pixmap), meth_QGraphicsPixmapItem_pixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_pixmap)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsPixmapItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsPixmapItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsPixmapItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setOffset), meth_QGraphicsPixmapItem_setOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_setOffset)},
    {SIP_MLNAME_CAST(sipName_setPixmap), meth_QGraphicsPixmapItem_setPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_setPixmap)},
    {SIP_MLNAME_CAST(sipName_setShapeMode), meth_QGraphicsPixmapItem_setShapeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_setShapeMode)},
    {SIP_MLNAME_CAST(sipName_setTransformationMode), meth_QGraphicsPixmapItem_setTransformationMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_setTransformationMode)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsPixmapItem_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_shape)},
    {SIP_MLNAME_CAST(sipName_shapeMode), meth_QGraphicsPixmapItem_shapeMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_shapeMode)},
    {SIP_MLNAME_CAST(sipName_transformationMode), meth_QGraphicsPixmapItem_transformationMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_transformationMode)},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsPixmapItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPixmapItem_type)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsPixmapItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsPixmapItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QGraphicsPixmapItem[] = {
    {sipName_BoundingRectShape, static_cast<int>(QGraphicsPixmapItem::BoundingRectShape), 136},
    {sipName_HeuristicMaskShape, static_cast<int>(QGraphicsPixmapItem::HeuristicMaskShape), 136},
    {sipName_MaskShape, static_cast<int>(QGraphicsPixmapItem::MaskShape), 136},
};

PyDoc_STRVAR(doc_QGraphicsPixmapItem, "\1QGraphicsPixmapItem(QGraphicsItem parent=None)\n"
    "QGraphicsPixmapItem(QPixmap, QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsPixmapItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsPixmapItem,
        {0}
    },
    {
        sipNameNr_QGraphicsPixmapItem,
        {0, 0, 1},
        39, methods_QGraphicsPixmapItem,
        3, enummembers_QGraphicsPixmapItem,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsPixmapItem,
    -1,
    -1,
    supers_QGraphicsPixmapItem,
    0,
    init_type_QGraphicsPixmapItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsPixmapItem,
    0,
    0,
    0,
    release_QGraphicsPixmapItem,
    cast_QGraphicsPixmapItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 306647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 306651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 96 "sip/QtCore/qline.sip"
#include <qline.h>
#line 306654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 306657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 306660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 306663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 306666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 306669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 306672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 306675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 306678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 306681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 306684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 306687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 306690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 306693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 306696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 306699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 306702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 306705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 306708 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 306711 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 306714 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 306717 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 306720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 306723 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 306726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 306729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 306732 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 306735 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 306738 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 306741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 306744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 306747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 306750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 306753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 306756 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 306759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsLineItem : public QGraphicsLineItem
{
public:
    sipQGraphicsLineItem(QGraphicsItem*);
    sipQGraphicsLineItem(const QLineF&,QGraphicsItem*);
    sipQGraphicsLineItem(qreal,qreal,qreal,qreal,QGraphicsItem*);
    virtual ~sipQGraphicsLineItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    void advance(int);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsLineItem(const sipQGraphicsLineItem &);
    sipQGraphicsLineItem &operator = (const sipQGraphicsLineItem &);

    char sipPyMethods[32];
};

sipQGraphicsLineItem::sipQGraphicsLineItem(QGraphicsItem*a0): QGraphicsLineItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsLineItem::sipQGraphicsLineItem(const QLineF& a0,QGraphicsItem*a1): QGraphicsLineItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsLineItem::sipQGraphicsLineItem(qreal a0,qreal a1,qreal a2,qreal a3,QGraphicsItem*a4): QGraphicsLineItem(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsLineItem::~sipQGraphicsLineItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsLineItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsLineItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsLineItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsLineItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsLineItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsLineItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsLineItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsLineItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsLineItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsLineItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsLineItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsLineItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsLineItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsLineItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsLineItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsLineItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsLineItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsLineItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPainterPath sipQGraphicsLineItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsLineItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsLineItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsLineItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLineItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsLineItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGraphicsLineItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsLineItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsLineItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsLineItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsLineItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsLineItem::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsLineItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsLineItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsLineItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsLineItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsLineItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsLineItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsLineItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsLineItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsLineItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsLineItem::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QGraphicsLineItem_contextMenuEvent, "QGraphicsLineItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_contextMenuEvent, doc_QGraphicsLineItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_dragEnterEvent, "QGraphicsLineItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_dragEnterEvent, doc_QGraphicsLineItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_dragLeaveEvent, "QGraphicsLineItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_dragLeaveEvent, doc_QGraphicsLineItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_dragMoveEvent, "QGraphicsLineItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_dragMoveEvent, doc_QGraphicsLineItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_dropEvent, "QGraphicsLineItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_dropEvent, doc_QGraphicsLineItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_focusInEvent, "QGraphicsLineItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_focusInEvent, doc_QGraphicsLineItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_focusOutEvent, "QGraphicsLineItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_focusOutEvent, doc_QGraphicsLineItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_hoverEnterEvent, "QGraphicsLineItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_hoverEnterEvent, doc_QGraphicsLineItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_hoverLeaveEvent, "QGraphicsLineItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_hoverLeaveEvent, doc_QGraphicsLineItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_hoverMoveEvent, "QGraphicsLineItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_hoverMoveEvent, doc_QGraphicsLineItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_inputMethodEvent, "QGraphicsLineItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_inputMethodEvent, doc_QGraphicsLineItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_inputMethodQuery, "QGraphicsLineItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsLineItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_inputMethodQuery, doc_QGraphicsLineItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_itemChange, "QGraphicsLineItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsLineItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsLineItem, sipName_itemChange, doc_QGraphicsLineItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_keyPressEvent, "QGraphicsLineItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_keyPressEvent, doc_QGraphicsLineItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_keyReleaseEvent, "QGraphicsLineItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_keyReleaseEvent, doc_QGraphicsLineItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_mouseDoubleClickEvent, "QGraphicsLineItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_mouseDoubleClickEvent, doc_QGraphicsLineItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_mouseMoveEvent, "QGraphicsLineItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_mouseMoveEvent, doc_QGraphicsLineItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_mousePressEvent, "QGraphicsLineItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_mousePressEvent, doc_QGraphicsLineItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_mouseReleaseEvent, "QGraphicsLineItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_mouseReleaseEvent, doc_QGraphicsLineItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_prepareGeometryChange, "QGraphicsLineItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsLineItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsLineItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_prepareGeometryChange, doc_QGraphicsLineItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_sceneEvent, "QGraphicsLineItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsLineItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_sceneEvent, doc_QGraphicsLineItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_sceneEventFilter, "QGraphicsLineItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsLineItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_sceneEventFilter, doc_QGraphicsLineItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_wheelEvent, "QGraphicsLineItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsLineItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_wheelEvent, doc_QGraphicsLineItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_updateMicroFocus, "QGraphicsLineItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsLineItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsLineItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsLineItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_updateMicroFocus, doc_QGraphicsLineItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_pen, "QGraphicsLineItem.pen() -> QPen");

extern "C" {static PyObject *meth_QGraphicsLineItem_pen(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_pen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLineItem, &sipCpp))
        {
            QPen*sipRes;

            sipRes = new QPen(sipCpp->pen());

            return sipConvertFromNewType(sipRes,sipType_QPen,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_pen, doc_QGraphicsLineItem_pen);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_setPen, "QGraphicsLineItem.setPen(QPen)");

extern "C" {static PyObject *meth_QGraphicsLineItem_setPen(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_setPen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPen* a0;
        int a0State = 0;
        QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QPen, &a0, &a0State))
        {
            sipCpp->setPen(*a0);
            sipReleaseType(const_cast<QPen *>(a0),sipType_QPen,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_setPen, doc_QGraphicsLineItem_setPen);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_line, "QGraphicsLineItem.line() -> QLineF");

extern "C" {static PyObject *meth_QGraphicsLineItem_line(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_line(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLineItem, &sipCpp))
        {
            QLineF*sipRes;

            sipRes = new QLineF(sipCpp->line());

            return sipConvertFromNewType(sipRes,sipType_QLineF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_line, doc_QGraphicsLineItem_line);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_setLine, "QGraphicsLineItem.setLine(QLineF)\n"
    "QGraphicsLineItem.setLine(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsLineItem_setLine(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_setLine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLineF* a0;
        QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QLineF, &a0))
        {
            sipCpp->setLine(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setLine(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_setLine, doc_QGraphicsLineItem_setLine);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_boundingRect, "QGraphicsLineItem.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsLineItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLineItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsLineItem::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_boundingRect, doc_QGraphicsLineItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_shape, "QGraphicsLineItem.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsLineItem_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLineItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsLineItem::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_shape, doc_QGraphicsLineItem_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_contains, "QGraphicsLineItem.contains(QPointF) -> bool");

extern "C" {static PyObject *meth_QGraphicsLineItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsLineItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_contains, doc_QGraphicsLineItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_paint, "QGraphicsLineItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget widget=None)");

extern "C" {static PyObject *meth_QGraphicsLineItem_paint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_paint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        QGraphicsLineItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLineItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_paint, doc_QGraphicsLineItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_isObscuredBy, "QGraphicsLineItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsLineItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsLineItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsLineItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_isObscuredBy, doc_QGraphicsLineItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_opaqueArea, "QGraphicsLineItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsLineItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLineItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsLineItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_opaqueArea, doc_QGraphicsLineItem_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLineItem_type, "QGraphicsLineItem.type() -> int");

extern "C" {static PyObject *meth_QGraphicsLineItem_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLineItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsLineItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLineItem, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsLineItem::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLineItem, sipName_type, doc_QGraphicsLineItem_type);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsLineItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsLineItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsLineItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsItem)->ctd_cast((QGraphicsItem *)(QGraphicsLineItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsLineItem(void *, int);}
static void release_QGraphicsLineItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsLineItem *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsLineItem *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsLineItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsLineItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsLineItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsLineItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsLineItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsLineItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsLineItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsLineItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QLineF* a0;
        QGraphicsItem* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QLineF, &a0, sipType_QGraphicsItem, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsLineItem(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsItem* a4 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "dddd|JH", &a0, &a1, &a2, &a3, sipType_QGraphicsItem, &a4, sipOwner))
        {
            sipCpp = new sipQGraphicsLineItem(a0,a1,a2,a3,a4);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsLineItem[] = {{121, 255, 1}};


static PyMethodDef methods_QGraphicsLineItem[] = {
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsLineItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QGraphicsLineItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_contains)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsLineItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsLineItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsLineItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsLineItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsLineItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsLineItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsLineItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsLineItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsLineItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsLineItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsLineItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsLineItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsLineItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsLineItem_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsLineItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsLineItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_line), meth_QGraphicsLineItem_line, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_line)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsLineItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsLineItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsLineItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsLineItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsLineItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_paint), (PyCFunction)meth_QGraphicsLineItem_paint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_paint)},
    {SIP_MLNAME_CAST(sipName_pen), meth_QGraphicsLineItem_pen, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_pen)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsLineItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsLineItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsLineItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setLine), meth_QGraphicsLineItem_setLine, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_setLine)},
    {SIP_MLNAME_CAST(sipName_setPen), meth_QGraphicsLineItem_setPen, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_setPen)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsLineItem_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_shape)},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsLineItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLineItem_type)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsLineItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsLineItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGraphicsLineItem, "\1QGraphicsLineItem(QGraphicsItem parent=None)\n"
    "QGraphicsLineItem(QLineF, QGraphicsItem parent=None)\n"
    "QGraphicsLineItem(float, float, float, float, QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsLineItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsLineItem,
        {0}
    },
    {
        sipNameNr_QGraphicsLineItem,
        {0, 0, 1},
        35, methods_QGraphicsLineItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsLineItem,
    -1,
    -1,
    supers_QGraphicsLineItem,
    0,
    init_type_QGraphicsLineItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsLineItem,
    0,
    0,
    0,
    release_QGraphicsLineItem,
    cast_QGraphicsLineItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 308753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 308757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 308760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 308763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 308766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 308769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 308772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 308775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 308778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 308781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 308784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 308787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 308790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 308793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 308796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 308799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 308802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 308805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 308808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 308811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 308814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 308817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 308823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 308829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 308832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 308835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 308841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 308847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 308850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 308853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 308856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 308859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 308862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 308865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsPolygonItem : public QGraphicsPolygonItem
{
public:
    sipQGraphicsPolygonItem(QGraphicsItem*);
    sipQGraphicsPolygonItem(const QPolygonF&,QGraphicsItem*);
    virtual ~sipQGraphicsPolygonItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    void advance(int);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsPolygonItem(const sipQGraphicsPolygonItem &);
    sipQGraphicsPolygonItem &operator = (const sipQGraphicsPolygonItem &);

    char sipPyMethods[32];
};

sipQGraphicsPolygonItem::sipQGraphicsPolygonItem(QGraphicsItem*a0): QGraphicsPolygonItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsPolygonItem::sipQGraphicsPolygonItem(const QPolygonF& a0,QGraphicsItem*a1): QGraphicsPolygonItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsPolygonItem::~sipQGraphicsPolygonItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsPolygonItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsPolygonItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsPolygonItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPolygonItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsPolygonItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsPolygonItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsPolygonItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsPolygonItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsPolygonItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsPolygonItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsPolygonItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPolygonItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsPolygonItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsPolygonItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsPolygonItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsPolygonItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPainterPath sipQGraphicsPolygonItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsPolygonItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsPolygonItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsPolygonItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPolygonItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsPolygonItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGraphicsPolygonItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsPolygonItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsPolygonItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsPolygonItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsPolygonItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsPolygonItem::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsPolygonItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsPolygonItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsPolygonItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsPolygonItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsPolygonItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsPolygonItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsPolygonItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsPolygonItem::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_contextMenuEvent, "QGraphicsPolygonItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_contextMenuEvent, doc_QGraphicsPolygonItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_dragEnterEvent, "QGraphicsPolygonItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_dragEnterEvent, doc_QGraphicsPolygonItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_dragLeaveEvent, "QGraphicsPolygonItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_dragLeaveEvent, doc_QGraphicsPolygonItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_dragMoveEvent, "QGraphicsPolygonItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_dragMoveEvent, doc_QGraphicsPolygonItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_dropEvent, "QGraphicsPolygonItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_dropEvent, doc_QGraphicsPolygonItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_focusInEvent, "QGraphicsPolygonItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_focusInEvent, doc_QGraphicsPolygonItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_focusOutEvent, "QGraphicsPolygonItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_focusOutEvent, doc_QGraphicsPolygonItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_hoverEnterEvent, "QGraphicsPolygonItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_hoverEnterEvent, doc_QGraphicsPolygonItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_hoverLeaveEvent, "QGraphicsPolygonItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_hoverLeaveEvent, doc_QGraphicsPolygonItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_hoverMoveEvent, "QGraphicsPolygonItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_hoverMoveEvent, doc_QGraphicsPolygonItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_inputMethodEvent, "QGraphicsPolygonItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_inputMethodEvent, doc_QGraphicsPolygonItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_inputMethodQuery, "QGraphicsPolygonItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_inputMethodQuery, doc_QGraphicsPolygonItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_itemChange, "QGraphicsPolygonItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsPolygonItem, sipName_itemChange, doc_QGraphicsPolygonItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_keyPressEvent, "QGraphicsPolygonItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_keyPressEvent, doc_QGraphicsPolygonItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_keyReleaseEvent, "QGraphicsPolygonItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_keyReleaseEvent, doc_QGraphicsPolygonItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_mouseDoubleClickEvent, "QGraphicsPolygonItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_mouseDoubleClickEvent, doc_QGraphicsPolygonItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_mouseMoveEvent, "QGraphicsPolygonItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_mouseMoveEvent, doc_QGraphicsPolygonItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_mousePressEvent, "QGraphicsPolygonItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_mousePressEvent, doc_QGraphicsPolygonItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_mouseReleaseEvent, "QGraphicsPolygonItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_mouseReleaseEvent, doc_QGraphicsPolygonItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_prepareGeometryChange, "QGraphicsPolygonItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_prepareGeometryChange, doc_QGraphicsPolygonItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_sceneEvent, "QGraphicsPolygonItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_sceneEvent, doc_QGraphicsPolygonItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_sceneEventFilter, "QGraphicsPolygonItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_sceneEventFilter, doc_QGraphicsPolygonItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_wheelEvent, "QGraphicsPolygonItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_wheelEvent, doc_QGraphicsPolygonItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_updateMicroFocus, "QGraphicsPolygonItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsPolygonItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_updateMicroFocus, doc_QGraphicsPolygonItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_polygon, "QGraphicsPolygonItem.polygon() -> QPolygonF");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_polygon(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_polygon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->polygon());

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_polygon, doc_QGraphicsPolygonItem_polygon);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_setPolygon, "QGraphicsPolygonItem.setPolygon(QPolygonF)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_setPolygon(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_setPolygon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPolygonF* a0;
        QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QPolygonF, &a0))
        {
            sipCpp->setPolygon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_setPolygon, doc_QGraphicsPolygonItem_setPolygon);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_fillRule, "QGraphicsPolygonItem.fillRule() -> Qt.FillRule");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_fillRule(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_fillRule(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp))
        {
            Qt::FillRule sipRes;

            sipRes = sipCpp->fillRule();

            return sipConvertFromEnum(sipRes,sipType_Qt_FillRule);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_fillRule, doc_QGraphicsPolygonItem_fillRule);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_setFillRule, "QGraphicsPolygonItem.setFillRule(Qt.FillRule)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_setFillRule(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_setFillRule(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::FillRule a0;
        QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_Qt_FillRule, &a0))
        {
            sipCpp->setFillRule(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_setFillRule, doc_QGraphicsPolygonItem_setFillRule);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_boundingRect, "QGraphicsPolygonItem.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsPolygonItem::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_boundingRect, doc_QGraphicsPolygonItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_shape, "QGraphicsPolygonItem.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsPolygonItem::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_shape, doc_QGraphicsPolygonItem_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_contains, "QGraphicsPolygonItem.contains(QPointF) -> bool");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsPolygonItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_contains, doc_QGraphicsPolygonItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_paint, "QGraphicsPolygonItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget widget=None)");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_paint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_paint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        QGraphicsPolygonItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsPolygonItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_paint, doc_QGraphicsPolygonItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_isObscuredBy, "QGraphicsPolygonItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsPolygonItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_isObscuredBy, doc_QGraphicsPolygonItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_opaqueArea, "QGraphicsPolygonItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsPolygonItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_opaqueArea, doc_QGraphicsPolygonItem_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPolygonItem_type, "QGraphicsPolygonItem.type() -> int");

extern "C" {static PyObject *meth_QGraphicsPolygonItem_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPolygonItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPolygonItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPolygonItem, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsPolygonItem::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPolygonItem, sipName_type, doc_QGraphicsPolygonItem_type);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsPolygonItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsPolygonItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsPolygonItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractGraphicsShapeItem)->ctd_cast((QAbstractGraphicsShapeItem *)(QGraphicsPolygonItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsPolygonItem(void *, int);}
static void release_QGraphicsPolygonItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsPolygonItem *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsPolygonItem *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsPolygonItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsPolygonItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsPolygonItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsPolygonItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsPolygonItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsPolygonItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsPolygonItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsPolygonItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QPolygonF* a0;
        QGraphicsItem* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QPolygonF, &a0, sipType_QGraphicsItem, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsPolygonItem(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsPolygonItem[] = {{1, 255, 1}};


static PyMethodDef methods_QGraphicsPolygonItem[] = {
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsPolygonItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QGraphicsPolygonItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_contains)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsPolygonItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsPolygonItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsPolygonItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsPolygonItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsPolygonItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fillRule), meth_QGraphicsPolygonItem_fillRule, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_fillRule)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsPolygonItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsPolygonItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsPolygonItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsPolygonItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsPolygonItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsPolygonItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsPolygonItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsPolygonItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsPolygonItem_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsPolygonItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsPolygonItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsPolygonItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsPolygonItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsPolygonItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsPolygonItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsPolygonItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_paint), (PyCFunction)meth_QGraphicsPolygonItem_paint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_paint)},
    {SIP_MLNAME_CAST(sipName_polygon), meth_QGraphicsPolygonItem_polygon, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_polygon)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsPolygonItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsPolygonItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsPolygonItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFillRule), meth_QGraphicsPolygonItem_setFillRule, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_setFillRule)},
    {SIP_MLNAME_CAST(sipName_setPolygon), meth_QGraphicsPolygonItem_setPolygon, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_setPolygon)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsPolygonItem_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_shape)},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsPolygonItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPolygonItem_type)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsPolygonItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsPolygonItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGraphicsPolygonItem, "\1QGraphicsPolygonItem(QGraphicsItem parent=None)\n"
    "QGraphicsPolygonItem(QPolygonF, QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsPolygonItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsPolygonItem,
        {0}
    },
    {
        sipNameNr_QGraphicsPolygonItem,
        {0, 0, 1},
        35, methods_QGraphicsPolygonItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsPolygonItem,
    -1,
    -1,
    supers_QGraphicsPolygonItem,
    0,
    init_type_QGraphicsPolygonItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsPolygonItem,
    0,
    0,
    0,
    release_QGraphicsPolygonItem,
    cast_QGraphicsPolygonItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 310808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 310812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 310815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 310818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 310821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 310824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 310827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 310830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 310833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 310836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 310839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 310842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 310845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 310848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 310851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 310854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 310857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 310860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 310863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 310866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 310872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 310878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 310881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 310884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 310887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 310893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 310899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 310902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 310905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 310908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 310911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 310914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 310917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 310920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsEllipseItem : public QGraphicsEllipseItem
{
public:
    sipQGraphicsEllipseItem(QGraphicsItem*);
    sipQGraphicsEllipseItem(const QRectF&,QGraphicsItem*);
    sipQGraphicsEllipseItem(qreal,qreal,qreal,qreal,QGraphicsItem*);
    virtual ~sipQGraphicsEllipseItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    void advance(int);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsEllipseItem(const sipQGraphicsEllipseItem &);
    sipQGraphicsEllipseItem &operator = (const sipQGraphicsEllipseItem &);

    char sipPyMethods[32];
};

sipQGraphicsEllipseItem::sipQGraphicsEllipseItem(QGraphicsItem*a0): QGraphicsEllipseItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsEllipseItem::sipQGraphicsEllipseItem(const QRectF& a0,QGraphicsItem*a1): QGraphicsEllipseItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsEllipseItem::sipQGraphicsEllipseItem(qreal a0,qreal a1,qreal a2,qreal a3,QGraphicsItem*a4): QGraphicsEllipseItem(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsEllipseItem::~sipQGraphicsEllipseItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsEllipseItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsEllipseItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsEllipseItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsEllipseItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsEllipseItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsEllipseItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsEllipseItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsEllipseItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsEllipseItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsEllipseItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsEllipseItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsEllipseItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsEllipseItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsEllipseItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsEllipseItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsEllipseItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPainterPath sipQGraphicsEllipseItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsEllipseItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsEllipseItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsEllipseItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEllipseItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsEllipseItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGraphicsEllipseItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsEllipseItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsEllipseItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsEllipseItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsEllipseItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsEllipseItem::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsEllipseItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsEllipseItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsEllipseItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsEllipseItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsEllipseItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsEllipseItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsEllipseItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsEllipseItem::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_contextMenuEvent, "QGraphicsEllipseItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_contextMenuEvent, doc_QGraphicsEllipseItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_dragEnterEvent, "QGraphicsEllipseItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_dragEnterEvent, doc_QGraphicsEllipseItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_dragLeaveEvent, "QGraphicsEllipseItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_dragLeaveEvent, doc_QGraphicsEllipseItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_dragMoveEvent, "QGraphicsEllipseItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_dragMoveEvent, doc_QGraphicsEllipseItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_dropEvent, "QGraphicsEllipseItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_dropEvent, doc_QGraphicsEllipseItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_focusInEvent, "QGraphicsEllipseItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_focusInEvent, doc_QGraphicsEllipseItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_focusOutEvent, "QGraphicsEllipseItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_focusOutEvent, doc_QGraphicsEllipseItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_hoverEnterEvent, "QGraphicsEllipseItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_hoverEnterEvent, doc_QGraphicsEllipseItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_hoverLeaveEvent, "QGraphicsEllipseItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_hoverLeaveEvent, doc_QGraphicsEllipseItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_hoverMoveEvent, "QGraphicsEllipseItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_hoverMoveEvent, doc_QGraphicsEllipseItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_inputMethodEvent, "QGraphicsEllipseItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_inputMethodEvent, doc_QGraphicsEllipseItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_inputMethodQuery, "QGraphicsEllipseItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_inputMethodQuery, doc_QGraphicsEllipseItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_itemChange, "QGraphicsEllipseItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsEllipseItem, sipName_itemChange, doc_QGraphicsEllipseItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_keyPressEvent, "QGraphicsEllipseItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_keyPressEvent, doc_QGraphicsEllipseItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_keyReleaseEvent, "QGraphicsEllipseItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_keyReleaseEvent, doc_QGraphicsEllipseItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_mouseDoubleClickEvent, "QGraphicsEllipseItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_mouseDoubleClickEvent, doc_QGraphicsEllipseItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_mouseMoveEvent, "QGraphicsEllipseItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_mouseMoveEvent, doc_QGraphicsEllipseItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_mousePressEvent, "QGraphicsEllipseItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_mousePressEvent, doc_QGraphicsEllipseItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_mouseReleaseEvent, "QGraphicsEllipseItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_mouseReleaseEvent, doc_QGraphicsEllipseItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_prepareGeometryChange, "QGraphicsEllipseItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_prepareGeometryChange, doc_QGraphicsEllipseItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_sceneEvent, "QGraphicsEllipseItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_sceneEvent, doc_QGraphicsEllipseItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_sceneEventFilter, "QGraphicsEllipseItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_sceneEventFilter, doc_QGraphicsEllipseItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_wheelEvent, "QGraphicsEllipseItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_wheelEvent, doc_QGraphicsEllipseItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_updateMicroFocus, "QGraphicsEllipseItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsEllipseItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_updateMicroFocus, doc_QGraphicsEllipseItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_rect, "QGraphicsEllipseItem.rect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_rect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_rect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->rect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_rect, doc_QGraphicsEllipseItem_rect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_setRect, "QGraphicsEllipseItem.setRect(QRectF)\n"
    "QGraphicsEllipseItem.setRect(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_setRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_setRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->setRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_setRect, doc_QGraphicsEllipseItem_setRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_startAngle, "QGraphicsEllipseItem.startAngle() -> int");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_startAngle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_startAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->startAngle();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_startAngle, doc_QGraphicsEllipseItem_startAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_setStartAngle, "QGraphicsEllipseItem.setStartAngle(int)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_setStartAngle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_setStartAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, &a0))
        {
            sipCpp->setStartAngle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_setStartAngle, doc_QGraphicsEllipseItem_setStartAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_spanAngle, "QGraphicsEllipseItem.spanAngle() -> int");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_spanAngle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_spanAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->spanAngle();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_spanAngle, doc_QGraphicsEllipseItem_spanAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_setSpanAngle, "QGraphicsEllipseItem.setSpanAngle(int)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_setSpanAngle(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_setSpanAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, &a0))
        {
            sipCpp->setSpanAngle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_setSpanAngle, doc_QGraphicsEllipseItem_setSpanAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_boundingRect, "QGraphicsEllipseItem.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsEllipseItem::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_boundingRect, doc_QGraphicsEllipseItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_shape, "QGraphicsEllipseItem.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsEllipseItem::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_shape, doc_QGraphicsEllipseItem_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_contains, "QGraphicsEllipseItem.contains(QPointF) -> bool");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsEllipseItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_contains, doc_QGraphicsEllipseItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_paint, "QGraphicsEllipseItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget widget=None)");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_paint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_paint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        QGraphicsEllipseItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsEllipseItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_paint, doc_QGraphicsEllipseItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_isObscuredBy, "QGraphicsEllipseItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsEllipseItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_isObscuredBy, doc_QGraphicsEllipseItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_opaqueArea, "QGraphicsEllipseItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsEllipseItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_opaqueArea, doc_QGraphicsEllipseItem_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEllipseItem_type, "QGraphicsEllipseItem.type() -> int");

extern "C" {static PyObject *meth_QGraphicsEllipseItem_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEllipseItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsEllipseItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEllipseItem, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsEllipseItem::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEllipseItem, sipName_type, doc_QGraphicsEllipseItem_type);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsEllipseItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsEllipseItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsEllipseItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractGraphicsShapeItem)->ctd_cast((QAbstractGraphicsShapeItem *)(QGraphicsEllipseItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsEllipseItem(void *, int);}
static void release_QGraphicsEllipseItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsEllipseItem *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsEllipseItem *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsEllipseItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsEllipseItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsEllipseItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsEllipseItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsEllipseItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsEllipseItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsEllipseItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsEllipseItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QRectF* a0;
        QGraphicsItem* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QRectF, &a0, sipType_QGraphicsItem, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsEllipseItem(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsItem* a4 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "dddd|JH", &a0, &a1, &a2, &a3, sipType_QGraphicsItem, &a4, sipOwner))
        {
            sipCpp = new sipQGraphicsEllipseItem(a0,a1,a2,a3,a4);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsEllipseItem[] = {{1, 255, 1}};


static PyMethodDef methods_QGraphicsEllipseItem[] = {
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsEllipseItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QGraphicsEllipseItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_contains)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsEllipseItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsEllipseItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsEllipseItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsEllipseItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsEllipseItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsEllipseItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsEllipseItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsEllipseItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsEllipseItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsEllipseItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsEllipseItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsEllipseItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsEllipseItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsEllipseItem_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsEllipseItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsEllipseItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsEllipseItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsEllipseItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsEllipseItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsEllipseItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsEllipseItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_paint), (PyCFunction)meth_QGraphicsEllipseItem_paint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_paint)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsEllipseItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rect), meth_QGraphicsEllipseItem_rect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_rect)},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsEllipseItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsEllipseItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setRect), meth_QGraphicsEllipseItem_setRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_setRect)},
    {SIP_MLNAME_CAST(sipName_setSpanAngle), meth_QGraphicsEllipseItem_setSpanAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_setSpanAngle)},
    {SIP_MLNAME_CAST(sipName_setStartAngle), meth_QGraphicsEllipseItem_setStartAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_setStartAngle)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsEllipseItem_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_shape)},
    {SIP_MLNAME_CAST(sipName_spanAngle), meth_QGraphicsEllipseItem_spanAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_spanAngle)},
    {SIP_MLNAME_CAST(sipName_startAngle), meth_QGraphicsEllipseItem_startAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_startAngle)},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsEllipseItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEllipseItem_type)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsEllipseItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsEllipseItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGraphicsEllipseItem, "\1QGraphicsEllipseItem(QGraphicsItem parent=None)\n"
    "QGraphicsEllipseItem(QRectF, QGraphicsItem parent=None)\n"
    "QGraphicsEllipseItem(float, float, float, float, QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsEllipseItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsEllipseItem,
        {0}
    },
    {
        sipNameNr_QGraphicsEllipseItem,
        {0, 0, 1},
        37, methods_QGraphicsEllipseItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsEllipseItem,
    -1,
    -1,
    supers_QGraphicsEllipseItem,
    0,
    init_type_QGraphicsEllipseItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsEllipseItem,
    0,
    0,
    0,
    release_QGraphicsEllipseItem,
    cast_QGraphicsEllipseItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 432 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 312968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 312972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 312975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 312978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 312981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 312984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 312987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 312990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 312993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 312996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 312999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 313002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 313005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 313008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 313011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 313014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 313017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 313020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 313023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 313026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 313029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 313032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 313035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 313038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 313041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 313044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 313047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 313050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 313053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 313056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 313059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 313062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 313065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 313068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 313071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 313074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 313077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 313080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsRectItem : public QGraphicsRectItem
{
public:
    sipQGraphicsRectItem(QGraphicsItem*);
    sipQGraphicsRectItem(const QRectF&,QGraphicsItem*);
    sipQGraphicsRectItem(qreal,qreal,qreal,qreal,QGraphicsItem*);
    virtual ~sipQGraphicsRectItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    void advance(int);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsRectItem(const sipQGraphicsRectItem &);
    sipQGraphicsRectItem &operator = (const sipQGraphicsRectItem &);

    char sipPyMethods[32];
};

sipQGraphicsRectItem::sipQGraphicsRectItem(QGraphicsItem*a0): QGraphicsRectItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsRectItem::sipQGraphicsRectItem(const QRectF& a0,QGraphicsItem*a1): QGraphicsRectItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsRectItem::sipQGraphicsRectItem(qreal a0,qreal a1,qreal a2,qreal a3,QGraphicsItem*a4): QGraphicsRectItem(a0,a1,a2,a3,a4), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsRectItem::~sipQGraphicsRectItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsRectItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsRectItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsRectItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsRectItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsRectItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsRectItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsRectItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsRectItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsRectItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsRectItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsRectItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsRectItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsRectItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsRectItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsRectItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsRectItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsRectItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsRectItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPainterPath sipQGraphicsRectItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsRectItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsRectItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsRectItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsRectItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsRectItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGraphicsRectItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsRectItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsRectItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsRectItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsRectItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsRectItem::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsRectItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsRectItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsRectItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsRectItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsRectItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsRectItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsRectItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsRectItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsRectItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsRectItem::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QGraphicsRectItem_contextMenuEvent, "QGraphicsRectItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_contextMenuEvent, doc_QGraphicsRectItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_dragEnterEvent, "QGraphicsRectItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_dragEnterEvent, doc_QGraphicsRectItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_dragLeaveEvent, "QGraphicsRectItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_dragLeaveEvent, doc_QGraphicsRectItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_dragMoveEvent, "QGraphicsRectItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_dragMoveEvent, doc_QGraphicsRectItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_dropEvent, "QGraphicsRectItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_dropEvent, doc_QGraphicsRectItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_focusInEvent, "QGraphicsRectItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_focusInEvent, doc_QGraphicsRectItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_focusOutEvent, "QGraphicsRectItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_focusOutEvent, doc_QGraphicsRectItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_hoverEnterEvent, "QGraphicsRectItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_hoverEnterEvent, doc_QGraphicsRectItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_hoverLeaveEvent, "QGraphicsRectItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_hoverLeaveEvent, doc_QGraphicsRectItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_hoverMoveEvent, "QGraphicsRectItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_hoverMoveEvent, doc_QGraphicsRectItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_inputMethodEvent, "QGraphicsRectItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_inputMethodEvent, doc_QGraphicsRectItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_inputMethodQuery, "QGraphicsRectItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsRectItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_inputMethodQuery, doc_QGraphicsRectItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_itemChange, "QGraphicsRectItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsRectItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsRectItem, sipName_itemChange, doc_QGraphicsRectItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_keyPressEvent, "QGraphicsRectItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_keyPressEvent, doc_QGraphicsRectItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_keyReleaseEvent, "QGraphicsRectItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_keyReleaseEvent, doc_QGraphicsRectItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_mouseDoubleClickEvent, "QGraphicsRectItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_mouseDoubleClickEvent, doc_QGraphicsRectItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_mouseMoveEvent, "QGraphicsRectItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_mouseMoveEvent, doc_QGraphicsRectItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_mousePressEvent, "QGraphicsRectItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_mousePressEvent, doc_QGraphicsRectItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_mouseReleaseEvent, "QGraphicsRectItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_mouseReleaseEvent, doc_QGraphicsRectItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_prepareGeometryChange, "QGraphicsRectItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsRectItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsRectItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_prepareGeometryChange, doc_QGraphicsRectItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_sceneEvent, "QGraphicsRectItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsRectItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_sceneEvent, doc_QGraphicsRectItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_sceneEventFilter, "QGraphicsRectItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsRectItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_sceneEventFilter, doc_QGraphicsRectItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_wheelEvent, "QGraphicsRectItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsRectItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_wheelEvent, doc_QGraphicsRectItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_updateMicroFocus, "QGraphicsRectItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsRectItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsRectItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsRectItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_updateMicroFocus, doc_QGraphicsRectItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_rect, "QGraphicsRectItem.rect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsRectItem_rect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_rect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsRectItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsRectItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->rect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_rect, doc_QGraphicsRectItem_rect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_setRect, "QGraphicsRectItem.setRect(QRectF)\n"
    "QGraphicsRectItem.setRect(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsRectItem_setRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_setRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        QGraphicsRectItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->setRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsRectItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setRect(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_setRect, doc_QGraphicsRectItem_setRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_boundingRect, "QGraphicsRectItem.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsRectItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsRectItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsRectItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsRectItem::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_boundingRect, doc_QGraphicsRectItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_shape, "QGraphicsRectItem.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsRectItem_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsRectItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsRectItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsRectItem::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_shape, doc_QGraphicsRectItem_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_contains, "QGraphicsRectItem.contains(QPointF) -> bool");

extern "C" {static PyObject *meth_QGraphicsRectItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsRectItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsRectItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_contains, doc_QGraphicsRectItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_paint, "QGraphicsRectItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget widget=None)");

extern "C" {static PyObject *meth_QGraphicsRectItem_paint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_paint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        QGraphicsRectItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsRectItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_paint, doc_QGraphicsRectItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_isObscuredBy, "QGraphicsRectItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsRectItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsRectItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsRectItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsRectItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_isObscuredBy, doc_QGraphicsRectItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_opaqueArea, "QGraphicsRectItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsRectItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsRectItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsRectItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsRectItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_opaqueArea, doc_QGraphicsRectItem_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsRectItem_type, "QGraphicsRectItem.type() -> int");

extern "C" {static PyObject *meth_QGraphicsRectItem_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsRectItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsRectItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsRectItem, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsRectItem::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsRectItem, sipName_type, doc_QGraphicsRectItem_type);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsRectItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsRectItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsRectItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractGraphicsShapeItem)->ctd_cast((QAbstractGraphicsShapeItem *)(QGraphicsRectItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsRectItem(void *, int);}
static void release_QGraphicsRectItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsRectItem *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsRectItem *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsRectItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsRectItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsRectItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsRectItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsRectItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsRectItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsRectItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsRectItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QRectF* a0;
        QGraphicsItem* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QRectF, &a0, sipType_QGraphicsItem, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsRectItem(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsItem* a4 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "dddd|JH", &a0, &a1, &a2, &a3, sipType_QGraphicsItem, &a4, sipOwner))
        {
            sipCpp = new sipQGraphicsRectItem(a0,a1,a2,a3,a4);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsRectItem[] = {{1, 255, 1}};


static PyMethodDef methods_QGraphicsRectItem[] = {
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsRectItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRectItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QGraphicsRectItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRectItem_contains)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsRectItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsRectItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsRectItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsRectItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsRectItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsRectItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsRectItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsRectItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsRectItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsRectItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsRectItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsRectItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsRectItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRectItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsRectItem_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsRectItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsRectItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsRectItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsRectItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsRectItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsRectItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsRectItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRectItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_paint), (PyCFunction)meth_QGraphicsRectItem_paint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsRectItem_paint)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsRectItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rect), meth_QGraphicsRectItem_rect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRectItem_rect)},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsRectItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsRectItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setRect), meth_QGraphicsRectItem_setRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRectItem_setRect)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsRectItem_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRectItem_shape)},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsRectItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsRectItem_type)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsRectItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsRectItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGraphicsRectItem, "\1QGraphicsRectItem(QGraphicsItem parent=None)\n"
    "QGraphicsRectItem(QRectF, QGraphicsItem parent=None)\n"
    "QGraphicsRectItem(float, float, float, float, QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsRectItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsRectItem,
        {0}
    },
    {
        sipNameNr_QGraphicsRectItem,
        {0, 0, 1},
        33, methods_QGraphicsRectItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsRectItem,
    -1,
    -1,
    supers_QGraphicsRectItem,
    0,
    init_type_QGraphicsRectItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsRectItem,
    0,
    0,
    0,
    release_QGraphicsRectItem,
    cast_QGraphicsRectItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 315016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 315020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 315023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 315026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 315029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 315032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 315035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 315038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 315041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 315044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 315047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 315050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 315053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 315056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 315059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 315062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 315065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 315068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 315071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 315074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 315077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 315080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 315083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 315086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 315089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 315092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 315095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 315098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 315101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 315104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 315107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 315110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 315113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 315116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 315119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 315122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 315125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 315128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsPathItem : public QGraphicsPathItem
{
public:
    sipQGraphicsPathItem(QGraphicsItem*);
    sipQGraphicsPathItem(const QPainterPath&,QGraphicsItem*);
    virtual ~sipQGraphicsPathItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    void advance(int);
    int type() const;
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsPathItem(const sipQGraphicsPathItem &);
    sipQGraphicsPathItem &operator = (const sipQGraphicsPathItem &);

    char sipPyMethods[32];
};

sipQGraphicsPathItem::sipQGraphicsPathItem(QGraphicsItem*a0): QGraphicsPathItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsPathItem::sipQGraphicsPathItem(const QPainterPath& a0,QGraphicsItem*a1): QGraphicsPathItem(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsPathItem::~sipQGraphicsPathItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsPathItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsPathItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsPathItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPathItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsPathItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsPathItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsPathItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsPathItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsPathItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsPathItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsPathItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsPathItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsPathItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsPathItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsPathItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsPathItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsPathItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsPathItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QPainterPath sipQGraphicsPathItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsPathItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsPathItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsPathItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsPathItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paint);

    if (!sipMeth)
    {
        QGraphicsPathItem::paint(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQGraphicsPathItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsPathItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsPathItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsPathItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsPathItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_boundingRect);

    if (!sipMeth)
        return QGraphicsPathItem::boundingRect();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsPathItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsPathItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsPathItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsPathItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsPathItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsPathItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsPathItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsPathItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsPathItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsPathItem::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QGraphicsPathItem_contextMenuEvent, "QGraphicsPathItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_contextMenuEvent, doc_QGraphicsPathItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_dragEnterEvent, "QGraphicsPathItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_dragEnterEvent, doc_QGraphicsPathItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_dragLeaveEvent, "QGraphicsPathItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_dragLeaveEvent, doc_QGraphicsPathItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_dragMoveEvent, "QGraphicsPathItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_dragMoveEvent, doc_QGraphicsPathItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_dropEvent, "QGraphicsPathItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_dropEvent, doc_QGraphicsPathItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_focusInEvent, "QGraphicsPathItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_focusInEvent, doc_QGraphicsPathItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_focusOutEvent, "QGraphicsPathItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_focusOutEvent, doc_QGraphicsPathItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_hoverEnterEvent, "QGraphicsPathItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_hoverEnterEvent, doc_QGraphicsPathItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_hoverLeaveEvent, "QGraphicsPathItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_hoverLeaveEvent, doc_QGraphicsPathItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_hoverMoveEvent, "QGraphicsPathItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_hoverMoveEvent, doc_QGraphicsPathItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_inputMethodEvent, "QGraphicsPathItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_inputMethodEvent, doc_QGraphicsPathItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_inputMethodQuery, "QGraphicsPathItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsPathItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_inputMethodQuery, doc_QGraphicsPathItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_itemChange, "QGraphicsPathItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsPathItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsPathItem, sipName_itemChange, doc_QGraphicsPathItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_keyPressEvent, "QGraphicsPathItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_keyPressEvent, doc_QGraphicsPathItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_keyReleaseEvent, "QGraphicsPathItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_keyReleaseEvent, doc_QGraphicsPathItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_mouseDoubleClickEvent, "QGraphicsPathItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_mouseDoubleClickEvent, doc_QGraphicsPathItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_mouseMoveEvent, "QGraphicsPathItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_mouseMoveEvent, doc_QGraphicsPathItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_mousePressEvent, "QGraphicsPathItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_mousePressEvent, doc_QGraphicsPathItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_mouseReleaseEvent, "QGraphicsPathItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_mouseReleaseEvent, doc_QGraphicsPathItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_prepareGeometryChange, "QGraphicsPathItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsPathItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsPathItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_prepareGeometryChange, doc_QGraphicsPathItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_sceneEvent, "QGraphicsPathItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsPathItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_sceneEvent, doc_QGraphicsPathItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_sceneEventFilter, "QGraphicsPathItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsPathItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_sceneEventFilter, doc_QGraphicsPathItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_wheelEvent, "QGraphicsPathItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsPathItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_wheelEvent, doc_QGraphicsPathItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_updateMicroFocus, "QGraphicsPathItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsPathItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsPathItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsPathItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_updateMicroFocus, doc_QGraphicsPathItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_path, "QGraphicsPathItem.path() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsPathItem_path(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_path(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsPathItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPathItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->path());

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_path, doc_QGraphicsPathItem_path);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_setPath, "QGraphicsPathItem.setPath(QPainterPath)");

extern "C" {static PyObject *meth_QGraphicsPathItem_setPath(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_setPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPainterPath* a0;
        QGraphicsPathItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QPainterPath, &a0))
        {
            sipCpp->setPath(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_setPath, doc_QGraphicsPathItem_setPath);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_boundingRect, "QGraphicsPathItem.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsPathItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPathItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPathItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsPathItem::boundingRect() : sipCpp->boundingRect()));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_boundingRect, doc_QGraphicsPathItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_shape, "QGraphicsPathItem.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsPathItem_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPathItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPathItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsPathItem::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_shape, doc_QGraphicsPathItem_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_contains, "QGraphicsPathItem.contains(QPointF) -> bool");

extern "C" {static PyObject *meth_QGraphicsPathItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsPathItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsPathItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_contains, doc_QGraphicsPathItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_paint, "QGraphicsPathItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget widget=None)");

extern "C" {static PyObject *meth_QGraphicsPathItem_paint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_paint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        QGraphicsPathItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsPathItem::paint(a0,a1,a2) : sipCpp->paint(a0,a1,a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_paint, doc_QGraphicsPathItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_isObscuredBy, "QGraphicsPathItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsPathItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsPathItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsPathItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsPathItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_isObscuredBy, doc_QGraphicsPathItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_opaqueArea, "QGraphicsPathItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsPathItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPathItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPathItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsPathItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_opaqueArea, doc_QGraphicsPathItem_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsPathItem_type, "QGraphicsPathItem.type() -> int");

extern "C" {static PyObject *meth_QGraphicsPathItem_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsPathItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsPathItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsPathItem, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsPathItem::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsPathItem, sipName_type, doc_QGraphicsPathItem_type);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsPathItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsPathItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsPathItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractGraphicsShapeItem)->ctd_cast((QAbstractGraphicsShapeItem *)(QGraphicsPathItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsPathItem(void *, int);}
static void release_QGraphicsPathItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsPathItem *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsPathItem *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsPathItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsPathItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsPathItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsPathItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsPathItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsPathItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsPathItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsPathItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QPainterPath* a0;
        QGraphicsItem* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QPainterPath, &a0, sipType_QGraphicsItem, &a1, sipOwner))
        {
            sipCpp = new sipQGraphicsPathItem(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsPathItem[] = {{1, 255, 1}};


static PyMethodDef methods_QGraphicsPathItem[] = {
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsPathItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPathItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QGraphicsPathItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPathItem_contains)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsPathItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsPathItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsPathItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsPathItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsPathItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsPathItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsPathItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsPathItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsPathItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsPathItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsPathItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsPathItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsPathItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPathItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsPathItem_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsPathItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsPathItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsPathItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsPathItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsPathItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsPathItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsPathItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPathItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_paint), (PyCFunction)meth_QGraphicsPathItem_paint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsPathItem_paint)},
    {SIP_MLNAME_CAST(sipName_path), meth_QGraphicsPathItem_path, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPathItem_path)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsPathItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsPathItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsPathItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setPath), meth_QGraphicsPathItem_setPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPathItem_setPath)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsPathItem_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPathItem_shape)},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsPathItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsPathItem_type)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsPathItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsPathItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QGraphicsPathItem, "\1QGraphicsPathItem(QGraphicsItem parent=None)\n"
    "QGraphicsPathItem(QPainterPath, QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsPathItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsPathItem,
        {0}
    },
    {
        sipNameNr_QGraphicsPathItem,
        {0, 0, 1},
        33, methods_QGraphicsPathItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsPathItem,
    -1,
    -1,
    supers_QGraphicsPathItem,
    0,
    init_type_QGraphicsPathItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsPathItem,
    0,
    0,
    0,
    release_QGraphicsPathItem,
    cast_QGraphicsPathItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 317015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 317019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 317022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 317025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpen.sip"
#include <qpen.h>
#line 317028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 317031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 317034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 317037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 317040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 317043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 317046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 317049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 317052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 317055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 317058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 317061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 317064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 317067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 317070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 317073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 317076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 317079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 317082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 317085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 317088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 317091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 317094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 317097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 317100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 317103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 317106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 317109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 317112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 317115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 317118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 317121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 317124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 317127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQAbstractGraphicsShapeItem : public QAbstractGraphicsShapeItem
{
public:
    sipQAbstractGraphicsShapeItem(QGraphicsItem*);
    virtual ~sipQAbstractGraphicsShapeItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    int type() const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void advance(int);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractGraphicsShapeItem(const sipQAbstractGraphicsShapeItem &);
    sipQAbstractGraphicsShapeItem &operator = (const sipQAbstractGraphicsShapeItem &);

    char sipPyMethods[32];
};

sipQAbstractGraphicsShapeItem::sipQAbstractGraphicsShapeItem(QGraphicsItem*a0): QAbstractGraphicsShapeItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractGraphicsShapeItem::~sipQAbstractGraphicsShapeItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQAbstractGraphicsShapeItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractGraphicsShapeItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractGraphicsShapeItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQAbstractGraphicsShapeItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQAbstractGraphicsShapeItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractGraphicsShapeItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractGraphicsShapeItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,sipName_QAbstractGraphicsShapeItem,sipName_paint);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractGraphicsShapeItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractGraphicsShapeItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractGraphicsShapeItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQAbstractGraphicsShapeItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQAbstractGraphicsShapeItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,sipName_QAbstractGraphicsShapeItem,sipName_boundingRect);

    if (!sipMeth)
        return QRectF();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractGraphicsShapeItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QAbstractGraphicsShapeItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQAbstractGraphicsShapeItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractGraphicsShapeItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QAbstractGraphicsShapeItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQAbstractGraphicsShapeItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQAbstractGraphicsShapeItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQAbstractGraphicsShapeItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQAbstractGraphicsShapeItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQAbstractGraphicsShapeItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQAbstractGraphicsShapeItem::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_contextMenuEvent, "QAbstractGraphicsShapeItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_contextMenuEvent, doc_QAbstractGraphicsShapeItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_dragEnterEvent, "QAbstractGraphicsShapeItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_dragEnterEvent, doc_QAbstractGraphicsShapeItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_dragLeaveEvent, "QAbstractGraphicsShapeItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_dragLeaveEvent, doc_QAbstractGraphicsShapeItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_dragMoveEvent, "QAbstractGraphicsShapeItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_dragMoveEvent, doc_QAbstractGraphicsShapeItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_dropEvent, "QAbstractGraphicsShapeItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_dropEvent, doc_QAbstractGraphicsShapeItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_focusInEvent, "QAbstractGraphicsShapeItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_focusInEvent, doc_QAbstractGraphicsShapeItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_focusOutEvent, "QAbstractGraphicsShapeItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_focusOutEvent, doc_QAbstractGraphicsShapeItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_hoverEnterEvent, "QAbstractGraphicsShapeItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_hoverEnterEvent, doc_QAbstractGraphicsShapeItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_hoverLeaveEvent, "QAbstractGraphicsShapeItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_hoverLeaveEvent, doc_QAbstractGraphicsShapeItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_hoverMoveEvent, "QAbstractGraphicsShapeItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_hoverMoveEvent, doc_QAbstractGraphicsShapeItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_inputMethodEvent, "QAbstractGraphicsShapeItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_inputMethodEvent, doc_QAbstractGraphicsShapeItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_inputMethodQuery, "QAbstractGraphicsShapeItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_inputMethodQuery, doc_QAbstractGraphicsShapeItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_itemChange, "QAbstractGraphicsShapeItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QAbstractGraphicsShapeItem, sipName_itemChange, doc_QAbstractGraphicsShapeItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_keyPressEvent, "QAbstractGraphicsShapeItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_keyPressEvent, doc_QAbstractGraphicsShapeItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_keyReleaseEvent, "QAbstractGraphicsShapeItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_keyReleaseEvent, doc_QAbstractGraphicsShapeItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_mouseDoubleClickEvent, "QAbstractGraphicsShapeItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_mouseDoubleClickEvent, doc_QAbstractGraphicsShapeItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_mouseMoveEvent, "QAbstractGraphicsShapeItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_mouseMoveEvent, doc_QAbstractGraphicsShapeItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_mousePressEvent, "QAbstractGraphicsShapeItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_mousePressEvent, doc_QAbstractGraphicsShapeItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_mouseReleaseEvent, "QAbstractGraphicsShapeItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_mouseReleaseEvent, doc_QAbstractGraphicsShapeItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_prepareGeometryChange, "QAbstractGraphicsShapeItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_prepareGeometryChange, doc_QAbstractGraphicsShapeItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_sceneEvent, "QAbstractGraphicsShapeItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_sceneEvent, doc_QAbstractGraphicsShapeItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_sceneEventFilter, "QAbstractGraphicsShapeItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_sceneEventFilter, doc_QAbstractGraphicsShapeItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_wheelEvent, "QAbstractGraphicsShapeItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_wheelEvent, doc_QAbstractGraphicsShapeItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_updateMicroFocus, "QAbstractGraphicsShapeItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractGraphicsShapeItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_updateMicroFocus, doc_QAbstractGraphicsShapeItem_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_pen, "QAbstractGraphicsShapeItem.pen() -> QPen");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_pen(PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_pen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractGraphicsShapeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp))
        {
            QPen*sipRes;

            sipRes = new QPen(sipCpp->pen());

            return sipConvertFromNewType(sipRes,sipType_QPen,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_pen, doc_QAbstractGraphicsShapeItem_pen);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_setPen, "QAbstractGraphicsShapeItem.setPen(QPen)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_setPen(PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_setPen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPen* a0;
        int a0State = 0;
        QAbstractGraphicsShapeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QPen, &a0, &a0State))
        {
            sipCpp->setPen(*a0);
            sipReleaseType(const_cast<QPen *>(a0),sipType_QPen,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_setPen, doc_QAbstractGraphicsShapeItem_setPen);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_brush, "QAbstractGraphicsShapeItem.brush() -> QBrush");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_brush(PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_brush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractGraphicsShapeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->brush());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_brush, doc_QAbstractGraphicsShapeItem_brush);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_setBrush, "QAbstractGraphicsShapeItem.setBrush(QBrush)");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_setBrush(PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_setBrush(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QAbstractGraphicsShapeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setBrush(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_setBrush, doc_QAbstractGraphicsShapeItem_setBrush);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_isObscuredBy, "QAbstractGraphicsShapeItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QAbstractGraphicsShapeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QAbstractGraphicsShapeItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_isObscuredBy, doc_QAbstractGraphicsShapeItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem_opaqueArea, "QAbstractGraphicsShapeItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QAbstractGraphicsShapeItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QAbstractGraphicsShapeItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractGraphicsShapeItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractGraphicsShapeItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QAbstractGraphicsShapeItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractGraphicsShapeItem, sipName_opaqueArea, doc_QAbstractGraphicsShapeItem_opaqueArea);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractGraphicsShapeItem(void *, const sipTypeDef *);}
static void *cast_QAbstractGraphicsShapeItem(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractGraphicsShapeItem)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsItem)->ctd_cast((QGraphicsItem *)(QAbstractGraphicsShapeItem *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractGraphicsShapeItem(void *, int);}
static void release_QAbstractGraphicsShapeItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQAbstractGraphicsShapeItem *>(sipCppV);
    else
        delete reinterpret_cast<QAbstractGraphicsShapeItem *>(sipCppV);
}


extern "C" {static void dealloc_QAbstractGraphicsShapeItem(sipSimpleWrapper *);}
static void dealloc_QAbstractGraphicsShapeItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractGraphicsShapeItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractGraphicsShapeItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractGraphicsShapeItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractGraphicsShapeItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractGraphicsShapeItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractGraphicsShapeItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractGraphicsShapeItem[] = {{121, 255, 1}};


static PyMethodDef methods_QAbstractGraphicsShapeItem[] = {
    {SIP_MLNAME_CAST(sipName_brush), meth_QAbstractGraphicsShapeItem_brush, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractGraphicsShapeItem_brush)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QAbstractGraphicsShapeItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QAbstractGraphicsShapeItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractGraphicsShapeItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QAbstractGraphicsShapeItem_itemChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QAbstractGraphicsShapeItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractGraphicsShapeItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_pen), meth_QAbstractGraphicsShapeItem_pen, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractGraphicsShapeItem_pen)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QAbstractGraphicsShapeItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QAbstractGraphicsShapeItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBrush), meth_QAbstractGraphicsShapeItem_setBrush, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractGraphicsShapeItem_setBrush)},
    {SIP_MLNAME_CAST(sipName_setPen), meth_QAbstractGraphicsShapeItem_setPen, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractGraphicsShapeItem_setPen)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QAbstractGraphicsShapeItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QAbstractGraphicsShapeItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QAbstractGraphicsShapeItem, "\1QAbstractGraphicsShapeItem(QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAbstractGraphicsShapeItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractGraphicsShapeItem,
        {0}
    },
    {
        sipNameNr_QAbstractGraphicsShapeItem,
        {0, 0, 1},
        30, methods_QAbstractGraphicsShapeItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractGraphicsShapeItem,
    -1,
    -1,
    supers_QAbstractGraphicsShapeItem,
    0,
    init_type_QAbstractGraphicsShapeItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractGraphicsShapeItem,
    0,
    0,
    0,
    release_QAbstractGraphicsShapeItem,
    cast_QAbstractGraphicsShapeItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 318889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 318893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QGraphicsItem_GraphicsItemFlags___bool__(PyObject *);}
static int slot_QGraphicsItem_GraphicsItemFlags___bool__(PyObject *sipSelf)
{
    QGraphicsItem::GraphicsItemFlags *sipCpp = reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsItem_GraphicsItemFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsItem::GraphicsItemFlags::Int() != 0);
#line 318911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsItem::GraphicsItemFlags *sipCpp = reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsItem_GraphicsItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsItem::GraphicsItemFlags::Int() != a0->operator QGraphicsItem::GraphicsItemFlags::Int());
#line 318941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsItem::GraphicsItemFlags *>(a0),sipType_QGraphicsItem_GraphicsItemFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QGraphicsItem_GraphicsItemFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsItem::GraphicsItemFlags *sipCpp = reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsItem_GraphicsItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsItem::GraphicsItemFlags::Int() == a0->operator QGraphicsItem::GraphicsItemFlags::Int());
#line 318977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsItem::GraphicsItemFlags *>(a0),sipType_QGraphicsItem_GraphicsItemFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QGraphicsItem_GraphicsItemFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___invert__(PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___invert__(PyObject *sipSelf)
{
    QGraphicsItem::GraphicsItemFlags *sipCpp = reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsItem_GraphicsItemFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QGraphicsItem::GraphicsItemFlags*sipRes;

            sipRes = new QGraphicsItem::GraphicsItemFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QGraphicsItem_GraphicsItemFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State, &a1))
        {
            QGraphicsItem::GraphicsItemFlags*sipRes;

            sipRes = new QGraphicsItem::GraphicsItemFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QGraphicsItem_GraphicsItemFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsItem_GraphicsItemFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;
        QGraphicsItem::GraphicsItemFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State, sipType_QGraphicsItem_GraphicsItemFlags, &a1, &a1State))
        {
            QGraphicsItem::GraphicsItemFlags*sipRes;

            sipRes = new QGraphicsItem::GraphicsItemFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QGraphicsItem_GraphicsItemFlags,a0State);
            sipReleaseType(a1,sipType_QGraphicsItem_GraphicsItemFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsItem_GraphicsItemFlags,NULL);
        }
    }

    {
        QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State, &a1))
        {
            QGraphicsItem::GraphicsItemFlags*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsItem::GraphicsItemFlags(*a0 ^ a1);
#line 319080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsItem_GraphicsItemFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsItem_GraphicsItemFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;
        QGraphicsItem::GraphicsItemFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State, sipType_QGraphicsItem_GraphicsItemFlags, &a1, &a1State))
        {
            QGraphicsItem::GraphicsItemFlags*sipRes;

            sipRes = new QGraphicsItem::GraphicsItemFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QGraphicsItem_GraphicsItemFlags,a0State);
            sipReleaseType(a1,sipType_QGraphicsItem_GraphicsItemFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsItem_GraphicsItemFlags,NULL);
        }
    }

    {
        QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State, &a1))
        {
            QGraphicsItem::GraphicsItemFlags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsItem::GraphicsItemFlags(*a0 | a1);
#line 319130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsItem_GraphicsItemFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsItem_GraphicsItemFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___int__(PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___int__(PyObject *sipSelf)
{
    QGraphicsItem::GraphicsItemFlags *sipCpp = reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsItem_GraphicsItemFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsItem_GraphicsItemFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsItem_GraphicsItemFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsItem::GraphicsItemFlags *sipCpp = reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsItem_GraphicsItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State))
        {
            sipCpp->QGraphicsItem::GraphicsItemFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QGraphicsItem_GraphicsItemFlags,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_QGraphicsItem_GraphicsItemFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsItem_GraphicsItemFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsItem::GraphicsItemFlags *sipCpp = reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsItem_GraphicsItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State))
        {
            sipCpp->QGraphicsItem::GraphicsItemFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QGraphicsItem_GraphicsItemFlags,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_QGraphicsItem_GraphicsItemFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsItem_GraphicsItemFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsItem_GraphicsItemFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsItem::GraphicsItemFlags *sipCpp = reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsItem_GraphicsItemFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QGraphicsItem::GraphicsItemFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsItem_GraphicsItemFlags(void *, const sipTypeDef *);}
static void *cast_QGraphicsItem_GraphicsItemFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGraphicsItem_GraphicsItemFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsItem_GraphicsItemFlags(void *, int);}
static void release_QGraphicsItem_GraphicsItemFlags(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipCppV);
}


extern "C" {static void assign_QGraphicsItem_GraphicsItemFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QGraphicsItem_GraphicsItemFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QGraphicsItem::GraphicsItemFlags *>(sipSrc);
}


extern "C" {static void *array_QGraphicsItem_GraphicsItemFlags(SIP_SSIZE_T);}
static void *array_QGraphicsItem_GraphicsItemFlags(SIP_SSIZE_T sipNrElem)
{
    return new QGraphicsItem::GraphicsItemFlags[sipNrElem];
}


extern "C" {static void *copy_QGraphicsItem_GraphicsItemFlags(const void *, SIP_SSIZE_T);}
static void *copy_QGraphicsItem_GraphicsItemFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QGraphicsItem::GraphicsItemFlags(reinterpret_cast<const QGraphicsItem::GraphicsItemFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QGraphicsItem_GraphicsItemFlags(sipSimpleWrapper *);}
static void dealloc_QGraphicsItem_GraphicsItemFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsItem_GraphicsItemFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QGraphicsItem_GraphicsItemFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsItem_GraphicsItemFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QGraphicsItem::GraphicsItemFlags *sipCpp = 0;

    {
        const QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State))
        {
            sipCpp = new QGraphicsItem::GraphicsItemFlags(*a0);
            sipReleaseType(const_cast<QGraphicsItem::GraphicsItemFlags *>(a0),sipType_QGraphicsItem_GraphicsItemFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QGraphicsItem::GraphicsItemFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QGraphicsItem::GraphicsItemFlags();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QGraphicsItem_GraphicsItemFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QGraphicsItem_GraphicsItemFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QGraphicsItem::GraphicsItemFlags **sipCppPtr = reinterpret_cast<QGraphicsItem::GraphicsItemFlags **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QGraphicsItem::GraphicsItemFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsItem_GraphicsItemFlag)) ||
            sipCanConvertToType(sipPy, sipType_QGraphicsItem_GraphicsItemFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsItem_GraphicsItemFlag)))
{
    *sipCppPtr = new QGraphicsItem::GraphicsItemFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QGraphicsItem::GraphicsItemFlags *>(sipConvertToType(sipPy, sipType_QGraphicsItem_GraphicsItemFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 319407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsItem_GraphicsItemFlags[] = {
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___bool__, bool_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___ne__, ne_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___eq__, eq_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___invert__, invert_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___and__, and_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___xor__, xor_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___or__, or_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___int__, int_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___ixor__, ixor_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___ior__, ior_slot},
    {(void *)slot_QGraphicsItem_GraphicsItemFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsItem_GraphicsItemFlags, "\1QGraphicsItem.GraphicsItemFlags(QGraphicsItem.GraphicsItemFlags)\n"
    "QGraphicsItem.GraphicsItemFlags(int)\n"
    "QGraphicsItem.GraphicsItemFlags()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsItem_GraphicsItemFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsItem__GraphicsItemFlags,
        {0}
    },
    {
        sipNameNr_GraphicsItemFlags,
        {121, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsItem_GraphicsItemFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QGraphicsItem_GraphicsItemFlags,
    init_type_QGraphicsItem_GraphicsItemFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsItem_GraphicsItemFlags,
    assign_QGraphicsItem_GraphicsItemFlags,
    array_QGraphicsItem_GraphicsItemFlags,
    copy_QGraphicsItem_GraphicsItemFlags,
    release_QGraphicsItem_GraphicsItemFlags,
    cast_QGraphicsItem_GraphicsItemFlags,
    convertTo_QGraphicsItem_GraphicsItemFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 319489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 319493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 319496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 319499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicstransform.sip"
#include <qgraphicstransform.h>
#line 319502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 319505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 319508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 319511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainterpath.sip"
#include <qpainterpath.h>
#line 319514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qtransform.sip"
#include <qtransform.h>
#line 319517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 319520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 319523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 319526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 319529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 319532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 319535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 319538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 319541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 319544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 319547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 319550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 319553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 319556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 319559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicssceneevent.sip"
#include <qgraphicssceneevent.h>
#line 319562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 330 "sip/QtGui/qpolygon.sip"
#include <qpolygon.h>
#line 319565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 319568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 1016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 319571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 319574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 319577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 319580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 319583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 319586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 319589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsscene.sip"
#include <qgraphicsscene.h>
#line 319592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsItem : public QGraphicsItem
{
public:
    sipQGraphicsItem(QGraphicsItem*);
    virtual ~sipQGraphicsItem();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtectVirt_contextMenuEvent(bool,QGraphicsSceneContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_dropEvent(bool,QGraphicsSceneDragDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_hoverEnterEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverLeaveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_hoverMoveEvent(bool,QGraphicsSceneHoverEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QVariant sipProtectVirt_inputMethodQuery(bool,Qt::InputMethodQuery) const;
    QVariant sipProtectVirt_itemChange(bool,QGraphicsItem::GraphicsItemChange,const QVariant&);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mousePressEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QGraphicsSceneMouseEvent*);
    void sipProtect_prepareGeometryChange();
    bool sipProtectVirt_sceneEvent(bool,QEvent*);
    bool sipProtectVirt_sceneEventFilter(bool,QGraphicsItem*,QEvent*);
    void sipProtectVirt_wheelEvent(bool,QGraphicsSceneWheelEvent*);
    void sipProtect_updateMicroFocus();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void wheelEvent(QGraphicsSceneWheelEvent*);
    bool sceneEventFilter(QGraphicsItem*,QEvent*);
    bool sceneEvent(QEvent*);
    void mouseReleaseEvent(QGraphicsSceneMouseEvent*);
    void mousePressEvent(QGraphicsSceneMouseEvent*);
    void mouseMoveEvent(QGraphicsSceneMouseEvent*);
    void mouseDoubleClickEvent(QGraphicsSceneMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    QVariant itemChange(QGraphicsItem::GraphicsItemChange,const QVariant&);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void hoverMoveEvent(QGraphicsSceneHoverEvent*);
    void hoverLeaveEvent(QGraphicsSceneHoverEvent*);
    void hoverEnterEvent(QGraphicsSceneHoverEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QGraphicsSceneDragDropEvent*);
    void dragMoveEvent(QGraphicsSceneDragDropEvent*);
    void dragLeaveEvent(QGraphicsSceneDragDropEvent*);
    void dragEnterEvent(QGraphicsSceneDragDropEvent*);
    void contextMenuEvent(QGraphicsSceneContextMenuEvent*);
    int type() const;
    void paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*);
    QPainterPath opaqueArea() const;
    bool isObscuredBy(const QGraphicsItem*) const;
    bool collidesWithPath(const QPainterPath&,Qt::ItemSelectionMode) const;
    bool collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode) const;
    bool contains(const QPointF&) const;
    QPainterPath shape() const;
    QRectF boundingRect() const;
    void advance(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsItem(const sipQGraphicsItem &);
    sipQGraphicsItem &operator = (const sipQGraphicsItem &);

    char sipPyMethods[32];
};

sipQGraphicsItem::sipQGraphicsItem(QGraphicsItem*a0): QGraphicsItem(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsItem::~sipQGraphicsItem()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsItem::wheelEvent(QGraphicsSceneWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QGraphicsItem::wheelEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneWheelEvent*);

    sipVH_QtWidgets_117(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsItem::sceneEventFilter(QGraphicsItem*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_sceneEventFilter);

    if (!sipMeth)
        return QGraphicsItem::sceneEventFilter(a0,a1);

    extern bool sipVH_QtWidgets_125(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem*,QEvent*);

    return sipVH_QtWidgets_125(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsItem::sceneEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_sceneEvent);

    if (!sipMeth)
        return QGraphicsItem::sceneEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mouseReleaseEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::mousePressEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mousePressEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mouseMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QGraphicsItem::mouseDoubleClickEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneMouseEvent*);

    sipVH_QtWidgets_118(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QGraphicsItem::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QGraphicsItem::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQGraphicsItem::itemChange(QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_itemChange);

    if (!sipMeth)
        return QGraphicsItem::itemChange(a0,a1);

    extern QVariant sipVH_QtWidgets_108(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsItem::GraphicsItemChange,const QVariant&);

    return sipVH_QtWidgets_108(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QVariant sipQGraphicsItem::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QGraphicsItem::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QGraphicsItem::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::hoverMoveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_hoverMoveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::hoverMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::hoverLeaveEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hoverLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::hoverLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::hoverEnterEvent(QGraphicsSceneHoverEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hoverEnterEvent);

    if (!sipMeth)
    {
        QGraphicsItem::hoverEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_104(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneHoverEvent*);

    sipVH_QtWidgets_104(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QGraphicsItem::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QGraphicsItem::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::dropEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::dragMoveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::dragLeaveEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::dragEnterEvent(QGraphicsSceneDragDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QGraphicsItem::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneDragDropEvent*);

    sipVH_QtWidgets_120(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::contextMenuEvent(QGraphicsSceneContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QGraphicsItem::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsSceneContextMenuEvent*);

    sipVH_QtWidgets_121(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsItem::type() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QGraphicsItem::type();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsItem::paint(QPainter*a0,const QStyleOptionGraphicsItem*a1,QWidget*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,sipName_QGraphicsItem,sipName_paint);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionGraphicsItem*,QWidget*);

    sipVH_QtWidgets_113(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QPainterPath sipQGraphicsItem::opaqueArea() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_opaqueArea);

    if (!sipMeth)
        return QGraphicsItem::opaqueArea();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQGraphicsItem::isObscuredBy(const QGraphicsItem*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_isObscuredBy);

    if (!sipMeth)
        return QGraphicsItem::isObscuredBy(a0);

    extern bool sipVH_QtWidgets_123(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*);

    return sipVH_QtWidgets_123(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsItem::collidesWithPath(const QPainterPath& a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_collidesWithPath);

    if (!sipMeth)
        return QGraphicsItem::collidesWithPath(a0,a1);

    extern bool sipVH_QtWidgets_126(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPainterPath&,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_126(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsItem::collidesWithItem(const QGraphicsItem*a0,Qt::ItemSelectionMode a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_collidesWithItem);

    if (!sipMeth)
        return QGraphicsItem::collidesWithItem(a0,a1);

    extern bool sipVH_QtWidgets_127(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QGraphicsItem*,Qt::ItemSelectionMode);

    return sipVH_QtWidgets_127(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsItem::contains(const QPointF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_contains);

    if (!sipMeth)
        return QGraphicsItem::contains(a0);

    extern bool sipVH_QtWidgets_124(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPointF&);

    return sipVH_QtWidgets_124(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainterPath sipQGraphicsItem::shape() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_shape);

    if (!sipMeth)
        return QGraphicsItem::shape();

    extern QPainterPath sipVH_QtWidgets_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_111(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRectF sipQGraphicsItem::boundingRect() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,sipName_QGraphicsItem,sipName_boundingRect);

    if (!sipMeth)
        return QRectF();

    extern QRectF sipVH_QtWidgets_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_112(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsItem::advance(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_advance);

    if (!sipMeth)
    {
        QGraphicsItem::advance(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsItem::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QGraphicsSceneContextMenuEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_dropEvent(bool sipSelfWasArg,QGraphicsSceneDragDropEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::dropEvent(a0) : dropEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusInEvent(a0) : focusInEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_hoverEnterEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverEnterEvent(a0) : hoverEnterEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_hoverLeaveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverLeaveEvent(a0) : hoverLeaveEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_hoverMoveEvent(bool sipSelfWasArg,QGraphicsSceneHoverEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::hoverMoveEvent(a0) : hoverMoveEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QVariant sipQGraphicsItem::sipProtectVirt_inputMethodQuery(bool sipSelfWasArg,Qt::InputMethodQuery a0) const
{
    return (sipSelfWasArg ? QGraphicsItem::inputMethodQuery(a0) : inputMethodQuery(a0));
}

QVariant sipQGraphicsItem::sipProtectVirt_itemChange(bool sipSelfWasArg,QGraphicsItem::GraphicsItemChange a0,const QVariant& a1)
{
    return (sipSelfWasArg ? QGraphicsItem::itemChange(a0,a1) : itemChange(a0,a1));
}

void sipQGraphicsItem::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQGraphicsItem::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QGraphicsSceneMouseEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQGraphicsItem::sipProtect_prepareGeometryChange()
{
    QGraphicsItem::prepareGeometryChange();
}

bool sipQGraphicsItem::sipProtectVirt_sceneEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEvent(a0) : sceneEvent(a0));
}

bool sipQGraphicsItem::sipProtectVirt_sceneEventFilter(bool sipSelfWasArg,QGraphicsItem*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QGraphicsItem::sceneEventFilter(a0,a1) : sceneEventFilter(a0,a1));
}

void sipQGraphicsItem::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QGraphicsSceneWheelEvent*a0)
{
    (sipSelfWasArg ? QGraphicsItem::wheelEvent(a0) : wheelEvent(a0));
}

void sipQGraphicsItem::sipProtect_updateMicroFocus()
{
    QGraphicsItem::updateMicroFocus();
}


PyDoc_STRVAR(doc_QGraphicsItem_scene, "QGraphicsItem.scene() -> QGraphicsScene");

extern "C" {static PyObject *meth_QGraphicsItem_scene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_scene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsScene*sipRes;

            sipRes = sipCpp->scene();

            return sipConvertFromType(sipRes,sipType_QGraphicsScene,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_scene, doc_QGraphicsItem_scene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_parentItem, "QGraphicsItem.parentItem() -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsItem_parentItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_parentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->parentItem();

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_parentItem, doc_QGraphicsItem_parentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_topLevelItem, "QGraphicsItem.topLevelItem() -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsItem_topLevelItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_topLevelItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->topLevelItem();

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_topLevelItem, doc_QGraphicsItem_topLevelItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setParentItem, "QGraphicsItem.setParentItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsItem_setParentItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setParentItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        sipWrapper *sipOwner = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJH", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, &sipOwner))
        {
            sipCpp->setParentItem(a0);

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setParentItem, doc_QGraphicsItem_setParentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_group, "QGraphicsItem.group() -> QGraphicsItemGroup");

extern "C" {static PyObject *meth_QGraphicsItem_group(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_group(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsItemGroup*sipRes;

            sipRes = sipCpp->group();

            return sipConvertFromType(sipRes,sipType_QGraphicsItemGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_group, doc_QGraphicsItem_group);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setGroup, "QGraphicsItem.setGroup(QGraphicsItemGroup)");

extern "C" {static PyObject *meth_QGraphicsItem_setGroup(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItemGroup* a0;
        PyObject *a0Keep;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0Keep, sipType_QGraphicsItemGroup, &a0))
        {
            sipCpp->setGroup(a0);

            sipKeepReference(sipSelf, -22, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setGroup, doc_QGraphicsItem_setGroup);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_flags, "QGraphicsItem.flags() -> QGraphicsItem.GraphicsItemFlags");

extern "C" {static PyObject *meth_QGraphicsItem_flags(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsItem::GraphicsItemFlags*sipRes;

            sipRes = new QGraphicsItem::GraphicsItemFlags(sipCpp->flags());

            return sipConvertFromNewType(sipRes,sipType_QGraphicsItem_GraphicsItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_flags, doc_QGraphicsItem_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setFlag, "QGraphicsItem.setFlag(QGraphicsItem.GraphicsItemFlag, bool enabled=True)");

extern "C" {static PyObject *meth_QGraphicsItem_setFlag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setFlag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem::GraphicsItemFlag a0;
        bool a1 = 1;
        QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemFlag, &a0, &a1))
        {
            sipCpp->setFlag(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setFlag, doc_QGraphicsItem_setFlag);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setFlags, "QGraphicsItem.setFlags(QGraphicsItem.GraphicsItemFlags)");

extern "C" {static PyObject *meth_QGraphicsItem_setFlags(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem::GraphicsItemFlags* a0;
        int a0State = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemFlags, &a0, &a0State))
        {
            sipCpp->setFlags(*a0);
            sipReleaseType(a0,sipType_QGraphicsItem_GraphicsItemFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setFlags, doc_QGraphicsItem_setFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_toolTip, "QGraphicsItem.toolTip() -> str");

extern "C" {static PyObject *meth_QGraphicsItem_toolTip(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_toolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toolTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_toolTip, doc_QGraphicsItem_toolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setToolTip, "QGraphicsItem.setToolTip(str)");

extern "C" {static PyObject *meth_QGraphicsItem_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setToolTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setToolTip, doc_QGraphicsItem_setToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_cursor, "QGraphicsItem.cursor() -> QCursor");

extern "C" {static PyObject *meth_QGraphicsItem_cursor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_cursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QCursor*sipRes;

            sipRes = new QCursor(sipCpp->cursor());

            return sipConvertFromNewType(sipRes,sipType_QCursor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_cursor, doc_QGraphicsItem_cursor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setCursor, "QGraphicsItem.setCursor(QCursor)");

extern "C" {static PyObject *meth_QGraphicsItem_setCursor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCursor* a0;
        int a0State = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QCursor, &a0, &a0State))
        {
            sipCpp->setCursor(*a0);
            sipReleaseType(const_cast<QCursor *>(a0),sipType_QCursor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setCursor, doc_QGraphicsItem_setCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_hasCursor, "QGraphicsItem.hasCursor() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_hasCursor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_hasCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasCursor();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_hasCursor, doc_QGraphicsItem_hasCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_unsetCursor, "QGraphicsItem.unsetCursor()");

extern "C" {static PyObject *meth_QGraphicsItem_unsetCursor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_unsetCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->unsetCursor();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_unsetCursor, doc_QGraphicsItem_unsetCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isVisible, "QGraphicsItem.isVisible() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isVisible(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isVisible, doc_QGraphicsItem_isVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setVisible, "QGraphicsItem.setVisible(bool)");

extern "C" {static PyObject *meth_QGraphicsItem_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setVisible, doc_QGraphicsItem_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_hide, "QGraphicsItem.hide()");

extern "C" {static PyObject *meth_QGraphicsItem_hide(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_hide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->hide();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_hide, doc_QGraphicsItem_hide);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_show, "QGraphicsItem.show()");

extern "C" {static PyObject *meth_QGraphicsItem_show(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_show(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->show();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_show, doc_QGraphicsItem_show);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isEnabled, "QGraphicsItem.isEnabled() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isEnabled, doc_QGraphicsItem_isEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setEnabled, "QGraphicsItem.setEnabled(bool)");

extern "C" {static PyObject *meth_QGraphicsItem_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setEnabled, doc_QGraphicsItem_setEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isSelected, "QGraphicsItem.isSelected() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isSelected(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSelected();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isSelected, doc_QGraphicsItem_isSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setSelected, "QGraphicsItem.setSelected(bool)");

extern "C" {static PyObject *meth_QGraphicsItem_setSelected(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setSelected(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setSelected(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setSelected, doc_QGraphicsItem_setSelected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_acceptDrops, "QGraphicsItem.acceptDrops() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_acceptDrops(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_acceptDrops(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->acceptDrops();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_acceptDrops, doc_QGraphicsItem_acceptDrops);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setAcceptDrops, "QGraphicsItem.setAcceptDrops(bool)");

extern "C" {static PyObject *meth_QGraphicsItem_setAcceptDrops(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setAcceptDrops(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setAcceptDrops(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setAcceptDrops, doc_QGraphicsItem_setAcceptDrops);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_acceptedMouseButtons, "QGraphicsItem.acceptedMouseButtons() -> Qt.MouseButtons");

extern "C" {static PyObject *meth_QGraphicsItem_acceptedMouseButtons(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_acceptedMouseButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            Qt::MouseButtons*sipRes;

            sipRes = new Qt::MouseButtons(sipCpp->acceptedMouseButtons());

            return sipConvertFromNewType(sipRes,sipType_Qt_MouseButtons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_acceptedMouseButtons, doc_QGraphicsItem_acceptedMouseButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setAcceptedMouseButtons, "QGraphicsItem.setAcceptedMouseButtons(Qt.MouseButtons)");

extern "C" {static PyObject *meth_QGraphicsItem_setAcceptedMouseButtons(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setAcceptedMouseButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MouseButtons* a0;
        int a0State = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_Qt_MouseButtons, &a0, &a0State))
        {
            sipCpp->setAcceptedMouseButtons(*a0);
            sipReleaseType(a0,sipType_Qt_MouseButtons,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setAcceptedMouseButtons, doc_QGraphicsItem_setAcceptedMouseButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_hasFocus, "QGraphicsItem.hasFocus() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_hasFocus(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_hasFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_hasFocus, doc_QGraphicsItem_hasFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setFocus, "QGraphicsItem.setFocus(Qt.FocusReason focusReason=Qt.OtherFocusReason)");

extern "C" {static PyObject *meth_QGraphicsItem_setFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::FocusReason a0 = Qt::OtherFocusReason;
        QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_focusReason,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_Qt_FocusReason, &a0))
        {
            sipCpp->setFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setFocus, doc_QGraphicsItem_setFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_clearFocus, "QGraphicsItem.clearFocus()");

extern "C" {static PyObject *meth_QGraphicsItem_clearFocus(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_clearFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->clearFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_clearFocus, doc_QGraphicsItem_clearFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_pos, "QGraphicsItem.pos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsItem_pos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->pos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_pos, doc_QGraphicsItem_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_x, "QGraphicsItem.x() -> float");

extern "C" {static PyObject *meth_QGraphicsItem_x(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_x(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->x();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_x, doc_QGraphicsItem_x);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_y, "QGraphicsItem.y() -> float");

extern "C" {static PyObject *meth_QGraphicsItem_y(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_y(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->y();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_y, doc_QGraphicsItem_y);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_scenePos, "QGraphicsItem.scenePos() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsItem_scenePos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_scenePos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->scenePos());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_scenePos, doc_QGraphicsItem_scenePos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setPos, "QGraphicsItem.setPos(QPointF)\n"
    "QGraphicsItem.setPos(float, float)");

extern "C" {static PyObject *meth_QGraphicsItem_setPos(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setPos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setPos(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1))
        {
            sipCpp->setPos(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setPos, doc_QGraphicsItem_setPos);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_moveBy, "QGraphicsItem.moveBy(float, float)");

extern "C" {static PyObject *meth_QGraphicsItem_moveBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_moveBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1))
        {
            sipCpp->moveBy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_moveBy, doc_QGraphicsItem_moveBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_ensureVisible, "QGraphicsItem.ensureVisible(QRectF rect=QRectF(), int xMargin=50, int yMargin=50)\n"
    "QGraphicsItem.ensureVisible(float, float, float, float, int xMargin=50, int yMargin=50)");

extern "C" {static PyObject *meth_QGraphicsItem_ensureVisible(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_ensureVisible(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF& a0def = QRectF();
        const QRectF* a0 = &a0def;
        int a1 = 50;
        int a2 = 50;
        QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_rect,
            sipName_xMargin,
            sipName_yMargin,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9ii", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0, &a1, &a2))
        {
            sipCpp->ensureVisible(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        int a4 = 50;
        int a5 = 50;
        QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_xMargin,
            sipName_yMargin,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdddd|ii", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3, &a4, &a5))
        {
            sipCpp->ensureVisible(a0,a1,a2,a3,a4,a5);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_ensureVisible, doc_QGraphicsItem_ensureVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_advance, "QGraphicsItem.advance(int)");

extern "C" {static PyObject *meth_QGraphicsItem_advance(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_advance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsItem::advance(a0) : sipCpp->advance(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_advance, doc_QGraphicsItem_advance);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_zValue, "QGraphicsItem.zValue() -> float");

extern "C" {static PyObject *meth_QGraphicsItem_zValue(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_zValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->zValue();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_zValue, doc_QGraphicsItem_zValue);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setZValue, "QGraphicsItem.setZValue(float)");

extern "C" {static PyObject *meth_QGraphicsItem_setZValue(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setZValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setZValue(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setZValue, doc_QGraphicsItem_setZValue);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_boundingRect, "QGraphicsItem.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItem_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QRectF*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGraphicsItem, sipName_boundingRect);
                return NULL;
            }

            sipRes = new QRectF(sipCpp->boundingRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_boundingRect, doc_QGraphicsItem_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_childrenBoundingRect, "QGraphicsItem.childrenBoundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItem_childrenBoundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_childrenBoundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->childrenBoundingRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_childrenBoundingRect, doc_QGraphicsItem_childrenBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_sceneBoundingRect, "QGraphicsItem.sceneBoundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItem_sceneBoundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_sceneBoundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sceneBoundingRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_sceneBoundingRect, doc_QGraphicsItem_sceneBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_shape, "QGraphicsItem.shape() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsItem_shape(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_shape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsItem::shape() : sipCpp->shape()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_shape, doc_QGraphicsItem_shape);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_contains, "QGraphicsItem.contains(QPointF) -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_contains(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_contains(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsItem::contains(*a0) : sipCpp->contains(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_contains, doc_QGraphicsItem_contains);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_collidesWithItem, "QGraphicsItem.collidesWithItem(QGraphicsItem, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_collidesWithItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_collidesWithItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        const QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|E", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_Qt_ItemSelectionMode, &a1))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsItem::collidesWithItem(a0,a1) : sipCpp->collidesWithItem(a0,a1));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_collidesWithItem, doc_QGraphicsItem_collidesWithItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_collidesWithPath, "QGraphicsItem.collidesWithPath(QPainterPath, Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_collidesWithPath(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_collidesWithPath(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPainterPath* a0;
        Qt::ItemSelectionMode a1 = Qt::IntersectsItemShape;
        const QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPainterPath, &a0, sipType_Qt_ItemSelectionMode, &a1))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsItem::collidesWithPath(*a0,a1) : sipCpp->collidesWithPath(*a0,a1));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_collidesWithPath, doc_QGraphicsItem_collidesWithPath);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_collidingItems, "QGraphicsItem.collidingItems(Qt.ItemSelectionMode mode=Qt.IntersectsItemShape) -> list-of-QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsItem_collidingItems(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_collidingItems(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ItemSelectionMode a0 = Qt::IntersectsItemShape;
        const QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_Qt_ItemSelectionMode, &a0))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->collidingItems(a0));

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_collidingItems, doc_QGraphicsItem_collidingItems);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isObscuredBy, "QGraphicsItem.isObscuredBy(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isObscuredBy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isObscuredBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsItem::isObscuredBy(a0) : sipCpp->isObscuredBy(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isObscuredBy, doc_QGraphicsItem_isObscuredBy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_opaqueArea, "QGraphicsItem.opaqueArea() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsItem_opaqueArea(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_opaqueArea(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath((sipSelfWasArg ? sipCpp->QGraphicsItem::opaqueArea() : sipCpp->opaqueArea()));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_opaqueArea, doc_QGraphicsItem_opaqueArea);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_paint, "QGraphicsItem.paint(QPainter, QStyleOptionGraphicsItem, QWidget widget=None)");

extern "C" {static PyObject *meth_QGraphicsItem_paint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_paint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QPainter* a0;
        const QStyleOptionGraphicsItem* a1;
        QWidget* a2 = 0;
        QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8|J8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionGraphicsItem, &a1, sipType_QWidget, &a2))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGraphicsItem, sipName_paint);
                return NULL;
            }

            sipCpp->paint(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_paint, doc_QGraphicsItem_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_update, "QGraphicsItem.update(QRectF rect=QRectF())\n"
    "QGraphicsItem.update(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsItem_update(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_update(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF& a0def = QRectF();
        const QRectF* a0 = &a0def;
        QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_rect,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            sipCpp->update(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->update(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_update, doc_QGraphicsItem_update);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapToItem, "QGraphicsItem.mapToItem(QGraphicsItem, QPointF) -> QPointF\n"
    "QGraphicsItem.mapToItem(QGraphicsItem, QRectF) -> QPolygonF\n"
    "QGraphicsItem.mapToItem(QGraphicsItem, QPolygonF) -> QPolygonF\n"
    "QGraphicsItem.mapToItem(QGraphicsItem, QPainterPath) -> QPainterPath\n"
    "QGraphicsItem.mapToItem(QGraphicsItem, float, float) -> QPointF\n"
    "QGraphicsItem.mapToItem(QGraphicsItem, float, float, float, float) -> QPolygonF");

extern "C" {static PyObject *meth_QGraphicsItem_mapToItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapToItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        const QPointF* a1;
        int a1State = 0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QPointF, &a1, &a1State))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapToItem(a0,*a1));
            sipReleaseType(const_cast<QPointF *>(a1),sipType_QPointF,a1State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        const QRectF* a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QRectF, &a1))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        const QPolygonF* a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QPolygonF, &a1))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        const QPainterPath* a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QPainterPath, &a1))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->mapToItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        qreal a1;
        qreal a2;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8dd", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, &a1, &a2))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapToItem(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        qreal a1;
        qreal a2;
        qreal a3;
        qreal a4;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8dddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, &a1, &a2, &a3, &a4))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToItem(a0,a1,a2,a3,a4));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapToItem, doc_QGraphicsItem_mapToItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapToParent, "QGraphicsItem.mapToParent(QPointF) -> QPointF\n"
    "QGraphicsItem.mapToParent(QRectF) -> QPolygonF\n"
    "QGraphicsItem.mapToParent(QPolygonF) -> QPolygonF\n"
    "QGraphicsItem.mapToParent(QPainterPath) -> QPainterPath\n"
    "QGraphicsItem.mapToParent(float, float) -> QPointF\n"
    "QGraphicsItem.mapToParent(float, float, float, float) -> QPolygonF");

extern "C" {static PyObject *meth_QGraphicsItem_mapToParent(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapToParent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapToParent(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        const QRectF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPolygonF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPolygonF, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPainterPath* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPainterPath, &a0))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->mapToParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapToParent(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToParent(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapToParent, doc_QGraphicsItem_mapToParent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapToScene, "QGraphicsItem.mapToScene(QPointF) -> QPointF\n"
    "QGraphicsItem.mapToScene(QRectF) -> QPolygonF\n"
    "QGraphicsItem.mapToScene(QPolygonF) -> QPolygonF\n"
    "QGraphicsItem.mapToScene(QPainterPath) -> QPainterPath\n"
    "QGraphicsItem.mapToScene(float, float) -> QPointF\n"
    "QGraphicsItem.mapToScene(float, float, float, float) -> QPolygonF");

extern "C" {static PyObject *meth_QGraphicsItem_mapToScene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapToScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapToScene(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        const QRectF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPolygonF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPolygonF, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPainterPath* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPainterPath, &a0))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->mapToScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapToScene(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapToScene(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapToScene, doc_QGraphicsItem_mapToScene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapFromItem, "QGraphicsItem.mapFromItem(QGraphicsItem, QPointF) -> QPointF\n"
    "QGraphicsItem.mapFromItem(QGraphicsItem, QRectF) -> QPolygonF\n"
    "QGraphicsItem.mapFromItem(QGraphicsItem, QPolygonF) -> QPolygonF\n"
    "QGraphicsItem.mapFromItem(QGraphicsItem, QPainterPath) -> QPainterPath\n"
    "QGraphicsItem.mapFromItem(QGraphicsItem, float, float) -> QPointF\n"
    "QGraphicsItem.mapFromItem(QGraphicsItem, float, float, float, float) -> QPolygonF");

extern "C" {static PyObject *meth_QGraphicsItem_mapFromItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapFromItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        const QPointF* a1;
        int a1State = 0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QPointF, &a1, &a1State))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapFromItem(a0,*a1));
            sipReleaseType(const_cast<QPointF *>(a1),sipType_QPointF,a1State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        const QRectF* a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QRectF, &a1))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapFromItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        const QPolygonF* a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QPolygonF, &a1))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapFromItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        const QPainterPath* a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QPainterPath, &a1))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->mapFromItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        qreal a1;
        qreal a2;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8dd", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, &a1, &a2))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapFromItem(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        qreal a1;
        qreal a2;
        qreal a3;
        qreal a4;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8dddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, &a1, &a2, &a3, &a4))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapFromItem(a0,a1,a2,a3,a4));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapFromItem, doc_QGraphicsItem_mapFromItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapFromParent, "QGraphicsItem.mapFromParent(QPointF) -> QPointF\n"
    "QGraphicsItem.mapFromParent(QRectF) -> QPolygonF\n"
    "QGraphicsItem.mapFromParent(QPolygonF) -> QPolygonF\n"
    "QGraphicsItem.mapFromParent(QPainterPath) -> QPainterPath\n"
    "QGraphicsItem.mapFromParent(float, float) -> QPointF\n"
    "QGraphicsItem.mapFromParent(float, float, float, float) -> QPolygonF");

extern "C" {static PyObject *meth_QGraphicsItem_mapFromParent(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapFromParent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapFromParent(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        const QRectF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapFromParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPolygonF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPolygonF, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapFromParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPainterPath* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPainterPath, &a0))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->mapFromParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapFromParent(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapFromParent(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapFromParent, doc_QGraphicsItem_mapFromParent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapFromScene, "QGraphicsItem.mapFromScene(QPointF) -> QPointF\n"
    "QGraphicsItem.mapFromScene(QRectF) -> QPolygonF\n"
    "QGraphicsItem.mapFromScene(QPolygonF) -> QPolygonF\n"
    "QGraphicsItem.mapFromScene(QPainterPath) -> QPainterPath\n"
    "QGraphicsItem.mapFromScene(float, float) -> QPointF\n"
    "QGraphicsItem.mapFromScene(float, float, float, float) -> QPolygonF");

extern "C" {static PyObject *meth_QGraphicsItem_mapFromScene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapFromScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapFromScene(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        const QRectF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapFromScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPolygonF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPolygonF, &a0))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapFromScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    {
        const QPainterPath* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPainterPath, &a0))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->mapFromScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapFromScene(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QPolygonF*sipRes;

            sipRes = new QPolygonF(sipCpp->mapFromScene(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QPolygonF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapFromScene, doc_QGraphicsItem_mapFromScene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isAncestorOf, "QGraphicsItem.isAncestorOf(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isAncestorOf(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isAncestorOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isAncestorOf(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isAncestorOf, doc_QGraphicsItem_isAncestorOf);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_data, "QGraphicsItem.data(int) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsItem_data(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->data(a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_data, doc_QGraphicsItem_data);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setData, "QGraphicsItem.setData(int, QVariant)");

extern "C" {static PyObject *meth_QGraphicsItem_setData(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QVariant* a1;
        int a1State = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->setData(a0,*a1);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setData, doc_QGraphicsItem_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_type, "QGraphicsItem.type() -> int");

extern "C" {static PyObject *meth_QGraphicsItem_type(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsItem::type() : sipCpp->type());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_type, doc_QGraphicsItem_type);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_installSceneEventFilter, "QGraphicsItem.installSceneEventFilter(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsItem_installSceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_installSceneEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->installSceneEventFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_installSceneEventFilter, doc_QGraphicsItem_installSceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_removeSceneEventFilter, "QGraphicsItem.removeSceneEventFilter(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsItem_removeSceneEventFilter(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_removeSceneEventFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->removeSceneEventFilter(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_removeSceneEventFilter, doc_QGraphicsItem_removeSceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_contextMenuEvent, "QGraphicsItem.contextMenuEvent(QGraphicsSceneContextMenuEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneContextMenuEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_contextMenuEvent, doc_QGraphicsItem_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_dragEnterEvent, "QGraphicsItem.dragEnterEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_dragEnterEvent, doc_QGraphicsItem_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_dragLeaveEvent, "QGraphicsItem.dragLeaveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_dragLeaveEvent, doc_QGraphicsItem_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_dragMoveEvent, "QGraphicsItem.dragMoveEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_dragMoveEvent, doc_QGraphicsItem_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_dropEvent, "QGraphicsItem.dropEvent(QGraphicsSceneDragDropEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneDragDropEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneDragDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_dropEvent, doc_QGraphicsItem_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_focusInEvent, "QGraphicsItem.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_focusInEvent, doc_QGraphicsItem_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_focusOutEvent, "QGraphicsItem.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_focusOutEvent, doc_QGraphicsItem_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_hoverEnterEvent, "QGraphicsItem.hoverEnterEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_hoverEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_hoverEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_hoverEnterEvent, doc_QGraphicsItem_hoverEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_hoverLeaveEvent, "QGraphicsItem.hoverLeaveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_hoverLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_hoverLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_hoverLeaveEvent, doc_QGraphicsItem_hoverLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_hoverMoveEvent, "QGraphicsItem.hoverMoveEvent(QGraphicsSceneHoverEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_hoverMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_hoverMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneHoverEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneHoverEvent, &a0))
        {
            sipCpp->sipProtectVirt_hoverMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_hoverMoveEvent, doc_QGraphicsItem_hoverMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_inputMethodEvent, "QGraphicsItem.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_inputMethodEvent, doc_QGraphicsItem_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_inputMethodQuery, "QGraphicsItem.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsItem_inputMethodQuery(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_inputMethodQuery(sipSelfWasArg,a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_inputMethodQuery, doc_QGraphicsItem_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_itemChange, "QGraphicsItem.itemChange(QGraphicsItem.GraphicsItemChange, QVariant) -> QVariant");

extern "C" {static PyObject *meth_QGraphicsItem_itemChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_itemChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem::GraphicsItemChange a0;
        const QVariant* a1;
        int a1State = 0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem_GraphicsItemChange, &a0, sipType_QVariant, &a1, &a1State))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->sipProtectVirt_itemChange(sipSelfWasArg,a0,*a1));
            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_QGraphicsItem, sipName_itemChange, doc_QGraphicsItem_itemChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_keyPressEvent, "QGraphicsItem.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_keyPressEvent, doc_QGraphicsItem_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_keyReleaseEvent, "QGraphicsItem.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_keyReleaseEvent, doc_QGraphicsItem_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mouseDoubleClickEvent, "QGraphicsItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mouseDoubleClickEvent, doc_QGraphicsItem_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mouseMoveEvent, "QGraphicsItem.mouseMoveEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mouseMoveEvent, doc_QGraphicsItem_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mousePressEvent, "QGraphicsItem.mousePressEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mousePressEvent, doc_QGraphicsItem_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mouseReleaseEvent, "QGraphicsItem.mouseReleaseEvent(QGraphicsSceneMouseEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneMouseEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mouseReleaseEvent, doc_QGraphicsItem_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_prepareGeometryChange, "QGraphicsItem.prepareGeometryChange()");

extern "C" {static PyObject *meth_QGraphicsItem_prepareGeometryChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_prepareGeometryChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->sipProtect_prepareGeometryChange();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_prepareGeometryChange, doc_QGraphicsItem_prepareGeometryChange);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_sceneEvent, "QGraphicsItem.sceneEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_sceneEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_sceneEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_sceneEvent, doc_QGraphicsItem_sceneEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_sceneEventFilter, "QGraphicsItem.sceneEventFilter(QGraphicsItem, QEvent) -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_sceneEventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_sceneEventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsItem* a0;
        QEvent* a1;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_sceneEventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_sceneEventFilter, doc_QGraphicsItem_sceneEventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_wheelEvent, "QGraphicsItem.wheelEvent(QGraphicsSceneWheelEvent)");

extern "C" {static PyObject *meth_QGraphicsItem_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsSceneWheelEvent* a0;
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsSceneWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_wheelEvent, doc_QGraphicsItem_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_transform, "QGraphicsItem.transform() -> QTransform");

extern "C" {static PyObject *meth_QGraphicsItem_transform(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_transform(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QTransform*sipRes;

            sipRes = new QTransform(sipCpp->transform());

            return sipConvertFromNewType(sipRes,sipType_QTransform,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_transform, doc_QGraphicsItem_transform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_sceneTransform, "QGraphicsItem.sceneTransform() -> QTransform");

extern "C" {static PyObject *meth_QGraphicsItem_sceneTransform(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_sceneTransform(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QTransform*sipRes;

            sipRes = new QTransform(sipCpp->sceneTransform());

            return sipConvertFromNewType(sipRes,sipType_QTransform,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_sceneTransform, doc_QGraphicsItem_sceneTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_deviceTransform, "QGraphicsItem.deviceTransform(QTransform) -> QTransform");

extern "C" {static PyObject *meth_QGraphicsItem_deviceTransform(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_deviceTransform(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTransform* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QTransform, &a0))
        {
            QTransform*sipRes;

            sipRes = new QTransform(sipCpp->deviceTransform(*a0));

            return sipConvertFromNewType(sipRes,sipType_QTransform,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_deviceTransform, doc_QGraphicsItem_deviceTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setTransform, "QGraphicsItem.setTransform(QTransform, bool combine=False)");

extern "C" {static PyObject *meth_QGraphicsItem_setTransform(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setTransform(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QTransform* a0;
        bool a1 = 0;
        QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_combine,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|b", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QTransform, &a0, &a1))
        {
            sipCpp->setTransform(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setTransform, doc_QGraphicsItem_setTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_resetTransform, "QGraphicsItem.resetTransform()");

extern "C" {static PyObject *meth_QGraphicsItem_resetTransform(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_resetTransform(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->resetTransform();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_resetTransform, doc_QGraphicsItem_resetTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isObscured, "QGraphicsItem.isObscured(QRectF rect=QRectF()) -> bool\n"
    "QGraphicsItem.isObscured(float, float, float, float) -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isObscured(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isObscured(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF& a0def = QRectF();
        const QRectF* a0 = &a0def;
        const QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            sipName_rect,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isObscured(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->isObscured(a0,a1,a2,a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isObscured, doc_QGraphicsItem_isObscured);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_parentWidget, "QGraphicsItem.parentWidget() -> QGraphicsWidget");

extern "C" {static PyObject *meth_QGraphicsItem_parentWidget(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_parentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsWidget*sipRes;

            sipRes = sipCpp->parentWidget();

            return sipConvertFromType(sipRes,sipType_QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_parentWidget, doc_QGraphicsItem_parentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_topLevelWidget, "QGraphicsItem.topLevelWidget() -> QGraphicsWidget");

extern "C" {static PyObject *meth_QGraphicsItem_topLevelWidget(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_topLevelWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsWidget*sipRes;

            sipRes = sipCpp->topLevelWidget();

            return sipConvertFromType(sipRes,sipType_QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_topLevelWidget, doc_QGraphicsItem_topLevelWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_window, "QGraphicsItem.window() -> QGraphicsWidget");

extern "C" {static PyObject *meth_QGraphicsItem_window(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_window(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsWidget*sipRes;

            sipRes = sipCpp->window();

            return sipConvertFromType(sipRes,sipType_QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_window, doc_QGraphicsItem_window);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_childItems, "QGraphicsItem.childItems() -> list-of-QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsItem_childItems(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_childItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QList<QGraphicsItem*>*sipRes;

            sipRes = new QList<QGraphicsItem*>(sipCpp->childItems());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_childItems, doc_QGraphicsItem_childItems);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isWidget, "QGraphicsItem.isWidget() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isWidget(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWidget();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isWidget, doc_QGraphicsItem_isWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isWindow, "QGraphicsItem.isWindow() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isWindow(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWindow();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isWindow, doc_QGraphicsItem_isWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_cacheMode, "QGraphicsItem.cacheMode() -> QGraphicsItem.CacheMode");

extern "C" {static PyObject *meth_QGraphicsItem_cacheMode(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_cacheMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsItem::CacheMode sipRes;

            sipRes = sipCpp->cacheMode();

            return sipConvertFromEnum(sipRes,sipType_QGraphicsItem_CacheMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_cacheMode, doc_QGraphicsItem_cacheMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setCacheMode, "QGraphicsItem.setCacheMode(QGraphicsItem.CacheMode, QSize logicalCacheSize=QSize())");

extern "C" {static PyObject *meth_QGraphicsItem_setCacheMode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setCacheMode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem::CacheMode a0;
        const QSize& a1def = QSize();
        const QSize* a1 = &a1def;
        QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_logicalCacheSize,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem_CacheMode, &a0, sipType_QSize, &a1))
        {
            sipCpp->setCacheMode(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setCacheMode, doc_QGraphicsItem_setCacheMode);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isVisibleTo, "QGraphicsItem.isVisibleTo(QGraphicsItem) -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isVisibleTo(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isVisibleTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isVisibleTo(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isVisibleTo, doc_QGraphicsItem_isVisibleTo);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_acceptHoverEvents, "QGraphicsItem.acceptHoverEvents() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_acceptHoverEvents(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_acceptHoverEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->acceptHoverEvents();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_acceptHoverEvents, doc_QGraphicsItem_acceptHoverEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setAcceptHoverEvents, "QGraphicsItem.setAcceptHoverEvents(bool)");

extern "C" {static PyObject *meth_QGraphicsItem_setAcceptHoverEvents(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setAcceptHoverEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setAcceptHoverEvents(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setAcceptHoverEvents, doc_QGraphicsItem_setAcceptHoverEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_grabMouse, "QGraphicsItem.grabMouse()");

extern "C" {static PyObject *meth_QGraphicsItem_grabMouse(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_grabMouse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->grabMouse();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_grabMouse, doc_QGraphicsItem_grabMouse);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_ungrabMouse, "QGraphicsItem.ungrabMouse()");

extern "C" {static PyObject *meth_QGraphicsItem_ungrabMouse(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_ungrabMouse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->ungrabMouse();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_ungrabMouse, doc_QGraphicsItem_ungrabMouse);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_grabKeyboard, "QGraphicsItem.grabKeyboard()");

extern "C" {static PyObject *meth_QGraphicsItem_grabKeyboard(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_grabKeyboard(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->grabKeyboard();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_grabKeyboard, doc_QGraphicsItem_grabKeyboard);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_ungrabKeyboard, "QGraphicsItem.ungrabKeyboard()");

extern "C" {static PyObject *meth_QGraphicsItem_ungrabKeyboard(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_ungrabKeyboard(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->ungrabKeyboard();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_ungrabKeyboard, doc_QGraphicsItem_ungrabKeyboard);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_boundingRegion, "QGraphicsItem.boundingRegion(QTransform) -> QRegion");

extern "C" {static PyObject *meth_QGraphicsItem_boundingRegion(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_boundingRegion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTransform* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QTransform, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->boundingRegion(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_boundingRegion, doc_QGraphicsItem_boundingRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_boundingRegionGranularity, "QGraphicsItem.boundingRegionGranularity() -> float");

extern "C" {static PyObject *meth_QGraphicsItem_boundingRegionGranularity(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_boundingRegionGranularity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->boundingRegionGranularity();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_boundingRegionGranularity, doc_QGraphicsItem_boundingRegionGranularity);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setBoundingRegionGranularity, "QGraphicsItem.setBoundingRegionGranularity(float)");

extern "C" {static PyObject *meth_QGraphicsItem_setBoundingRegionGranularity(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setBoundingRegionGranularity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setBoundingRegionGranularity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setBoundingRegionGranularity, doc_QGraphicsItem_setBoundingRegionGranularity);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_scroll, "QGraphicsItem.scroll(float, float, QRectF rect=QRectF())");

extern "C" {static PyObject *meth_QGraphicsItem_scroll(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_scroll(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        const QRectF& a2def = QRectF();
        const QRectF* a2 = &a2def;
        QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_rect,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdd|J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, sipType_QRectF, &a2))
        {
            sipCpp->scroll(a0,a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_scroll, doc_QGraphicsItem_scroll);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_commonAncestorItem, "QGraphicsItem.commonAncestorItem(QGraphicsItem) -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsItem_commonAncestorItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_commonAncestorItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->commonAncestorItem(a0);

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_commonAncestorItem, doc_QGraphicsItem_commonAncestorItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isUnderMouse, "QGraphicsItem.isUnderMouse() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isUnderMouse(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isUnderMouse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isUnderMouse();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isUnderMouse, doc_QGraphicsItem_isUnderMouse);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_opacity, "QGraphicsItem.opacity() -> float");

extern "C" {static PyObject *meth_QGraphicsItem_opacity(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_opacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->opacity();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_opacity, doc_QGraphicsItem_opacity);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_effectiveOpacity, "QGraphicsItem.effectiveOpacity() -> float");

extern "C" {static PyObject *meth_QGraphicsItem_effectiveOpacity(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_effectiveOpacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->effectiveOpacity();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_effectiveOpacity, doc_QGraphicsItem_effectiveOpacity);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setOpacity, "QGraphicsItem.setOpacity(float)");

extern "C" {static PyObject *meth_QGraphicsItem_setOpacity(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setOpacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setOpacity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setOpacity, doc_QGraphicsItem_setOpacity);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_itemTransform, "QGraphicsItem.itemTransform(QGraphicsItem) -> (QTransform, bool)");

extern "C" {static PyObject *meth_QGraphicsItem_itemTransform(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_itemTransform(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        bool a1;
        const QGraphicsItem *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            QTransform*sipRes;

            sipRes = new QTransform(sipCpp->itemTransform(a0,&a1));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QTransform,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a1);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_itemTransform, doc_QGraphicsItem_itemTransform);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isClipped, "QGraphicsItem.isClipped() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isClipped(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isClipped(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isClipped();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isClipped, doc_QGraphicsItem_isClipped);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_clipPath, "QGraphicsItem.clipPath() -> QPainterPath");

extern "C" {static PyObject *meth_QGraphicsItem_clipPath(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_clipPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QPainterPath*sipRes;

            sipRes = new QPainterPath(sipCpp->clipPath());

            return sipConvertFromNewType(sipRes,sipType_QPainterPath,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_clipPath, doc_QGraphicsItem_clipPath);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapRectToItem, "QGraphicsItem.mapRectToItem(QGraphicsItem, QRectF) -> QRectF\n"
    "QGraphicsItem.mapRectToItem(QGraphicsItem, float, float, float, float) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItem_mapRectToItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapRectToItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        const QRectF* a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QRectF, &a1))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectToItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        qreal a1;
        qreal a2;
        qreal a3;
        qreal a4;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8dddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, &a1, &a2, &a3, &a4))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectToItem(a0,a1,a2,a3,a4));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapRectToItem, doc_QGraphicsItem_mapRectToItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapRectToParent, "QGraphicsItem.mapRectToParent(QRectF) -> QRectF\n"
    "QGraphicsItem.mapRectToParent(float, float, float, float) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItem_mapRectToParent(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapRectToParent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectToParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectToParent(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapRectToParent, doc_QGraphicsItem_mapRectToParent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapRectToScene, "QGraphicsItem.mapRectToScene(QRectF) -> QRectF\n"
    "QGraphicsItem.mapRectToScene(float, float, float, float) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItem_mapRectToScene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapRectToScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectToScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectToScene(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapRectToScene, doc_QGraphicsItem_mapRectToScene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapRectFromItem, "QGraphicsItem.mapRectFromItem(QGraphicsItem, QRectF) -> QRectF\n"
    "QGraphicsItem.mapRectFromItem(QGraphicsItem, float, float, float, float) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItem_mapRectFromItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapRectFromItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        const QRectF* a1;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, sipType_QRectF, &a1))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectFromItem(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    {
        const QGraphicsItem* a0;
        qreal a1;
        qreal a2;
        qreal a3;
        qreal a4;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8dddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0, &a1, &a2, &a3, &a4))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectFromItem(a0,a1,a2,a3,a4));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapRectFromItem, doc_QGraphicsItem_mapRectFromItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapRectFromParent, "QGraphicsItem.mapRectFromParent(QRectF) -> QRectF\n"
    "QGraphicsItem.mapRectFromParent(float, float, float, float) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItem_mapRectFromParent(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapRectFromParent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectFromParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectFromParent(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapRectFromParent, doc_QGraphicsItem_mapRectFromParent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_mapRectFromScene, "QGraphicsItem.mapRectFromScene(QRectF) -> QRectF\n"
    "QGraphicsItem.mapRectFromScene(float, float, float, float) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsItem_mapRectFromScene(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_mapRectFromScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRectF* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QRectF, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectFromScene(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1, &a2, &a3))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->mapRectFromScene(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_mapRectFromScene, doc_QGraphicsItem_mapRectFromScene);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_parentObject, "QGraphicsItem.parentObject() -> QGraphicsObject");

extern "C" {static PyObject *meth_QGraphicsItem_parentObject(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_parentObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsObject*sipRes;

            sipRes = sipCpp->parentObject();

            return sipConvertFromType(sipRes,sipType_QGraphicsObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_parentObject, doc_QGraphicsItem_parentObject);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_panel, "QGraphicsItem.panel() -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsItem_panel(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_panel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->panel();

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_panel, doc_QGraphicsItem_panel);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isPanel, "QGraphicsItem.isPanel() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isPanel(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isPanel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isPanel();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isPanel, doc_QGraphicsItem_isPanel);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_toGraphicsObject, "QGraphicsItem.toGraphicsObject() -> QGraphicsObject");

extern "C" {static PyObject *meth_QGraphicsItem_toGraphicsObject(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_toGraphicsObject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsObject*sipRes;

            sipRes = sipCpp->toGraphicsObject();

            return sipConvertFromType(sipRes,sipType_QGraphicsObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_toGraphicsObject, doc_QGraphicsItem_toGraphicsObject);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_panelModality, "QGraphicsItem.panelModality() -> QGraphicsItem.PanelModality");

extern "C" {static PyObject *meth_QGraphicsItem_panelModality(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_panelModality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsItem::PanelModality sipRes;

            sipRes = sipCpp->panelModality();

            return sipConvertFromEnum(sipRes,sipType_QGraphicsItem_PanelModality);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_panelModality, doc_QGraphicsItem_panelModality);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setPanelModality, "QGraphicsItem.setPanelModality(QGraphicsItem.PanelModality)");

extern "C" {static PyObject *meth_QGraphicsItem_setPanelModality(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setPanelModality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem::PanelModality a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem_PanelModality, &a0))
        {
            sipCpp->setPanelModality(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setPanelModality, doc_QGraphicsItem_setPanelModality);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isBlockedByModalPanel, "QGraphicsItem.isBlockedByModalPanel() -> (bool, QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsItem_isBlockedByModalPanel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isBlockedByModalPanel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        const QGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isBlockedByModalPanel(&a0);

            return sipBuildResult(0,"(bD)",sipRes,a0,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isBlockedByModalPanel, doc_QGraphicsItem_isBlockedByModalPanel);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_graphicsEffect, "QGraphicsItem.graphicsEffect() -> QGraphicsEffect");

extern "C" {static PyObject *meth_QGraphicsItem_graphicsEffect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_graphicsEffect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsEffect*sipRes;

            sipRes = sipCpp->graphicsEffect();

            return sipConvertFromType(sipRes,sipType_QGraphicsEffect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_graphicsEffect, doc_QGraphicsItem_graphicsEffect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setGraphicsEffect, "QGraphicsItem.setGraphicsEffect(QGraphicsEffect)");

extern "C" {static PyObject *meth_QGraphicsItem_setGraphicsEffect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setGraphicsEffect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsEffect* a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsEffect, &a0))
        {
            sipCpp->setGraphicsEffect(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setGraphicsEffect, doc_QGraphicsItem_setGraphicsEffect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_acceptTouchEvents, "QGraphicsItem.acceptTouchEvents() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_acceptTouchEvents(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_acceptTouchEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->acceptTouchEvents();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_acceptTouchEvents, doc_QGraphicsItem_acceptTouchEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setAcceptTouchEvents, "QGraphicsItem.setAcceptTouchEvents(bool)");

extern "C" {static PyObject *meth_QGraphicsItem_setAcceptTouchEvents(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setAcceptTouchEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setAcceptTouchEvents(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setAcceptTouchEvents, doc_QGraphicsItem_setAcceptTouchEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_filtersChildEvents, "QGraphicsItem.filtersChildEvents() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_filtersChildEvents(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_filtersChildEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->filtersChildEvents();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_filtersChildEvents, doc_QGraphicsItem_filtersChildEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setFiltersChildEvents, "QGraphicsItem.setFiltersChildEvents(bool)");

extern "C" {static PyObject *meth_QGraphicsItem_setFiltersChildEvents(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setFiltersChildEvents(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setFiltersChildEvents(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setFiltersChildEvents, doc_QGraphicsItem_setFiltersChildEvents);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_isActive, "QGraphicsItem.isActive() -> bool");

extern "C" {static PyObject *meth_QGraphicsItem_isActive(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_isActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_isActive, doc_QGraphicsItem_isActive);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setActive, "QGraphicsItem.setActive(bool)");

extern "C" {static PyObject *meth_QGraphicsItem_setActive(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setActive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setActive(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setActive, doc_QGraphicsItem_setActive);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_focusProxy, "QGraphicsItem.focusProxy() -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsItem_focusProxy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_focusProxy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->focusProxy();

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_focusProxy, doc_QGraphicsItem_focusProxy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setFocusProxy, "QGraphicsItem.setFocusProxy(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsItem_setFocusProxy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setFocusProxy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        PyObject *a0Keep;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0Keep, sipType_QGraphicsItem, &a0))
        {
            sipCpp->setFocusProxy(a0);

            sipKeepReference(sipSelf, -23, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setFocusProxy, doc_QGraphicsItem_setFocusProxy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_focusItem, "QGraphicsItem.focusItem() -> QGraphicsItem");

extern "C" {static PyObject *meth_QGraphicsItem_focusItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_focusItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QGraphicsItem*sipRes;

            sipRes = sipCpp->focusItem();

            return sipConvertFromType(sipRes,sipType_QGraphicsItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_focusItem, doc_QGraphicsItem_focusItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setX, "QGraphicsItem.setX(float)");

extern "C" {static PyObject *meth_QGraphicsItem_setX(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setX(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setX(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setX, doc_QGraphicsItem_setX);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setY, "QGraphicsItem.setY(float)");

extern "C" {static PyObject *meth_QGraphicsItem_setY(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setY(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setY(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setY, doc_QGraphicsItem_setY);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setRotation, "QGraphicsItem.setRotation(float)");

extern "C" {static PyObject *meth_QGraphicsItem_setRotation(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setRotation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setRotation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setRotation, doc_QGraphicsItem_setRotation);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_rotation, "QGraphicsItem.rotation() -> float");

extern "C" {static PyObject *meth_QGraphicsItem_rotation(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_rotation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->rotation();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_rotation, doc_QGraphicsItem_rotation);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setScale, "QGraphicsItem.setScale(float)");

extern "C" {static PyObject *meth_QGraphicsItem_setScale(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setScale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0))
        {
            sipCpp->setScale(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setScale, doc_QGraphicsItem_setScale);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_scale, "QGraphicsItem.scale() -> float");

extern "C" {static PyObject *meth_QGraphicsItem_scale(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_scale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->scale();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_scale, doc_QGraphicsItem_scale);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_transformations, "QGraphicsItem.transformations() -> list-of-QGraphicsTransform");

extern "C" {static PyObject *meth_QGraphicsItem_transformations(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_transformations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QList<QGraphicsTransform*>*sipRes;

            sipRes = new QList<QGraphicsTransform*>(sipCpp->transformations());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsTransform,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_transformations, doc_QGraphicsItem_transformations);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setTransformations, "QGraphicsItem.setTransformations(list-of-QGraphicsTransform)");

extern "C" {static PyObject *meth_QGraphicsItem_setTransformations(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setTransformations(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QGraphicsTransform*>* a0;
        PyObject *a0Keep;
        int a0State = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J1", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0Keep, sipType_QList_0101QGraphicsTransform,&a0, &a0State))
        {
            sipCpp->setTransformations(*a0);

            sipKeepReference(sipSelf, -24, a0Keep);
            sipReleaseType(const_cast<QList<QGraphicsTransform*> *>(a0),sipType_QList_0101QGraphicsTransform,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setTransformations, doc_QGraphicsItem_setTransformations);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_transformOriginPoint, "QGraphicsItem.transformOriginPoint() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsItem_transformOriginPoint(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_transformOriginPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->transformOriginPoint());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_transformOriginPoint, doc_QGraphicsItem_transformOriginPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setTransformOriginPoint, "QGraphicsItem.setTransformOriginPoint(QPointF)\n"
    "QGraphicsItem.setTransformOriginPoint(float, float)");

extern "C" {static PyObject *meth_QGraphicsItem_setTransformOriginPoint(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setTransformOriginPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setTransformOriginPoint(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsItem, &sipCpp, &a0, &a1))
        {
            sipCpp->setTransformOriginPoint(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setTransformOriginPoint, doc_QGraphicsItem_setTransformOriginPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_stackBefore, "QGraphicsItem.stackBefore(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsItem_stackBefore(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_stackBefore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem* a0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->stackBefore(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_stackBefore, doc_QGraphicsItem_stackBefore);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_inputMethodHints, "QGraphicsItem.inputMethodHints() -> Qt.InputMethodHints");

extern "C" {static PyObject *meth_QGraphicsItem_inputMethodHints(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_inputMethodHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            Qt::InputMethodHints*sipRes;

            sipRes = new Qt::InputMethodHints(sipCpp->inputMethodHints());

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodHints,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_inputMethodHints, doc_QGraphicsItem_inputMethodHints);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_setInputMethodHints, "QGraphicsItem.setInputMethodHints(Qt.InputMethodHints)");

extern "C" {static PyObject *meth_QGraphicsItem_setInputMethodHints(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_setInputMethodHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::InputMethodHints* a0;
        int a0State = 0;
        QGraphicsItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsItem, &sipCpp, sipType_Qt_InputMethodHints, &a0, &a0State))
        {
            sipCpp->setInputMethodHints(*a0);
            sipReleaseType(a0,sipType_Qt_InputMethodHints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_setInputMethodHints, doc_QGraphicsItem_setInputMethodHints);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsItem_updateMicroFocus, "QGraphicsItem.updateMicroFocus()");

extern "C" {static PyObject *meth_QGraphicsItem_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsItem_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsItem *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsItem, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsItem, sipName_updateMicroFocus, doc_QGraphicsItem_updateMicroFocus);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsItem(void *, const sipTypeDef *);}
static void *cast_QGraphicsItem(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGraphicsItem)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsItem(void *, int);}
static void release_QGraphicsItem(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsItem *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsItem *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsItem(sipSimpleWrapper *);}
static void dealloc_QGraphicsItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsItem *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsItem(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsItem(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsItem *sipCpp = 0;

    {
        QGraphicsItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsItem(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QGraphicsItem[] = {
    {SIP_MLNAME_CAST(sipName_acceptDrops), meth_QGraphicsItem_acceptDrops, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_acceptDrops)},
    {SIP_MLNAME_CAST(sipName_acceptHoverEvents), meth_QGraphicsItem_acceptHoverEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_acceptHoverEvents)},
    {SIP_MLNAME_CAST(sipName_acceptTouchEvents), meth_QGraphicsItem_acceptTouchEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_acceptTouchEvents)},
    {SIP_MLNAME_CAST(sipName_acceptedMouseButtons), meth_QGraphicsItem_acceptedMouseButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_acceptedMouseButtons)},
    {SIP_MLNAME_CAST(sipName_advance), meth_QGraphicsItem_advance, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_advance)},
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsItem_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_boundingRect)},
    {SIP_MLNAME_CAST(sipName_boundingRegion), meth_QGraphicsItem_boundingRegion, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_boundingRegion)},
    {SIP_MLNAME_CAST(sipName_boundingRegionGranularity), meth_QGraphicsItem_boundingRegionGranularity, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_boundingRegionGranularity)},
    {SIP_MLNAME_CAST(sipName_cacheMode), meth_QGraphicsItem_cacheMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_cacheMode)},
    {SIP_MLNAME_CAST(sipName_childItems), meth_QGraphicsItem_childItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_childItems)},
    {SIP_MLNAME_CAST(sipName_childrenBoundingRect), meth_QGraphicsItem_childrenBoundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_childrenBoundingRect)},
    {SIP_MLNAME_CAST(sipName_clearFocus), meth_QGraphicsItem_clearFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_clearFocus)},
    {SIP_MLNAME_CAST(sipName_clipPath), meth_QGraphicsItem_clipPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_clipPath)},
    {SIP_MLNAME_CAST(sipName_collidesWithItem), (PyCFunction)meth_QGraphicsItem_collidesWithItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_collidesWithItem)},
    {SIP_MLNAME_CAST(sipName_collidesWithPath), (PyCFunction)meth_QGraphicsItem_collidesWithPath, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_collidesWithPath)},
    {SIP_MLNAME_CAST(sipName_collidingItems), (PyCFunction)meth_QGraphicsItem_collidingItems, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_collidingItems)},
    {SIP_MLNAME_CAST(sipName_commonAncestorItem), meth_QGraphicsItem_commonAncestorItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_commonAncestorItem)},
    {SIP_MLNAME_CAST(sipName_contains), meth_QGraphicsItem_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_contains)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QGraphicsItem_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_cursor), meth_QGraphicsItem_cursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_cursor)},
    {SIP_MLNAME_CAST(sipName_data), meth_QGraphicsItem_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_data)},
    {SIP_MLNAME_CAST(sipName_deviceTransform), meth_QGraphicsItem_deviceTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_deviceTransform)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QGraphicsItem_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QGraphicsItem_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QGraphicsItem_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QGraphicsItem_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_dropEvent)},
    {SIP_MLNAME_CAST(sipName_effectiveOpacity), meth_QGraphicsItem_effectiveOpacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_effectiveOpacity)},
    {SIP_MLNAME_CAST(sipName_ensureVisible), (PyCFunction)meth_QGraphicsItem_ensureVisible, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_ensureVisible)},
    {SIP_MLNAME_CAST(sipName_filtersChildEvents), meth_QGraphicsItem_filtersChildEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_filtersChildEvents)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QGraphicsItem_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_flags)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QGraphicsItem_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusItem), meth_QGraphicsItem_focusItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_focusItem)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QGraphicsItem_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusProxy), meth_QGraphicsItem_focusProxy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_focusProxy)},
    {SIP_MLNAME_CAST(sipName_grabKeyboard), meth_QGraphicsItem_grabKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_grabKeyboard)},
    {SIP_MLNAME_CAST(sipName_grabMouse), meth_QGraphicsItem_grabMouse, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_grabMouse)},
    {SIP_MLNAME_CAST(sipName_graphicsEffect), meth_QGraphicsItem_graphicsEffect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_graphicsEffect)},
    {SIP_MLNAME_CAST(sipName_group), meth_QGraphicsItem_group, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_group)},
    {SIP_MLNAME_CAST(sipName_hasCursor), meth_QGraphicsItem_hasCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_hasCursor)},
    {SIP_MLNAME_CAST(sipName_hasFocus), meth_QGraphicsItem_hasFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_hasFocus)},
    {SIP_MLNAME_CAST(sipName_hide), meth_QGraphicsItem_hide, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_hide)},
    {SIP_MLNAME_CAST(sipName_hoverEnterEvent), (PyCFunction)meth_QGraphicsItem_hoverEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_hoverEnterEvent)},
    {SIP_MLNAME_CAST(sipName_hoverLeaveEvent), (PyCFunction)meth_QGraphicsItem_hoverLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_hoverLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_hoverMoveEvent), (PyCFunction)meth_QGraphicsItem_hoverMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_hoverMoveEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QGraphicsItem_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodHints), meth_QGraphicsItem_inputMethodHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_inputMethodHints)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), (PyCFunction)meth_QGraphicsItem_inputMethodQuery, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_installSceneEventFilter), meth_QGraphicsItem_installSceneEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_installSceneEventFilter)},
    {SIP_MLNAME_CAST(sipName_isActive), meth_QGraphicsItem_isActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isActive)},
    {SIP_MLNAME_CAST(sipName_isAncestorOf), meth_QGraphicsItem_isAncestorOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isAncestorOf)},
    {SIP_MLNAME_CAST(sipName_isBlockedByModalPanel), (PyCFunction)meth_QGraphicsItem_isBlockedByModalPanel, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_isBlockedByModalPanel)},
    {SIP_MLNAME_CAST(sipName_isClipped), meth_QGraphicsItem_isClipped, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isClipped)},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_QGraphicsItem_isEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isEnabled)},
    {SIP_MLNAME_CAST(sipName_isObscured), (PyCFunction)meth_QGraphicsItem_isObscured, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_isObscured)},
    {SIP_MLNAME_CAST(sipName_isObscuredBy), meth_QGraphicsItem_isObscuredBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isObscuredBy)},
    {SIP_MLNAME_CAST(sipName_isPanel), meth_QGraphicsItem_isPanel, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isPanel)},
    {SIP_MLNAME_CAST(sipName_isSelected), meth_QGraphicsItem_isSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isSelected)},
    {SIP_MLNAME_CAST(sipName_isUnderMouse), meth_QGraphicsItem_isUnderMouse, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isUnderMouse)},
    {SIP_MLNAME_CAST(sipName_isVisible), meth_QGraphicsItem_isVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isVisible)},
    {SIP_MLNAME_CAST(sipName_isVisibleTo), meth_QGraphicsItem_isVisibleTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isVisibleTo)},
    {SIP_MLNAME_CAST(sipName_isWidget), meth_QGraphicsItem_isWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isWidget)},
    {SIP_MLNAME_CAST(sipName_isWindow), meth_QGraphicsItem_isWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_isWindow)},
    {SIP_MLNAME_CAST(sipName_itemChange), (PyCFunction)meth_QGraphicsItem_itemChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_itemChange)},
    {SIP_MLNAME_CAST(sipName_itemTransform), (PyCFunction)meth_QGraphicsItem_itemTransform, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_itemTransform)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QGraphicsItem_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QGraphicsItem_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_mapFromItem), meth_QGraphicsItem_mapFromItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapFromItem)},
    {SIP_MLNAME_CAST(sipName_mapFromParent), meth_QGraphicsItem_mapFromParent, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapFromParent)},
    {SIP_MLNAME_CAST(sipName_mapFromScene), meth_QGraphicsItem_mapFromScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapFromScene)},
    {SIP_MLNAME_CAST(sipName_mapRectFromItem), meth_QGraphicsItem_mapRectFromItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapRectFromItem)},
    {SIP_MLNAME_CAST(sipName_mapRectFromParent), meth_QGraphicsItem_mapRectFromParent, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapRectFromParent)},
    {SIP_MLNAME_CAST(sipName_mapRectFromScene), meth_QGraphicsItem_mapRectFromScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapRectFromScene)},
    {SIP_MLNAME_CAST(sipName_mapRectToItem), meth_QGraphicsItem_mapRectToItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapRectToItem)},
    {SIP_MLNAME_CAST(sipName_mapRectToParent), meth_QGraphicsItem_mapRectToParent, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapRectToParent)},
    {SIP_MLNAME_CAST(sipName_mapRectToScene), meth_QGraphicsItem_mapRectToScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapRectToScene)},
    {SIP_MLNAME_CAST(sipName_mapToItem), meth_QGraphicsItem_mapToItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapToItem)},
    {SIP_MLNAME_CAST(sipName_mapToParent), meth_QGraphicsItem_mapToParent, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapToParent)},
    {SIP_MLNAME_CAST(sipName_mapToScene), meth_QGraphicsItem_mapToScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_mapToScene)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QGraphicsItem_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QGraphicsItem_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QGraphicsItem_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QGraphicsItem_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveBy), meth_QGraphicsItem_moveBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_moveBy)},
    {SIP_MLNAME_CAST(sipName_opacity), meth_QGraphicsItem_opacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_opacity)},
    {SIP_MLNAME_CAST(sipName_opaqueArea), meth_QGraphicsItem_opaqueArea, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_opaqueArea)},
    {SIP_MLNAME_CAST(sipName_paint), (PyCFunction)meth_QGraphicsItem_paint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_paint)},
    {SIP_MLNAME_CAST(sipName_panel), meth_QGraphicsItem_panel, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_panel)},
    {SIP_MLNAME_CAST(sipName_panelModality), meth_QGraphicsItem_panelModality, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_panelModality)},
    {SIP_MLNAME_CAST(sipName_parentItem), meth_QGraphicsItem_parentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_parentItem)},
    {SIP_MLNAME_CAST(sipName_parentObject), meth_QGraphicsItem_parentObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_parentObject)},
    {SIP_MLNAME_CAST(sipName_parentWidget), meth_QGraphicsItem_parentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_parentWidget)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QGraphicsItem_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_pos)},
    {SIP_MLNAME_CAST(sipName_prepareGeometryChange), (PyCFunction)meth_QGraphicsItem_prepareGeometryChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_prepareGeometryChange)},
    {SIP_MLNAME_CAST(sipName_removeSceneEventFilter), meth_QGraphicsItem_removeSceneEventFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_removeSceneEventFilter)},
    {SIP_MLNAME_CAST(sipName_resetTransform), meth_QGraphicsItem_resetTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_resetTransform)},
    {SIP_MLNAME_CAST(sipName_rotation), meth_QGraphicsItem_rotation, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_rotation)},
    {SIP_MLNAME_CAST(sipName_scale), meth_QGraphicsItem_scale, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_scale)},
    {SIP_MLNAME_CAST(sipName_scene), meth_QGraphicsItem_scene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_scene)},
    {SIP_MLNAME_CAST(sipName_sceneBoundingRect), meth_QGraphicsItem_sceneBoundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_sceneBoundingRect)},
    {SIP_MLNAME_CAST(sipName_sceneEvent), (PyCFunction)meth_QGraphicsItem_sceneEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_sceneEvent)},
    {SIP_MLNAME_CAST(sipName_sceneEventFilter), (PyCFunction)meth_QGraphicsItem_sceneEventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_sceneEventFilter)},
    {SIP_MLNAME_CAST(sipName_scenePos), meth_QGraphicsItem_scenePos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_scenePos)},
    {SIP_MLNAME_CAST(sipName_sceneTransform), meth_QGraphicsItem_sceneTransform, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_sceneTransform)},
    {SIP_MLNAME_CAST(sipName_scroll), (PyCFunction)meth_QGraphicsItem_scroll, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_scroll)},
    {SIP_MLNAME_CAST(sipName_setAcceptDrops), meth_QGraphicsItem_setAcceptDrops, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setAcceptDrops)},
    {SIP_MLNAME_CAST(sipName_setAcceptHoverEvents), meth_QGraphicsItem_setAcceptHoverEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setAcceptHoverEvents)},
    {SIP_MLNAME_CAST(sipName_setAcceptTouchEvents), meth_QGraphicsItem_setAcceptTouchEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setAcceptTouchEvents)},
    {SIP_MLNAME_CAST(sipName_setAcceptedMouseButtons), meth_QGraphicsItem_setAcceptedMouseButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setAcceptedMouseButtons)},
    {SIP_MLNAME_CAST(sipName_setActive), meth_QGraphicsItem_setActive, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setActive)},
    {SIP_MLNAME_CAST(sipName_setBoundingRegionGranularity), meth_QGraphicsItem_setBoundingRegionGranularity, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setBoundingRegionGranularity)},
    {SIP_MLNAME_CAST(sipName_setCacheMode), (PyCFunction)meth_QGraphicsItem_setCacheMode, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_setCacheMode)},
    {SIP_MLNAME_CAST(sipName_setCursor), meth_QGraphicsItem_setCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setCursor)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QGraphicsItem_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setData)},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_QGraphicsItem_setEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setEnabled)},
    {SIP_MLNAME_CAST(sipName_setFiltersChildEvents), meth_QGraphicsItem_setFiltersChildEvents, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setFiltersChildEvents)},
    {SIP_MLNAME_CAST(sipName_setFlag), (PyCFunction)meth_QGraphicsItem_setFlag, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_setFlag)},
    {SIP_MLNAME_CAST(sipName_setFlags), meth_QGraphicsItem_setFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setFlags)},
    {SIP_MLNAME_CAST(sipName_setFocus), (PyCFunction)meth_QGraphicsItem_setFocus, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_setFocus)},
    {SIP_MLNAME_CAST(sipName_setFocusProxy), meth_QGraphicsItem_setFocusProxy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setFocusProxy)},
    {SIP_MLNAME_CAST(sipName_setGraphicsEffect), meth_QGraphicsItem_setGraphicsEffect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setGraphicsEffect)},
    {SIP_MLNAME_CAST(sipName_setGroup), meth_QGraphicsItem_setGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setGroup)},
    {SIP_MLNAME_CAST(sipName_setInputMethodHints), meth_QGraphicsItem_setInputMethodHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setInputMethodHints)},
    {SIP_MLNAME_CAST(sipName_setOpacity), meth_QGraphicsItem_setOpacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setOpacity)},
    {SIP_MLNAME_CAST(sipName_setPanelModality), meth_QGraphicsItem_setPanelModality, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setPanelModality)},
    {SIP_MLNAME_CAST(sipName_setParentItem), meth_QGraphicsItem_setParentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setParentItem)},
    {SIP_MLNAME_CAST(sipName_setPos), meth_QGraphicsItem_setPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setPos)},
    {SIP_MLNAME_CAST(sipName_setRotation), meth_QGraphicsItem_setRotation, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setRotation)},
    {SIP_MLNAME_CAST(sipName_setScale), meth_QGraphicsItem_setScale, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setScale)},
    {SIP_MLNAME_CAST(sipName_setSelected), meth_QGraphicsItem_setSelected, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setSelected)},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_QGraphicsItem_setToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setToolTip)},
    {SIP_MLNAME_CAST(sipName_setTransform), (PyCFunction)meth_QGraphicsItem_setTransform, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_setTransform)},
    {SIP_MLNAME_CAST(sipName_setTransformOriginPoint), meth_QGraphicsItem_setTransformOriginPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setTransformOriginPoint)},
    {SIP_MLNAME_CAST(sipName_setTransformations), meth_QGraphicsItem_setTransformations, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setTransformations)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QGraphicsItem_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setVisible)},
    {SIP_MLNAME_CAST(sipName_setX), meth_QGraphicsItem_setX, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setX)},
    {SIP_MLNAME_CAST(sipName_setY), meth_QGraphicsItem_setY, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setY)},
    {SIP_MLNAME_CAST(sipName_setZValue), meth_QGraphicsItem_setZValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_setZValue)},
    {SIP_MLNAME_CAST(sipName_shape), meth_QGraphicsItem_shape, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_shape)},
    {SIP_MLNAME_CAST(sipName_show), meth_QGraphicsItem_show, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_show)},
    {SIP_MLNAME_CAST(sipName_stackBefore), meth_QGraphicsItem_stackBefore, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_stackBefore)},
    {SIP_MLNAME_CAST(sipName_toGraphicsObject), meth_QGraphicsItem_toGraphicsObject, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_toGraphicsObject)},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_QGraphicsItem_toolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_toolTip)},
    {SIP_MLNAME_CAST(sipName_topLevelItem), meth_QGraphicsItem_topLevelItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_topLevelItem)},
    {SIP_MLNAME_CAST(sipName_topLevelWidget), meth_QGraphicsItem_topLevelWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_topLevelWidget)},
    {SIP_MLNAME_CAST(sipName_transform), meth_QGraphicsItem_transform, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_transform)},
    {SIP_MLNAME_CAST(sipName_transformOriginPoint), meth_QGraphicsItem_transformOriginPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_transformOriginPoint)},
    {SIP_MLNAME_CAST(sipName_transformations), meth_QGraphicsItem_transformations, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_transformations)},
    {SIP_MLNAME_CAST(sipName_type), meth_QGraphicsItem_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_type)},
    {SIP_MLNAME_CAST(sipName_ungrabKeyboard), meth_QGraphicsItem_ungrabKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_ungrabKeyboard)},
    {SIP_MLNAME_CAST(sipName_ungrabMouse), meth_QGraphicsItem_ungrabMouse, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_ungrabMouse)},
    {SIP_MLNAME_CAST(sipName_unsetCursor), meth_QGraphicsItem_unsetCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_unsetCursor)},
    {SIP_MLNAME_CAST(sipName_update), (PyCFunction)meth_QGraphicsItem_update, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_update)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QGraphicsItem_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_updateMicroFocus)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QGraphicsItem_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsItem_wheelEvent)},
    {SIP_MLNAME_CAST(sipName_window), meth_QGraphicsItem_window, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_window)},
    {SIP_MLNAME_CAST(sipName_x), meth_QGraphicsItem_x, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_x)},
    {SIP_MLNAME_CAST(sipName_y), meth_QGraphicsItem_y, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_y)},
    {SIP_MLNAME_CAST(sipName_zValue), meth_QGraphicsItem_zValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsItem_zValue)}
};

static sipEnumMemberDef enummembers_QGraphicsItem[] = {
    {sipName_DeviceCoordinateCache, static_cast<int>(QGraphicsItem::DeviceCoordinateCache), 122},
    {sipName_ItemAcceptsInputMethod, static_cast<int>(QGraphicsItem::ItemAcceptsInputMethod), 124},
    {sipName_ItemChildAddedChange, static_cast<int>(QGraphicsItem::ItemChildAddedChange), 123},
    {sipName_ItemChildRemovedChange, static_cast<int>(QGraphicsItem::ItemChildRemovedChange), 123},
    {sipName_ItemClipsChildrenToShape, static_cast<int>(QGraphicsItem::ItemClipsChildrenToShape), 124},
    {sipName_ItemClipsToShape, static_cast<int>(QGraphicsItem::ItemClipsToShape), 124},
    {sipName_ItemContainsChildrenInShape, static_cast<int>(QGraphicsItem::ItemContainsChildrenInShape), 124},
    {sipName_ItemCoordinateCache, static_cast<int>(QGraphicsItem::ItemCoordinateCache), 122},
    {sipName_ItemCursorChange, static_cast<int>(QGraphicsItem::ItemCursorChange), 123},
    {sipName_ItemCursorHasChanged, static_cast<int>(QGraphicsItem::ItemCursorHasChanged), 123},
    {sipName_ItemDoesntPropagateOpacityToChildren, static_cast<int>(QGraphicsItem::ItemDoesntPropagateOpacityToChildren), 124},
    {sipName_ItemEnabledChange, static_cast<int>(QGraphicsItem::ItemEnabledChange), 123},
    {sipName_ItemEnabledHasChanged, static_cast<int>(QGraphicsItem::ItemEnabledHasChanged), 123},
    {sipName_ItemFlagsChange, static_cast<int>(QGraphicsItem::ItemFlagsChange), 123},
    {sipName_ItemFlagsHaveChanged, static_cast<int>(QGraphicsItem::ItemFlagsHaveChanged), 123},
    {sipName_ItemHasNoContents, static_cast<int>(QGraphicsItem::ItemHasNoContents), 124},
    {sipName_ItemIgnoresParentOpacity, static_cast<int>(QGraphicsItem::ItemIgnoresParentOpacity), 124},
    {sipName_ItemIgnoresTransformations, static_cast<int>(QGraphicsItem::ItemIgnoresTransformations), 124},
    {sipName_ItemIsFocusable, static_cast<int>(QGraphicsItem::ItemIsFocusable), 124},
    {sipName_ItemIsMovable, static_cast<int>(QGraphicsItem::ItemIsMovable), 124},
    {sipName_ItemIsPanel, static_cast<int>(QGraphicsItem::ItemIsPanel), 124},
    {sipName_ItemIsSelectable, static_cast<int>(QGraphicsItem::ItemIsSelectable), 124},
    {sipName_ItemMatrixChange, static_cast<int>(QGraphicsItem::ItemMatrixChange), 123},
    {sipName_ItemNegativeZStacksBehindParent, static_cast<int>(QGraphicsItem::ItemNegativeZStacksBehindParent), 124},
    {sipName_ItemOpacityChange, static_cast<int>(QGraphicsItem::ItemOpacityChange), 123},
    {sipName_ItemOpacityHasChanged, static_cast<int>(QGraphicsItem::ItemOpacityHasChanged), 123},
    {sipName_ItemParentChange, static_cast<int>(QGraphicsItem::ItemParentChange), 123},
    {sipName_ItemParentHasChanged, static_cast<int>(QGraphicsItem::ItemParentHasChanged), 123},
    {sipName_ItemPositionChange, static_cast<int>(QGraphicsItem::ItemPositionChange), 123},
    {sipName_ItemPositionHasChanged, static_cast<int>(QGraphicsItem::ItemPositionHasChanged), 123},
    {sipName_ItemRotationChange, static_cast<int>(QGraphicsItem::ItemRotationChange), 123},
    {sipName_ItemRotationHasChanged, static_cast<int>(QGraphicsItem::ItemRotationHasChanged), 123},
    {sipName_ItemScaleChange, static_cast<int>(QGraphicsItem::ItemScaleChange), 123},
    {sipName_ItemScaleHasChanged, static_cast<int>(QGraphicsItem::ItemScaleHasChanged), 123},
    {sipName_ItemSceneChange, static_cast<int>(QGraphicsItem::ItemSceneChange), 123},
    {sipName_ItemSceneHasChanged, static_cast<int>(QGraphicsItem::ItemSceneHasChanged), 123},
    {sipName_ItemScenePositionHasChanged, static_cast<int>(QGraphicsItem::ItemScenePositionHasChanged), 123},
    {sipName_ItemSelectedChange, static_cast<int>(QGraphicsItem::ItemSelectedChange), 123},
    {sipName_ItemSelectedHasChanged, static_cast<int>(QGraphicsItem::ItemSelectedHasChanged), 123},
    {sipName_ItemSendsGeometryChanges, static_cast<int>(QGraphicsItem::ItemSendsGeometryChanges), 124},
    {sipName_ItemSendsScenePositionChanges, static_cast<int>(QGraphicsItem::ItemSendsScenePositionChanges), 124},
    {sipName_ItemStacksBehindParent, static_cast<int>(QGraphicsItem::ItemStacksBehindParent), 124},
    {sipName_ItemToolTipChange, static_cast<int>(QGraphicsItem::ItemToolTipChange), 123},
    {sipName_ItemToolTipHasChanged, static_cast<int>(QGraphicsItem::ItemToolTipHasChanged), 123},
    {sipName_ItemTransformChange, static_cast<int>(QGraphicsItem::ItemTransformChange), 123},
    {sipName_ItemTransformHasChanged, static_cast<int>(QGraphicsItem::ItemTransformHasChanged), 123},
    {sipName_ItemTransformOriginPointChange, static_cast<int>(QGraphicsItem::ItemTransformOriginPointChange), 123},
    {sipName_ItemTransformOriginPointHasChanged, static_cast<int>(QGraphicsItem::ItemTransformOriginPointHasChanged), 123},
    {sipName_ItemUsesExtendedStyleOption, static_cast<int>(QGraphicsItem::ItemUsesExtendedStyleOption), 124},
    {sipName_ItemVisibleChange, static_cast<int>(QGraphicsItem::ItemVisibleChange), 123},
    {sipName_ItemVisibleHasChanged, static_cast<int>(QGraphicsItem::ItemVisibleHasChanged), 123},
    {sipName_ItemZValueChange, static_cast<int>(QGraphicsItem::ItemZValueChange), 123},
    {sipName_ItemZValueHasChanged, static_cast<int>(QGraphicsItem::ItemZValueHasChanged), 123},
    {sipName_NoCache, static_cast<int>(QGraphicsItem::NoCache), 122},
    {sipName_NonModal, static_cast<int>(QGraphicsItem::NonModal), 126},
    {sipName_PanelModal, static_cast<int>(QGraphicsItem::PanelModal), 126},
    {sipName_SceneModal, static_cast<int>(QGraphicsItem::SceneModal), 126},
};


extern "C" {static PyObject *varget_QGraphicsItem_Type(void *, PyObject *, PyObject *);}
static PyObject *varget_QGraphicsItem_Type(void *, PyObject *, PyObject *)
{
    int sipVal;
    sipVal = QGraphicsItem::Type;

    return SIPLong_FromLong(sipVal);
}


extern "C" {static PyObject *varget_QGraphicsItem_UserType(void *, PyObject *, PyObject *);}
static PyObject *varget_QGraphicsItem_UserType(void *, PyObject *, PyObject *)
{
    int sipVal;
    sipVal = QGraphicsItem::UserType;

    return SIPLong_FromLong(sipVal);
}

sipVariableDef variables_QGraphicsItem[] = {
    {ClassVariable, sipName_Type, (PyMethodDef *)varget_QGraphicsItem_Type, NULL, NULL, NULL},
    {ClassVariable, sipName_UserType, (PyMethodDef *)varget_QGraphicsItem_UserType, NULL, NULL, NULL},
};

PyDoc_STRVAR(doc_QGraphicsItem, "\1QGraphicsItem(QGraphicsItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsItem = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsItem,
        {0}
    },
    {
        sipNameNr_QGraphicsItem,
        {0, 0, 1},
        158, methods_QGraphicsItem,
        57, enummembers_QGraphicsItem,
        2, variables_QGraphicsItem,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsItem,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QGraphicsItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsItem,
    0,
    0,
    0,
    release_QGraphicsItem,
    cast_QGraphicsItem,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsgridlayout.sip"
#include <qgraphicsgridlayout.h>
#line 325867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 325871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 325874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 325877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 325880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 325883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 325886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 325889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 325892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsGridLayout : public QGraphicsGridLayout
{
public:
    sipQGraphicsGridLayout(QGraphicsLayoutItem*);
    virtual ~sipQGraphicsGridLayout();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem*);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtect_addChildLayoutItem(QGraphicsLayoutItem*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void updateGeometry();
    void widgetEvent(QEvent*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void setGeometry(const QRectF&);
    void invalidate();
    void removeAt(int);
    QGraphicsLayoutItem* itemAt(int) const;
    int count() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsGridLayout(const sipQGraphicsGridLayout &);
    sipQGraphicsGridLayout &operator = (const sipQGraphicsGridLayout &);

    char sipPyMethods[9];
};

sipQGraphicsGridLayout::sipQGraphicsGridLayout(QGraphicsLayoutItem*a0): QGraphicsGridLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsGridLayout::~sipQGraphicsGridLayout()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsGridLayout::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsGridLayout::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsGridLayout::widgetEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_widgetEvent);

    if (!sipMeth)
    {
        QGraphicsGridLayout::widgetEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsGridLayout::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsGridLayout::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    sipVH_QtWidgets_114(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QSizeF sipQGraphicsGridLayout::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QGraphicsGridLayout::sizeHint(a0,a1);

    extern QSizeF sipVH_QtWidgets_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return sipVH_QtWidgets_109(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsGridLayout::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsGridLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_45)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[45]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsGridLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QGraphicsGridLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsGridLayout::removeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_removeAt);

    if (!sipMeth)
    {
        QGraphicsGridLayout::removeAt(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QGraphicsLayoutItem* sipQGraphicsGridLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return QGraphicsGridLayout::itemAt(a0);

    extern QGraphicsLayoutItem* sipVH_QtWidgets_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_122(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsGridLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return QGraphicsGridLayout::count();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsGridLayout::sipProtect_setGraphicsItem(QGraphicsItem*a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipQGraphicsGridLayout::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipQGraphicsGridLayout::sipProtect_addChildLayoutItem(QGraphicsLayoutItem*a0)
{
    QGraphicsLayout::addChildLayoutItem(a0);
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setGraphicsItem, "QGraphicsGridLayout.setGraphicsItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setGraphicsItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        sipQGraphicsGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->sipProtect_setGraphicsItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setGraphicsItem, doc_QGraphicsGridLayout_setGraphicsItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setOwnedByLayout, "QGraphicsGridLayout.setOwnedByLayout(bool)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setOwnedByLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipQGraphicsGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            sipCpp->sipProtect_setOwnedByLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setOwnedByLayout, doc_QGraphicsGridLayout_setOwnedByLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_addChildLayoutItem, "QGraphicsGridLayout.addChildLayoutItem(QGraphicsLayoutItem)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_addChildLayoutItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_addChildLayoutItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        sipQGraphicsGridLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            sipCpp->sipProtect_addChildLayoutItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_addChildLayoutItem, doc_QGraphicsGridLayout_addChildLayoutItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_addItem, "QGraphicsGridLayout.addItem(QGraphicsLayoutItem, int, int, int, int, Qt.Alignment alignment=0)\n"
    "QGraphicsGridLayout.addItem(QGraphicsLayoutItem, int, int, Qt.Alignment alignment=0)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_addItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_addItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        int a1;
        int a2;
        int a3;
        int a4;
        Qt::Alignment a5def = 0;
        Qt::Alignment* a5 = &a5def;
        int a5State = 0;
        QGraphicsGridLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:iiii|J1", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, &a1, &a2, &a3, &a4, sipType_Qt_Alignment, &a5, &a5State))
        {
            sipCpp->addItem(a0,a1,a2,a3,a4,*a5);
            sipReleaseType(a5,sipType_Qt_Alignment,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QGraphicsLayoutItem* a0;
        int a1;
        int a2;
        Qt::Alignment a3def = 0;
        Qt::Alignment* a3 = &a3def;
        int a3State = 0;
        sipWrapper *sipOwner = 0;
        QGraphicsGridLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJHii|J1", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, &sipOwner, &a1, &a2, sipType_Qt_Alignment, &a3, &a3State))
        {
            sipCpp->addItem(a0,a1,a2,*a3);

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);
            sipReleaseType(a3,sipType_Qt_Alignment,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_addItem, doc_QGraphicsGridLayout_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setHorizontalSpacing, "QGraphicsGridLayout.setHorizontalSpacing(float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setHorizontalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setHorizontalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            sipCpp->setHorizontalSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setHorizontalSpacing, doc_QGraphicsGridLayout_setHorizontalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_horizontalSpacing, "QGraphicsGridLayout.horizontalSpacing() -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_horizontalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_horizontalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->horizontalSpacing();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_horizontalSpacing, doc_QGraphicsGridLayout_horizontalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setVerticalSpacing, "QGraphicsGridLayout.setVerticalSpacing(float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setVerticalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setVerticalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            sipCpp->setVerticalSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setVerticalSpacing, doc_QGraphicsGridLayout_setVerticalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_verticalSpacing, "QGraphicsGridLayout.verticalSpacing() -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_verticalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_verticalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->verticalSpacing();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_verticalSpacing, doc_QGraphicsGridLayout_verticalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setSpacing, "QGraphicsGridLayout.setSpacing(float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            sipCpp->setSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setSpacing, doc_QGraphicsGridLayout_setSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setRowSpacing, "QGraphicsGridLayout.setRowSpacing(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setRowSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setRowSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowSpacing(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setRowSpacing, doc_QGraphicsGridLayout_setRowSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_rowSpacing, "QGraphicsGridLayout.rowSpacing(int) -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_rowSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_rowSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            qreal sipRes;

            sipRes = sipCpp->rowSpacing(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_rowSpacing, doc_QGraphicsGridLayout_rowSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setColumnSpacing, "QGraphicsGridLayout.setColumnSpacing(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setColumnSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setColumnSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnSpacing(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setColumnSpacing, doc_QGraphicsGridLayout_setColumnSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_columnSpacing, "QGraphicsGridLayout.columnSpacing(int) -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_columnSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_columnSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            qreal sipRes;

            sipRes = sipCpp->columnSpacing(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_columnSpacing, doc_QGraphicsGridLayout_columnSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setRowStretchFactor, "QGraphicsGridLayout.setRowStretchFactor(int, int)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setRowStretchFactor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setRowStretchFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowStretchFactor(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setRowStretchFactor, doc_QGraphicsGridLayout_setRowStretchFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_rowStretchFactor, "QGraphicsGridLayout.rowStretchFactor(int) -> int");

extern "C" {static PyObject *meth_QGraphicsGridLayout_rowStretchFactor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_rowStretchFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->rowStretchFactor(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_rowStretchFactor, doc_QGraphicsGridLayout_rowStretchFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setColumnStretchFactor, "QGraphicsGridLayout.setColumnStretchFactor(int, int)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setColumnStretchFactor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setColumnStretchFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnStretchFactor(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setColumnStretchFactor, doc_QGraphicsGridLayout_setColumnStretchFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_columnStretchFactor, "QGraphicsGridLayout.columnStretchFactor(int) -> int");

extern "C" {static PyObject *meth_QGraphicsGridLayout_columnStretchFactor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_columnStretchFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->columnStretchFactor(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_columnStretchFactor, doc_QGraphicsGridLayout_columnStretchFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setRowMinimumHeight, "QGraphicsGridLayout.setRowMinimumHeight(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setRowMinimumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setRowMinimumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowMinimumHeight(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setRowMinimumHeight, doc_QGraphicsGridLayout_setRowMinimumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_rowMinimumHeight, "QGraphicsGridLayout.rowMinimumHeight(int) -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_rowMinimumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_rowMinimumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            qreal sipRes;

            sipRes = sipCpp->rowMinimumHeight(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_rowMinimumHeight, doc_QGraphicsGridLayout_rowMinimumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setRowPreferredHeight, "QGraphicsGridLayout.setRowPreferredHeight(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setRowPreferredHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setRowPreferredHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowPreferredHeight(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setRowPreferredHeight, doc_QGraphicsGridLayout_setRowPreferredHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_rowPreferredHeight, "QGraphicsGridLayout.rowPreferredHeight(int) -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_rowPreferredHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_rowPreferredHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            qreal sipRes;

            sipRes = sipCpp->rowPreferredHeight(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_rowPreferredHeight, doc_QGraphicsGridLayout_rowPreferredHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setRowMaximumHeight, "QGraphicsGridLayout.setRowMaximumHeight(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setRowMaximumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setRowMaximumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowMaximumHeight(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setRowMaximumHeight, doc_QGraphicsGridLayout_setRowMaximumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_rowMaximumHeight, "QGraphicsGridLayout.rowMaximumHeight(int) -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_rowMaximumHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_rowMaximumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            qreal sipRes;

            sipRes = sipCpp->rowMaximumHeight(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_rowMaximumHeight, doc_QGraphicsGridLayout_rowMaximumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setRowFixedHeight, "QGraphicsGridLayout.setRowFixedHeight(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setRowFixedHeight(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setRowFixedHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setRowFixedHeight(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setRowFixedHeight, doc_QGraphicsGridLayout_setRowFixedHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setColumnMinimumWidth, "QGraphicsGridLayout.setColumnMinimumWidth(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setColumnMinimumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setColumnMinimumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnMinimumWidth(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setColumnMinimumWidth, doc_QGraphicsGridLayout_setColumnMinimumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_columnMinimumWidth, "QGraphicsGridLayout.columnMinimumWidth(int) -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_columnMinimumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_columnMinimumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            qreal sipRes;

            sipRes = sipCpp->columnMinimumWidth(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_columnMinimumWidth, doc_QGraphicsGridLayout_columnMinimumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setColumnPreferredWidth, "QGraphicsGridLayout.setColumnPreferredWidth(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setColumnPreferredWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setColumnPreferredWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnPreferredWidth(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setColumnPreferredWidth, doc_QGraphicsGridLayout_setColumnPreferredWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_columnPreferredWidth, "QGraphicsGridLayout.columnPreferredWidth(int) -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_columnPreferredWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_columnPreferredWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            qreal sipRes;

            sipRes = sipCpp->columnPreferredWidth(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_columnPreferredWidth, doc_QGraphicsGridLayout_columnPreferredWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setColumnMaximumWidth, "QGraphicsGridLayout.setColumnMaximumWidth(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setColumnMaximumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setColumnMaximumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnMaximumWidth(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setColumnMaximumWidth, doc_QGraphicsGridLayout_setColumnMaximumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_columnMaximumWidth, "QGraphicsGridLayout.columnMaximumWidth(int) -> float");

extern "C" {static PyObject *meth_QGraphicsGridLayout_columnMaximumWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_columnMaximumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            qreal sipRes;

            sipRes = sipCpp->columnMaximumWidth(a0);

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_columnMaximumWidth, doc_QGraphicsGridLayout_columnMaximumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setColumnFixedWidth, "QGraphicsGridLayout.setColumnFixedWidth(int, float)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setColumnFixedWidth(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setColumnFixedWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        qreal a1;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bid", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setColumnFixedWidth(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setColumnFixedWidth, doc_QGraphicsGridLayout_setColumnFixedWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setRowAlignment, "QGraphicsGridLayout.setRowAlignment(int, Qt.Alignment)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setRowAlignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setRowAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::Alignment* a1;
        int a1State = 0;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            sipCpp->setRowAlignment(a0,*a1);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setRowAlignment, doc_QGraphicsGridLayout_setRowAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_rowAlignment, "QGraphicsGridLayout.rowAlignment(int) -> Qt.Alignment");

extern "C" {static PyObject *meth_QGraphicsGridLayout_rowAlignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_rowAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->rowAlignment(a0));

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_rowAlignment, doc_QGraphicsGridLayout_rowAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setColumnAlignment, "QGraphicsGridLayout.setColumnAlignment(int, Qt.Alignment)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setColumnAlignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setColumnAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        Qt::Alignment* a1;
        int a1State = 0;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            sipCpp->setColumnAlignment(a0,*a1);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setColumnAlignment, doc_QGraphicsGridLayout_setColumnAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_columnAlignment, "QGraphicsGridLayout.columnAlignment(int) -> Qt.Alignment");

extern "C" {static PyObject *meth_QGraphicsGridLayout_columnAlignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_columnAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->columnAlignment(a0));

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_columnAlignment, doc_QGraphicsGridLayout_columnAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setAlignment, "QGraphicsGridLayout.setAlignment(QGraphicsLayoutItem, Qt.Alignment)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        Qt::Alignment* a1;
        int a1State = 0;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            sipCpp->setAlignment(a0,*a1);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setAlignment, doc_QGraphicsGridLayout_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_alignment, "QGraphicsGridLayout.alignment(QGraphicsLayoutItem) -> Qt.Alignment");

extern "C" {static PyObject *meth_QGraphicsGridLayout_alignment(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment(a0));

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_alignment, doc_QGraphicsGridLayout_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_rowCount, "QGraphicsGridLayout.rowCount() -> int");

extern "C" {static PyObject *meth_QGraphicsGridLayout_rowCount(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->rowCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_rowCount, doc_QGraphicsGridLayout_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_columnCount, "QGraphicsGridLayout.columnCount() -> int");

extern "C" {static PyObject *meth_QGraphicsGridLayout_columnCount(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_columnCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->columnCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_columnCount, doc_QGraphicsGridLayout_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_itemAt, "QGraphicsGridLayout.itemAt(int, int) -> QGraphicsLayoutItem\n"
    "QGraphicsGridLayout.itemAt(int) -> QGraphicsLayoutItem");

extern "C" {static PyObject *meth_QGraphicsGridLayout_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0, &a1))
        {
            QGraphicsLayoutItem*sipRes;

            sipRes = sipCpp->itemAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QGraphicsLayoutItem,NULL);
        }
    }

    {
        int a0;
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
            QGraphicsLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsGridLayout::itemAt(a0) : sipCpp->itemAt(a0));

            return sipConvertFromType(sipRes,sipType_QGraphicsLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_itemAt, doc_QGraphicsGridLayout_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_count, "QGraphicsGridLayout.count() -> int");

extern "C" {static PyObject *meth_QGraphicsGridLayout_count(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsGridLayout::count() : sipCpp->count());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_count, doc_QGraphicsGridLayout_count);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_removeAt, "QGraphicsGridLayout.removeAt(int)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_removeAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_removeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, &a0))
        {
#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsgridlayout.sip"
        // The ownership of any existing item must be passed back to Python.
        QGraphicsLayoutItem *itm;
        
        if (a0 < sipCpp->count())
            itm = sipCpp->itemAt(a0);
        else
            itm = 0;
        
        Py_BEGIN_ALLOW_THREADS
        sipSelfWasArg ? sipCpp->QGraphicsGridLayout::removeAt(a0)
                      : sipCpp->removeAt(a0);
        Py_END_ALLOW_THREADS
        
        if (itm)
        {
            PyObject *itmo = sipGetPyObject(itm, sipType_QGraphicsLayoutItem);
        
            if (itmo)
                sipTransferBack(itmo);
        }
#line 327358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_removeAt, doc_QGraphicsGridLayout_removeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_invalidate, "QGraphicsGridLayout.invalidate()");

extern "C" {static PyObject *meth_QGraphicsGridLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsGridLayout::invalidate() : sipCpp->invalidate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_invalidate, doc_QGraphicsGridLayout_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_setGeometry, "QGraphicsGridLayout.setGeometry(QRectF)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_QRectF, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsGridLayout::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_setGeometry, doc_QGraphicsGridLayout_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_sizeHint, "QGraphicsGridLayout.sizeHint(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsGridLayout_sizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_sizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const QGraphicsGridLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_constraint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J9", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF((sipSelfWasArg ? sipCpp->QGraphicsGridLayout::sizeHint(a0,*a1) : sipCpp->sizeHint(a0,*a1)));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_sizeHint, doc_QGraphicsGridLayout_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsGridLayout_removeItem, "QGraphicsGridLayout.removeItem(QGraphicsLayoutItem)");

extern "C" {static PyObject *meth_QGraphicsGridLayout_removeItem(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsGridLayout_removeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        QGraphicsGridLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QGraphicsGridLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            sipCpp->removeItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsGridLayout, sipName_removeItem, doc_QGraphicsGridLayout_removeItem);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsGridLayout(void *, const sipTypeDef *);}
static void *cast_QGraphicsGridLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsGridLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsLayout)->ctd_cast((QGraphicsLayout *)(QGraphicsGridLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsGridLayout(void *, int);}
static void release_QGraphicsGridLayout(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsGridLayout *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsGridLayout *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsGridLayout(sipSimpleWrapper *);}
static void dealloc_QGraphicsGridLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsGridLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsGridLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsGridLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsGridLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsGridLayout *sipCpp = 0;

    {
        QGraphicsLayoutItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsLayoutItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsGridLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsGridLayout[] = {{128, 255, 1}};


static PyMethodDef methods_QGraphicsGridLayout[] = {
    {SIP_MLNAME_CAST(sipName_addChildLayoutItem), (PyCFunction)meth_QGraphicsGridLayout_addChildLayoutItem, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), (PyCFunction)meth_QGraphicsGridLayout_addItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_addItem)},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QGraphicsGridLayout_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_alignment)},
    {SIP_MLNAME_CAST(sipName_columnAlignment), meth_QGraphicsGridLayout_columnAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_columnAlignment)},
    {SIP_MLNAME_CAST(sipName_columnCount), meth_QGraphicsGridLayout_columnCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_columnCount)},
    {SIP_MLNAME_CAST(sipName_columnMaximumWidth), meth_QGraphicsGridLayout_columnMaximumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_columnMaximumWidth)},
    {SIP_MLNAME_CAST(sipName_columnMinimumWidth), meth_QGraphicsGridLayout_columnMinimumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_columnMinimumWidth)},
    {SIP_MLNAME_CAST(sipName_columnPreferredWidth), meth_QGraphicsGridLayout_columnPreferredWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_columnPreferredWidth)},
    {SIP_MLNAME_CAST(sipName_columnSpacing), meth_QGraphicsGridLayout_columnSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_columnSpacing)},
    {SIP_MLNAME_CAST(sipName_columnStretchFactor), meth_QGraphicsGridLayout_columnStretchFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_columnStretchFactor)},
    {SIP_MLNAME_CAST(sipName_count), meth_QGraphicsGridLayout_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_count)},
    {SIP_MLNAME_CAST(sipName_horizontalSpacing), meth_QGraphicsGridLayout_horizontalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_horizontalSpacing)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QGraphicsGridLayout_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_invalidate)},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QGraphicsGridLayout_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_itemAt)},
    {SIP_MLNAME_CAST(sipName_removeAt), meth_QGraphicsGridLayout_removeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_removeAt)},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_QGraphicsGridLayout_removeItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_removeItem)},
    {SIP_MLNAME_CAST(sipName_rowAlignment), meth_QGraphicsGridLayout_rowAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_rowAlignment)},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_QGraphicsGridLayout_rowCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_rowCount)},
    {SIP_MLNAME_CAST(sipName_rowMaximumHeight), meth_QGraphicsGridLayout_rowMaximumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_rowMaximumHeight)},
    {SIP_MLNAME_CAST(sipName_rowMinimumHeight), meth_QGraphicsGridLayout_rowMinimumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_rowMinimumHeight)},
    {SIP_MLNAME_CAST(sipName_rowPreferredHeight), meth_QGraphicsGridLayout_rowPreferredHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_rowPreferredHeight)},
    {SIP_MLNAME_CAST(sipName_rowSpacing), meth_QGraphicsGridLayout_rowSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_rowSpacing)},
    {SIP_MLNAME_CAST(sipName_rowStretchFactor), meth_QGraphicsGridLayout_rowStretchFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_rowStretchFactor)},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QGraphicsGridLayout_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setColumnAlignment), meth_QGraphicsGridLayout_setColumnAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setColumnAlignment)},
    {SIP_MLNAME_CAST(sipName_setColumnFixedWidth), meth_QGraphicsGridLayout_setColumnFixedWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setColumnFixedWidth)},
    {SIP_MLNAME_CAST(sipName_setColumnMaximumWidth), meth_QGraphicsGridLayout_setColumnMaximumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setColumnMaximumWidth)},
    {SIP_MLNAME_CAST(sipName_setColumnMinimumWidth), meth_QGraphicsGridLayout_setColumnMinimumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setColumnMinimumWidth)},
    {SIP_MLNAME_CAST(sipName_setColumnPreferredWidth), meth_QGraphicsGridLayout_setColumnPreferredWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setColumnPreferredWidth)},
    {SIP_MLNAME_CAST(sipName_setColumnSpacing), meth_QGraphicsGridLayout_setColumnSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setColumnSpacing)},
    {SIP_MLNAME_CAST(sipName_setColumnStretchFactor), meth_QGraphicsGridLayout_setColumnStretchFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setColumnStretchFactor)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QGraphicsGridLayout_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), (PyCFunction)meth_QGraphicsGridLayout_setGraphicsItem, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setHorizontalSpacing), meth_QGraphicsGridLayout_setHorizontalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setHorizontalSpacing)},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), (PyCFunction)meth_QGraphicsGridLayout_setOwnedByLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setRowAlignment), meth_QGraphicsGridLayout_setRowAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setRowAlignment)},
    {SIP_MLNAME_CAST(sipName_setRowFixedHeight), meth_QGraphicsGridLayout_setRowFixedHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setRowFixedHeight)},
    {SIP_MLNAME_CAST(sipName_setRowMaximumHeight), meth_QGraphicsGridLayout_setRowMaximumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setRowMaximumHeight)},
    {SIP_MLNAME_CAST(sipName_setRowMinimumHeight), meth_QGraphicsGridLayout_setRowMinimumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setRowMinimumHeight)},
    {SIP_MLNAME_CAST(sipName_setRowPreferredHeight), meth_QGraphicsGridLayout_setRowPreferredHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setRowPreferredHeight)},
    {SIP_MLNAME_CAST(sipName_setRowSpacing), meth_QGraphicsGridLayout_setRowSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setRowSpacing)},
    {SIP_MLNAME_CAST(sipName_setRowStretchFactor), meth_QGraphicsGridLayout_setRowStretchFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setRowStretchFactor)},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_QGraphicsGridLayout_setSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setSpacing)},
    {SIP_MLNAME_CAST(sipName_setVerticalSpacing), meth_QGraphicsGridLayout_setVerticalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_setVerticalSpacing)},
    {SIP_MLNAME_CAST(sipName_sizeHint), (PyCFunction)meth_QGraphicsGridLayout_sizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_sizeHint)},
    {SIP_MLNAME_CAST(sipName_verticalSpacing), meth_QGraphicsGridLayout_verticalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsGridLayout_verticalSpacing)}
};

PyDoc_STRVAR(doc_QGraphicsGridLayout, "\1QGraphicsGridLayout(QGraphicsLayoutItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsGridLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsGridLayout,
        {0}
    },
    {
        sipNameNr_QGraphicsGridLayout,
        {0, 0, 1},
        46, methods_QGraphicsGridLayout,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsGridLayout,
    -1,
    -1,
    supers_QGraphicsGridLayout,
    0,
    init_type_QGraphicsGridLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsGridLayout,
    0,
    0,
    0,
    release_QGraphicsGridLayout,
    cast_QGraphicsGridLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 327669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 327673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 327676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qbrush.sip"
#include <qbrush.h>
#line 327679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 327682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 327685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 327688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 327691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 327694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 327697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 327700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 327703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 327706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 327709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 327712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 327715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 327718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 327721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 327724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 327727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 327730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 327733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 327736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 327739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsOpacityEffect : public QGraphicsOpacityEffect
{
public:
    sipQGraphicsOpacityEffect(QObject*);
    virtual ~sipQGraphicsOpacityEffect();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_sourceChanged(bool,QGraphicsEffect::ChangeFlags);
    void sipProtect_updateBoundingRect();
    bool sipProtect_sourceIsPixmap() const;
    QRectF sipProtect_sourceBoundingRect(Qt::CoordinateSystem) const;
    void sipProtect_drawSource(QPainter*);
    QPixmap sipProtect_sourcePixmap(Qt::CoordinateSystem,QPoint*,QGraphicsEffect::PixmapPadMode) const;
    void sipProtectVirt_draw(bool,QPainter*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void sourceChanged(QGraphicsEffect::ChangeFlags);
    QRectF boundingRectFor(const QRectF&) const;
    void draw(QPainter*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsOpacityEffect(const sipQGraphicsOpacityEffect &);
    sipQGraphicsOpacityEffect &operator = (const sipQGraphicsOpacityEffect &);

    char sipPyMethods[10];
};

sipQGraphicsOpacityEffect::sipQGraphicsOpacityEffect(QObject*a0): QGraphicsOpacityEffect(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsOpacityEffect::~sipQGraphicsOpacityEffect()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsOpacityEffect::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsOpacityEffect);
}

int sipQGraphicsOpacityEffect::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsOpacityEffect::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsOpacityEffect,_c,_id,_a);

    return _id;
}

void *sipQGraphicsOpacityEffect::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsOpacityEffect, _clname, &sipCpp) ? sipCpp : QGraphicsOpacityEffect::qt_metacast(_clname));
}

void sipQGraphicsOpacityEffect::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsOpacityEffect::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsOpacityEffect::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsOpacityEffect::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsOpacityEffect::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsOpacityEffect::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsOpacityEffect::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsOpacityEffect::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsOpacityEffect::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsOpacityEffect::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsOpacityEffect::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsOpacityEffect::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsOpacityEffect::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsOpacityEffect::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsOpacityEffect::sourceChanged(QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
        QGraphicsOpacityEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_129(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRectF sipQGraphicsOpacityEffect::boundingRectFor(const QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return QGraphicsOpacityEffect::boundingRectFor(a0);

    extern QRectF sipVH_QtWidgets_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    return sipVH_QtWidgets_128(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsOpacityEffect::draw(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_draw);

    if (!sipMeth)
    {
        QGraphicsOpacityEffect::draw(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGraphicsOpacityEffect::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsOpacityEffect::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsOpacityEffect::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsOpacityEffect::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsOpacityEffect::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsOpacityEffect::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsOpacityEffect::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsOpacityEffect::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsOpacityEffect::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsOpacityEffect::sipProtectVirt_sourceChanged(bool sipSelfWasArg,QGraphicsEffect::ChangeFlags a0)
{
    (sipSelfWasArg ? QGraphicsEffect::sourceChanged(a0) : sourceChanged(a0));
}

void sipQGraphicsOpacityEffect::sipProtect_updateBoundingRect()
{
    QGraphicsEffect::updateBoundingRect();
}

bool sipQGraphicsOpacityEffect::sipProtect_sourceIsPixmap() const
{
    return QGraphicsEffect::sourceIsPixmap();
}

QRectF sipQGraphicsOpacityEffect::sipProtect_sourceBoundingRect(Qt::CoordinateSystem a0) const
{
    return QGraphicsEffect::sourceBoundingRect(a0);
}

void sipQGraphicsOpacityEffect::sipProtect_drawSource(QPainter*a0)
{
    QGraphicsEffect::drawSource(a0);
}

QPixmap sipQGraphicsOpacityEffect::sipProtect_sourcePixmap(Qt::CoordinateSystem a0,QPoint*a1,QGraphicsEffect::PixmapPadMode a2) const
{
    return QGraphicsEffect::sourcePixmap(a0,a1,a2);
}

void sipQGraphicsOpacityEffect::sipProtectVirt_draw(bool sipSelfWasArg,QPainter*a0)
{
    (sipSelfWasArg ? QGraphicsOpacityEffect::draw(a0) : draw(a0));
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_sender, "QGraphicsOpacityEffect.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 328123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_sender, doc_QGraphicsOpacityEffect_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_receivers, "QGraphicsOpacityEffect.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 328182 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_receivers, doc_QGraphicsOpacityEffect_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_timerEvent, "QGraphicsOpacityEffect.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_timerEvent, doc_QGraphicsOpacityEffect_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_childEvent, "QGraphicsOpacityEffect.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_childEvent, doc_QGraphicsOpacityEffect_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_customEvent, "QGraphicsOpacityEffect.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_customEvent, doc_QGraphicsOpacityEffect_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_connectNotify, "QGraphicsOpacityEffect.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_connectNotify, doc_QGraphicsOpacityEffect_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_disconnectNotify, "QGraphicsOpacityEffect.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_disconnectNotify, doc_QGraphicsOpacityEffect_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_senderSignalIndex, "QGraphicsOpacityEffect.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_senderSignalIndex, doc_QGraphicsOpacityEffect_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_isSignalConnected, "QGraphicsOpacityEffect.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_isSignalConnected, doc_QGraphicsOpacityEffect_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_sourceChanged, "QGraphicsOpacityEffect.sourceChanged(QGraphicsEffect.ChangeFlags)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_sourceChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_sourceChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_sourceChanged(sipSelfWasArg,*a0);
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_sourceChanged, doc_QGraphicsOpacityEffect_sourceChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_updateBoundingRect, "QGraphicsOpacityEffect.updateBoundingRect()");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_updateBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_updateBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp))
        {
            sipCpp->sipProtect_updateBoundingRect();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_updateBoundingRect, doc_QGraphicsOpacityEffect_updateBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_sourceIsPixmap, "QGraphicsOpacityEffect.sourceIsPixmap() -> bool");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_sourceIsPixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_sourceIsPixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_sourceIsPixmap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_sourceIsPixmap, doc_QGraphicsOpacityEffect_sourceIsPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_sourceBoundingRect, "QGraphicsOpacityEffect.sourceBoundingRect(Qt.CoordinateSystem system=Qt.LogicalCoordinates) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_sourceBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_sourceBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        const sipQGraphicsOpacityEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sipProtect_sourceBoundingRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_sourceBoundingRect, doc_QGraphicsOpacityEffect_sourceBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_drawSource, "QGraphicsOpacityEffect.drawSource(QPainter)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_drawSource(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_drawSource(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawSource(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_drawSource, doc_QGraphicsOpacityEffect_drawSource);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_sourcePixmap, "QGraphicsOpacityEffect.sourcePixmap(Qt.CoordinateSystem system=Qt.LogicalCoordinates, QGraphicsEffect.PixmapPadMode mode=QGraphicsEffect.PadToEffectiveBoundingRect) -> (QPixmap, QPoint)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_sourcePixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_sourcePixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        QPoint* a1;
        QGraphicsEffect::PixmapPadMode a2 = QGraphicsEffect::PadToEffectiveBoundingRect;
        const sipQGraphicsOpacityEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|EE", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0, sipType_QGraphicsEffect_PixmapPadMode, &a2))
        {
            QPixmap*sipRes;
            a1 = new QPoint();

            sipRes = new QPixmap(sipCpp->sipProtect_sourcePixmap(a0,a1,a2));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
            return sipBuildResult(0,"(RN)",sipResObj,a1,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_sourcePixmap, doc_QGraphicsOpacityEffect_sourcePixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_opacity, "QGraphicsOpacityEffect.opacity() -> float");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_opacity(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_opacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsOpacityEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->opacity();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_opacity, doc_QGraphicsOpacityEffect_opacity);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_opacityMask, "QGraphicsOpacityEffect.opacityMask() -> QBrush");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_opacityMask(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_opacityMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsOpacityEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp))
        {
            QBrush*sipRes;

            sipRes = new QBrush(sipCpp->opacityMask());

            return sipConvertFromNewType(sipRes,sipType_QBrush,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_opacityMask, doc_QGraphicsOpacityEffect_opacityMask);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_setOpacity, "QGraphicsOpacityEffect.setOpacity(float)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_setOpacity(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_setOpacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsOpacityEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, &a0))
        {
            sipCpp->setOpacity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_setOpacity, doc_QGraphicsOpacityEffect_setOpacity);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_setOpacityMask, "QGraphicsOpacityEffect.setOpacityMask(QBrush)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_setOpacityMask(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_setOpacityMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBrush* a0;
        int a0State = 0;
        QGraphicsOpacityEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QBrush, &a0, &a0State))
        {
            sipCpp->setOpacityMask(*a0);
            sipReleaseType(const_cast<QBrush *>(a0),sipType_QBrush,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_setOpacityMask, doc_QGraphicsOpacityEffect_setOpacityMask);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsOpacityEffect_draw, "QGraphicsOpacityEffect.draw(QPainter)");

extern "C" {static PyObject *meth_QGraphicsOpacityEffect_draw(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsOpacityEffect_draw(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        sipQGraphicsOpacityEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsOpacityEffect, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_draw(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsOpacityEffect, sipName_draw, doc_QGraphicsOpacityEffect_draw);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsOpacityEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsOpacityEffect(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsOpacityEffect)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsEffect)->ctd_cast((QGraphicsEffect *)(QGraphicsOpacityEffect *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsOpacityEffect(void *, int);}
static void release_QGraphicsOpacityEffect(void *sipCppV,int)
{
    QGraphicsOpacityEffect *sipCpp = reinterpret_cast<QGraphicsOpacityEffect *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsOpacityEffect(sipSimpleWrapper *);}
static void dealloc_QGraphicsOpacityEffect(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsOpacityEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsOpacityEffect(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsOpacityEffect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsOpacityEffect(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsOpacityEffect *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsOpacityEffect(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsOpacityEffect[] = {{115, 255, 1}};


static PyMethodDef methods_QGraphicsOpacityEffect[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsOpacityEffect_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsOpacityEffect_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsOpacityEffect_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsOpacityEffect_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_draw), (PyCFunction)meth_QGraphicsOpacityEffect_draw, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsOpacityEffect_draw)},
    {SIP_MLNAME_CAST(sipName_drawSource), (PyCFunction)meth_QGraphicsOpacityEffect_drawSource, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsOpacityEffect_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_opacity), meth_QGraphicsOpacityEffect_opacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsOpacityEffect_opacity)},
    {SIP_MLNAME_CAST(sipName_opacityMask), meth_QGraphicsOpacityEffect_opacityMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsOpacityEffect_opacityMask)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsOpacityEffect_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsOpacityEffect_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsOpacityEffect_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setOpacity), meth_QGraphicsOpacityEffect_setOpacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsOpacityEffect_setOpacity)},
    {SIP_MLNAME_CAST(sipName_setOpacityMask), meth_QGraphicsOpacityEffect_setOpacityMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsOpacityEffect_setOpacityMask)},
    {SIP_MLNAME_CAST(sipName_sourceBoundingRect), (PyCFunction)meth_QGraphicsOpacityEffect_sourceBoundingRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceChanged), (PyCFunction)meth_QGraphicsOpacityEffect_sourceChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceIsPixmap), (PyCFunction)meth_QGraphicsOpacityEffect_sourceIsPixmap, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourcePixmap), (PyCFunction)meth_QGraphicsOpacityEffect_sourcePixmap, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsOpacityEffect_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateBoundingRect), (PyCFunction)meth_QGraphicsOpacityEffect_updateBoundingRect, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsOpacityEffect[] = {
    {"opacityMaskChanged(QBrush)", "\1QGraphicsOpacityEffect.opacityMaskChanged[QBrush]", 0, 0},
    {"opacityChanged(qreal)", "\1QGraphicsOpacityEffect.opacityChanged[float]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsOpacityEffect, "\1QGraphicsOpacityEffect(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsOpacityEffect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsOpacityEffect,
        {0}
    },
    {
        sipNameNr_QGraphicsOpacityEffect,
        {0, 0, 1},
        20, methods_QGraphicsOpacityEffect,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsOpacityEffect,
    -1,
    -1,
    supers_QGraphicsOpacityEffect,
    0,
    init_type_QGraphicsOpacityEffect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsOpacityEffect,
    0,
    0,
    0,
    release_QGraphicsOpacityEffect,
    cast_QGraphicsOpacityEffect,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsOpacityEffect::staticMetaObject,
    0,
    signals_QGraphicsOpacityEffect,
    0
};

#line 147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 328878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 328882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 328885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 328888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 328891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 328894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 328897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 328900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 328903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 328906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 328909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 328912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 328915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 328918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 328921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 328924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 328927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 328930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 328933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 328936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 328939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 328942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 328945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 328948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 328951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsDropShadowEffect : public QGraphicsDropShadowEffect
{
public:
    sipQGraphicsDropShadowEffect(QObject*);
    virtual ~sipQGraphicsDropShadowEffect();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_sourceChanged(bool,QGraphicsEffect::ChangeFlags);
    void sipProtect_updateBoundingRect();
    bool sipProtect_sourceIsPixmap() const;
    QRectF sipProtect_sourceBoundingRect(Qt::CoordinateSystem) const;
    void sipProtect_drawSource(QPainter*);
    QPixmap sipProtect_sourcePixmap(Qt::CoordinateSystem,QPoint*,QGraphicsEffect::PixmapPadMode) const;
    void sipProtectVirt_draw(bool,QPainter*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void sourceChanged(QGraphicsEffect::ChangeFlags);
    void draw(QPainter*);
    QRectF boundingRectFor(const QRectF&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsDropShadowEffect(const sipQGraphicsDropShadowEffect &);
    sipQGraphicsDropShadowEffect &operator = (const sipQGraphicsDropShadowEffect &);

    char sipPyMethods[10];
};

sipQGraphicsDropShadowEffect::sipQGraphicsDropShadowEffect(QObject*a0): QGraphicsDropShadowEffect(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsDropShadowEffect::~sipQGraphicsDropShadowEffect()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsDropShadowEffect::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsDropShadowEffect);
}

int sipQGraphicsDropShadowEffect::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsDropShadowEffect::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsDropShadowEffect,_c,_id,_a);

    return _id;
}

void *sipQGraphicsDropShadowEffect::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsDropShadowEffect, _clname, &sipCpp) ? sipCpp : QGraphicsDropShadowEffect::qt_metacast(_clname));
}

void sipQGraphicsDropShadowEffect::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsDropShadowEffect::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsDropShadowEffect::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsDropShadowEffect::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsDropShadowEffect::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsDropShadowEffect::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsDropShadowEffect::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsDropShadowEffect::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsDropShadowEffect::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsDropShadowEffect::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsDropShadowEffect::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsDropShadowEffect::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsDropShadowEffect::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsDropShadowEffect::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsDropShadowEffect::sourceChanged(QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
        QGraphicsDropShadowEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_129(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsDropShadowEffect::draw(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_draw);

    if (!sipMeth)
    {
        QGraphicsDropShadowEffect::draw(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRectF sipQGraphicsDropShadowEffect::boundingRectFor(const QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return QGraphicsDropShadowEffect::boundingRectFor(a0);

    extern QRectF sipVH_QtWidgets_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    return sipVH_QtWidgets_128(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGraphicsDropShadowEffect::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsDropShadowEffect::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsDropShadowEffect::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsDropShadowEffect::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsDropShadowEffect::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsDropShadowEffect::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsDropShadowEffect::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsDropShadowEffect::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsDropShadowEffect::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsDropShadowEffect::sipProtectVirt_sourceChanged(bool sipSelfWasArg,QGraphicsEffect::ChangeFlags a0)
{
    (sipSelfWasArg ? QGraphicsEffect::sourceChanged(a0) : sourceChanged(a0));
}

void sipQGraphicsDropShadowEffect::sipProtect_updateBoundingRect()
{
    QGraphicsEffect::updateBoundingRect();
}

bool sipQGraphicsDropShadowEffect::sipProtect_sourceIsPixmap() const
{
    return QGraphicsEffect::sourceIsPixmap();
}

QRectF sipQGraphicsDropShadowEffect::sipProtect_sourceBoundingRect(Qt::CoordinateSystem a0) const
{
    return QGraphicsEffect::sourceBoundingRect(a0);
}

void sipQGraphicsDropShadowEffect::sipProtect_drawSource(QPainter*a0)
{
    QGraphicsEffect::drawSource(a0);
}

QPixmap sipQGraphicsDropShadowEffect::sipProtect_sourcePixmap(Qt::CoordinateSystem a0,QPoint*a1,QGraphicsEffect::PixmapPadMode a2) const
{
    return QGraphicsEffect::sourcePixmap(a0,a1,a2);
}

void sipQGraphicsDropShadowEffect::sipProtectVirt_draw(bool sipSelfWasArg,QPainter*a0)
{
    (sipSelfWasArg ? QGraphicsDropShadowEffect::draw(a0) : draw(a0));
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_sender, "QGraphicsDropShadowEffect.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 329335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_sender, doc_QGraphicsDropShadowEffect_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_receivers, "QGraphicsDropShadowEffect.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 329394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_receivers, doc_QGraphicsDropShadowEffect_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_timerEvent, "QGraphicsDropShadowEffect.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_timerEvent, doc_QGraphicsDropShadowEffect_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_childEvent, "QGraphicsDropShadowEffect.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_childEvent, doc_QGraphicsDropShadowEffect_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_customEvent, "QGraphicsDropShadowEffect.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_customEvent, doc_QGraphicsDropShadowEffect_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_connectNotify, "QGraphicsDropShadowEffect.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_connectNotify, doc_QGraphicsDropShadowEffect_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_disconnectNotify, "QGraphicsDropShadowEffect.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_disconnectNotify, doc_QGraphicsDropShadowEffect_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_senderSignalIndex, "QGraphicsDropShadowEffect.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_senderSignalIndex, doc_QGraphicsDropShadowEffect_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_isSignalConnected, "QGraphicsDropShadowEffect.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_isSignalConnected, doc_QGraphicsDropShadowEffect_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_sourceChanged, "QGraphicsDropShadowEffect.sourceChanged(QGraphicsEffect.ChangeFlags)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_sourceChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_sourceChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_sourceChanged(sipSelfWasArg,*a0);
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_sourceChanged, doc_QGraphicsDropShadowEffect_sourceChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_updateBoundingRect, "QGraphicsDropShadowEffect.updateBoundingRect()");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_updateBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_updateBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp))
        {
            sipCpp->sipProtect_updateBoundingRect();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_updateBoundingRect, doc_QGraphicsDropShadowEffect_updateBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_sourceIsPixmap, "QGraphicsDropShadowEffect.sourceIsPixmap() -> bool");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_sourceIsPixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_sourceIsPixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_sourceIsPixmap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_sourceIsPixmap, doc_QGraphicsDropShadowEffect_sourceIsPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_sourceBoundingRect, "QGraphicsDropShadowEffect.sourceBoundingRect(Qt.CoordinateSystem system=Qt.LogicalCoordinates) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_sourceBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_sourceBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        const sipQGraphicsDropShadowEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sipProtect_sourceBoundingRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_sourceBoundingRect, doc_QGraphicsDropShadowEffect_sourceBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_drawSource, "QGraphicsDropShadowEffect.drawSource(QPainter)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_drawSource(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_drawSource(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawSource(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_drawSource, doc_QGraphicsDropShadowEffect_drawSource);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_sourcePixmap, "QGraphicsDropShadowEffect.sourcePixmap(Qt.CoordinateSystem system=Qt.LogicalCoordinates, QGraphicsEffect.PixmapPadMode mode=QGraphicsEffect.PadToEffectiveBoundingRect) -> (QPixmap, QPoint)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_sourcePixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_sourcePixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        QPoint* a1;
        QGraphicsEffect::PixmapPadMode a2 = QGraphicsEffect::PadToEffectiveBoundingRect;
        const sipQGraphicsDropShadowEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|EE", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0, sipType_QGraphicsEffect_PixmapPadMode, &a2))
        {
            QPixmap*sipRes;
            a1 = new QPoint();

            sipRes = new QPixmap(sipCpp->sipProtect_sourcePixmap(a0,a1,a2));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
            return sipBuildResult(0,"(RN)",sipResObj,a1,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_sourcePixmap, doc_QGraphicsDropShadowEffect_sourcePixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_boundingRectFor, "QGraphicsDropShadowEffect.boundingRectFor(QRectF) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_boundingRectFor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_boundingRectFor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        const QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QRectF, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsDropShadowEffect::boundingRectFor(*a0) : sipCpp->boundingRectFor(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_boundingRectFor, doc_QGraphicsDropShadowEffect_boundingRectFor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_offset, "QGraphicsDropShadowEffect.offset() -> QPointF");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_offset(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_offset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->offset());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_offset, doc_QGraphicsDropShadowEffect_offset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_xOffset, "QGraphicsDropShadowEffect.xOffset() -> float");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_xOffset(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_xOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->xOffset();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_xOffset, doc_QGraphicsDropShadowEffect_xOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_yOffset, "QGraphicsDropShadowEffect.yOffset() -> float");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_yOffset(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_yOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->yOffset();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_yOffset, doc_QGraphicsDropShadowEffect_yOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_blurRadius, "QGraphicsDropShadowEffect.blurRadius() -> float");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_blurRadius(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_blurRadius(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->blurRadius();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_blurRadius, doc_QGraphicsDropShadowEffect_blurRadius);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_color, "QGraphicsDropShadowEffect.color() -> QColor");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_color(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp))
        {
            QColor*sipRes;

            sipRes = new QColor(sipCpp->color());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_color, doc_QGraphicsDropShadowEffect_color);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_setOffset, "QGraphicsDropShadowEffect.setOffset(QPointF)\n"
    "QGraphicsDropShadowEffect.setOffset(float, float)\n"
    "QGraphicsDropShadowEffect.setOffset(float)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_setOffset(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_setOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setOffset(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        qreal a1;
        QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdd", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, &a0, &a1))
        {
            sipCpp->setOffset(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        qreal a0;
        QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, &a0))
        {
            sipCpp->setOffset(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_setOffset, doc_QGraphicsDropShadowEffect_setOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_setXOffset, "QGraphicsDropShadowEffect.setXOffset(float)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_setXOffset(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_setXOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, &a0))
        {
            sipCpp->setXOffset(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_setXOffset, doc_QGraphicsDropShadowEffect_setXOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_setYOffset, "QGraphicsDropShadowEffect.setYOffset(float)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_setYOffset(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_setYOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, &a0))
        {
            sipCpp->setYOffset(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_setYOffset, doc_QGraphicsDropShadowEffect_setYOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_setBlurRadius, "QGraphicsDropShadowEffect.setBlurRadius(float)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_setBlurRadius(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_setBlurRadius(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, &a0))
        {
            sipCpp->setBlurRadius(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_setBlurRadius, doc_QGraphicsDropShadowEffect_setBlurRadius);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_setColor, "QGraphicsDropShadowEffect.setColor(QColor)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_setColor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        QGraphicsDropShadowEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setColor(*a0);
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_setColor, doc_QGraphicsDropShadowEffect_setColor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsDropShadowEffect_draw, "QGraphicsDropShadowEffect.draw(QPainter)");

extern "C" {static PyObject *meth_QGraphicsDropShadowEffect_draw(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsDropShadowEffect_draw(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        sipQGraphicsDropShadowEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsDropShadowEffect, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_draw(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsDropShadowEffect, sipName_draw, doc_QGraphicsDropShadowEffect_draw);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsDropShadowEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsDropShadowEffect(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsDropShadowEffect)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsEffect)->ctd_cast((QGraphicsEffect *)(QGraphicsDropShadowEffect *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsDropShadowEffect(void *, int);}
static void release_QGraphicsDropShadowEffect(void *sipCppV,int)
{
    QGraphicsDropShadowEffect *sipCpp = reinterpret_cast<QGraphicsDropShadowEffect *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsDropShadowEffect(sipSimpleWrapper *);}
static void dealloc_QGraphicsDropShadowEffect(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsDropShadowEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsDropShadowEffect(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsDropShadowEffect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsDropShadowEffect(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsDropShadowEffect *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsDropShadowEffect(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsDropShadowEffect[] = {{115, 255, 1}};


static PyMethodDef methods_QGraphicsDropShadowEffect[] = {
    {SIP_MLNAME_CAST(sipName_blurRadius), meth_QGraphicsDropShadowEffect_blurRadius, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_blurRadius)},
    {SIP_MLNAME_CAST(sipName_boundingRectFor), meth_QGraphicsDropShadowEffect_boundingRectFor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_boundingRectFor)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsDropShadowEffect_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_color), meth_QGraphicsDropShadowEffect_color, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_color)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsDropShadowEffect_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsDropShadowEffect_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsDropShadowEffect_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_draw), (PyCFunction)meth_QGraphicsDropShadowEffect_draw, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_draw)},
    {SIP_MLNAME_CAST(sipName_drawSource), (PyCFunction)meth_QGraphicsDropShadowEffect_drawSource, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsDropShadowEffect_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_offset), meth_QGraphicsDropShadowEffect_offset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_offset)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsDropShadowEffect_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsDropShadowEffect_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsDropShadowEffect_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBlurRadius), meth_QGraphicsDropShadowEffect_setBlurRadius, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_setBlurRadius)},
    {SIP_MLNAME_CAST(sipName_setColor), meth_QGraphicsDropShadowEffect_setColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_setColor)},
    {SIP_MLNAME_CAST(sipName_setOffset), meth_QGraphicsDropShadowEffect_setOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_setOffset)},
    {SIP_MLNAME_CAST(sipName_setXOffset), meth_QGraphicsDropShadowEffect_setXOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_setXOffset)},
    {SIP_MLNAME_CAST(sipName_setYOffset), meth_QGraphicsDropShadowEffect_setYOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_setYOffset)},
    {SIP_MLNAME_CAST(sipName_sourceBoundingRect), (PyCFunction)meth_QGraphicsDropShadowEffect_sourceBoundingRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceChanged), (PyCFunction)meth_QGraphicsDropShadowEffect_sourceChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceIsPixmap), (PyCFunction)meth_QGraphicsDropShadowEffect_sourceIsPixmap, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourcePixmap), (PyCFunction)meth_QGraphicsDropShadowEffect_sourcePixmap, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsDropShadowEffect_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateBoundingRect), (PyCFunction)meth_QGraphicsDropShadowEffect_updateBoundingRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_xOffset), meth_QGraphicsDropShadowEffect_xOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_xOffset)},
    {SIP_MLNAME_CAST(sipName_yOffset), meth_QGraphicsDropShadowEffect_yOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsDropShadowEffect_yOffset)}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsDropShadowEffect[] = {
    {"colorChanged(QColor)", "\1QGraphicsDropShadowEffect.colorChanged[QColor]", 0, 0},
    {"blurRadiusChanged(qreal)", "\1QGraphicsDropShadowEffect.blurRadiusChanged[float]", 0, 0},
    {"offsetChanged(QPointF)", "\1QGraphicsDropShadowEffect.offsetChanged[QPointF]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsDropShadowEffect, "\1QGraphicsDropShadowEffect(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsDropShadowEffect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsDropShadowEffect,
        {0}
    },
    {
        sipNameNr_QGraphicsDropShadowEffect,
        {0, 0, 1},
        27, methods_QGraphicsDropShadowEffect,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsDropShadowEffect,
    -1,
    -1,
    supers_QGraphicsDropShadowEffect,
    0,
    init_type_QGraphicsDropShadowEffect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsDropShadowEffect,
    0,
    0,
    0,
    release_QGraphicsDropShadowEffect,
    cast_QGraphicsDropShadowEffect,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsDropShadowEffect::staticMetaObject,
    0,
    signals_QGraphicsDropShadowEffect,
    0
};

#line 109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 330320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 330324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QGraphicsBlurEffect_BlurHints___bool__(PyObject *);}
static int slot_QGraphicsBlurEffect_BlurHints___bool__(PyObject *sipSelf)
{
    QGraphicsBlurEffect::BlurHints *sipCpp = reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsBlurEffect_BlurHints));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsBlurEffect::BlurHints::Int() != 0);
#line 330342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___ne__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsBlurEffect::BlurHints *sipCpp = reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsBlurEffect_BlurHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsBlurEffect::BlurHints::Int() != a0->operator QGraphicsBlurEffect::BlurHints::Int());
#line 330372 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsBlurEffect::BlurHints *>(a0),sipType_QGraphicsBlurEffect_BlurHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QGraphicsBlurEffect_BlurHints,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___eq__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsBlurEffect::BlurHints *sipCpp = reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsBlurEffect_BlurHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsBlurEffect::BlurHints::Int() == a0->operator QGraphicsBlurEffect::BlurHints::Int());
#line 330408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsBlurEffect::BlurHints *>(a0),sipType_QGraphicsBlurEffect_BlurHints,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QGraphicsBlurEffect_BlurHints,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___invert__(PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___invert__(PyObject *sipSelf)
{
    QGraphicsBlurEffect::BlurHints *sipCpp = reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsBlurEffect_BlurHints));

    if (!sipCpp)
        return 0;


    {
        {
            QGraphicsBlurEffect::BlurHints*sipRes;

            sipRes = new QGraphicsBlurEffect::BlurHints(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QGraphicsBlurEffect_BlurHints,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___and__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State, &a1))
        {
            QGraphicsBlurEffect::BlurHints*sipRes;

            sipRes = new QGraphicsBlurEffect::BlurHints((*a0 & a1));
            sipReleaseType(a0,sipType_QGraphicsBlurEffect_BlurHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsBlurEffect_BlurHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;
        QGraphicsBlurEffect::BlurHints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State, sipType_QGraphicsBlurEffect_BlurHints, &a1, &a1State))
        {
            QGraphicsBlurEffect::BlurHints*sipRes;

            sipRes = new QGraphicsBlurEffect::BlurHints((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QGraphicsBlurEffect_BlurHints,a0State);
            sipReleaseType(a1,sipType_QGraphicsBlurEffect_BlurHints,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsBlurEffect_BlurHints,NULL);
        }
    }

    {
        QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State, &a1))
        {
            QGraphicsBlurEffect::BlurHints*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsBlurEffect::BlurHints(*a0 ^ a1);
#line 330511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsBlurEffect_BlurHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsBlurEffect_BlurHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;
        QGraphicsBlurEffect::BlurHints* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State, sipType_QGraphicsBlurEffect_BlurHints, &a1, &a1State))
        {
            QGraphicsBlurEffect::BlurHints*sipRes;

            sipRes = new QGraphicsBlurEffect::BlurHints((*a0 | *a1));
            sipReleaseType(a0,sipType_QGraphicsBlurEffect_BlurHints,a0State);
            sipReleaseType(a1,sipType_QGraphicsBlurEffect_BlurHints,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsBlurEffect_BlurHints,NULL);
        }
    }

    {
        QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State, &a1))
        {
            QGraphicsBlurEffect::BlurHints*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsBlurEffect::BlurHints(*a0 | a1);
#line 330561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsBlurEffect_BlurHints,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsBlurEffect_BlurHints,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___int__(PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___int__(PyObject *sipSelf)
{
    QGraphicsBlurEffect::BlurHints *sipCpp = reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsBlurEffect_BlurHints));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsBlurEffect_BlurHints___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsBlurEffect_BlurHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsBlurEffect::BlurHints *sipCpp = reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsBlurEffect_BlurHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State))
        {
            sipCpp->QGraphicsBlurEffect::BlurHints::operator^=(*a0);
            sipReleaseType(a0,sipType_QGraphicsBlurEffect_BlurHints,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_QGraphicsBlurEffect_BlurHints___ior__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsBlurEffect_BlurHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsBlurEffect::BlurHints *sipCpp = reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsBlurEffect_BlurHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State))
        {
            sipCpp->QGraphicsBlurEffect::BlurHints::operator|=(*a0);
            sipReleaseType(a0,sipType_QGraphicsBlurEffect_BlurHints,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_QGraphicsBlurEffect_BlurHints___iand__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsBlurEffect_BlurHints___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsBlurEffect_BlurHints)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsBlurEffect::BlurHints *sipCpp = reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsBlurEffect_BlurHints));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QGraphicsBlurEffect::BlurHints::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsBlurEffect_BlurHints(void *, const sipTypeDef *);}
static void *cast_QGraphicsBlurEffect_BlurHints(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGraphicsBlurEffect_BlurHints)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsBlurEffect_BlurHints(void *, int);}
static void release_QGraphicsBlurEffect_BlurHints(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipCppV);
}


extern "C" {static void assign_QGraphicsBlurEffect_BlurHints(void *, SIP_SSIZE_T, const void *);}
static void assign_QGraphicsBlurEffect_BlurHints(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QGraphicsBlurEffect::BlurHints *>(sipSrc);
}


extern "C" {static void *array_QGraphicsBlurEffect_BlurHints(SIP_SSIZE_T);}
static void *array_QGraphicsBlurEffect_BlurHints(SIP_SSIZE_T sipNrElem)
{
    return new QGraphicsBlurEffect::BlurHints[sipNrElem];
}


extern "C" {static void *copy_QGraphicsBlurEffect_BlurHints(const void *, SIP_SSIZE_T);}
static void *copy_QGraphicsBlurEffect_BlurHints(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QGraphicsBlurEffect::BlurHints(reinterpret_cast<const QGraphicsBlurEffect::BlurHints *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QGraphicsBlurEffect_BlurHints(sipSimpleWrapper *);}
static void dealloc_QGraphicsBlurEffect_BlurHints(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsBlurEffect_BlurHints(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QGraphicsBlurEffect_BlurHints(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsBlurEffect_BlurHints(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QGraphicsBlurEffect::BlurHints *sipCpp = 0;

    {
        const QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State))
        {
            sipCpp = new QGraphicsBlurEffect::BlurHints(*a0);
            sipReleaseType(const_cast<QGraphicsBlurEffect::BlurHints *>(a0),sipType_QGraphicsBlurEffect_BlurHints,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QGraphicsBlurEffect::BlurHints(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QGraphicsBlurEffect::BlurHints();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QGraphicsBlurEffect_BlurHints(PyObject *, void **, int *, PyObject *);}
static int convertTo_QGraphicsBlurEffect_BlurHints(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QGraphicsBlurEffect::BlurHints **sipCppPtr = reinterpret_cast<QGraphicsBlurEffect::BlurHints **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QGraphicsBlurEffect::BlurHints is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsBlurEffect_BlurHint)) ||
            sipCanConvertToType(sipPy, sipType_QGraphicsBlurEffect_BlurHints, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsBlurEffect_BlurHint)))
{
    *sipCppPtr = new QGraphicsBlurEffect::BlurHints(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QGraphicsBlurEffect::BlurHints *>(sipConvertToType(sipPy, sipType_QGraphicsBlurEffect_BlurHints, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 330838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsBlurEffect_BlurHints[] = {
    {(void *)slot_QGraphicsBlurEffect_BlurHints___bool__, bool_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___ne__, ne_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___eq__, eq_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___invert__, invert_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___and__, and_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___xor__, xor_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___or__, or_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___int__, int_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___ixor__, ixor_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___ior__, ior_slot},
    {(void *)slot_QGraphicsBlurEffect_BlurHints___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsBlurEffect_BlurHints, "\1QGraphicsBlurEffect.BlurHints(QGraphicsBlurEffect.BlurHints)\n"
    "QGraphicsBlurEffect.BlurHints(int)\n"
    "QGraphicsBlurEffect.BlurHints()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsBlurEffect_BlurHints = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsBlurEffect__BlurHints,
        {0}
    },
    {
        sipNameNr_BlurHints,
        {110, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsBlurEffect_BlurHints,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QGraphicsBlurEffect_BlurHints,
    init_type_QGraphicsBlurEffect_BlurHints,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsBlurEffect_BlurHints,
    assign_QGraphicsBlurEffect_BlurHints,
    array_QGraphicsBlurEffect_BlurHints,
    copy_QGraphicsBlurEffect_BlurHints,
    release_QGraphicsBlurEffect_BlurHints,
    cast_QGraphicsBlurEffect_BlurHints,
    convertTo_QGraphicsBlurEffect_BlurHints,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 330920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 330924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 330927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 330930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 330933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 330936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 330939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 330942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 330945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 330948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 330951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 330954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 330957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 330960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 330963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 330966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 330969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 330972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 330975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 330978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 330981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 330984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 330987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 330990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsBlurEffect : public QGraphicsBlurEffect
{
public:
    sipQGraphicsBlurEffect(QObject*);
    virtual ~sipQGraphicsBlurEffect();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_sourceChanged(bool,QGraphicsEffect::ChangeFlags);
    void sipProtect_updateBoundingRect();
    bool sipProtect_sourceIsPixmap() const;
    QRectF sipProtect_sourceBoundingRect(Qt::CoordinateSystem) const;
    void sipProtect_drawSource(QPainter*);
    QPixmap sipProtect_sourcePixmap(Qt::CoordinateSystem,QPoint*,QGraphicsEffect::PixmapPadMode) const;
    void sipProtectVirt_draw(bool,QPainter*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void sourceChanged(QGraphicsEffect::ChangeFlags);
    void draw(QPainter*);
    QRectF boundingRectFor(const QRectF&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsBlurEffect(const sipQGraphicsBlurEffect &);
    sipQGraphicsBlurEffect &operator = (const sipQGraphicsBlurEffect &);

    char sipPyMethods[10];
};

sipQGraphicsBlurEffect::sipQGraphicsBlurEffect(QObject*a0): QGraphicsBlurEffect(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsBlurEffect::~sipQGraphicsBlurEffect()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsBlurEffect::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsBlurEffect);
}

int sipQGraphicsBlurEffect::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsBlurEffect::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsBlurEffect,_c,_id,_a);

    return _id;
}

void *sipQGraphicsBlurEffect::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsBlurEffect, _clname, &sipCpp) ? sipCpp : QGraphicsBlurEffect::qt_metacast(_clname));
}

void sipQGraphicsBlurEffect::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsBlurEffect::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsBlurEffect::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsBlurEffect::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsBlurEffect::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsBlurEffect::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsBlurEffect::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsBlurEffect::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsBlurEffect::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsBlurEffect::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsBlurEffect::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsBlurEffect::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsBlurEffect::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsBlurEffect::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsBlurEffect::sourceChanged(QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
        QGraphicsBlurEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_129(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsBlurEffect::draw(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_draw);

    if (!sipMeth)
    {
        QGraphicsBlurEffect::draw(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRectF sipQGraphicsBlurEffect::boundingRectFor(const QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return QGraphicsBlurEffect::boundingRectFor(a0);

    extern QRectF sipVH_QtWidgets_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    return sipVH_QtWidgets_128(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGraphicsBlurEffect::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsBlurEffect::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsBlurEffect::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsBlurEffect::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsBlurEffect::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsBlurEffect::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsBlurEffect::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsBlurEffect::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsBlurEffect::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsBlurEffect::sipProtectVirt_sourceChanged(bool sipSelfWasArg,QGraphicsEffect::ChangeFlags a0)
{
    (sipSelfWasArg ? QGraphicsEffect::sourceChanged(a0) : sourceChanged(a0));
}

void sipQGraphicsBlurEffect::sipProtect_updateBoundingRect()
{
    QGraphicsEffect::updateBoundingRect();
}

bool sipQGraphicsBlurEffect::sipProtect_sourceIsPixmap() const
{
    return QGraphicsEffect::sourceIsPixmap();
}

QRectF sipQGraphicsBlurEffect::sipProtect_sourceBoundingRect(Qt::CoordinateSystem a0) const
{
    return QGraphicsEffect::sourceBoundingRect(a0);
}

void sipQGraphicsBlurEffect::sipProtect_drawSource(QPainter*a0)
{
    QGraphicsEffect::drawSource(a0);
}

QPixmap sipQGraphicsBlurEffect::sipProtect_sourcePixmap(Qt::CoordinateSystem a0,QPoint*a1,QGraphicsEffect::PixmapPadMode a2) const
{
    return QGraphicsEffect::sourcePixmap(a0,a1,a2);
}

void sipQGraphicsBlurEffect::sipProtectVirt_draw(bool sipSelfWasArg,QPainter*a0)
{
    (sipSelfWasArg ? QGraphicsBlurEffect::draw(a0) : draw(a0));
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_sender, "QGraphicsBlurEffect.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 331374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_sender, doc_QGraphicsBlurEffect_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_receivers, "QGraphicsBlurEffect.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 331433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_receivers, doc_QGraphicsBlurEffect_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_timerEvent, "QGraphicsBlurEffect.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_timerEvent, doc_QGraphicsBlurEffect_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_childEvent, "QGraphicsBlurEffect.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_childEvent, doc_QGraphicsBlurEffect_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_customEvent, "QGraphicsBlurEffect.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_customEvent, doc_QGraphicsBlurEffect_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_connectNotify, "QGraphicsBlurEffect.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_connectNotify, doc_QGraphicsBlurEffect_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_disconnectNotify, "QGraphicsBlurEffect.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_disconnectNotify, doc_QGraphicsBlurEffect_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_senderSignalIndex, "QGraphicsBlurEffect.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_senderSignalIndex, doc_QGraphicsBlurEffect_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_isSignalConnected, "QGraphicsBlurEffect.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_isSignalConnected, doc_QGraphicsBlurEffect_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_sourceChanged, "QGraphicsBlurEffect.sourceChanged(QGraphicsEffect.ChangeFlags)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_sourceChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_sourceChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_sourceChanged(sipSelfWasArg,*a0);
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_sourceChanged, doc_QGraphicsBlurEffect_sourceChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_updateBoundingRect, "QGraphicsBlurEffect.updateBoundingRect()");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_updateBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_updateBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp))
        {
            sipCpp->sipProtect_updateBoundingRect();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_updateBoundingRect, doc_QGraphicsBlurEffect_updateBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_sourceIsPixmap, "QGraphicsBlurEffect.sourceIsPixmap() -> bool");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_sourceIsPixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_sourceIsPixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_sourceIsPixmap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_sourceIsPixmap, doc_QGraphicsBlurEffect_sourceIsPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_sourceBoundingRect, "QGraphicsBlurEffect.sourceBoundingRect(Qt.CoordinateSystem system=Qt.LogicalCoordinates) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_sourceBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_sourceBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        const sipQGraphicsBlurEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sipProtect_sourceBoundingRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_sourceBoundingRect, doc_QGraphicsBlurEffect_sourceBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_drawSource, "QGraphicsBlurEffect.drawSource(QPainter)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_drawSource(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_drawSource(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawSource(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_drawSource, doc_QGraphicsBlurEffect_drawSource);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_sourcePixmap, "QGraphicsBlurEffect.sourcePixmap(Qt.CoordinateSystem system=Qt.LogicalCoordinates, QGraphicsEffect.PixmapPadMode mode=QGraphicsEffect.PadToEffectiveBoundingRect) -> (QPixmap, QPoint)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_sourcePixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_sourcePixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        QPoint* a1;
        QGraphicsEffect::PixmapPadMode a2 = QGraphicsEffect::PadToEffectiveBoundingRect;
        const sipQGraphicsBlurEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|EE", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0, sipType_QGraphicsEffect_PixmapPadMode, &a2))
        {
            QPixmap*sipRes;
            a1 = new QPoint();

            sipRes = new QPixmap(sipCpp->sipProtect_sourcePixmap(a0,a1,a2));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
            return sipBuildResult(0,"(RN)",sipResObj,a1,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_sourcePixmap, doc_QGraphicsBlurEffect_sourcePixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_boundingRectFor, "QGraphicsBlurEffect.boundingRectFor(QRectF) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_boundingRectFor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_boundingRectFor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        const QGraphicsBlurEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QRectF, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsBlurEffect::boundingRectFor(*a0) : sipCpp->boundingRectFor(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_boundingRectFor, doc_QGraphicsBlurEffect_boundingRectFor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_blurRadius, "QGraphicsBlurEffect.blurRadius() -> float");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_blurRadius(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_blurRadius(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsBlurEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->blurRadius();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_blurRadius, doc_QGraphicsBlurEffect_blurRadius);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_blurHints, "QGraphicsBlurEffect.blurHints() -> QGraphicsBlurEffect.BlurHints");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_blurHints(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_blurHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsBlurEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp))
        {
            QGraphicsBlurEffect::BlurHints*sipRes;

            sipRes = new QGraphicsBlurEffect::BlurHints(sipCpp->blurHints());

            return sipConvertFromNewType(sipRes,sipType_QGraphicsBlurEffect_BlurHints,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_blurHints, doc_QGraphicsBlurEffect_blurHints);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_setBlurRadius, "QGraphicsBlurEffect.setBlurRadius(float)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_setBlurRadius(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_setBlurRadius(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsBlurEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, &a0))
        {
            sipCpp->setBlurRadius(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_setBlurRadius, doc_QGraphicsBlurEffect_setBlurRadius);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_setBlurHints, "QGraphicsBlurEffect.setBlurHints(QGraphicsBlurEffect.BlurHints)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_setBlurHints(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_setBlurHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsBlurEffect::BlurHints* a0;
        int a0State = 0;
        QGraphicsBlurEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QGraphicsBlurEffect_BlurHints, &a0, &a0State))
        {
            sipCpp->setBlurHints(*a0);
            sipReleaseType(a0,sipType_QGraphicsBlurEffect_BlurHints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_setBlurHints, doc_QGraphicsBlurEffect_setBlurHints);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsBlurEffect_draw, "QGraphicsBlurEffect.draw(QPainter)");

extern "C" {static PyObject *meth_QGraphicsBlurEffect_draw(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsBlurEffect_draw(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        sipQGraphicsBlurEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsBlurEffect, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_draw(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsBlurEffect, sipName_draw, doc_QGraphicsBlurEffect_draw);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsBlurEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsBlurEffect(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsBlurEffect)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsEffect)->ctd_cast((QGraphicsEffect *)(QGraphicsBlurEffect *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsBlurEffect(void *, int);}
static void release_QGraphicsBlurEffect(void *sipCppV,int)
{
    QGraphicsBlurEffect *sipCpp = reinterpret_cast<QGraphicsBlurEffect *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsBlurEffect(sipSimpleWrapper *);}
static void dealloc_QGraphicsBlurEffect(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsBlurEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsBlurEffect(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsBlurEffect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsBlurEffect(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsBlurEffect *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsBlurEffect(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsBlurEffect[] = {{115, 255, 1}};


static PyMethodDef methods_QGraphicsBlurEffect[] = {
    {SIP_MLNAME_CAST(sipName_blurHints), meth_QGraphicsBlurEffect_blurHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsBlurEffect_blurHints)},
    {SIP_MLNAME_CAST(sipName_blurRadius), meth_QGraphicsBlurEffect_blurRadius, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsBlurEffect_blurRadius)},
    {SIP_MLNAME_CAST(sipName_boundingRectFor), meth_QGraphicsBlurEffect_boundingRectFor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsBlurEffect_boundingRectFor)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsBlurEffect_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsBlurEffect_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsBlurEffect_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsBlurEffect_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_draw), (PyCFunction)meth_QGraphicsBlurEffect_draw, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsBlurEffect_draw)},
    {SIP_MLNAME_CAST(sipName_drawSource), (PyCFunction)meth_QGraphicsBlurEffect_drawSource, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsBlurEffect_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsBlurEffect_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsBlurEffect_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsBlurEffect_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setBlurHints), meth_QGraphicsBlurEffect_setBlurHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsBlurEffect_setBlurHints)},
    {SIP_MLNAME_CAST(sipName_setBlurRadius), meth_QGraphicsBlurEffect_setBlurRadius, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsBlurEffect_setBlurRadius)},
    {SIP_MLNAME_CAST(sipName_sourceBoundingRect), (PyCFunction)meth_QGraphicsBlurEffect_sourceBoundingRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceChanged), (PyCFunction)meth_QGraphicsBlurEffect_sourceChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceIsPixmap), (PyCFunction)meth_QGraphicsBlurEffect_sourceIsPixmap, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourcePixmap), (PyCFunction)meth_QGraphicsBlurEffect_sourcePixmap, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsBlurEffect_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateBoundingRect), (PyCFunction)meth_QGraphicsBlurEffect_updateBoundingRect, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QGraphicsBlurEffect[] = {
    {sipName_AnimationHint, static_cast<int>(QGraphicsBlurEffect::AnimationHint), 111},
    {sipName_PerformanceHint, static_cast<int>(QGraphicsBlurEffect::PerformanceHint), 111},
    {sipName_QualityHint, static_cast<int>(QGraphicsBlurEffect::QualityHint), 111},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsBlurEffect[] = {
    {"blurHintsChanged(QGraphicsBlurEffect::BlurHints)", "\1QGraphicsBlurEffect.blurHintsChanged[QGraphicsBlurEffect.BlurHints]", 0, 0},
    {"blurRadiusChanged(qreal)", "\1QGraphicsBlurEffect.blurRadiusChanged[float]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsBlurEffect, "\1QGraphicsBlurEffect(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsBlurEffect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsBlurEffect,
        {0}
    },
    {
        sipNameNr_QGraphicsBlurEffect,
        {0, 0, 1},
        21, methods_QGraphicsBlurEffect,
        3, enummembers_QGraphicsBlurEffect,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsBlurEffect,
    -1,
    -1,
    supers_QGraphicsBlurEffect,
    0,
    init_type_QGraphicsBlurEffect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsBlurEffect,
    0,
    0,
    0,
    release_QGraphicsBlurEffect,
    cast_QGraphicsBlurEffect,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsBlurEffect::staticMetaObject,
    0,
    signals_QGraphicsBlurEffect,
    0
};

#line 82 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 332165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 332169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 332172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 332175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 332178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 332181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 332184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 332187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 332190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 332193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 332196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 332199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 332202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 332205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 332208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 332211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 332214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 332217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 332220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 332223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 332226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 332229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 332232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 332235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsColorizeEffect : public QGraphicsColorizeEffect
{
public:
    sipQGraphicsColorizeEffect(QObject*);
    virtual ~sipQGraphicsColorizeEffect();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_sourceChanged(bool,QGraphicsEffect::ChangeFlags);
    void sipProtect_updateBoundingRect();
    bool sipProtect_sourceIsPixmap() const;
    QRectF sipProtect_sourceBoundingRect(Qt::CoordinateSystem) const;
    void sipProtect_drawSource(QPainter*);
    QPixmap sipProtect_sourcePixmap(Qt::CoordinateSystem,QPoint*,QGraphicsEffect::PixmapPadMode) const;
    void sipProtectVirt_draw(bool,QPainter*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void sourceChanged(QGraphicsEffect::ChangeFlags);
    QRectF boundingRectFor(const QRectF&) const;
    void draw(QPainter*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsColorizeEffect(const sipQGraphicsColorizeEffect &);
    sipQGraphicsColorizeEffect &operator = (const sipQGraphicsColorizeEffect &);

    char sipPyMethods[10];
};

sipQGraphicsColorizeEffect::sipQGraphicsColorizeEffect(QObject*a0): QGraphicsColorizeEffect(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsColorizeEffect::~sipQGraphicsColorizeEffect()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsColorizeEffect::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsColorizeEffect);
}

int sipQGraphicsColorizeEffect::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsColorizeEffect::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsColorizeEffect,_c,_id,_a);

    return _id;
}

void *sipQGraphicsColorizeEffect::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsColorizeEffect, _clname, &sipCpp) ? sipCpp : QGraphicsColorizeEffect::qt_metacast(_clname));
}

void sipQGraphicsColorizeEffect::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsColorizeEffect::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsColorizeEffect::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsColorizeEffect::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsColorizeEffect::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsColorizeEffect::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsColorizeEffect::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsColorizeEffect::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsColorizeEffect::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsColorizeEffect::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsColorizeEffect::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsColorizeEffect::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsColorizeEffect::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsColorizeEffect::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsColorizeEffect::sourceChanged(QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
        QGraphicsColorizeEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_129(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRectF sipQGraphicsColorizeEffect::boundingRectFor(const QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return QGraphicsColorizeEffect::boundingRectFor(a0);

    extern QRectF sipVH_QtWidgets_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    return sipVH_QtWidgets_128(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsColorizeEffect::draw(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_draw);

    if (!sipMeth)
    {
        QGraphicsColorizeEffect::draw(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGraphicsColorizeEffect::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsColorizeEffect::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsColorizeEffect::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsColorizeEffect::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsColorizeEffect::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsColorizeEffect::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsColorizeEffect::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsColorizeEffect::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsColorizeEffect::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsColorizeEffect::sipProtectVirt_sourceChanged(bool sipSelfWasArg,QGraphicsEffect::ChangeFlags a0)
{
    (sipSelfWasArg ? QGraphicsEffect::sourceChanged(a0) : sourceChanged(a0));
}

void sipQGraphicsColorizeEffect::sipProtect_updateBoundingRect()
{
    QGraphicsEffect::updateBoundingRect();
}

bool sipQGraphicsColorizeEffect::sipProtect_sourceIsPixmap() const
{
    return QGraphicsEffect::sourceIsPixmap();
}

QRectF sipQGraphicsColorizeEffect::sipProtect_sourceBoundingRect(Qt::CoordinateSystem a0) const
{
    return QGraphicsEffect::sourceBoundingRect(a0);
}

void sipQGraphicsColorizeEffect::sipProtect_drawSource(QPainter*a0)
{
    QGraphicsEffect::drawSource(a0);
}

QPixmap sipQGraphicsColorizeEffect::sipProtect_sourcePixmap(Qt::CoordinateSystem a0,QPoint*a1,QGraphicsEffect::PixmapPadMode a2) const
{
    return QGraphicsEffect::sourcePixmap(a0,a1,a2);
}

void sipQGraphicsColorizeEffect::sipProtectVirt_draw(bool sipSelfWasArg,QPainter*a0)
{
    (sipSelfWasArg ? QGraphicsColorizeEffect::draw(a0) : draw(a0));
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_sender, "QGraphicsColorizeEffect.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 332619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_sender, doc_QGraphicsColorizeEffect_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_receivers, "QGraphicsColorizeEffect.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 332678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_receivers, doc_QGraphicsColorizeEffect_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_timerEvent, "QGraphicsColorizeEffect.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_timerEvent, doc_QGraphicsColorizeEffect_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_childEvent, "QGraphicsColorizeEffect.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_childEvent, doc_QGraphicsColorizeEffect_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_customEvent, "QGraphicsColorizeEffect.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_customEvent, doc_QGraphicsColorizeEffect_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_connectNotify, "QGraphicsColorizeEffect.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_connectNotify, doc_QGraphicsColorizeEffect_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_disconnectNotify, "QGraphicsColorizeEffect.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_disconnectNotify, doc_QGraphicsColorizeEffect_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_senderSignalIndex, "QGraphicsColorizeEffect.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_senderSignalIndex, doc_QGraphicsColorizeEffect_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_isSignalConnected, "QGraphicsColorizeEffect.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_isSignalConnected, doc_QGraphicsColorizeEffect_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_sourceChanged, "QGraphicsColorizeEffect.sourceChanged(QGraphicsEffect.ChangeFlags)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_sourceChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_sourceChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_sourceChanged(sipSelfWasArg,*a0);
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_sourceChanged, doc_QGraphicsColorizeEffect_sourceChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_updateBoundingRect, "QGraphicsColorizeEffect.updateBoundingRect()");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_updateBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_updateBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp))
        {
            sipCpp->sipProtect_updateBoundingRect();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_updateBoundingRect, doc_QGraphicsColorizeEffect_updateBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_sourceIsPixmap, "QGraphicsColorizeEffect.sourceIsPixmap() -> bool");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_sourceIsPixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_sourceIsPixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_sourceIsPixmap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_sourceIsPixmap, doc_QGraphicsColorizeEffect_sourceIsPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_sourceBoundingRect, "QGraphicsColorizeEffect.sourceBoundingRect(Qt.CoordinateSystem system=Qt.LogicalCoordinates) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_sourceBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_sourceBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        const sipQGraphicsColorizeEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sipProtect_sourceBoundingRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_sourceBoundingRect, doc_QGraphicsColorizeEffect_sourceBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_drawSource, "QGraphicsColorizeEffect.drawSource(QPainter)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_drawSource(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_drawSource(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawSource(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_drawSource, doc_QGraphicsColorizeEffect_drawSource);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_sourcePixmap, "QGraphicsColorizeEffect.sourcePixmap(Qt.CoordinateSystem system=Qt.LogicalCoordinates, QGraphicsEffect.PixmapPadMode mode=QGraphicsEffect.PadToEffectiveBoundingRect) -> (QPixmap, QPoint)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_sourcePixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_sourcePixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        QPoint* a1;
        QGraphicsEffect::PixmapPadMode a2 = QGraphicsEffect::PadToEffectiveBoundingRect;
        const sipQGraphicsColorizeEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|EE", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0, sipType_QGraphicsEffect_PixmapPadMode, &a2))
        {
            QPixmap*sipRes;
            a1 = new QPoint();

            sipRes = new QPixmap(sipCpp->sipProtect_sourcePixmap(a0,a1,a2));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
            return sipBuildResult(0,"(RN)",sipResObj,a1,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_sourcePixmap, doc_QGraphicsColorizeEffect_sourcePixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_color, "QGraphicsColorizeEffect.color() -> QColor");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_color(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_color(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsColorizeEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp))
        {
            QColor*sipRes;

            sipRes = new QColor(sipCpp->color());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_color, doc_QGraphicsColorizeEffect_color);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_strength, "QGraphicsColorizeEffect.strength() -> float");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_strength(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_strength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsColorizeEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->strength();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_strength, doc_QGraphicsColorizeEffect_strength);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_setColor, "QGraphicsColorizeEffect.setColor(QColor)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_setColor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_setColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        QGraphicsColorizeEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setColor(*a0);
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_setColor, doc_QGraphicsColorizeEffect_setColor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_setStrength, "QGraphicsColorizeEffect.setStrength(float)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_setStrength(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_setStrength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsColorizeEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, &a0))
        {
            sipCpp->setStrength(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_setStrength, doc_QGraphicsColorizeEffect_setStrength);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsColorizeEffect_draw, "QGraphicsColorizeEffect.draw(QPainter)");

extern "C" {static PyObject *meth_QGraphicsColorizeEffect_draw(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsColorizeEffect_draw(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        sipQGraphicsColorizeEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsColorizeEffect, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_draw(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsColorizeEffect, sipName_draw, doc_QGraphicsColorizeEffect_draw);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsColorizeEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsColorizeEffect(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsColorizeEffect)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsEffect)->ctd_cast((QGraphicsEffect *)(QGraphicsColorizeEffect *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsColorizeEffect(void *, int);}
static void release_QGraphicsColorizeEffect(void *sipCppV,int)
{
    QGraphicsColorizeEffect *sipCpp = reinterpret_cast<QGraphicsColorizeEffect *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsColorizeEffect(sipSimpleWrapper *);}
static void dealloc_QGraphicsColorizeEffect(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsColorizeEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsColorizeEffect(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsColorizeEffect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsColorizeEffect(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsColorizeEffect *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsColorizeEffect(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsColorizeEffect[] = {{115, 255, 1}};


static PyMethodDef methods_QGraphicsColorizeEffect[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsColorizeEffect_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_color), meth_QGraphicsColorizeEffect_color, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsColorizeEffect_color)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsColorizeEffect_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsColorizeEffect_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsColorizeEffect_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_draw), (PyCFunction)meth_QGraphicsColorizeEffect_draw, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsColorizeEffect_draw)},
    {SIP_MLNAME_CAST(sipName_drawSource), (PyCFunction)meth_QGraphicsColorizeEffect_drawSource, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsColorizeEffect_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsColorizeEffect_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsColorizeEffect_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsColorizeEffect_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setColor), meth_QGraphicsColorizeEffect_setColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsColorizeEffect_setColor)},
    {SIP_MLNAME_CAST(sipName_setStrength), meth_QGraphicsColorizeEffect_setStrength, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsColorizeEffect_setStrength)},
    {SIP_MLNAME_CAST(sipName_sourceBoundingRect), (PyCFunction)meth_QGraphicsColorizeEffect_sourceBoundingRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceChanged), (PyCFunction)meth_QGraphicsColorizeEffect_sourceChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourceIsPixmap), (PyCFunction)meth_QGraphicsColorizeEffect_sourceIsPixmap, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sourcePixmap), (PyCFunction)meth_QGraphicsColorizeEffect_sourcePixmap, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_strength), meth_QGraphicsColorizeEffect_strength, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsColorizeEffect_strength)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsColorizeEffect_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateBoundingRect), (PyCFunction)meth_QGraphicsColorizeEffect_updateBoundingRect, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsColorizeEffect[] = {
    {"strengthChanged(qreal)", "\1QGraphicsColorizeEffect.strengthChanged[float]", 0, 0},
    {"colorChanged(QColor)", "\1QGraphicsColorizeEffect.colorChanged[QColor]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsColorizeEffect, "\1QGraphicsColorizeEffect(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsColorizeEffect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsColorizeEffect,
        {0}
    },
    {
        sipNameNr_QGraphicsColorizeEffect,
        {0, 0, 1},
        20, methods_QGraphicsColorizeEffect,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsColorizeEffect,
    -1,
    -1,
    supers_QGraphicsColorizeEffect,
    0,
    init_type_QGraphicsColorizeEffect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsColorizeEffect,
    0,
    0,
    0,
    release_QGraphicsColorizeEffect,
    cast_QGraphicsColorizeEffect,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsColorizeEffect::staticMetaObject,
    0,
    signals_QGraphicsColorizeEffect,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 333374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 333378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QGraphicsEffect_ChangeFlags___bool__(PyObject *);}
static int slot_QGraphicsEffect_ChangeFlags___bool__(PyObject *sipSelf)
{
    QGraphicsEffect::ChangeFlags *sipCpp = reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsEffect_ChangeFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsEffect::ChangeFlags::Int() != 0);
#line 333396 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsEffect::ChangeFlags *sipCpp = reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsEffect_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsEffect::ChangeFlags::Int() != a0->operator QGraphicsEffect::ChangeFlags::Int());
#line 333426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsEffect::ChangeFlags *>(a0),sipType_QGraphicsEffect_ChangeFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QGraphicsEffect_ChangeFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QGraphicsEffect::ChangeFlags *sipCpp = reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsEffect_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGraphicsEffect::ChangeFlags::Int() == a0->operator QGraphicsEffect::ChangeFlags::Int());
#line 333462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGraphicsEffect::ChangeFlags *>(a0),sipType_QGraphicsEffect_ChangeFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QGraphicsEffect_ChangeFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___invert__(PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___invert__(PyObject *sipSelf)
{
    QGraphicsEffect::ChangeFlags *sipCpp = reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsEffect_ChangeFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QGraphicsEffect::ChangeFlags*sipRes;

            sipRes = new QGraphicsEffect::ChangeFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QGraphicsEffect_ChangeFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State, &a1))
        {
            QGraphicsEffect::ChangeFlags*sipRes;

            sipRes = new QGraphicsEffect::ChangeFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsEffect_ChangeFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        QGraphicsEffect::ChangeFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State, sipType_QGraphicsEffect_ChangeFlags, &a1, &a1State))
        {
            QGraphicsEffect::ChangeFlags*sipRes;

            sipRes = new QGraphicsEffect::ChangeFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);
            sipReleaseType(a1,sipType_QGraphicsEffect_ChangeFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsEffect_ChangeFlags,NULL);
        }
    }

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State, &a1))
        {
            QGraphicsEffect::ChangeFlags*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsEffect::ChangeFlags(*a0 ^ a1);
#line 333565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsEffect_ChangeFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        QGraphicsEffect::ChangeFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State, sipType_QGraphicsEffect_ChangeFlags, &a1, &a1State))
        {
            QGraphicsEffect::ChangeFlags*sipRes;

            sipRes = new QGraphicsEffect::ChangeFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);
            sipReleaseType(a1,sipType_QGraphicsEffect_ChangeFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsEffect_ChangeFlags,NULL);
        }
    }

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State, &a1))
        {
            QGraphicsEffect::ChangeFlags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QGraphicsEffect::ChangeFlags(*a0 | a1);
#line 333615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGraphicsEffect_ChangeFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___int__(PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___int__(PyObject *sipSelf)
{
    QGraphicsEffect::ChangeFlags *sipCpp = reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsEffect_ChangeFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGraphicsEffect_ChangeFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsEffect_ChangeFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsEffect::ChangeFlags *sipCpp = reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsEffect_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            sipCpp->QGraphicsEffect::ChangeFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,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_QGraphicsEffect_ChangeFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsEffect_ChangeFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsEffect::ChangeFlags *sipCpp = reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsEffect_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            sipCpp->QGraphicsEffect::ChangeFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,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_QGraphicsEffect_ChangeFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QGraphicsEffect_ChangeFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGraphicsEffect_ChangeFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGraphicsEffect::ChangeFlags *sipCpp = reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsEffect_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QGraphicsEffect::ChangeFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsEffect_ChangeFlags(void *, const sipTypeDef *);}
static void *cast_QGraphicsEffect_ChangeFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGraphicsEffect_ChangeFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsEffect_ChangeFlags(void *, int);}
static void release_QGraphicsEffect_ChangeFlags(void *sipCppV,int)
{
    delete reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipCppV);
}


extern "C" {static void assign_QGraphicsEffect_ChangeFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QGraphicsEffect_ChangeFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QGraphicsEffect::ChangeFlags *>(sipSrc);
}


extern "C" {static void *array_QGraphicsEffect_ChangeFlags(SIP_SSIZE_T);}
static void *array_QGraphicsEffect_ChangeFlags(SIP_SSIZE_T sipNrElem)
{
    return new QGraphicsEffect::ChangeFlags[sipNrElem];
}


extern "C" {static void *copy_QGraphicsEffect_ChangeFlags(const void *, SIP_SSIZE_T);}
static void *copy_QGraphicsEffect_ChangeFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QGraphicsEffect::ChangeFlags(reinterpret_cast<const QGraphicsEffect::ChangeFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QGraphicsEffect_ChangeFlags(sipSimpleWrapper *);}
static void dealloc_QGraphicsEffect_ChangeFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsEffect_ChangeFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QGraphicsEffect_ChangeFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsEffect_ChangeFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QGraphicsEffect::ChangeFlags *sipCpp = 0;

    {
        const QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            sipCpp = new QGraphicsEffect::ChangeFlags(*a0);
            sipReleaseType(const_cast<QGraphicsEffect::ChangeFlags *>(a0),sipType_QGraphicsEffect_ChangeFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QGraphicsEffect::ChangeFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QGraphicsEffect::ChangeFlags();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QGraphicsEffect_ChangeFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QGraphicsEffect_ChangeFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QGraphicsEffect::ChangeFlags **sipCppPtr = reinterpret_cast<QGraphicsEffect::ChangeFlags **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QGraphicsEffect::ChangeFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsEffect_ChangeFlag)) ||
            sipCanConvertToType(sipPy, sipType_QGraphicsEffect_ChangeFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGraphicsEffect_ChangeFlag)))
{
    *sipCppPtr = new QGraphicsEffect::ChangeFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QGraphicsEffect::ChangeFlags *>(sipConvertToType(sipPy, sipType_QGraphicsEffect_ChangeFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 333892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsEffect_ChangeFlags[] = {
    {(void *)slot_QGraphicsEffect_ChangeFlags___bool__, bool_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___ne__, ne_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___eq__, eq_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___invert__, invert_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___and__, and_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___xor__, xor_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___or__, or_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___int__, int_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___ixor__, ixor_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___ior__, ior_slot},
    {(void *)slot_QGraphicsEffect_ChangeFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGraphicsEffect_ChangeFlags, "\1QGraphicsEffect.ChangeFlags(QGraphicsEffect.ChangeFlags)\n"
    "QGraphicsEffect.ChangeFlags(int)\n"
    "QGraphicsEffect.ChangeFlags()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsEffect_ChangeFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsEffect__ChangeFlags,
        {0}
    },
    {
        sipNameNr_ChangeFlags,
        {115, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsEffect_ChangeFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QGraphicsEffect_ChangeFlags,
    init_type_QGraphicsEffect_ChangeFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsEffect_ChangeFlags,
    assign_QGraphicsEffect_ChangeFlags,
    array_QGraphicsEffect_ChangeFlags,
    copy_QGraphicsEffect_ChangeFlags,
    release_QGraphicsEffect_ChangeFlags,
    cast_QGraphicsEffect_ChangeFlags,
    convertTo_QGraphicsEffect_ChangeFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 333974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 333978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 333981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 333984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 333987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 333990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 333993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 333996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 333999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 334002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 334005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 334008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 334011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 334014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 334017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 334020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 334023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 334026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 334029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 334032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 334035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 334038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsEffect : public QGraphicsEffect
{
public:
    sipQGraphicsEffect(QObject*);
    virtual ~sipQGraphicsEffect();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_draw(QPainter*);
    void sipProtectVirt_sourceChanged(bool,QGraphicsEffect::ChangeFlags);
    void sipProtect_updateBoundingRect();
    bool sipProtect_sourceIsPixmap() const;
    QRectF sipProtect_sourceBoundingRect(Qt::CoordinateSystem) const;
    void sipProtect_drawSource(QPainter*);
    QPixmap sipProtect_sourcePixmap(Qt::CoordinateSystem,QPoint*,QGraphicsEffect::PixmapPadMode) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void sourceChanged(QGraphicsEffect::ChangeFlags);
    void draw(QPainter*);
    QRectF boundingRectFor(const QRectF&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsEffect(const sipQGraphicsEffect &);
    sipQGraphicsEffect &operator = (const sipQGraphicsEffect &);

    char sipPyMethods[10];
};

sipQGraphicsEffect::sipQGraphicsEffect(QObject*a0): QGraphicsEffect(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsEffect::~sipQGraphicsEffect()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGraphicsEffect::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGraphicsEffect);
}

int sipQGraphicsEffect::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGraphicsEffect::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGraphicsEffect,_c,_id,_a);

    return _id;
}

void *sipQGraphicsEffect::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGraphicsEffect, _clname, &sipCpp) ? sipCpp : QGraphicsEffect::qt_metacast(_clname));
}

void sipQGraphicsEffect::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGraphicsEffect::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGraphicsEffect::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGraphicsEffect::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGraphicsEffect::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGraphicsEffect::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGraphicsEffect::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGraphicsEffect::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGraphicsEffect::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGraphicsEffect::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::sourceChanged(QGraphicsEffect::ChangeFlags a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_sourceChanged);

    if (!sipMeth)
    {
        QGraphicsEffect::sourceChanged(a0);
        return;
    }

    extern void sipVH_QtWidgets_129(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGraphicsEffect::ChangeFlags);

    sipVH_QtWidgets_129(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsEffect::draw(QPainter*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QGraphicsEffect,sipName_draw);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRectF sipQGraphicsEffect::boundingRectFor(const QRectF& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_boundingRectFor);

    if (!sipMeth)
        return QGraphicsEffect::boundingRectFor(a0);

    extern QRectF sipVH_QtWidgets_128(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    return sipVH_QtWidgets_128(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGraphicsEffect::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGraphicsEffect::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGraphicsEffect::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGraphicsEffect::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGraphicsEffect::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGraphicsEffect::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGraphicsEffect::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGraphicsEffect::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGraphicsEffect::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQGraphicsEffect::sipProtect_draw(QPainter*a0)
{
    draw(a0);
}

void sipQGraphicsEffect::sipProtectVirt_sourceChanged(bool sipSelfWasArg,QGraphicsEffect::ChangeFlags a0)
{
    (sipSelfWasArg ? QGraphicsEffect::sourceChanged(a0) : sourceChanged(a0));
}

void sipQGraphicsEffect::sipProtect_updateBoundingRect()
{
    QGraphicsEffect::updateBoundingRect();
}

bool sipQGraphicsEffect::sipProtect_sourceIsPixmap() const
{
    return QGraphicsEffect::sourceIsPixmap();
}

QRectF sipQGraphicsEffect::sipProtect_sourceBoundingRect(Qt::CoordinateSystem a0) const
{
    return QGraphicsEffect::sourceBoundingRect(a0);
}

void sipQGraphicsEffect::sipProtect_drawSource(QPainter*a0)
{
    QGraphicsEffect::drawSource(a0);
}

QPixmap sipQGraphicsEffect::sipProtect_sourcePixmap(Qt::CoordinateSystem a0,QPoint*a1,QGraphicsEffect::PixmapPadMode a2) const
{
    return QGraphicsEffect::sourcePixmap(a0,a1,a2);
}


PyDoc_STRVAR(doc_QGraphicsEffect_sender, "QGraphicsEffect.sender() -> QObject");

extern "C" {static PyObject *meth_QGraphicsEffect_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsEffect, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 334419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_sender, doc_QGraphicsEffect_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_receivers, "QGraphicsEffect.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGraphicsEffect_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGraphicsEffect, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 334478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_receivers, doc_QGraphicsEffect_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_timerEvent, "QGraphicsEffect.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGraphicsEffect_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_timerEvent, doc_QGraphicsEffect_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_childEvent, "QGraphicsEffect.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGraphicsEffect_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_childEvent, doc_QGraphicsEffect_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_customEvent, "QGraphicsEffect.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsEffect_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_customEvent, doc_QGraphicsEffect_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_connectNotify, "QGraphicsEffect.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsEffect_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_connectNotify, doc_QGraphicsEffect_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_disconnectNotify, "QGraphicsEffect.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGraphicsEffect_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_disconnectNotify, doc_QGraphicsEffect_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_senderSignalIndex, "QGraphicsEffect.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGraphicsEffect_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsEffect, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_senderSignalIndex, doc_QGraphicsEffect_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_isSignalConnected, "QGraphicsEffect.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGraphicsEffect_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_isSignalConnected, doc_QGraphicsEffect_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_boundingRectFor, "QGraphicsEffect.boundingRectFor(QRectF) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsEffect_boundingRectFor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_boundingRectFor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        const QGraphicsEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QRectF, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF((sipSelfWasArg ? sipCpp->QGraphicsEffect::boundingRectFor(*a0) : sipCpp->boundingRectFor(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_boundingRectFor, doc_QGraphicsEffect_boundingRectFor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_boundingRect, "QGraphicsEffect.boundingRect() -> QRectF");

extern "C" {static PyObject *meth_QGraphicsEffect_boundingRect(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_boundingRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEffect, &sipCpp))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->boundingRect());

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_boundingRect, doc_QGraphicsEffect_boundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_isEnabled, "QGraphicsEffect.isEnabled() -> bool");

extern "C" {static PyObject *meth_QGraphicsEffect_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEffect, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_isEnabled, doc_QGraphicsEffect_isEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_setEnabled, "QGraphicsEffect.setEnabled(bool)");

extern "C" {static PyObject *meth_QGraphicsEffect_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGraphicsEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGraphicsEffect, &sipCpp, &a0))
        {
            sipCpp->setEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_setEnabled, doc_QGraphicsEffect_setEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_update, "QGraphicsEffect.update()");

extern "C" {static PyObject *meth_QGraphicsEffect_update(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_update(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsEffect *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsEffect, &sipCpp))
        {
            sipCpp->update();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_update, doc_QGraphicsEffect_update);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_draw, "QGraphicsEffect.draw(QPainter)");

extern "C" {static PyObject *meth_QGraphicsEffect_draw(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_draw(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QPainter* a0;
        sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QPainter, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGraphicsEffect, sipName_draw);
                return NULL;
            }

            sipCpp->sipProtect_draw(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_draw, doc_QGraphicsEffect_draw);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_sourceChanged, "QGraphicsEffect.sourceChanged(QGraphicsEffect.ChangeFlags)");

extern "C" {static PyObject *meth_QGraphicsEffect_sourceChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_sourceChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsEffect::ChangeFlags* a0;
        int a0State = 0;
        sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QGraphicsEffect_ChangeFlags, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_sourceChanged(sipSelfWasArg,*a0);
            sipReleaseType(a0,sipType_QGraphicsEffect_ChangeFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_sourceChanged, doc_QGraphicsEffect_sourceChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_updateBoundingRect, "QGraphicsEffect.updateBoundingRect()");

extern "C" {static PyObject *meth_QGraphicsEffect_updateBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_updateBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsEffect, &sipCpp))
        {
            sipCpp->sipProtect_updateBoundingRect();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_updateBoundingRect, doc_QGraphicsEffect_updateBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_sourceIsPixmap, "QGraphicsEffect.sourceIsPixmap() -> bool");

extern "C" {static PyObject *meth_QGraphicsEffect_sourceIsPixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_sourceIsPixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGraphicsEffect, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_sourceIsPixmap();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_sourceIsPixmap, doc_QGraphicsEffect_sourceIsPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_sourceBoundingRect, "QGraphicsEffect.sourceBoundingRect(Qt.CoordinateSystem system=Qt.LogicalCoordinates) -> QRectF");

extern "C" {static PyObject *meth_QGraphicsEffect_sourceBoundingRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_sourceBoundingRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        const sipQGraphicsEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|E", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0))
        {
            QRectF*sipRes;

            sipRes = new QRectF(sipCpp->sipProtect_sourceBoundingRect(a0));

            return sipConvertFromNewType(sipRes,sipType_QRectF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_sourceBoundingRect, doc_QGraphicsEffect_sourceBoundingRect);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_drawSource, "QGraphicsEffect.drawSource(QPainter)");

extern "C" {static PyObject *meth_QGraphicsEffect_drawSource(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_drawSource(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQGraphicsEffect *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawSource(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_drawSource, doc_QGraphicsEffect_drawSource);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsEffect_sourcePixmap, "QGraphicsEffect.sourcePixmap(Qt.CoordinateSystem system=Qt.LogicalCoordinates, QGraphicsEffect.PixmapPadMode mode=QGraphicsEffect.PadToEffectiveBoundingRect) -> (QPixmap, QPoint)");

extern "C" {static PyObject *meth_QGraphicsEffect_sourcePixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsEffect_sourcePixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CoordinateSystem a0 = Qt::LogicalCoordinates;
        QPoint* a1;
        QGraphicsEffect::PixmapPadMode a2 = QGraphicsEffect::PadToEffectiveBoundingRect;
        const sipQGraphicsEffect *sipCpp;

        static const char *sipKwdList[] = {
            sipName_system,
            sipName_mode,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|EE", &sipSelf, sipType_QGraphicsEffect, &sipCpp, sipType_Qt_CoordinateSystem, &a0, sipType_QGraphicsEffect_PixmapPadMode, &a2))
        {
            QPixmap*sipRes;
            a1 = new QPoint();

            sipRes = new QPixmap(sipCpp->sipProtect_sourcePixmap(a0,a1,a2));

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
            return sipBuildResult(0,"(RN)",sipResObj,a1,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsEffect, sipName_sourcePixmap, doc_QGraphicsEffect_sourcePixmap);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsEffect(void *, const sipTypeDef *);}
static void *cast_QGraphicsEffect(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsEffect)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QGraphicsEffect *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsEffect(void *, int);}
static void release_QGraphicsEffect(void *sipCppV,int)
{
    QGraphicsEffect *sipCpp = reinterpret_cast<QGraphicsEffect *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsEffect(sipSimpleWrapper *);}
static void dealloc_QGraphicsEffect(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsEffect *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsEffect(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsEffect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsEffect(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsEffect *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsEffect(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsEffect[] = {{162, 0, 1}};


static PyMethodDef methods_QGraphicsEffect[] = {
    {SIP_MLNAME_CAST(sipName_boundingRect), meth_QGraphicsEffect_boundingRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEffect_boundingRect)},
    {SIP_MLNAME_CAST(sipName_boundingRectFor), meth_QGraphicsEffect_boundingRectFor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEffect_boundingRectFor)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGraphicsEffect_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGraphicsEffect_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGraphicsEffect_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGraphicsEffect_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_draw), (PyCFunction)meth_QGraphicsEffect_draw, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsEffect_draw)},
    {SIP_MLNAME_CAST(sipName_drawSource), (PyCFunction)meth_QGraphicsEffect_drawSource, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsEffect_drawSource)},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_QGraphicsEffect_isEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEffect_isEnabled)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGraphicsEffect_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGraphicsEffect_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGraphicsEffect_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGraphicsEffect_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_QGraphicsEffect_setEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEffect_setEnabled)},
    {SIP_MLNAME_CAST(sipName_sourceBoundingRect), (PyCFunction)meth_QGraphicsEffect_sourceBoundingRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsEffect_sourceBoundingRect)},
    {SIP_MLNAME_CAST(sipName_sourceChanged), (PyCFunction)meth_QGraphicsEffect_sourceChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsEffect_sourceChanged)},
    {SIP_MLNAME_CAST(sipName_sourceIsPixmap), (PyCFunction)meth_QGraphicsEffect_sourceIsPixmap, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsEffect_sourceIsPixmap)},
    {SIP_MLNAME_CAST(sipName_sourcePixmap), (PyCFunction)meth_QGraphicsEffect_sourcePixmap, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsEffect_sourcePixmap)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGraphicsEffect_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_update), meth_QGraphicsEffect_update, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsEffect_update)},
    {SIP_MLNAME_CAST(sipName_updateBoundingRect), (PyCFunction)meth_QGraphicsEffect_updateBoundingRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsEffect_updateBoundingRect)}
};

static sipEnumMemberDef enummembers_QGraphicsEffect[] = {
    {sipName_NoPad, static_cast<int>(QGraphicsEffect::NoPad), 118},
    {sipName_PadToEffectiveBoundingRect, static_cast<int>(QGraphicsEffect::PadToEffectiveBoundingRect), 118},
    {sipName_PadToTransparentBorder, static_cast<int>(QGraphicsEffect::PadToTransparentBorder), 118},
    {sipName_SourceAttached, static_cast<int>(QGraphicsEffect::SourceAttached), 116},
    {sipName_SourceBoundingRectChanged, static_cast<int>(QGraphicsEffect::SourceBoundingRectChanged), 116},
    {sipName_SourceDetached, static_cast<int>(QGraphicsEffect::SourceDetached), 116},
    {sipName_SourceInvalidated, static_cast<int>(QGraphicsEffect::SourceInvalidated), 116},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QGraphicsEffect[] = {
    {"enabledChanged(bool)", "\1QGraphicsEffect.enabledChanged[bool]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QGraphicsEffect, "\1QGraphicsEffect(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsEffect = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsEffect,
        {0}
    },
    {
        sipNameNr_QGraphicsEffect,
        {0, 0, 1},
        21, methods_QGraphicsEffect,
        7, enummembers_QGraphicsEffect,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsEffect,
    -1,
    -1,
    supers_QGraphicsEffect,
    0,
    init_type_QGraphicsEffect,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsEffect,
    0,
    0,
    0,
    release_QGraphicsEffect,
    cast_QGraphicsEffect,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsEffect::staticMetaObject,
    0,
    signals_QGraphicsEffect,
    0
};

#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsanchorlayout.sip"
#include <qgraphicsanchorlayout.h>
#line 335216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 335220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 335223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 335226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 335229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 335232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsanchorlayout.sip"
#include <qgraphicsanchorlayout.h>
#line 335235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 335238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 335241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 335244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsAnchorLayout : public QGraphicsAnchorLayout
{
public:
    sipQGraphicsAnchorLayout(QGraphicsLayoutItem*);
    virtual ~sipQGraphicsAnchorLayout();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    void sipProtect_setGraphicsItem(QGraphicsItem*);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtect_addChildLayoutItem(QGraphicsLayoutItem*);
    QSizeF sipProtectVirt_sizeHint(bool,Qt::SizeHint,const QSizeF&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void updateGeometry();
    void widgetEvent(QEvent*);
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void invalidate();
    QGraphicsLayoutItem* itemAt(int) const;
    int count() const;
    void setGeometry(const QRectF&);
    void removeAt(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsAnchorLayout(const sipQGraphicsAnchorLayout &);
    sipQGraphicsAnchorLayout &operator = (const sipQGraphicsAnchorLayout &);

    char sipPyMethods[9];
};

sipQGraphicsAnchorLayout::sipQGraphicsAnchorLayout(QGraphicsLayoutItem*a0): QGraphicsAnchorLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsAnchorLayout::~sipQGraphicsAnchorLayout()
{
    sipCommonDtor(sipPySelf);
}

void sipQGraphicsAnchorLayout::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsAnchorLayout::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsAnchorLayout::widgetEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_widgetEvent);

    if (!sipMeth)
    {
        QGraphicsAnchorLayout::widgetEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsAnchorLayout::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsAnchorLayout::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    sipVH_QtWidgets_114(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QSizeF sipQGraphicsAnchorLayout::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QGraphicsAnchorLayout::sizeHint(a0,a1);

    extern QSizeF sipVH_QtWidgets_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return sipVH_QtWidgets_109(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsAnchorLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QGraphicsAnchorLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QGraphicsLayoutItem* sipQGraphicsAnchorLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return QGraphicsAnchorLayout::itemAt(a0);

    extern QGraphicsLayoutItem* sipVH_QtWidgets_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_122(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsAnchorLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return QGraphicsAnchorLayout::count();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsAnchorLayout::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsAnchorLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_45)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[45]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsAnchorLayout::removeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_removeAt);

    if (!sipMeth)
    {
        QGraphicsAnchorLayout::removeAt(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsAnchorLayout::sipProtect_setGraphicsItem(QGraphicsItem*a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipQGraphicsAnchorLayout::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipQGraphicsAnchorLayout::sipProtect_addChildLayoutItem(QGraphicsLayoutItem*a0)
{
    QGraphicsLayout::addChildLayoutItem(a0);
}

QSizeF sipQGraphicsAnchorLayout::sipProtectVirt_sizeHint(bool sipSelfWasArg,Qt::SizeHint a0,const QSizeF& a1) const
{
    return (sipSelfWasArg ? QGraphicsAnchorLayout::sizeHint(a0,a1) : sizeHint(a0,a1));
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_setGraphicsItem, "QGraphicsAnchorLayout.setGraphicsItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_setGraphicsItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        sipQGraphicsAnchorLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->sipProtect_setGraphicsItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_setGraphicsItem, doc_QGraphicsAnchorLayout_setGraphicsItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_setOwnedByLayout, "QGraphicsAnchorLayout.setOwnedByLayout(bool)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_setOwnedByLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipQGraphicsAnchorLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, &a0))
        {
            sipCpp->sipProtect_setOwnedByLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_setOwnedByLayout, doc_QGraphicsAnchorLayout_setOwnedByLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_addChildLayoutItem, "QGraphicsAnchorLayout.addChildLayoutItem(QGraphicsLayoutItem)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_addChildLayoutItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_addChildLayoutItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        sipQGraphicsAnchorLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            sipCpp->sipProtect_addChildLayoutItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_addChildLayoutItem, doc_QGraphicsAnchorLayout_addChildLayoutItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_addAnchor, "QGraphicsAnchorLayout.addAnchor(QGraphicsLayoutItem, Qt.AnchorPoint, QGraphicsLayoutItem, Qt.AnchorPoint) -> QGraphicsAnchor");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_addAnchor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_addAnchor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        Qt::AnchorPoint a1;
        QGraphicsLayoutItem* a2;
        Qt::AnchorPoint a3;
        QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:EJ:E", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, sipType_Qt_AnchorPoint, &a1, sipType_QGraphicsLayoutItem, &a2, sipType_Qt_AnchorPoint, &a3))
        {
            QGraphicsAnchor*sipRes;

            sipRes = sipCpp->addAnchor(a0,a1,a2,a3);

            return sipConvertFromType(sipRes,sipType_QGraphicsAnchor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_addAnchor, doc_QGraphicsAnchorLayout_addAnchor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_anchor, "QGraphicsAnchorLayout.anchor(QGraphicsLayoutItem, Qt.AnchorPoint, QGraphicsLayoutItem, Qt.AnchorPoint) -> QGraphicsAnchor");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_anchor(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_anchor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        Qt::AnchorPoint a1;
        QGraphicsLayoutItem* a2;
        Qt::AnchorPoint a3;
        QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EJ8E", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, sipType_Qt_AnchorPoint, &a1, sipType_QGraphicsLayoutItem, &a2, sipType_Qt_AnchorPoint, &a3))
        {
            QGraphicsAnchor*sipRes;

            sipRes = sipCpp->anchor(a0,a1,a2,a3);

            return sipConvertFromType(sipRes,sipType_QGraphicsAnchor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_anchor, doc_QGraphicsAnchorLayout_anchor);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_addCornerAnchors, "QGraphicsAnchorLayout.addCornerAnchors(QGraphicsLayoutItem, Qt.Corner, QGraphicsLayoutItem, Qt.Corner)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_addCornerAnchors(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_addCornerAnchors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        Qt::Corner a1;
        QGraphicsLayoutItem* a2;
        Qt::Corner a3;
        QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:EJ:E", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, sipType_Qt_Corner, &a1, sipType_QGraphicsLayoutItem, &a2, sipType_Qt_Corner, &a3))
        {
            sipCpp->addCornerAnchors(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_addCornerAnchors, doc_QGraphicsAnchorLayout_addCornerAnchors);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_addAnchors, "QGraphicsAnchorLayout.addAnchors(QGraphicsLayoutItem, QGraphicsLayoutItem, Qt.Orientations orientations=Qt.Horizontal|Qt.Vertical)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_addAnchors(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_addAnchors(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        QGraphicsLayoutItem* a1;
        Qt::Orientations a2def = Qt::Horizontal|Qt::Vertical;
        Qt::Orientations* a2 = &a2def;
        int a2State = 0;
        QGraphicsAnchorLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_orientations,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:J:|J1", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0, sipType_QGraphicsLayoutItem, &a1, sipType_Qt_Orientations, &a2, &a2State))
        {
            sipCpp->addAnchors(a0,a1,*a2);
            sipReleaseType(a2,sipType_Qt_Orientations,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_addAnchors, doc_QGraphicsAnchorLayout_addAnchors);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_setHorizontalSpacing, "QGraphicsAnchorLayout.setHorizontalSpacing(float)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_setHorizontalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_setHorizontalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, &a0))
        {
            sipCpp->setHorizontalSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_setHorizontalSpacing, doc_QGraphicsAnchorLayout_setHorizontalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_setVerticalSpacing, "QGraphicsAnchorLayout.setVerticalSpacing(float)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_setVerticalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_setVerticalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, &a0))
        {
            sipCpp->setVerticalSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_setVerticalSpacing, doc_QGraphicsAnchorLayout_setVerticalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_setSpacing, "QGraphicsAnchorLayout.setSpacing(float)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_setSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_setSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, &a0))
        {
            sipCpp->setSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_setSpacing, doc_QGraphicsAnchorLayout_setSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_horizontalSpacing, "QGraphicsAnchorLayout.horizontalSpacing() -> float");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_horizontalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_horizontalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->horizontalSpacing();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_horizontalSpacing, doc_QGraphicsAnchorLayout_horizontalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_verticalSpacing, "QGraphicsAnchorLayout.verticalSpacing() -> float");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_verticalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_verticalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->verticalSpacing();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_verticalSpacing, doc_QGraphicsAnchorLayout_verticalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_removeAt, "QGraphicsAnchorLayout.removeAt(int)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_removeAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_removeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsAnchorLayout::removeAt(a0) : sipCpp->removeAt(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_removeAt, doc_QGraphicsAnchorLayout_removeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_setGeometry, "QGraphicsAnchorLayout.setGeometry(QRectF)");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRectF* a0;
        QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, sipType_QRectF, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsAnchorLayout::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_setGeometry, doc_QGraphicsAnchorLayout_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_count, "QGraphicsAnchorLayout.count() -> int");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_count(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsAnchorLayout::count() : sipCpp->count());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_count, doc_QGraphicsAnchorLayout_count);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_itemAt, "QGraphicsAnchorLayout.itemAt(int) -> QGraphicsLayoutItem");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, &a0))
        {
            QGraphicsLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGraphicsAnchorLayout::itemAt(a0) : sipCpp->itemAt(a0));

            return sipConvertFromType(sipRes,sipType_QGraphicsLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_itemAt, doc_QGraphicsAnchorLayout_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_invalidate, "QGraphicsAnchorLayout.invalidate()");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsAnchorLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsAnchorLayout::invalidate() : sipCpp->invalidate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_invalidate, doc_QGraphicsAnchorLayout_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchorLayout_sizeHint, "QGraphicsAnchorLayout.sizeHint(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsAnchorLayout_sizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchorLayout_sizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const sipQGraphicsAnchorLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_constraint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J9", &sipSelf, sipType_QGraphicsAnchorLayout, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            sipRes = new QSizeF(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg,a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchorLayout, sipName_sizeHint, doc_QGraphicsAnchorLayout_sizeHint);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsAnchorLayout(void *, const sipTypeDef *);}
static void *cast_QGraphicsAnchorLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsAnchorLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsLayout)->ctd_cast((QGraphicsLayout *)(QGraphicsAnchorLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsAnchorLayout(void *, int);}
static void release_QGraphicsAnchorLayout(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsAnchorLayout *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsAnchorLayout *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsAnchorLayout(sipSimpleWrapper *);}
static void dealloc_QGraphicsAnchorLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsAnchorLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsAnchorLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsAnchorLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsAnchorLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsAnchorLayout *sipCpp = 0;

    {
        QGraphicsLayoutItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsLayoutItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsAnchorLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsAnchorLayout[] = {{128, 255, 1}};


static PyMethodDef methods_QGraphicsAnchorLayout[] = {
    {SIP_MLNAME_CAST(sipName_addAnchor), meth_QGraphicsAnchorLayout_addAnchor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_addAnchor)},
    {SIP_MLNAME_CAST(sipName_addAnchors), (PyCFunction)meth_QGraphicsAnchorLayout_addAnchors, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_addAnchors)},
    {SIP_MLNAME_CAST(sipName_addChildLayoutItem), (PyCFunction)meth_QGraphicsAnchorLayout_addChildLayoutItem, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addCornerAnchors), meth_QGraphicsAnchorLayout_addCornerAnchors, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_addCornerAnchors)},
    {SIP_MLNAME_CAST(sipName_anchor), meth_QGraphicsAnchorLayout_anchor, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_anchor)},
    {SIP_MLNAME_CAST(sipName_count), meth_QGraphicsAnchorLayout_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_count)},
    {SIP_MLNAME_CAST(sipName_horizontalSpacing), meth_QGraphicsAnchorLayout_horizontalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_horizontalSpacing)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QGraphicsAnchorLayout_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_invalidate)},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QGraphicsAnchorLayout_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_itemAt)},
    {SIP_MLNAME_CAST(sipName_removeAt), meth_QGraphicsAnchorLayout_removeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_removeAt)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QGraphicsAnchorLayout_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), (PyCFunction)meth_QGraphicsAnchorLayout_setGraphicsItem, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setHorizontalSpacing), meth_QGraphicsAnchorLayout_setHorizontalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_setHorizontalSpacing)},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), (PyCFunction)meth_QGraphicsAnchorLayout_setOwnedByLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_QGraphicsAnchorLayout_setSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_setSpacing)},
    {SIP_MLNAME_CAST(sipName_setVerticalSpacing), meth_QGraphicsAnchorLayout_setVerticalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_setVerticalSpacing)},
    {SIP_MLNAME_CAST(sipName_sizeHint), (PyCFunction)meth_QGraphicsAnchorLayout_sizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_sizeHint)},
    {SIP_MLNAME_CAST(sipName_verticalSpacing), meth_QGraphicsAnchorLayout_verticalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchorLayout_verticalSpacing)}
};

PyDoc_STRVAR(doc_QGraphicsAnchorLayout, "\1QGraphicsAnchorLayout(QGraphicsLayoutItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsAnchorLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsAnchorLayout,
        {0}
    },
    {
        sipNameNr_QGraphicsAnchorLayout,
        {0, 0, 1},
        18, methods_QGraphicsAnchorLayout,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsAnchorLayout,
    -1,
    -1,
    supers_QGraphicsAnchorLayout,
    0,
    init_type_QGraphicsAnchorLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsAnchorLayout,
    0,
    0,
    0,
    release_QGraphicsAnchorLayout,
    cast_QGraphicsAnchorLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayout.sip"
#include <qgraphicslayout.h>
#line 336144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicslayoutitem.sip"
#include <qgraphicslayoutitem.h>
#line 336148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 336151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsitem.sip"
#include <qgraphicsitem.h>
#line 336154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 101 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 336157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 336160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 165 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 336163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 336166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGraphicsLayout : public QGraphicsLayout
{
public:
    sipQGraphicsLayout(QGraphicsLayoutItem*);
    virtual ~sipQGraphicsLayout();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QSizeF sipProtect_sizeHint(Qt::SizeHint,const QSizeF&) const;
    void sipProtect_setGraphicsItem(QGraphicsItem*);
    void sipProtect_setOwnedByLayout(bool);
    void sipProtect_addChildLayoutItem(QGraphicsLayoutItem*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSizeF sizeHint(Qt::SizeHint,const QSizeF&) const;
    void setGeometry(const QRectF&);
    void updateGeometry();
    void removeAt(int);
    QGraphicsLayoutItem* itemAt(int) const;
    int count() const;
    void widgetEvent(QEvent*);
    void invalidate();
    void getContentsMargins(qreal*,qreal*,qreal*,qreal*) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGraphicsLayout(const sipQGraphicsLayout &);
    sipQGraphicsLayout &operator = (const sipQGraphicsLayout &);

    char sipPyMethods[9];
};

sipQGraphicsLayout::sipQGraphicsLayout(QGraphicsLayoutItem*a0): QGraphicsLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGraphicsLayout::~sipQGraphicsLayout()
{
    sipCommonDtor(sipPySelf);
}

QSizeF sipQGraphicsLayout::sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_QGraphicsLayout,sipName_sizeHint);

    if (!sipMeth)
        return QSizeF();

    extern QSizeF sipVH_QtWidgets_109(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::SizeHint,const QSizeF&);

    return sipVH_QtWidgets_109(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQGraphicsLayout::setGeometry(const QRectF& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QGraphicsLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_45)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRectF&);

    ((sipVH_QtGui_45)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[45]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLayout::updateGeometry()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_updateGeometry);

    if (!sipMeth)
    {
        QGraphicsLayout::updateGeometry();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsLayout::removeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_QGraphicsLayout,sipName_removeAt);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QGraphicsLayoutItem* sipQGraphicsLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,sipName_QGraphicsLayout,sipName_itemAt);

    if (!sipMeth)
        return 0;

    extern QGraphicsLayoutItem* sipVH_QtWidgets_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_122(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQGraphicsLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,sipName_QGraphicsLayout,sipName_count);

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsLayout::widgetEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_widgetEvent);

    if (!sipMeth)
    {
        QGraphicsLayout::widgetEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGraphicsLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QGraphicsLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQGraphicsLayout::getContentsMargins(qreal*a0,qreal*a1,qreal*a2,qreal*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_getContentsMargins);

    if (!sipMeth)
    {
        QGraphicsLayout::getContentsMargins(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, double*,double*,double*,double*);

    sipVH_QtWidgets_114(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QSizeF sipQGraphicsLayout::sipProtect_sizeHint(Qt::SizeHint a0,const QSizeF& a1) const
{
    return sizeHint(a0,a1);
}

void sipQGraphicsLayout::sipProtect_setGraphicsItem(QGraphicsItem*a0)
{
    QGraphicsLayoutItem::setGraphicsItem(a0);
}

void sipQGraphicsLayout::sipProtect_setOwnedByLayout(bool a0)
{
    QGraphicsLayoutItem::setOwnedByLayout(a0);
}

void sipQGraphicsLayout::sipProtect_addChildLayoutItem(QGraphicsLayoutItem*a0)
{
    QGraphicsLayout::addChildLayoutItem(a0);
}


PyDoc_STRVAR(doc_QGraphicsLayout_sizeHint, "QGraphicsLayout.sizeHint(Qt.SizeHint, QSizeF constraint=QSizeF()) -> QSizeF");

extern "C" {static PyObject *meth_QGraphicsLayout_sizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_sizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        Qt::SizeHint a0;
        const QSizeF& a1def = QSizeF();
        const QSizeF* a1 = &a1def;
        const sipQGraphicsLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_constraint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J9", &sipSelf, sipType_QGraphicsLayout, &sipCpp, sipType_Qt_SizeHint, &a0, sipType_QSizeF, &a1))
        {
            QSizeF*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGraphicsLayout, sipName_sizeHint);
                return NULL;
            }

            sipRes = new QSizeF(sipCpp->sipProtect_sizeHint(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QSizeF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_sizeHint, doc_QGraphicsLayout_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_setGraphicsItem, "QGraphicsLayout.setGraphicsItem(QGraphicsItem)");

extern "C" {static PyObject *meth_QGraphicsLayout_setGraphicsItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_setGraphicsItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsItem* a0;
        sipQGraphicsLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGraphicsLayout, &sipCpp, sipType_QGraphicsItem, &a0))
        {
            sipCpp->sipProtect_setGraphicsItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_setGraphicsItem, doc_QGraphicsLayout_setGraphicsItem);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_setOwnedByLayout, "QGraphicsLayout.setOwnedByLayout(bool)");

extern "C" {static PyObject *meth_QGraphicsLayout_setOwnedByLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_setOwnedByLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        sipQGraphicsLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QGraphicsLayout, &sipCpp, &a0))
        {
            sipCpp->sipProtect_setOwnedByLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_setOwnedByLayout, doc_QGraphicsLayout_setOwnedByLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_setContentsMargins, "QGraphicsLayout.setContentsMargins(float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsLayout_setContentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_setContentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bdddd", &sipSelf, sipType_QGraphicsLayout, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setContentsMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_setContentsMargins, doc_QGraphicsLayout_setContentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_getContentsMargins, "QGraphicsLayout.getContentsMargins() -> (float, float, float, float)");

extern "C" {static PyObject *meth_QGraphicsLayout_getContentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_getContentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        qreal a0;
        qreal a1;
        qreal a2;
        qreal a3;
        const QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLayout::getContentsMargins(&a0,&a1,&a2,&a3) : sipCpp->getContentsMargins(&a0,&a1,&a2,&a3));

            return sipBuildResult(0,"(dddd)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_getContentsMargins, doc_QGraphicsLayout_getContentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_activate, "QGraphicsLayout.activate()");

extern "C" {static PyObject *meth_QGraphicsLayout_activate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_activate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayout, &sipCpp))
        {
            sipCpp->activate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_activate, doc_QGraphicsLayout_activate);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_isActivated, "QGraphicsLayout.isActivated() -> bool");

extern "C" {static PyObject *meth_QGraphicsLayout_isActivated(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_isActivated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayout, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActivated();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_isActivated, doc_QGraphicsLayout_isActivated);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_invalidate, "QGraphicsLayout.invalidate()");

extern "C" {static PyObject *meth_QGraphicsLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLayout::invalidate() : sipCpp->invalidate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_invalidate, doc_QGraphicsLayout_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_widgetEvent, "QGraphicsLayout.widgetEvent(QEvent)");

extern "C" {static PyObject *meth_QGraphicsLayout_widgetEvent(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_widgetEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGraphicsLayout, &sipCpp, sipType_QEvent, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLayout::widgetEvent(a0) : sipCpp->widgetEvent(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_widgetEvent, doc_QGraphicsLayout_widgetEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_count, "QGraphicsLayout.count() -> int");

extern "C" {static PyObject *meth_QGraphicsLayout_count(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayout, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGraphicsLayout, sipName_count);
                return NULL;
            }

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_count, doc_QGraphicsLayout_count);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_itemAt, "QGraphicsLayout.itemAt(int) -> QGraphicsLayoutItem");

extern "C" {static PyObject *meth_QGraphicsLayout_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
        const QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsLayout, &sipCpp, &a0))
        {
            QGraphicsLayoutItem*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGraphicsLayout, sipName_itemAt);
                return NULL;
            }

            sipRes = sipCpp->itemAt(a0);

            return sipConvertFromType(sipRes,sipType_QGraphicsLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_itemAt, doc_QGraphicsLayout_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_removeAt, "QGraphicsLayout.removeAt(int)");

extern "C" {static PyObject *meth_QGraphicsLayout_removeAt(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_removeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
        QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGraphicsLayout, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGraphicsLayout, sipName_removeAt);
                return NULL;
            }

            sipCpp->removeAt(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_removeAt, doc_QGraphicsLayout_removeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_updateGeometry, "QGraphicsLayout.updateGeometry()");

extern "C" {static PyObject *meth_QGraphicsLayout_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGraphicsLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QGraphicsLayout::updateGeometry() : sipCpp->updateGeometry());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_updateGeometry, doc_QGraphicsLayout_updateGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsLayout_addChildLayoutItem, "QGraphicsLayout.addChildLayoutItem(QGraphicsLayoutItem)");

extern "C" {static PyObject *meth_QGraphicsLayout_addChildLayoutItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGraphicsLayout_addChildLayoutItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsLayoutItem* a0;
        sipQGraphicsLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QGraphicsLayout, &sipCpp, sipType_QGraphicsLayoutItem, &a0))
        {
            sipCpp->sipProtect_addChildLayoutItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsLayout, sipName_addChildLayoutItem, doc_QGraphicsLayout_addChildLayoutItem);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QGraphicsLayout___len__(PyObject *);}
static SIP_SSIZE_T slot_QGraphicsLayout___len__(PyObject *sipSelf)
{
    QGraphicsLayout *sipCpp = reinterpret_cast<QGraphicsLayout *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGraphicsLayout));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 336826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsLayout(void *, const sipTypeDef *);}
static void *cast_QGraphicsLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGraphicsLayoutItem)->ctd_cast((QGraphicsLayoutItem *)(QGraphicsLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsLayout(void *, int);}
static void release_QGraphicsLayout(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGraphicsLayout *>(sipCppV);
    else
        delete reinterpret_cast<QGraphicsLayout *>(sipCppV);
}


extern "C" {static void dealloc_QGraphicsLayout(sipSimpleWrapper *);}
static void dealloc_QGraphicsLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGraphicsLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGraphicsLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGraphicsLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGraphicsLayout *sipCpp = 0;

    {
        QGraphicsLayoutItem* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QGraphicsLayoutItem, &a0, sipOwner))
        {
            sipCpp = new sipQGraphicsLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsLayout[] = {{129, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QGraphicsLayout[] = {
    {(void *)slot_QGraphicsLayout___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QGraphicsLayout[] = {
    {SIP_MLNAME_CAST(sipName_activate), meth_QGraphicsLayout_activate, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_activate)},
    {SIP_MLNAME_CAST(sipName_addChildLayoutItem), (PyCFunction)meth_QGraphicsLayout_addChildLayoutItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QGraphicsLayout_addChildLayoutItem)},
    {SIP_MLNAME_CAST(sipName_count), meth_QGraphicsLayout_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_count)},
    {SIP_MLNAME_CAST(sipName_getContentsMargins), meth_QGraphicsLayout_getContentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_getContentsMargins)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QGraphicsLayout_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_invalidate)},
    {SIP_MLNAME_CAST(sipName_isActivated), meth_QGraphicsLayout_isActivated, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_isActivated)},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QGraphicsLayout_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_itemAt)},
    {SIP_MLNAME_CAST(sipName_removeAt), meth_QGraphicsLayout_removeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_removeAt)},
    {SIP_MLNAME_CAST(sipName_setContentsMargins), meth_QGraphicsLayout_setContentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_setContentsMargins)},
    {SIP_MLNAME_CAST(sipName_setGraphicsItem), (PyCFunction)meth_QGraphicsLayout_setGraphicsItem, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setOwnedByLayout), (PyCFunction)meth_QGraphicsLayout_setOwnedByLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), (PyCFunction)meth_QGraphicsLayout_sizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_QGraphicsLayout_updateGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_updateGeometry)},
    {SIP_MLNAME_CAST(sipName_widgetEvent), meth_QGraphicsLayout_widgetEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsLayout_widgetEvent)}
};

PyDoc_STRVAR(doc_QGraphicsLayout, "\1QGraphicsLayout(QGraphicsLayoutItem parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsLayout,
        {0}
    },
    {
        sipNameNr_QGraphicsLayout,
        {0, 0, 1},
        14, methods_QGraphicsLayout,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGraphicsLayout,
    -1,
    -1,
    supers_QGraphicsLayout,
    slots_QGraphicsLayout,
    init_type_QGraphicsLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsLayout,
    0,
    0,
    0,
    release_QGraphicsLayout,
    cast_QGraphicsLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsanchorlayout.sip"
#include <qgraphicsanchorlayout.h>
#line 336990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsanchorlayout.sip"
#include <qgraphicsanchorlayout.h>
#line 336994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 336997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 337000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 337003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 337006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 337009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 337012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 337015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 337018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 337021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 337024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 337027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 337030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 337033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 337036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 337039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 337042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 337045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


PyDoc_STRVAR(doc_QGraphicsAnchor_setSpacing, "QGraphicsAnchor.setSpacing(float)");

extern "C" {static PyObject *meth_QGraphicsAnchor_setSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchor_setSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QGraphicsAnchor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QGraphicsAnchor, &sipCpp, &a0))
        {
            sipCpp->setSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchor, sipName_setSpacing, doc_QGraphicsAnchor_setSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchor_unsetSpacing, "QGraphicsAnchor.unsetSpacing()");

extern "C" {static PyObject *meth_QGraphicsAnchor_unsetSpacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchor_unsetSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsAnchor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsAnchor, &sipCpp))
        {
            sipCpp->unsetSpacing();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchor, sipName_unsetSpacing, doc_QGraphicsAnchor_unsetSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchor_spacing, "QGraphicsAnchor.spacing() -> float");

extern "C" {static PyObject *meth_QGraphicsAnchor_spacing(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchor_spacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsAnchor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsAnchor, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->spacing();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchor, sipName_spacing, doc_QGraphicsAnchor_spacing);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchor_setSizePolicy, "QGraphicsAnchor.setSizePolicy(QSizePolicy.Policy)");

extern "C" {static PyObject *meth_QGraphicsAnchor_setSizePolicy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchor_setSizePolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::Policy a0;
        QGraphicsAnchor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGraphicsAnchor, &sipCpp, sipType_QSizePolicy_Policy, &a0))
        {
            sipCpp->setSizePolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchor, sipName_setSizePolicy, doc_QGraphicsAnchor_setSizePolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QGraphicsAnchor_sizePolicy, "QGraphicsAnchor.sizePolicy() -> QSizePolicy.Policy");

extern "C" {static PyObject *meth_QGraphicsAnchor_sizePolicy(PyObject *, PyObject *);}
static PyObject *meth_QGraphicsAnchor_sizePolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGraphicsAnchor *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGraphicsAnchor, &sipCpp))
        {
            QSizePolicy::Policy sipRes;

            sipRes = sipCpp->sizePolicy();

            return sipConvertFromEnum(sipRes,sipType_QSizePolicy_Policy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGraphicsAnchor, sipName_sizePolicy, doc_QGraphicsAnchor_sizePolicy);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGraphicsAnchor(void *, const sipTypeDef *);}
static void *cast_QGraphicsAnchor(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGraphicsAnchor)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QGraphicsAnchor *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGraphicsAnchor(void *, int);}
static void release_QGraphicsAnchor(void *sipCppV,int)
{
    QGraphicsAnchor *sipCpp = reinterpret_cast<QGraphicsAnchor *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGraphicsAnchor(sipSimpleWrapper *);}
static void dealloc_QGraphicsAnchor(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGraphicsAnchor(sipGetAddress(sipSelf),0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGraphicsAnchor[] = {{162, 0, 1}};


static PyMethodDef methods_QGraphicsAnchor[] = {
    {SIP_MLNAME_CAST(sipName_setSizePolicy), meth_QGraphicsAnchor_setSizePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchor_setSizePolicy)},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_QGraphicsAnchor_setSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchor_setSpacing)},
    {SIP_MLNAME_CAST(sipName_sizePolicy), meth_QGraphicsAnchor_sizePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchor_sizePolicy)},
    {SIP_MLNAME_CAST(sipName_spacing), meth_QGraphicsAnchor_spacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchor_spacing)},
    {SIP_MLNAME_CAST(sipName_unsetSpacing), meth_QGraphicsAnchor_unsetSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QGraphicsAnchor_unsetSpacing)}
};


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGraphicsAnchor = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGraphicsAnchor,
        {0}
    },
    {
        sipNameNr_QGraphicsAnchor,
        {0, 0, 1},
        5, methods_QGraphicsAnchor,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    -1,
    supers_QGraphicsAnchor,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGraphicsAnchor,
    0,
    0,
    0,
    release_QGraphicsAnchor,
    cast_QGraphicsAnchor,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGraphicsAnchor::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 337290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 337294 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QGestureRecognizer_Result___bool__(PyObject *);}
static int slot_QGestureRecognizer_Result___bool__(PyObject *sipSelf)
{
    QGestureRecognizer::Result *sipCpp = reinterpret_cast<QGestureRecognizer::Result *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGestureRecognizer_Result));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGestureRecognizer::Result::Int() != 0);
#line 337312 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___ne__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QGestureRecognizer::Result *sipCpp = reinterpret_cast<QGestureRecognizer::Result *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGestureRecognizer_Result));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGestureRecognizer::Result* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGestureRecognizer_Result, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGestureRecognizer::Result::Int() != a0->operator QGestureRecognizer::Result::Int());
#line 337342 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGestureRecognizer::Result *>(a0),sipType_QGestureRecognizer_Result,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QGestureRecognizer_Result,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___eq__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QGestureRecognizer::Result *sipCpp = reinterpret_cast<QGestureRecognizer::Result *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGestureRecognizer_Result));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QGestureRecognizer::Result* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGestureRecognizer_Result, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QGestureRecognizer::Result::Int() == a0->operator QGestureRecognizer::Result::Int());
#line 337378 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QGestureRecognizer::Result *>(a0),sipType_QGestureRecognizer_Result,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QGestureRecognizer_Result,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___invert__(PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___invert__(PyObject *sipSelf)
{
    QGestureRecognizer::Result *sipCpp = reinterpret_cast<QGestureRecognizer::Result *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGestureRecognizer_Result));

    if (!sipCpp)
        return 0;


    {
        {
            QGestureRecognizer::Result*sipRes;

            sipRes = new QGestureRecognizer::Result(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QGestureRecognizer_Result,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___and__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGestureRecognizer::Result* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGestureRecognizer_Result, &a0, &a0State, &a1))
        {
            QGestureRecognizer::Result*sipRes;

            sipRes = new QGestureRecognizer::Result((*a0 & a1));
            sipReleaseType(a0,sipType_QGestureRecognizer_Result,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGestureRecognizer_Result,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___xor__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGestureRecognizer::Result* a0;
        int a0State = 0;
        QGestureRecognizer::Result* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGestureRecognizer_Result, &a0, &a0State, sipType_QGestureRecognizer_Result, &a1, &a1State))
        {
            QGestureRecognizer::Result*sipRes;

            sipRes = new QGestureRecognizer::Result((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QGestureRecognizer_Result,a0State);
            sipReleaseType(a1,sipType_QGestureRecognizer_Result,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGestureRecognizer_Result,NULL);
        }
    }

    {
        QGestureRecognizer::Result* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGestureRecognizer_Result, &a0, &a0State, &a1))
        {
            QGestureRecognizer::Result*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QGestureRecognizer::Result(*a0 ^ a1);
#line 337481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGestureRecognizer_Result,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGestureRecognizer_Result,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___or__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QGestureRecognizer::Result* a0;
        int a0State = 0;
        QGestureRecognizer::Result* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QGestureRecognizer_Result, &a0, &a0State, sipType_QGestureRecognizer_Result, &a1, &a1State))
        {
            QGestureRecognizer::Result*sipRes;

            sipRes = new QGestureRecognizer::Result((*a0 | *a1));
            sipReleaseType(a0,sipType_QGestureRecognizer_Result,a0State);
            sipReleaseType(a1,sipType_QGestureRecognizer_Result,a1State);

            return sipConvertFromNewType(sipRes,sipType_QGestureRecognizer_Result,NULL);
        }
    }

    {
        QGestureRecognizer::Result* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QGestureRecognizer_Result, &a0, &a0State, &a1))
        {
            QGestureRecognizer::Result*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QGestureRecognizer::Result(*a0 | a1);
#line 337531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QGestureRecognizer_Result,a0State);

            return sipConvertFromNewType(sipRes,sipType_QGestureRecognizer_Result,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___int__(PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___int__(PyObject *sipSelf)
{
    QGestureRecognizer::Result *sipCpp = reinterpret_cast<QGestureRecognizer::Result *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGestureRecognizer_Result));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QGestureRecognizer_Result___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGestureRecognizer_Result)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGestureRecognizer::Result *sipCpp = reinterpret_cast<QGestureRecognizer::Result *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGestureRecognizer_Result));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGestureRecognizer::Result* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGestureRecognizer_Result, &a0, &a0State))
        {
            sipCpp->QGestureRecognizer::Result::operator^=(*a0);
            sipReleaseType(a0,sipType_QGestureRecognizer_Result,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_QGestureRecognizer_Result___ior__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGestureRecognizer_Result)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGestureRecognizer::Result *sipCpp = reinterpret_cast<QGestureRecognizer::Result *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGestureRecognizer_Result));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QGestureRecognizer::Result* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QGestureRecognizer_Result, &a0, &a0State))
        {
            sipCpp->QGestureRecognizer::Result::operator|=(*a0);
            sipReleaseType(a0,sipType_QGestureRecognizer_Result,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_QGestureRecognizer_Result___iand__(PyObject *,PyObject *);}
static PyObject *slot_QGestureRecognizer_Result___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGestureRecognizer_Result)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QGestureRecognizer::Result *sipCpp = reinterpret_cast<QGestureRecognizer::Result *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QGestureRecognizer_Result));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QGestureRecognizer::Result::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGestureRecognizer_Result(void *, const sipTypeDef *);}
static void *cast_QGestureRecognizer_Result(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGestureRecognizer_Result)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGestureRecognizer_Result(void *, int);}
static void release_QGestureRecognizer_Result(void *sipCppV,int)
{
    delete reinterpret_cast<QGestureRecognizer::Result *>(sipCppV);
}


extern "C" {static void assign_QGestureRecognizer_Result(void *, SIP_SSIZE_T, const void *);}
static void assign_QGestureRecognizer_Result(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QGestureRecognizer::Result *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QGestureRecognizer::Result *>(sipSrc);
}


extern "C" {static void *array_QGestureRecognizer_Result(SIP_SSIZE_T);}
static void *array_QGestureRecognizer_Result(SIP_SSIZE_T sipNrElem)
{
    return new QGestureRecognizer::Result[sipNrElem];
}


extern "C" {static void *copy_QGestureRecognizer_Result(const void *, SIP_SSIZE_T);}
static void *copy_QGestureRecognizer_Result(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QGestureRecognizer::Result(reinterpret_cast<const QGestureRecognizer::Result *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QGestureRecognizer_Result(sipSimpleWrapper *);}
static void dealloc_QGestureRecognizer_Result(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QGestureRecognizer_Result(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QGestureRecognizer_Result(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGestureRecognizer_Result(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QGestureRecognizer::Result *sipCpp = 0;

    {
        const QGestureRecognizer::Result* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QGestureRecognizer_Result, &a0, &a0State))
        {
            sipCpp = new QGestureRecognizer::Result(*a0);
            sipReleaseType(const_cast<QGestureRecognizer::Result *>(a0),sipType_QGestureRecognizer_Result,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QGestureRecognizer::Result(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QGestureRecognizer::Result();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QGestureRecognizer_Result(PyObject *, void **, int *, PyObject *);}
static int convertTo_QGestureRecognizer_Result(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QGestureRecognizer::Result **sipCppPtr = reinterpret_cast<QGestureRecognizer::Result **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QGestureRecognizer::Result is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGestureRecognizer_ResultFlag)) ||
            sipCanConvertToType(sipPy, sipType_QGestureRecognizer_Result, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QGestureRecognizer_ResultFlag)))
{
    *sipCppPtr = new QGestureRecognizer::Result(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QGestureRecognizer::Result *>(sipConvertToType(sipPy, sipType_QGestureRecognizer_Result, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 337808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QGestureRecognizer_Result[] = {
    {(void *)slot_QGestureRecognizer_Result___bool__, bool_slot},
    {(void *)slot_QGestureRecognizer_Result___ne__, ne_slot},
    {(void *)slot_QGestureRecognizer_Result___eq__, eq_slot},
    {(void *)slot_QGestureRecognizer_Result___invert__, invert_slot},
    {(void *)slot_QGestureRecognizer_Result___and__, and_slot},
    {(void *)slot_QGestureRecognizer_Result___xor__, xor_slot},
    {(void *)slot_QGestureRecognizer_Result___or__, or_slot},
    {(void *)slot_QGestureRecognizer_Result___int__, int_slot},
    {(void *)slot_QGestureRecognizer_Result___ixor__, ixor_slot},
    {(void *)slot_QGestureRecognizer_Result___ior__, ior_slot},
    {(void *)slot_QGestureRecognizer_Result___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QGestureRecognizer_Result, "\1QGestureRecognizer.Result(QGestureRecognizer.Result)\n"
    "QGestureRecognizer.Result(int)\n"
    "QGestureRecognizer.Result()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGestureRecognizer_Result = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGestureRecognizer__Result,
        {0}
    },
    {
        sipNameNr_Result,
        {105, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGestureRecognizer_Result,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QGestureRecognizer_Result,
    init_type_QGestureRecognizer_Result,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGestureRecognizer_Result,
    assign_QGestureRecognizer_Result,
    array_QGestureRecognizer_Result,
    copy_QGestureRecognizer_Result,
    release_QGestureRecognizer_Result,
    cast_QGestureRecognizer_Result,
    convertTo_QGestureRecognizer_Result,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 337890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 337894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 337897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesturerecognizer.sip"
#include <qgesturerecognizer.h>
#line 337900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 337903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 337906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGestureRecognizer : public QGestureRecognizer
{
public:
    sipQGestureRecognizer();
    sipQGestureRecognizer(const QGestureRecognizer&);
    virtual ~sipQGestureRecognizer();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void reset(QGesture*);
    QGestureRecognizer::Result recognize(QGesture*,QObject*,QEvent*);
    QGesture* create(QObject*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGestureRecognizer(const sipQGestureRecognizer &);
    sipQGestureRecognizer &operator = (const sipQGestureRecognizer &);

    char sipPyMethods[3];
};

sipQGestureRecognizer::sipQGestureRecognizer(): QGestureRecognizer(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGestureRecognizer::sipQGestureRecognizer(const QGestureRecognizer& a0): QGestureRecognizer(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGestureRecognizer::~sipQGestureRecognizer()
{
    sipCommonDtor(sipPySelf);
}

void sipQGestureRecognizer::reset(QGesture*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QGestureRecognizer::reset(a0);
        return;
    }

    extern void sipVH_QtWidgets_130(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGesture*);

    sipVH_QtWidgets_130(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QGestureRecognizer::Result sipQGestureRecognizer::recognize(QGesture*a0,QObject*a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QGestureRecognizer,sipName_recognize);

    if (!sipMeth)
        return QGestureRecognizer::Result();

    extern QGestureRecognizer::Result sipVH_QtWidgets_131(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QGesture*,QObject*,QEvent*);

    return sipVH_QtWidgets_131(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QGesture* sipQGestureRecognizer::create(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_create);

    if (!sipMeth)
        return QGestureRecognizer::create(a0);

    extern QGesture* sipVH_QtWidgets_132(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    return sipVH_QtWidgets_132(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QGestureRecognizer_create, "QGestureRecognizer.create(QObject) -> QGesture");

extern "C" {static PyObject *meth_QGestureRecognizer_create(PyObject *, PyObject *);}
static PyObject *meth_QGestureRecognizer_create(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QGestureRecognizer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGestureRecognizer, &sipCpp, sipType_QObject, &a0))
        {
            QGesture*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QGestureRecognizer::create(a0) : sipCpp->create(a0));

            return sipConvertFromNewType(sipRes,sipType_QGesture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureRecognizer, sipName_create, doc_QGestureRecognizer_create);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureRecognizer_recognize, "QGestureRecognizer.recognize(QGesture, QObject, QEvent) -> QGestureRecognizer.Result");

extern "C" {static PyObject *meth_QGestureRecognizer_recognize(PyObject *, PyObject *);}
static PyObject *meth_QGestureRecognizer_recognize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QGesture* a0;
        QObject* a1;
        QEvent* a2;
        QGestureRecognizer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J8", &sipSelf, sipType_QGestureRecognizer, &sipCpp, sipType_QGesture, &a0, sipType_QObject, &a1, sipType_QEvent, &a2))
        {
            QGestureRecognizer::Result*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGestureRecognizer, sipName_recognize);
                return NULL;
            }

            sipRes = new QGestureRecognizer::Result(sipCpp->recognize(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QGestureRecognizer_Result,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureRecognizer, sipName_recognize, doc_QGestureRecognizer_recognize);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureRecognizer_reset, "QGestureRecognizer.reset(QGesture)");

extern "C" {static PyObject *meth_QGestureRecognizer_reset(PyObject *, PyObject *);}
static PyObject *meth_QGestureRecognizer_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QGesture* a0;
        QGestureRecognizer *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGestureRecognizer, &sipCpp, sipType_QGesture, &a0))
        {
            (sipSelfWasArg ? sipCpp->QGestureRecognizer::reset(a0) : sipCpp->reset(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureRecognizer, sipName_reset, doc_QGestureRecognizer_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureRecognizer_registerRecognizer, "QGestureRecognizer.registerRecognizer(QGestureRecognizer) -> Qt.GestureType");

extern "C" {static PyObject *meth_QGestureRecognizer_registerRecognizer(PyObject *, PyObject *);}
static PyObject *meth_QGestureRecognizer_registerRecognizer(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGestureRecognizer* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QGestureRecognizer, &a0))
        {
            Qt::GestureType sipRes;

            sipRes = QGestureRecognizer::registerRecognizer(a0);

            return sipConvertFromEnum(sipRes,sipType_Qt_GestureType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureRecognizer, sipName_registerRecognizer, doc_QGestureRecognizer_registerRecognizer);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureRecognizer_unregisterRecognizer, "QGestureRecognizer.unregisterRecognizer(Qt.GestureType)");

extern "C" {static PyObject *meth_QGestureRecognizer_unregisterRecognizer(PyObject *, PyObject *);}
static PyObject *meth_QGestureRecognizer_unregisterRecognizer(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::GestureType a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_Qt_GestureType, &a0))
        {
            QGestureRecognizer::unregisterRecognizer(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureRecognizer, sipName_unregisterRecognizer, doc_QGestureRecognizer_unregisterRecognizer);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGestureRecognizer(void *, const sipTypeDef *);}
static void *cast_QGestureRecognizer(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QGestureRecognizer)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGestureRecognizer(void *, int);}
static void release_QGestureRecognizer(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGestureRecognizer *>(sipCppV);
    else
        delete reinterpret_cast<QGestureRecognizer *>(sipCppV);
}


extern "C" {static void dealloc_QGestureRecognizer(sipSimpleWrapper *);}
static void dealloc_QGestureRecognizer(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGestureRecognizer *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGestureRecognizer(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGestureRecognizer(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGestureRecognizer(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQGestureRecognizer *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQGestureRecognizer();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QGestureRecognizer* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QGestureRecognizer, &a0))
        {
            sipCpp = new sipQGestureRecognizer(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QGestureRecognizer[] = {
    {SIP_MLNAME_CAST(sipName_create), meth_QGestureRecognizer_create, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureRecognizer_create)},
    {SIP_MLNAME_CAST(sipName_recognize), meth_QGestureRecognizer_recognize, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureRecognizer_recognize)},
    {SIP_MLNAME_CAST(sipName_registerRecognizer), meth_QGestureRecognizer_registerRecognizer, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureRecognizer_registerRecognizer)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QGestureRecognizer_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureRecognizer_reset)},
    {SIP_MLNAME_CAST(sipName_unregisterRecognizer), meth_QGestureRecognizer_unregisterRecognizer, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureRecognizer_unregisterRecognizer)}
};

static sipEnumMemberDef enummembers_QGestureRecognizer[] = {
    {sipName_CancelGesture, static_cast<int>(QGestureRecognizer::CancelGesture), 107},
    {sipName_ConsumeEventHint, static_cast<int>(QGestureRecognizer::ConsumeEventHint), 107},
    {sipName_FinishGesture, static_cast<int>(QGestureRecognizer::FinishGesture), 107},
    {sipName_Ignore, static_cast<int>(QGestureRecognizer::Ignore), 107},
    {sipName_MayBeGesture, static_cast<int>(QGestureRecognizer::MayBeGesture), 107},
    {sipName_TriggerGesture, static_cast<int>(QGestureRecognizer::TriggerGesture), 107},
};

PyDoc_STRVAR(doc_QGestureRecognizer, "\1QGestureRecognizer()\n"
    "QGestureRecognizer(QGestureRecognizer)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGestureRecognizer = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGestureRecognizer,
        {0}
    },
    {
        sipNameNr_QGestureRecognizer,
        {0, 0, 1},
        5, methods_QGestureRecognizer,
        6, enummembers_QGestureRecognizer,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGestureRecognizer,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    -1,
    0,
    0,
    init_type_QGestureRecognizer,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGestureRecognizer,
    0,
    0,
    0,
    release_QGestureRecognizer,
    cast_QGestureRecognizer,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 338292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 338296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 338299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 338302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 338305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 338308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 338311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGestureEvent : public QGestureEvent
{
public:
    sipQGestureEvent(const QList<QGesture*>&);
    sipQGestureEvent(const QGestureEvent&);
    ~sipQGestureEvent();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGestureEvent(const sipQGestureEvent &);
    sipQGestureEvent &operator = (const sipQGestureEvent &);
};

sipQGestureEvent::sipQGestureEvent(const QList<QGesture*>& a0): QGestureEvent(a0), sipPySelf(0)
{
}

sipQGestureEvent::sipQGestureEvent(const QGestureEvent& a0): QGestureEvent(a0), sipPySelf(0)
{
}

sipQGestureEvent::~sipQGestureEvent()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QGestureEvent_gestures, "QGestureEvent.gestures() -> list-of-QGesture");

extern "C" {static PyObject *meth_QGestureEvent_gestures(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_gestures(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGestureEvent, &sipCpp))
        {
            QList<QGesture*>*sipRes;

            sipRes = new QList<QGesture*>(sipCpp->gestures());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGesture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_gestures, doc_QGestureEvent_gestures);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureEvent_gesture, "QGestureEvent.gesture(Qt.GestureType) -> QGesture");

extern "C" {static PyObject *meth_QGestureEvent_gesture(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_gesture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::GestureType a0;
        const QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_Qt_GestureType, &a0))
        {
            QGesture*sipRes;

            sipRes = sipCpp->gesture(a0);

            return sipConvertFromType(sipRes,sipType_QGesture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_gesture, doc_QGestureEvent_gesture);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureEvent_activeGestures, "QGestureEvent.activeGestures() -> list-of-QGesture");

extern "C" {static PyObject *meth_QGestureEvent_activeGestures(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_activeGestures(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGestureEvent, &sipCpp))
        {
            QList<QGesture*>*sipRes;

            sipRes = new QList<QGesture*>(sipCpp->activeGestures());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGesture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_activeGestures, doc_QGestureEvent_activeGestures);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureEvent_canceledGestures, "QGestureEvent.canceledGestures() -> list-of-QGesture");

extern "C" {static PyObject *meth_QGestureEvent_canceledGestures(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_canceledGestures(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGestureEvent, &sipCpp))
        {
            QList<QGesture*>*sipRes;

            sipRes = new QList<QGesture*>(sipCpp->canceledGestures());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGesture,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_canceledGestures, doc_QGestureEvent_canceledGestures);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureEvent_setAccepted, "QGestureEvent.setAccepted(bool)\n"
    "QGestureEvent.setAccepted(QGesture, bool)\n"
    "QGestureEvent.setAccepted(Qt.GestureType, bool)");

extern "C" {static PyObject *meth_QGestureEvent_setAccepted(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_setAccepted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QGestureEvent, &sipCpp, &a0))
        {
            sipCpp->setAccepted(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QGesture* a0;
        bool a1;
        QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8b", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_QGesture, &a0, &a1))
        {
            sipCpp->setAccepted(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Qt::GestureType a0;
        bool a1;
        QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEb", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_Qt_GestureType, &a0, &a1))
        {
            sipCpp->setAccepted(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_setAccepted, doc_QGestureEvent_setAccepted);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureEvent_isAccepted, "QGestureEvent.isAccepted() -> bool\n"
    "QGestureEvent.isAccepted(QGesture) -> bool\n"
    "QGestureEvent.isAccepted(Qt.GestureType) -> bool");

extern "C" {static PyObject *meth_QGestureEvent_isAccepted(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_isAccepted(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGestureEvent, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAccepted();

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QGesture* a0;
        const QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_QGesture, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isAccepted(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        Qt::GestureType a0;
        const QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_Qt_GestureType, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isAccepted(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_isAccepted, doc_QGestureEvent_isAccepted);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureEvent_accept, "QGestureEvent.accept()\n"
    "QGestureEvent.accept(QGesture)\n"
    "QGestureEvent.accept(Qt.GestureType)");

extern "C" {static PyObject *meth_QGestureEvent_accept(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_accept(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGestureEvent, &sipCpp))
        {
            sipCpp->accept();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QGesture* a0;
        QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_QGesture, &a0))
        {
            sipCpp->accept(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Qt::GestureType a0;
        QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_Qt_GestureType, &a0))
        {
            sipCpp->accept(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_accept, doc_QGestureEvent_accept);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureEvent_ignore, "QGestureEvent.ignore()\n"
    "QGestureEvent.ignore(QGesture)\n"
    "QGestureEvent.ignore(Qt.GestureType)");

extern "C" {static PyObject *meth_QGestureEvent_ignore(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_ignore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGestureEvent, &sipCpp))
        {
            sipCpp->ignore();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QGesture* a0;
        QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_QGesture, &a0))
        {
            sipCpp->ignore(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Qt::GestureType a0;
        QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_Qt_GestureType, &a0))
        {
            sipCpp->ignore(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_ignore, doc_QGestureEvent_ignore);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureEvent_widget, "QGestureEvent.widget() -> QWidget");

extern "C" {static PyObject *meth_QGestureEvent_widget(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGestureEvent, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_widget, doc_QGestureEvent_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QGestureEvent_mapToGraphicsScene, "QGestureEvent.mapToGraphicsScene(QPointF) -> QPointF");

extern "C" {static PyObject *meth_QGestureEvent_mapToGraphicsScene(PyObject *, PyObject *);}
static PyObject *meth_QGestureEvent_mapToGraphicsScene(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        const QGestureEvent *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGestureEvent, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->mapToGraphicsScene(*a0));
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGestureEvent, sipName_mapToGraphicsScene, doc_QGestureEvent_mapToGraphicsScene);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGestureEvent(void *, const sipTypeDef *);}
static void *cast_QGestureEvent(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGestureEvent)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QEvent)->ctd_cast((QEvent *)(QGestureEvent *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGestureEvent(void *, int);}
static void release_QGestureEvent(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQGestureEvent *>(sipCppV);
    else
        delete reinterpret_cast<QGestureEvent *>(sipCppV);
}


extern "C" {static void dealloc_QGestureEvent(sipSimpleWrapper *);}
static void dealloc_QGestureEvent(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGestureEvent *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGestureEvent(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGestureEvent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGestureEvent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQGestureEvent *sipCpp = 0;

    {
        const QList<QGesture*>* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QList_0101QGesture,&a0, &a0State))
        {
            sipCpp = new sipQGestureEvent(*a0);
            sipReleaseType(const_cast<QList<QGesture*> *>(a0),sipType_QList_0101QGesture,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QGestureEvent* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QGestureEvent, &a0))
        {
            sipCpp = new sipQGestureEvent(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGestureEvent[] = {{53, 0, 1}};


static PyMethodDef methods_QGestureEvent[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_QGestureEvent_accept, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_accept)},
    {SIP_MLNAME_CAST(sipName_activeGestures), meth_QGestureEvent_activeGestures, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_activeGestures)},
    {SIP_MLNAME_CAST(sipName_canceledGestures), meth_QGestureEvent_canceledGestures, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_canceledGestures)},
    {SIP_MLNAME_CAST(sipName_gesture), meth_QGestureEvent_gesture, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_gesture)},
    {SIP_MLNAME_CAST(sipName_gestures), meth_QGestureEvent_gestures, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_gestures)},
    {SIP_MLNAME_CAST(sipName_ignore), meth_QGestureEvent_ignore, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_ignore)},
    {SIP_MLNAME_CAST(sipName_isAccepted), meth_QGestureEvent_isAccepted, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_isAccepted)},
    {SIP_MLNAME_CAST(sipName_mapToGraphicsScene), meth_QGestureEvent_mapToGraphicsScene, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_mapToGraphicsScene)},
    {SIP_MLNAME_CAST(sipName_setAccepted), meth_QGestureEvent_setAccepted, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_setAccepted)},
    {SIP_MLNAME_CAST(sipName_widget), meth_QGestureEvent_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QGestureEvent_widget)}
};

PyDoc_STRVAR(doc_QGestureEvent, "\1QGestureEvent(list-of-QGesture)\n"
    "QGestureEvent(QGestureEvent)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGestureEvent = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGestureEvent,
        {0}
    },
    {
        sipNameNr_QGestureEvent,
        {0, 0, 1},
        10, methods_QGestureEvent,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGestureEvent,
    -1,
    -1,
    supers_QGestureEvent,
    0,
    init_type_QGestureEvent,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGestureEvent,
    0,
    0,
    0,
    release_QGestureEvent,
    cast_QGestureEvent,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 338886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 338890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 338893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 338896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 338899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 338902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 338905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 338908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 338911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 338914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 338917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 338920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 338923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 338926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 338929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 338932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 338935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 338938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 338941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTapAndHoldGesture : public QTapAndHoldGesture
{
public:
    sipQTapAndHoldGesture(QObject*);
    virtual ~sipQTapAndHoldGesture();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTapAndHoldGesture(const sipQTapAndHoldGesture &);
    sipQTapAndHoldGesture &operator = (const sipQTapAndHoldGesture &);

    char sipPyMethods[7];
};

sipQTapAndHoldGesture::sipQTapAndHoldGesture(QObject*a0): QTapAndHoldGesture(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTapAndHoldGesture::~sipQTapAndHoldGesture()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTapAndHoldGesture::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTapAndHoldGesture);
}

int sipQTapAndHoldGesture::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTapAndHoldGesture::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTapAndHoldGesture,_c,_id,_a);

    return _id;
}

void *sipQTapAndHoldGesture::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTapAndHoldGesture, _clname, &sipCpp) ? sipCpp : QTapAndHoldGesture::qt_metacast(_clname));
}

void sipQTapAndHoldGesture::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTapAndHoldGesture::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTapAndHoldGesture::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTapAndHoldGesture::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTapAndHoldGesture::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTapAndHoldGesture::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTapAndHoldGesture::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTapAndHoldGesture::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTapAndHoldGesture::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTapAndHoldGesture::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTapAndHoldGesture::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTapAndHoldGesture::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTapAndHoldGesture::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTapAndHoldGesture::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQTapAndHoldGesture::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTapAndHoldGesture::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTapAndHoldGesture::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQTapAndHoldGesture::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTapAndHoldGesture::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTapAndHoldGesture::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTapAndHoldGesture::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTapAndHoldGesture::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTapAndHoldGesture::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_sender, "QTapAndHoldGesture.sender() -> QObject");

extern "C" {static PyObject *meth_QTapAndHoldGesture_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTapAndHoldGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 339229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_sender, doc_QTapAndHoldGesture_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_receivers, "QTapAndHoldGesture.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTapAndHoldGesture_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTapAndHoldGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 339288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_receivers, doc_QTapAndHoldGesture_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_timerEvent, "QTapAndHoldGesture.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTapAndHoldGesture_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTapAndHoldGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_timerEvent, doc_QTapAndHoldGesture_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_childEvent, "QTapAndHoldGesture.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTapAndHoldGesture_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTapAndHoldGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_childEvent, doc_QTapAndHoldGesture_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_customEvent, "QTapAndHoldGesture.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTapAndHoldGesture_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTapAndHoldGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_customEvent, doc_QTapAndHoldGesture_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_connectNotify, "QTapAndHoldGesture.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTapAndHoldGesture_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTapAndHoldGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_connectNotify, doc_QTapAndHoldGesture_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_disconnectNotify, "QTapAndHoldGesture.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTapAndHoldGesture_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTapAndHoldGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_disconnectNotify, doc_QTapAndHoldGesture_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_senderSignalIndex, "QTapAndHoldGesture.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTapAndHoldGesture_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTapAndHoldGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_senderSignalIndex, doc_QTapAndHoldGesture_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_isSignalConnected, "QTapAndHoldGesture.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTapAndHoldGesture_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTapAndHoldGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_isSignalConnected, doc_QTapAndHoldGesture_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_position, "QTapAndHoldGesture.position() -> QPointF");

extern "C" {static PyObject *meth_QTapAndHoldGesture_position(PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_position(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTapAndHoldGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->position());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_position, doc_QTapAndHoldGesture_position);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_setPosition, "QTapAndHoldGesture.setPosition(QPointF)");

extern "C" {static PyObject *meth_QTapAndHoldGesture_setPosition(PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_setPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QTapAndHoldGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTapAndHoldGesture, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setPosition(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_setPosition, doc_QTapAndHoldGesture_setPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_setTimeout, "QTapAndHoldGesture.setTimeout(int)");

extern "C" {static PyObject *meth_QTapAndHoldGesture_setTimeout(PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_setTimeout(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QTapAndHoldGesture::setTimeout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_setTimeout, doc_QTapAndHoldGesture_setTimeout);

    return NULL;
}


PyDoc_STRVAR(doc_QTapAndHoldGesture_timeout, "QTapAndHoldGesture.timeout() -> int");

extern "C" {static PyObject *meth_QTapAndHoldGesture_timeout(PyObject *, PyObject *);}
static PyObject *meth_QTapAndHoldGesture_timeout(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = QTapAndHoldGesture::timeout();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapAndHoldGesture, sipName_timeout, doc_QTapAndHoldGesture_timeout);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTapAndHoldGesture(void *, const sipTypeDef *);}
static void *cast_QTapAndHoldGesture(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTapAndHoldGesture)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGesture)->ctd_cast((QGesture *)(QTapAndHoldGesture *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTapAndHoldGesture(void *, int);}
static void release_QTapAndHoldGesture(void *sipCppV,int)
{
    QTapAndHoldGesture *sipCpp = reinterpret_cast<QTapAndHoldGesture *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTapAndHoldGesture(sipSimpleWrapper *);}
static void dealloc_QTapAndHoldGesture(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTapAndHoldGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTapAndHoldGesture(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTapAndHoldGesture(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTapAndHoldGesture(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTapAndHoldGesture *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQTapAndHoldGesture(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTapAndHoldGesture[] = {{102, 255, 1}};


static PyMethodDef methods_QTapAndHoldGesture[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTapAndHoldGesture_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTapAndHoldGesture_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTapAndHoldGesture_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTapAndHoldGesture_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTapAndHoldGesture_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_position), meth_QTapAndHoldGesture_position, METH_VARARGS, SIP_MLDOC_CAST(doc_QTapAndHoldGesture_position)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTapAndHoldGesture_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTapAndHoldGesture_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTapAndHoldGesture_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setPosition), meth_QTapAndHoldGesture_setPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTapAndHoldGesture_setPosition)},
    {SIP_MLNAME_CAST(sipName_setTimeout), meth_QTapAndHoldGesture_setTimeout, METH_VARARGS, SIP_MLDOC_CAST(doc_QTapAndHoldGesture_setTimeout)},
    {SIP_MLNAME_CAST(sipName_timeout), meth_QTapAndHoldGesture_timeout, METH_VARARGS, SIP_MLDOC_CAST(doc_QTapAndHoldGesture_timeout)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTapAndHoldGesture_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QTapAndHoldGesture, "\1QTapAndHoldGesture(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTapAndHoldGesture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTapAndHoldGesture,
        {0}
    },
    {
        sipNameNr_QTapAndHoldGesture,
        {0, 0, 1},
        13, methods_QTapAndHoldGesture,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTapAndHoldGesture,
    -1,
    -1,
    supers_QTapAndHoldGesture,
    0,
    init_type_QTapAndHoldGesture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTapAndHoldGesture,
    0,
    0,
    0,
    release_QTapAndHoldGesture,
    cast_QTapAndHoldGesture,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTapAndHoldGesture::staticMetaObject,
    0,
    0,
    0
};

#line 135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 339759 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 339763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 339766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 339769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 339772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 339775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 339778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 339781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 339784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 339787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 339790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 339793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 339796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 339799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 339802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 339805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 339808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 339811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 339814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTapGesture : public QTapGesture
{
public:
    sipQTapGesture(QObject*);
    virtual ~sipQTapGesture();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTapGesture(const sipQTapGesture &);
    sipQTapGesture &operator = (const sipQTapGesture &);

    char sipPyMethods[7];
};

sipQTapGesture::sipQTapGesture(QObject*a0): QTapGesture(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTapGesture::~sipQTapGesture()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTapGesture::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTapGesture);
}

int sipQTapGesture::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTapGesture::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTapGesture,_c,_id,_a);

    return _id;
}

void *sipQTapGesture::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTapGesture, _clname, &sipCpp) ? sipCpp : QTapGesture::qt_metacast(_clname));
}

void sipQTapGesture::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTapGesture::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTapGesture::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTapGesture::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTapGesture::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTapGesture::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTapGesture::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTapGesture::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTapGesture::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTapGesture::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTapGesture::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTapGesture::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQTapGesture::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTapGesture::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQTapGesture::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTapGesture::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTapGesture::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQTapGesture::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTapGesture::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTapGesture::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTapGesture::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTapGesture::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTapGesture::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QTapGesture_sender, "QTapGesture.sender() -> QObject");

extern "C" {static PyObject *meth_QTapGesture_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTapGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTapGesture, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 340102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_sender, doc_QTapGesture_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_receivers, "QTapGesture.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTapGesture_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTapGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTapGesture, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 340161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_receivers, doc_QTapGesture_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_timerEvent, "QTapGesture.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTapGesture_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTapGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTapGesture, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_timerEvent, doc_QTapGesture_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_childEvent, "QTapGesture.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTapGesture_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTapGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTapGesture, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_childEvent, doc_QTapGesture_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_customEvent, "QTapGesture.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTapGesture_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTapGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTapGesture, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_customEvent, doc_QTapGesture_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_connectNotify, "QTapGesture.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTapGesture_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTapGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTapGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_connectNotify, doc_QTapGesture_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_disconnectNotify, "QTapGesture.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTapGesture_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTapGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTapGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_disconnectNotify, doc_QTapGesture_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_senderSignalIndex, "QTapGesture.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTapGesture_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTapGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTapGesture, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_senderSignalIndex, doc_QTapGesture_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_isSignalConnected, "QTapGesture.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTapGesture_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTapGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTapGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_isSignalConnected, doc_QTapGesture_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_position, "QTapGesture.position() -> QPointF");

extern "C" {static PyObject *meth_QTapGesture_position(PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_position(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTapGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QTapGesture, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->position());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_position, doc_QTapGesture_position);

    return NULL;
}


PyDoc_STRVAR(doc_QTapGesture_setPosition, "QTapGesture.setPosition(QPointF)");

extern "C" {static PyObject *meth_QTapGesture_setPosition(PyObject *, PyObject *);}
static PyObject *meth_QTapGesture_setPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QTapGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QTapGesture, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setPosition(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTapGesture, sipName_setPosition, doc_QTapGesture_setPosition);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTapGesture(void *, const sipTypeDef *);}
static void *cast_QTapGesture(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTapGesture)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGesture)->ctd_cast((QGesture *)(QTapGesture *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTapGesture(void *, int);}
static void release_QTapGesture(void *sipCppV,int)
{
    QTapGesture *sipCpp = reinterpret_cast<QTapGesture *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTapGesture(sipSimpleWrapper *);}
static void dealloc_QTapGesture(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTapGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTapGesture(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTapGesture(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTapGesture(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTapGesture *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQTapGesture(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTapGesture[] = {{102, 255, 1}};


static PyMethodDef methods_QTapGesture[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTapGesture_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTapGesture_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTapGesture_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTapGesture_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTapGesture_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_position), meth_QTapGesture_position, METH_VARARGS, SIP_MLDOC_CAST(doc_QTapGesture_position)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTapGesture_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTapGesture_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTapGesture_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setPosition), meth_QTapGesture_setPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QTapGesture_setPosition)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTapGesture_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QTapGesture, "\1QTapGesture(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTapGesture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTapGesture,
        {0}
    },
    {
        sipNameNr_QTapGesture,
        {0, 0, 1},
        11, methods_QTapGesture,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTapGesture,
    -1,
    -1,
    supers_QTapGesture,
    0,
    init_type_QTapGesture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTapGesture,
    0,
    0,
    0,
    release_QTapGesture,
    cast_QTapGesture,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTapGesture::staticMetaObject,
    0,
    0,
    0
};

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 340579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 340583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 340586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 340589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 340592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 340595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 340598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 340601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 340604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 340607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 340610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 340613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 340616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 340619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 340622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 340625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 340628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 340631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 340634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQSwipeGesture : public QSwipeGesture
{
public:
    sipQSwipeGesture(QObject*);
    virtual ~sipQSwipeGesture();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQSwipeGesture(const sipQSwipeGesture &);
    sipQSwipeGesture &operator = (const sipQSwipeGesture &);

    char sipPyMethods[7];
};

sipQSwipeGesture::sipQSwipeGesture(QObject*a0): QSwipeGesture(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQSwipeGesture::~sipQSwipeGesture()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQSwipeGesture::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QSwipeGesture);
}

int sipQSwipeGesture::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QSwipeGesture::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QSwipeGesture,_c,_id,_a);

    return _id;
}

void *sipQSwipeGesture::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QSwipeGesture, _clname, &sipCpp) ? sipCpp : QSwipeGesture::qt_metacast(_clname));
}

void sipQSwipeGesture::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QSwipeGesture::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSwipeGesture::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QSwipeGesture::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSwipeGesture::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QSwipeGesture::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSwipeGesture::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QSwipeGesture::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQSwipeGesture::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QSwipeGesture::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQSwipeGesture::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QSwipeGesture::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQSwipeGesture::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QSwipeGesture::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQSwipeGesture::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQSwipeGesture::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQSwipeGesture::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQSwipeGesture::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQSwipeGesture::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQSwipeGesture::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQSwipeGesture::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQSwipeGesture::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQSwipeGesture::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QSwipeGesture_sender, "QSwipeGesture.sender() -> QObject");

extern "C" {static PyObject *meth_QSwipeGesture_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSwipeGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSwipeGesture, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 340922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_sender, doc_QSwipeGesture_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_receivers, "QSwipeGesture.receivers(signal) -> int");

extern "C" {static PyObject *meth_QSwipeGesture_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQSwipeGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QSwipeGesture, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 340981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_receivers, doc_QSwipeGesture_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_timerEvent, "QSwipeGesture.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QSwipeGesture_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQSwipeGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSwipeGesture, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_timerEvent, doc_QSwipeGesture_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_childEvent, "QSwipeGesture.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QSwipeGesture_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQSwipeGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSwipeGesture, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_childEvent, doc_QSwipeGesture_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_customEvent, "QSwipeGesture.customEvent(QEvent)");

extern "C" {static PyObject *meth_QSwipeGesture_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQSwipeGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QSwipeGesture, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_customEvent, doc_QSwipeGesture_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_connectNotify, "QSwipeGesture.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSwipeGesture_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSwipeGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSwipeGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_connectNotify, doc_QSwipeGesture_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_disconnectNotify, "QSwipeGesture.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QSwipeGesture_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQSwipeGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSwipeGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_disconnectNotify, doc_QSwipeGesture_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_senderSignalIndex, "QSwipeGesture.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QSwipeGesture_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQSwipeGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QSwipeGesture, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_senderSignalIndex, doc_QSwipeGesture_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_isSignalConnected, "QSwipeGesture.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QSwipeGesture_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQSwipeGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QSwipeGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_isSignalConnected, doc_QSwipeGesture_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_horizontalDirection, "QSwipeGesture.horizontalDirection() -> QSwipeGesture.SwipeDirection");

extern "C" {static PyObject *meth_QSwipeGesture_horizontalDirection(PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_horizontalDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSwipeGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSwipeGesture, &sipCpp))
        {
            QSwipeGesture::SwipeDirection sipRes;

            sipRes = sipCpp->horizontalDirection();

            return sipConvertFromEnum(sipRes,sipType_QSwipeGesture_SwipeDirection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_horizontalDirection, doc_QSwipeGesture_horizontalDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_verticalDirection, "QSwipeGesture.verticalDirection() -> QSwipeGesture.SwipeDirection");

extern "C" {static PyObject *meth_QSwipeGesture_verticalDirection(PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_verticalDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSwipeGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSwipeGesture, &sipCpp))
        {
            QSwipeGesture::SwipeDirection sipRes;

            sipRes = sipCpp->verticalDirection();

            return sipConvertFromEnum(sipRes,sipType_QSwipeGesture_SwipeDirection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_verticalDirection, doc_QSwipeGesture_verticalDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_swipeAngle, "QSwipeGesture.swipeAngle() -> float");

extern "C" {static PyObject *meth_QSwipeGesture_swipeAngle(PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_swipeAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSwipeGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QSwipeGesture, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->swipeAngle();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_swipeAngle, doc_QSwipeGesture_swipeAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QSwipeGesture_setSwipeAngle, "QSwipeGesture.setSwipeAngle(float)");

extern "C" {static PyObject *meth_QSwipeGesture_setSwipeAngle(PyObject *, PyObject *);}
static PyObject *meth_QSwipeGesture_setSwipeAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QSwipeGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QSwipeGesture, &sipCpp, &a0))
        {
            sipCpp->setSwipeAngle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QSwipeGesture, sipName_setSwipeAngle, doc_QSwipeGesture_setSwipeAngle);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QSwipeGesture(void *, const sipTypeDef *);}
static void *cast_QSwipeGesture(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QSwipeGesture)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGesture)->ctd_cast((QGesture *)(QSwipeGesture *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QSwipeGesture(void *, int);}
static void release_QSwipeGesture(void *sipCppV,int)
{
    QSwipeGesture *sipCpp = reinterpret_cast<QSwipeGesture *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QSwipeGesture(sipSimpleWrapper *);}
static void dealloc_QSwipeGesture(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQSwipeGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QSwipeGesture(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QSwipeGesture(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QSwipeGesture(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQSwipeGesture *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQSwipeGesture(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QSwipeGesture[] = {{102, 255, 1}};


static PyMethodDef methods_QSwipeGesture[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QSwipeGesture_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QSwipeGesture_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QSwipeGesture_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QSwipeGesture_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalDirection), meth_QSwipeGesture_horizontalDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QSwipeGesture_horizontalDirection)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QSwipeGesture_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QSwipeGesture_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QSwipeGesture_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QSwipeGesture_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setSwipeAngle), meth_QSwipeGesture_setSwipeAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QSwipeGesture_setSwipeAngle)},
    {SIP_MLNAME_CAST(sipName_swipeAngle), meth_QSwipeGesture_swipeAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QSwipeGesture_swipeAngle)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QSwipeGesture_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalDirection), meth_QSwipeGesture_verticalDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QSwipeGesture_verticalDirection)}
};

static sipEnumMemberDef enummembers_QSwipeGesture[] = {
    {sipName_Down, static_cast<int>(QSwipeGesture::Down), 410},
    {sipName_Left, static_cast<int>(QSwipeGesture::Left), 410},
    {sipName_NoDirection, static_cast<int>(QSwipeGesture::NoDirection), 410},
    {sipName_Right, static_cast<int>(QSwipeGesture::Right), 410},
    {sipName_Up, static_cast<int>(QSwipeGesture::Up), 410},
};

PyDoc_STRVAR(doc_QSwipeGesture, "\1QSwipeGesture(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QSwipeGesture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QSwipeGesture,
        {0}
    },
    {
        sipNameNr_QSwipeGesture,
        {0, 0, 1},
        13, methods_QSwipeGesture,
        5, enummembers_QSwipeGesture,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QSwipeGesture,
    -1,
    -1,
    supers_QSwipeGesture,
    0,
    init_type_QSwipeGesture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QSwipeGesture,
    0,
    0,
    0,
    release_QSwipeGesture,
    cast_QSwipeGesture,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QSwipeGesture::staticMetaObject,
    0,
    0,
    0
};

#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 341461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 341465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QPinchGesture_ChangeFlags___bool__(PyObject *);}
static int slot_QPinchGesture_ChangeFlags___bool__(PyObject *sipSelf)
{
    QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QPinchGesture::ChangeFlags::Int() != 0);
#line 341483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___ne__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPinchGesture_ChangeFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QPinchGesture::ChangeFlags::Int() != a0->operator QPinchGesture::ChangeFlags::Int());
#line 341513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QPinchGesture::ChangeFlags *>(a0),sipType_QPinchGesture_ChangeFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QPinchGesture_ChangeFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___eq__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPinchGesture_ChangeFlags, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QPinchGesture::ChangeFlags::Int() == a0->operator QPinchGesture::ChangeFlags::Int());
#line 341549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QPinchGesture::ChangeFlags *>(a0),sipType_QPinchGesture_ChangeFlags,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QPinchGesture_ChangeFlags,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___invert__(PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___invert__(PyObject *sipSelf)
{
    QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));

    if (!sipCpp)
        return 0;


    {
        {
            QPinchGesture::ChangeFlags*sipRes;

            sipRes = new QPinchGesture::ChangeFlags(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QPinchGesture_ChangeFlags,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___and__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QPinchGesture_ChangeFlags, &a0, &a0State, &a1))
        {
            QPinchGesture::ChangeFlags*sipRes;

            sipRes = new QPinchGesture::ChangeFlags((*a0 & a1));
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPinchGesture_ChangeFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___xor__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;
        QPinchGesture::ChangeFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QPinchGesture_ChangeFlags, &a0, &a0State, sipType_QPinchGesture_ChangeFlags, &a1, &a1State))
        {
            QPinchGesture::ChangeFlags*sipRes;

            sipRes = new QPinchGesture::ChangeFlags((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);
            sipReleaseType(a1,sipType_QPinchGesture_ChangeFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QPinchGesture_ChangeFlags,NULL);
        }
    }

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QPinchGesture_ChangeFlags, &a0, &a0State, &a1))
        {
            QPinchGesture::ChangeFlags*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QPinchGesture::ChangeFlags(*a0 ^ a1);
#line 341652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPinchGesture_ChangeFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___or__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;
        QPinchGesture::ChangeFlags* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QPinchGesture_ChangeFlags, &a0, &a0State, sipType_QPinchGesture_ChangeFlags, &a1, &a1State))
        {
            QPinchGesture::ChangeFlags*sipRes;

            sipRes = new QPinchGesture::ChangeFlags((*a0 | *a1));
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);
            sipReleaseType(a1,sipType_QPinchGesture_ChangeFlags,a1State);

            return sipConvertFromNewType(sipRes,sipType_QPinchGesture_ChangeFlags,NULL);
        }
    }

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QPinchGesture_ChangeFlags, &a0, &a0State, &a1))
        {
            QPinchGesture::ChangeFlags*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QPinchGesture::ChangeFlags(*a0 | a1);
#line 341702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);

            return sipConvertFromNewType(sipRes,sipType_QPinchGesture_ChangeFlags,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___int__(PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___int__(PyObject *sipSelf)
{
    QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QPinchGesture_ChangeFlags___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPinchGesture_ChangeFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPinchGesture_ChangeFlags, &a0, &a0State))
        {
            sipCpp->QPinchGesture::ChangeFlags::operator^=(*a0);
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,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_QPinchGesture_ChangeFlags___ior__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPinchGesture_ChangeFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QPinchGesture_ChangeFlags, &a0, &a0State))
        {
            sipCpp->QPinchGesture::ChangeFlags::operator|=(*a0);
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,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_QPinchGesture_ChangeFlags___iand__(PyObject *,PyObject *);}
static PyObject *slot_QPinchGesture_ChangeFlags___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QPinchGesture_ChangeFlags)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QPinchGesture::ChangeFlags *sipCpp = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QPinchGesture_ChangeFlags));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QPinchGesture::ChangeFlags::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QPinchGesture_ChangeFlags(void *, const sipTypeDef *);}
static void *cast_QPinchGesture_ChangeFlags(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QPinchGesture_ChangeFlags)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPinchGesture_ChangeFlags(void *, int);}
static void release_QPinchGesture_ChangeFlags(void *sipCppV,int)
{
    delete reinterpret_cast<QPinchGesture::ChangeFlags *>(sipCppV);
}


extern "C" {static void assign_QPinchGesture_ChangeFlags(void *, SIP_SSIZE_T, const void *);}
static void assign_QPinchGesture_ChangeFlags(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QPinchGesture::ChangeFlags *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QPinchGesture::ChangeFlags *>(sipSrc);
}


extern "C" {static void *array_QPinchGesture_ChangeFlags(SIP_SSIZE_T);}
static void *array_QPinchGesture_ChangeFlags(SIP_SSIZE_T sipNrElem)
{
    return new QPinchGesture::ChangeFlags[sipNrElem];
}


extern "C" {static void *copy_QPinchGesture_ChangeFlags(const void *, SIP_SSIZE_T);}
static void *copy_QPinchGesture_ChangeFlags(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QPinchGesture::ChangeFlags(reinterpret_cast<const QPinchGesture::ChangeFlags *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QPinchGesture_ChangeFlags(sipSimpleWrapper *);}
static void dealloc_QPinchGesture_ChangeFlags(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QPinchGesture_ChangeFlags(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QPinchGesture_ChangeFlags(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPinchGesture_ChangeFlags(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QPinchGesture::ChangeFlags *sipCpp = 0;

    {
        const QPinchGesture::ChangeFlags* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QPinchGesture_ChangeFlags, &a0, &a0State))
        {
            sipCpp = new QPinchGesture::ChangeFlags(*a0);
            sipReleaseType(const_cast<QPinchGesture::ChangeFlags *>(a0),sipType_QPinchGesture_ChangeFlags,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QPinchGesture::ChangeFlags(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QPinchGesture::ChangeFlags();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QPinchGesture_ChangeFlags(PyObject *, void **, int *, PyObject *);}
static int convertTo_QPinchGesture_ChangeFlags(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QPinchGesture::ChangeFlags **sipCppPtr = reinterpret_cast<QPinchGesture::ChangeFlags **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QPinchGesture::ChangeFlags is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QPinchGesture_ChangeFlag)) ||
            sipCanConvertToType(sipPy, sipType_QPinchGesture_ChangeFlags, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QPinchGesture_ChangeFlag)))
{
    *sipCppPtr = new QPinchGesture::ChangeFlags(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QPinchGesture::ChangeFlags *>(sipConvertToType(sipPy, sipType_QPinchGesture_ChangeFlags, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 341979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QPinchGesture_ChangeFlags[] = {
    {(void *)slot_QPinchGesture_ChangeFlags___bool__, bool_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___ne__, ne_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___eq__, eq_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___invert__, invert_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___and__, and_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___xor__, xor_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___or__, or_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___int__, int_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___ixor__, ixor_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___ior__, ior_slot},
    {(void *)slot_QPinchGesture_ChangeFlags___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QPinchGesture_ChangeFlags, "\1QPinchGesture.ChangeFlags(QPinchGesture.ChangeFlags)\n"
    "QPinchGesture.ChangeFlags(int)\n"
    "QPinchGesture.ChangeFlags()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QPinchGesture_ChangeFlags = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPinchGesture__ChangeFlags,
        {0}
    },
    {
        sipNameNr_ChangeFlags,
        {242, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPinchGesture_ChangeFlags,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QPinchGesture_ChangeFlags,
    init_type_QPinchGesture_ChangeFlags,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPinchGesture_ChangeFlags,
    assign_QPinchGesture_ChangeFlags,
    array_QPinchGesture_ChangeFlags,
    copy_QPinchGesture_ChangeFlags,
    release_QPinchGesture_ChangeFlags,
    cast_QPinchGesture_ChangeFlags,
    convertTo_QPinchGesture_ChangeFlags,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 342061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 342065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 342068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 70 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 342071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 342074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 342077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 342080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 342083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 342086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 342089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 342092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 342095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 342098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 342101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 342104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 342107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 342110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 342113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 342116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 342119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQPinchGesture : public QPinchGesture
{
public:
    sipQPinchGesture(QObject*);
    virtual ~sipQPinchGesture();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQPinchGesture(const sipQPinchGesture &);
    sipQPinchGesture &operator = (const sipQPinchGesture &);

    char sipPyMethods[7];
};

sipQPinchGesture::sipQPinchGesture(QObject*a0): QPinchGesture(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPinchGesture::~sipQPinchGesture()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQPinchGesture::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPinchGesture);
}

int sipQPinchGesture::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QPinchGesture::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QPinchGesture,_c,_id,_a);

    return _id;
}

void *sipQPinchGesture::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QPinchGesture, _clname, &sipCpp) ? sipCpp : QPinchGesture::qt_metacast(_clname));
}

void sipQPinchGesture::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QPinchGesture::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPinchGesture::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QPinchGesture::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPinchGesture::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QPinchGesture::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPinchGesture::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QPinchGesture::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPinchGesture::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QPinchGesture::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQPinchGesture::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QPinchGesture::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQPinchGesture::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QPinchGesture::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQPinchGesture::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQPinchGesture::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQPinchGesture::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQPinchGesture::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQPinchGesture::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQPinchGesture::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPinchGesture::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPinchGesture::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQPinchGesture::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QPinchGesture_sender, "QPinchGesture.sender() -> QObject");

extern "C" {static PyObject *meth_QPinchGesture_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPinchGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 342407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_sender, doc_QPinchGesture_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_receivers, "QPinchGesture.receivers(signal) -> int");

extern "C" {static PyObject *meth_QPinchGesture_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQPinchGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QPinchGesture, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 342466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_receivers, doc_QPinchGesture_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_timerEvent, "QPinchGesture.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QPinchGesture_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQPinchGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_timerEvent, doc_QPinchGesture_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_childEvent, "QPinchGesture.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QPinchGesture_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQPinchGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_childEvent, doc_QPinchGesture_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_customEvent, "QPinchGesture.customEvent(QEvent)");

extern "C" {static PyObject *meth_QPinchGesture_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPinchGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_customEvent, doc_QPinchGesture_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_connectNotify, "QPinchGesture.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPinchGesture_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPinchGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_connectNotify, doc_QPinchGesture_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_disconnectNotify, "QPinchGesture.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPinchGesture_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPinchGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_disconnectNotify, doc_QPinchGesture_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_senderSignalIndex, "QPinchGesture.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QPinchGesture_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPinchGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_senderSignalIndex, doc_QPinchGesture_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_isSignalConnected, "QPinchGesture.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QPinchGesture_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQPinchGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_isSignalConnected, doc_QPinchGesture_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_totalChangeFlags, "QPinchGesture.totalChangeFlags() -> QPinchGesture.ChangeFlags");

extern "C" {static PyObject *meth_QPinchGesture_totalChangeFlags(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_totalChangeFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            QPinchGesture::ChangeFlags*sipRes;

            sipRes = new QPinchGesture::ChangeFlags(sipCpp->totalChangeFlags());

            return sipConvertFromNewType(sipRes,sipType_QPinchGesture_ChangeFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_totalChangeFlags, doc_QPinchGesture_totalChangeFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setTotalChangeFlags, "QPinchGesture.setTotalChangeFlags(QPinchGesture.ChangeFlags)");

extern "C" {static PyObject *meth_QPinchGesture_setTotalChangeFlags(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setTotalChangeFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QPinchGesture_ChangeFlags, &a0, &a0State))
        {
            sipCpp->setTotalChangeFlags(*a0);
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setTotalChangeFlags, doc_QPinchGesture_setTotalChangeFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_changeFlags, "QPinchGesture.changeFlags() -> QPinchGesture.ChangeFlags");

extern "C" {static PyObject *meth_QPinchGesture_changeFlags(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_changeFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            QPinchGesture::ChangeFlags*sipRes;

            sipRes = new QPinchGesture::ChangeFlags(sipCpp->changeFlags());

            return sipConvertFromNewType(sipRes,sipType_QPinchGesture_ChangeFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_changeFlags, doc_QPinchGesture_changeFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setChangeFlags, "QPinchGesture.setChangeFlags(QPinchGesture.ChangeFlags)");

extern "C" {static PyObject *meth_QPinchGesture_setChangeFlags(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setChangeFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPinchGesture::ChangeFlags* a0;
        int a0State = 0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QPinchGesture_ChangeFlags, &a0, &a0State))
        {
            sipCpp->setChangeFlags(*a0);
            sipReleaseType(a0,sipType_QPinchGesture_ChangeFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setChangeFlags, doc_QPinchGesture_setChangeFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_startCenterPoint, "QPinchGesture.startCenterPoint() -> QPointF");

extern "C" {static PyObject *meth_QPinchGesture_startCenterPoint(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_startCenterPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->startCenterPoint());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_startCenterPoint, doc_QPinchGesture_startCenterPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_lastCenterPoint, "QPinchGesture.lastCenterPoint() -> QPointF");

extern "C" {static PyObject *meth_QPinchGesture_lastCenterPoint(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_lastCenterPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->lastCenterPoint());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_lastCenterPoint, doc_QPinchGesture_lastCenterPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_centerPoint, "QPinchGesture.centerPoint() -> QPointF");

extern "C" {static PyObject *meth_QPinchGesture_centerPoint(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_centerPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->centerPoint());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_centerPoint, doc_QPinchGesture_centerPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setStartCenterPoint, "QPinchGesture.setStartCenterPoint(QPointF)");

extern "C" {static PyObject *meth_QPinchGesture_setStartCenterPoint(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setStartCenterPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setStartCenterPoint(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setStartCenterPoint, doc_QPinchGesture_setStartCenterPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setLastCenterPoint, "QPinchGesture.setLastCenterPoint(QPointF)");

extern "C" {static PyObject *meth_QPinchGesture_setLastCenterPoint(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setLastCenterPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setLastCenterPoint(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setLastCenterPoint, doc_QPinchGesture_setLastCenterPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setCenterPoint, "QPinchGesture.setCenterPoint(QPointF)");

extern "C" {static PyObject *meth_QPinchGesture_setCenterPoint(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setCenterPoint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPinchGesture, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setCenterPoint(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setCenterPoint, doc_QPinchGesture_setCenterPoint);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_totalScaleFactor, "QPinchGesture.totalScaleFactor() -> float");

extern "C" {static PyObject *meth_QPinchGesture_totalScaleFactor(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_totalScaleFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->totalScaleFactor();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_totalScaleFactor, doc_QPinchGesture_totalScaleFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_lastScaleFactor, "QPinchGesture.lastScaleFactor() -> float");

extern "C" {static PyObject *meth_QPinchGesture_lastScaleFactor(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_lastScaleFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->lastScaleFactor();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_lastScaleFactor, doc_QPinchGesture_lastScaleFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_scaleFactor, "QPinchGesture.scaleFactor() -> float");

extern "C" {static PyObject *meth_QPinchGesture_scaleFactor(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_scaleFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->scaleFactor();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_scaleFactor, doc_QPinchGesture_scaleFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setTotalScaleFactor, "QPinchGesture.setTotalScaleFactor(float)");

extern "C" {static PyObject *meth_QPinchGesture_setTotalScaleFactor(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setTotalScaleFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QPinchGesture, &sipCpp, &a0))
        {
            sipCpp->setTotalScaleFactor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setTotalScaleFactor, doc_QPinchGesture_setTotalScaleFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setLastScaleFactor, "QPinchGesture.setLastScaleFactor(float)");

extern "C" {static PyObject *meth_QPinchGesture_setLastScaleFactor(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setLastScaleFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QPinchGesture, &sipCpp, &a0))
        {
            sipCpp->setLastScaleFactor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setLastScaleFactor, doc_QPinchGesture_setLastScaleFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setScaleFactor, "QPinchGesture.setScaleFactor(float)");

extern "C" {static PyObject *meth_QPinchGesture_setScaleFactor(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setScaleFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QPinchGesture, &sipCpp, &a0))
        {
            sipCpp->setScaleFactor(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setScaleFactor, doc_QPinchGesture_setScaleFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_totalRotationAngle, "QPinchGesture.totalRotationAngle() -> float");

extern "C" {static PyObject *meth_QPinchGesture_totalRotationAngle(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_totalRotationAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->totalRotationAngle();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_totalRotationAngle, doc_QPinchGesture_totalRotationAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_lastRotationAngle, "QPinchGesture.lastRotationAngle() -> float");

extern "C" {static PyObject *meth_QPinchGesture_lastRotationAngle(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_lastRotationAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->lastRotationAngle();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_lastRotationAngle, doc_QPinchGesture_lastRotationAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_rotationAngle, "QPinchGesture.rotationAngle() -> float");

extern "C" {static PyObject *meth_QPinchGesture_rotationAngle(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_rotationAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPinchGesture, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->rotationAngle();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_rotationAngle, doc_QPinchGesture_rotationAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setTotalRotationAngle, "QPinchGesture.setTotalRotationAngle(float)");

extern "C" {static PyObject *meth_QPinchGesture_setTotalRotationAngle(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setTotalRotationAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QPinchGesture, &sipCpp, &a0))
        {
            sipCpp->setTotalRotationAngle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setTotalRotationAngle, doc_QPinchGesture_setTotalRotationAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setLastRotationAngle, "QPinchGesture.setLastRotationAngle(float)");

extern "C" {static PyObject *meth_QPinchGesture_setLastRotationAngle(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setLastRotationAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QPinchGesture, &sipCpp, &a0))
        {
            sipCpp->setLastRotationAngle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setLastRotationAngle, doc_QPinchGesture_setLastRotationAngle);

    return NULL;
}


PyDoc_STRVAR(doc_QPinchGesture_setRotationAngle, "QPinchGesture.setRotationAngle(float)");

extern "C" {static PyObject *meth_QPinchGesture_setRotationAngle(PyObject *, PyObject *);}
static PyObject *meth_QPinchGesture_setRotationAngle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QPinchGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QPinchGesture, &sipCpp, &a0))
        {
            sipCpp->setRotationAngle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPinchGesture, sipName_setRotationAngle, doc_QPinchGesture_setRotationAngle);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QPinchGesture(void *, const sipTypeDef *);}
static void *cast_QPinchGesture(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QPinchGesture)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGesture)->ctd_cast((QGesture *)(QPinchGesture *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPinchGesture(void *, int);}
static void release_QPinchGesture(void *sipCppV,int)
{
    QPinchGesture *sipCpp = reinterpret_cast<QPinchGesture *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QPinchGesture(sipSimpleWrapper *);}
static void dealloc_QPinchGesture(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQPinchGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QPinchGesture(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QPinchGesture(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPinchGesture(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQPinchGesture *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQPinchGesture(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPinchGesture[] = {{102, 255, 1}};


static PyMethodDef methods_QPinchGesture[] = {
    {SIP_MLNAME_CAST(sipName_centerPoint), meth_QPinchGesture_centerPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_centerPoint)},
    {SIP_MLNAME_CAST(sipName_changeFlags), meth_QPinchGesture_changeFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_changeFlags)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QPinchGesture_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QPinchGesture_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QPinchGesture_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QPinchGesture_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QPinchGesture_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lastCenterPoint), meth_QPinchGesture_lastCenterPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_lastCenterPoint)},
    {SIP_MLNAME_CAST(sipName_lastRotationAngle), meth_QPinchGesture_lastRotationAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_lastRotationAngle)},
    {SIP_MLNAME_CAST(sipName_lastScaleFactor), meth_QPinchGesture_lastScaleFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_lastScaleFactor)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QPinchGesture_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rotationAngle), meth_QPinchGesture_rotationAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_rotationAngle)},
    {SIP_MLNAME_CAST(sipName_scaleFactor), meth_QPinchGesture_scaleFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_scaleFactor)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QPinchGesture_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QPinchGesture_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCenterPoint), meth_QPinchGesture_setCenterPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setCenterPoint)},
    {SIP_MLNAME_CAST(sipName_setChangeFlags), meth_QPinchGesture_setChangeFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setChangeFlags)},
    {SIP_MLNAME_CAST(sipName_setLastCenterPoint), meth_QPinchGesture_setLastCenterPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setLastCenterPoint)},
    {SIP_MLNAME_CAST(sipName_setLastRotationAngle), meth_QPinchGesture_setLastRotationAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setLastRotationAngle)},
    {SIP_MLNAME_CAST(sipName_setLastScaleFactor), meth_QPinchGesture_setLastScaleFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setLastScaleFactor)},
    {SIP_MLNAME_CAST(sipName_setRotationAngle), meth_QPinchGesture_setRotationAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setRotationAngle)},
    {SIP_MLNAME_CAST(sipName_setScaleFactor), meth_QPinchGesture_setScaleFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setScaleFactor)},
    {SIP_MLNAME_CAST(sipName_setStartCenterPoint), meth_QPinchGesture_setStartCenterPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setStartCenterPoint)},
    {SIP_MLNAME_CAST(sipName_setTotalChangeFlags), meth_QPinchGesture_setTotalChangeFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setTotalChangeFlags)},
    {SIP_MLNAME_CAST(sipName_setTotalRotationAngle), meth_QPinchGesture_setTotalRotationAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setTotalRotationAngle)},
    {SIP_MLNAME_CAST(sipName_setTotalScaleFactor), meth_QPinchGesture_setTotalScaleFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_setTotalScaleFactor)},
    {SIP_MLNAME_CAST(sipName_startCenterPoint), meth_QPinchGesture_startCenterPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_startCenterPoint)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QPinchGesture_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_totalChangeFlags), meth_QPinchGesture_totalChangeFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_totalChangeFlags)},
    {SIP_MLNAME_CAST(sipName_totalRotationAngle), meth_QPinchGesture_totalRotationAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_totalRotationAngle)},
    {SIP_MLNAME_CAST(sipName_totalScaleFactor), meth_QPinchGesture_totalScaleFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QPinchGesture_totalScaleFactor)}
};

static sipEnumMemberDef enummembers_QPinchGesture[] = {
    {sipName_CenterPointChanged, static_cast<int>(QPinchGesture::CenterPointChanged), 243},
    {sipName_RotationAngleChanged, static_cast<int>(QPinchGesture::RotationAngleChanged), 243},
    {sipName_ScaleFactorChanged, static_cast<int>(QPinchGesture::ScaleFactorChanged), 243},
};

PyDoc_STRVAR(doc_QPinchGesture, "\1QPinchGesture(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QPinchGesture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPinchGesture,
        {0}
    },
    {
        sipNameNr_QPinchGesture,
        {0, 0, 1},
        31, methods_QPinchGesture,
        3, enummembers_QPinchGesture,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPinchGesture,
    -1,
    -1,
    supers_QPinchGesture,
    0,
    init_type_QPinchGesture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPinchGesture,
    0,
    0,
    0,
    release_QPinchGesture,
    cast_QPinchGesture,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QPinchGesture::staticMetaObject,
    0,
    0,
    0
};

#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 343458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 343462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 343465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 343468 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 343471 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 343474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 343477 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 343480 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 343483 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 343486 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 343489 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 343492 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 343495 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 343498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 343501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 343504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 343507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 343510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 343513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQPanGesture : public QPanGesture
{
public:
    sipQPanGesture(QObject*);
    virtual ~sipQPanGesture();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQPanGesture(const sipQPanGesture &);
    sipQPanGesture &operator = (const sipQPanGesture &);

    char sipPyMethods[7];
};

sipQPanGesture::sipQPanGesture(QObject*a0): QPanGesture(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPanGesture::~sipQPanGesture()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQPanGesture::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPanGesture);
}

int sipQPanGesture::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QPanGesture::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QPanGesture,_c,_id,_a);

    return _id;
}

void *sipQPanGesture::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QPanGesture, _clname, &sipCpp) ? sipCpp : QPanGesture::qt_metacast(_clname));
}

void sipQPanGesture::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QPanGesture::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPanGesture::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QPanGesture::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPanGesture::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QPanGesture::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPanGesture::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QPanGesture::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPanGesture::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QPanGesture::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQPanGesture::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QPanGesture::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQPanGesture::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QPanGesture::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQPanGesture::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQPanGesture::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQPanGesture::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQPanGesture::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQPanGesture::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQPanGesture::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPanGesture::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPanGesture::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQPanGesture::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QPanGesture_sender, "QPanGesture.sender() -> QObject");

extern "C" {static PyObject *meth_QPanGesture_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPanGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPanGesture, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 343801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_sender, doc_QPanGesture_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_receivers, "QPanGesture.receivers(signal) -> int");

extern "C" {static PyObject *meth_QPanGesture_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQPanGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QPanGesture, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 343860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_receivers, doc_QPanGesture_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_timerEvent, "QPanGesture.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QPanGesture_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQPanGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPanGesture, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_timerEvent, doc_QPanGesture_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_childEvent, "QPanGesture.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QPanGesture_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQPanGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPanGesture, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_childEvent, doc_QPanGesture_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_customEvent, "QPanGesture.customEvent(QEvent)");

extern "C" {static PyObject *meth_QPanGesture_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPanGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPanGesture, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_customEvent, doc_QPanGesture_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_connectNotify, "QPanGesture.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPanGesture_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPanGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPanGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_connectNotify, doc_QPanGesture_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_disconnectNotify, "QPanGesture.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPanGesture_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPanGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPanGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_disconnectNotify, doc_QPanGesture_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_senderSignalIndex, "QPanGesture.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QPanGesture_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPanGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPanGesture, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_senderSignalIndex, doc_QPanGesture_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_isSignalConnected, "QPanGesture.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QPanGesture_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQPanGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPanGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_isSignalConnected, doc_QPanGesture_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_lastOffset, "QPanGesture.lastOffset() -> QPointF");

extern "C" {static PyObject *meth_QPanGesture_lastOffset(PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_lastOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPanGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPanGesture, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->lastOffset());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_lastOffset, doc_QPanGesture_lastOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_offset, "QPanGesture.offset() -> QPointF");

extern "C" {static PyObject *meth_QPanGesture_offset(PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_offset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPanGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPanGesture, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->offset());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_offset, doc_QPanGesture_offset);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_delta, "QPanGesture.delta() -> QPointF");

extern "C" {static PyObject *meth_QPanGesture_delta(PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_delta(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPanGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPanGesture, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->delta());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_delta, doc_QPanGesture_delta);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_acceleration, "QPanGesture.acceleration() -> float");

extern "C" {static PyObject *meth_QPanGesture_acceleration(PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_acceleration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPanGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPanGesture, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->acceleration();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_acceleration, doc_QPanGesture_acceleration);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_setLastOffset, "QPanGesture.setLastOffset(QPointF)");

extern "C" {static PyObject *meth_QPanGesture_setLastOffset(PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_setLastOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QPanGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPanGesture, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setLastOffset(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_setLastOffset, doc_QPanGesture_setLastOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_setOffset, "QPanGesture.setOffset(QPointF)");

extern "C" {static PyObject *meth_QPanGesture_setOffset(PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_setOffset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QPanGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QPanGesture, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setOffset(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_setOffset, doc_QPanGesture_setOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QPanGesture_setAcceleration, "QPanGesture.setAcceleration(float)");

extern "C" {static PyObject *meth_QPanGesture_setAcceleration(PyObject *, PyObject *);}
static PyObject *meth_QPanGesture_setAcceleration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QPanGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QPanGesture, &sipCpp, &a0))
        {
            sipCpp->setAcceleration(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPanGesture, sipName_setAcceleration, doc_QPanGesture_setAcceleration);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QPanGesture(void *, const sipTypeDef *);}
static void *cast_QPanGesture(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QPanGesture)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGesture)->ctd_cast((QGesture *)(QPanGesture *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPanGesture(void *, int);}
static void release_QPanGesture(void *sipCppV,int)
{
    QPanGesture *sipCpp = reinterpret_cast<QPanGesture *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QPanGesture(sipSimpleWrapper *);}
static void dealloc_QPanGesture(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQPanGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QPanGesture(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QPanGesture(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPanGesture(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQPanGesture *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQPanGesture(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPanGesture[] = {{102, 255, 1}};


static PyMethodDef methods_QPanGesture[] = {
    {SIP_MLNAME_CAST(sipName_acceleration), meth_QPanGesture_acceleration, METH_VARARGS, SIP_MLDOC_CAST(doc_QPanGesture_acceleration)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QPanGesture_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QPanGesture_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QPanGesture_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_delta), meth_QPanGesture_delta, METH_VARARGS, SIP_MLDOC_CAST(doc_QPanGesture_delta)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QPanGesture_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QPanGesture_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lastOffset), meth_QPanGesture_lastOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QPanGesture_lastOffset)},
    {SIP_MLNAME_CAST(sipName_offset), meth_QPanGesture_offset, METH_VARARGS, SIP_MLDOC_CAST(doc_QPanGesture_offset)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QPanGesture_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QPanGesture_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QPanGesture_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceleration), meth_QPanGesture_setAcceleration, METH_VARARGS, SIP_MLDOC_CAST(doc_QPanGesture_setAcceleration)},
    {SIP_MLNAME_CAST(sipName_setLastOffset), meth_QPanGesture_setLastOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QPanGesture_setLastOffset)},
    {SIP_MLNAME_CAST(sipName_setOffset), meth_QPanGesture_setOffset, METH_VARARGS, SIP_MLDOC_CAST(doc_QPanGesture_setOffset)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QPanGesture_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QPanGesture, "\1QPanGesture(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QPanGesture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPanGesture,
        {0}
    },
    {
        sipNameNr_QPanGesture,
        {0, 0, 1},
        16, methods_QPanGesture,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPanGesture,
    -1,
    -1,
    supers_QPanGesture,
    0,
    init_type_QPanGesture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPanGesture,
    0,
    0,
    0,
    release_QPanGesture,
    cast_QPanGesture,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QPanGesture::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgesture.sip"
#include <qgesture.h>
#line 344420 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 344424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 99 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 344427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 344430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 344433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 344436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 344439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 344442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 344445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 344448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 344451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 344454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 344457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 344460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 344463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 344466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 344469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 344472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQGesture : public QGesture
{
public:
    sipQGesture(QObject*);
    virtual ~sipQGesture();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGesture(const sipQGesture &);
    sipQGesture &operator = (const sipQGesture &);

    char sipPyMethods[7];
};

sipQGesture::sipQGesture(QObject*a0): QGesture(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGesture::~sipQGesture()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQGesture::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QGesture);
}

int sipQGesture::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QGesture::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QGesture,_c,_id,_a);

    return _id;
}

void *sipQGesture::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QGesture, _clname, &sipCpp) ? sipCpp : QGesture::qt_metacast(_clname));
}

void sipQGesture::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QGesture::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGesture::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QGesture::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGesture::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QGesture::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGesture::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QGesture::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQGesture::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QGesture::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQGesture::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QGesture::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQGesture::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QGesture::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQGesture::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQGesture::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQGesture::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQGesture::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQGesture::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQGesture::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQGesture::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQGesture::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQGesture::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QGesture_sender, "QGesture.sender() -> QObject");

extern "C" {static PyObject *meth_QGesture_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGesture_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGesture, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 344760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_sender, doc_QGesture_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_receivers, "QGesture.receivers(signal) -> int");

extern "C" {static PyObject *meth_QGesture_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGesture_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QGesture, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 344819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_receivers, doc_QGesture_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_timerEvent, "QGesture.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QGesture_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGesture_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGesture, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_timerEvent, doc_QGesture_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_childEvent, "QGesture.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QGesture_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGesture_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGesture, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_childEvent, doc_QGesture_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_customEvent, "QGesture.customEvent(QEvent)");

extern "C" {static PyObject *meth_QGesture_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGesture_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QGesture, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_customEvent, doc_QGesture_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_connectNotify, "QGesture.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGesture_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGesture_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_connectNotify, doc_QGesture_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_disconnectNotify, "QGesture.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QGesture_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGesture_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_disconnectNotify, doc_QGesture_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_senderSignalIndex, "QGesture.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QGesture_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGesture_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QGesture, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_senderSignalIndex, doc_QGesture_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_isSignalConnected, "QGesture.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QGesture_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGesture_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQGesture *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QGesture, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_isSignalConnected, doc_QGesture_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_gestureType, "QGesture.gestureType() -> Qt.GestureType");

extern "C" {static PyObject *meth_QGesture_gestureType(PyObject *, PyObject *);}
static PyObject *meth_QGesture_gestureType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGesture, &sipCpp))
        {
            Qt::GestureType sipRes;

            sipRes = sipCpp->gestureType();

            return sipConvertFromEnum(sipRes,sipType_Qt_GestureType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_gestureType, doc_QGesture_gestureType);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_state, "QGesture.state() -> Qt.GestureState");

extern "C" {static PyObject *meth_QGesture_state(PyObject *, PyObject *);}
static PyObject *meth_QGesture_state(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGesture, &sipCpp))
        {
            Qt::GestureState sipRes;

            sipRes = sipCpp->state();

            return sipConvertFromEnum(sipRes,sipType_Qt_GestureState);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_state, doc_QGesture_state);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_hotSpot, "QGesture.hotSpot() -> QPointF");

extern "C" {static PyObject *meth_QGesture_hotSpot(PyObject *, PyObject *);}
static PyObject *meth_QGesture_hotSpot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGesture, &sipCpp))
        {
            QPointF*sipRes;

            sipRes = new QPointF(sipCpp->hotSpot());

            return sipConvertFromNewType(sipRes,sipType_QPointF,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_hotSpot, doc_QGesture_hotSpot);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_setHotSpot, "QGesture.setHotSpot(QPointF)");

extern "C" {static PyObject *meth_QGesture_setHotSpot(PyObject *, PyObject *);}
static PyObject *meth_QGesture_setHotSpot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPointF* a0;
        int a0State = 0;
        QGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGesture, &sipCpp, sipType_QPointF, &a0, &a0State))
        {
            sipCpp->setHotSpot(*a0);
            sipReleaseType(const_cast<QPointF *>(a0),sipType_QPointF,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_setHotSpot, doc_QGesture_setHotSpot);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_hasHotSpot, "QGesture.hasHotSpot() -> bool");

extern "C" {static PyObject *meth_QGesture_hasHotSpot(PyObject *, PyObject *);}
static PyObject *meth_QGesture_hasHotSpot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGesture, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasHotSpot();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_hasHotSpot, doc_QGesture_hasHotSpot);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_unsetHotSpot, "QGesture.unsetHotSpot()");

extern "C" {static PyObject *meth_QGesture_unsetHotSpot(PyObject *, PyObject *);}
static PyObject *meth_QGesture_unsetHotSpot(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGesture, &sipCpp))
        {
            sipCpp->unsetHotSpot();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_unsetHotSpot, doc_QGesture_unsetHotSpot);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_setGestureCancelPolicy, "QGesture.setGestureCancelPolicy(QGesture.GestureCancelPolicy)");

extern "C" {static PyObject *meth_QGesture_setGestureCancelPolicy(PyObject *, PyObject *);}
static PyObject *meth_QGesture_setGestureCancelPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGesture::GestureCancelPolicy a0;
        QGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QGesture, &sipCpp, sipType_QGesture_GestureCancelPolicy, &a0))
        {
            sipCpp->setGestureCancelPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_setGestureCancelPolicy, doc_QGesture_setGestureCancelPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QGesture_gestureCancelPolicy, "QGesture.gestureCancelPolicy() -> QGesture.GestureCancelPolicy");

extern "C" {static PyObject *meth_QGesture_gestureCancelPolicy(PyObject *, PyObject *);}
static PyObject *meth_QGesture_gestureCancelPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QGesture *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGesture, &sipCpp))
        {
            QGesture::GestureCancelPolicy sipRes;

            sipRes = sipCpp->gestureCancelPolicy();

            return sipConvertFromEnum(sipRes,sipType_QGesture_GestureCancelPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QGesture, sipName_gestureCancelPolicy, doc_QGesture_gestureCancelPolicy);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QGesture(void *, const sipTypeDef *);}
static void *cast_QGesture(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QGesture)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QGesture *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGesture(void *, int);}
static void release_QGesture(void *sipCppV,int)
{
    QGesture *sipCpp = reinterpret_cast<QGesture *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGesture(sipSimpleWrapper *);}
static void dealloc_QGesture(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQGesture *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QGesture(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QGesture(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGesture(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGesture *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGesture(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGesture[] = {{162, 0, 1}};


static PyMethodDef methods_QGesture[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QGesture_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QGesture_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QGesture_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QGesture_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_gestureCancelPolicy), meth_QGesture_gestureCancelPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGesture_gestureCancelPolicy)},
    {SIP_MLNAME_CAST(sipName_gestureType), meth_QGesture_gestureType, METH_VARARGS, SIP_MLDOC_CAST(doc_QGesture_gestureType)},
    {SIP_MLNAME_CAST(sipName_hasHotSpot), meth_QGesture_hasHotSpot, METH_VARARGS, SIP_MLDOC_CAST(doc_QGesture_hasHotSpot)},
    {SIP_MLNAME_CAST(sipName_hotSpot), meth_QGesture_hotSpot, METH_VARARGS, SIP_MLDOC_CAST(doc_QGesture_hotSpot)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QGesture_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QGesture_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QGesture_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QGesture_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setGestureCancelPolicy), meth_QGesture_setGestureCancelPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QGesture_setGestureCancelPolicy)},
    {SIP_MLNAME_CAST(sipName_setHotSpot), meth_QGesture_setHotSpot, METH_VARARGS, SIP_MLDOC_CAST(doc_QGesture_setHotSpot)},
    {SIP_MLNAME_CAST(sipName_state), meth_QGesture_state, METH_VARARGS, SIP_MLDOC_CAST(doc_QGesture_state)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QGesture_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unsetHotSpot), meth_QGesture_unsetHotSpot, METH_VARARGS, SIP_MLDOC_CAST(doc_QGesture_unsetHotSpot)}
};

static sipEnumMemberDef enummembers_QGesture[] = {
    {sipName_CancelAllInContext, static_cast<int>(QGesture::CancelAllInContext), 103},
    {sipName_CancelNone, static_cast<int>(QGesture::CancelNone), 103},
};

PyDoc_STRVAR(doc_QGesture, "\1QGesture(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QGesture = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QGesture,
        {0}
    },
    {
        sipNameNr_QGesture,
        {0, 0, 1},
        17, methods_QGesture,
        2, enummembers_QGesture,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QGesture,
    -1,
    -1,
    supers_QGesture,
    0,
    init_type_QGesture,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QGesture,
    0,
    0,
    0,
    release_QGesture,
    cast_QGesture,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QGesture::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qformlayout.sip"
#include <qformlayout.h>
#line 345409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 345413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 345416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 345419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 345422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 345425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 345428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 345431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 345434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 345437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 345440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 345443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 345446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 345449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 345452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 345455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 345458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 345461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 345464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 345467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 345470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 345473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 345476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 345479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 345482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 345485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 345488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQFormLayout : public QFormLayout
{
public:
    sipQFormLayout(QWidget*);
    virtual ~sipQFormLayout();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_widgetEvent(QEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtect_addChildLayout(QLayout*);
    void sipProtect_addChildWidget(QWidget*);
    QRect sipProtect_alignmentRect(const QRect&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSpacerItem* spacerItem();
    QWidget* widget();
    int minimumHeightForWidth(int) const;
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QSizePolicy::ControlTypes controlTypes() const;
    void childEvent(QChildEvent*);
    QLayout* layout();
    bool isEmpty() const;
    int indexOf(QWidget*) const;
    QSize maximumSize() const;
    QRect geometry() const;
    int count() const;
    Qt::Orientations expandingDirections() const;
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    void invalidate();
    QSize sizeHint() const;
    QSize minimumSize() const;
    void setGeometry(const QRect&);
    QLayoutItem* takeAt(int);
    QLayoutItem* itemAt(int) const;
    void addItem(QLayoutItem*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFormLayout(const sipQFormLayout &);
    sipQFormLayout &operator = (const sipQFormLayout &);

    char sipPyMethods[27];
};

sipQFormLayout::sipQFormLayout(QWidget*a0): QFormLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFormLayout::~sipQFormLayout()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFormLayout::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFormLayout);
}

int sipQFormLayout::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QFormLayout::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QFormLayout,_c,_id,_a);

    return _id;
}

void *sipQFormLayout::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QFormLayout, _clname, &sipCpp) ? sipCpp : QFormLayout::qt_metacast(_clname));
}

QSpacerItem* sipQFormLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QFormLayout::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQFormLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QFormLayout::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFormLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QFormLayout::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFormLayout::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFormLayout::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFormLayout::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFormLayout::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFormLayout::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFormLayout::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFormLayout::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFormLayout::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFormLayout::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFormLayout::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQFormLayout::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFormLayout::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizePolicy::ControlTypes sipQFormLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QFormLayout::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFormLayout::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QFormLayout::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayout* sipQFormLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QFormLayout::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFormLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return QFormLayout::isEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFormLayout::indexOf(QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return QFormLayout::indexOf(a0);

    extern int sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_QtWidgets_96(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQFormLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return QFormLayout::maximumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRect sipQFormLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return QFormLayout::geometry();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFormLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return QFormLayout::count();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::Orientations sipQFormLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return QFormLayout::expandingDirections();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFormLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QFormLayout::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFormLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QFormLayout::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFormLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QFormLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQFormLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QFormLayout::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQFormLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return QFormLayout::minimumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFormLayout::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QFormLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQFormLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return QFormLayout::takeAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_76(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQFormLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return QFormLayout::itemAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_77(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFormLayout::addItem(QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
        QFormLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLayoutItem*);

    sipVH_QtWidgets_78(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQFormLayout::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQFormLayout::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQFormLayout::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFormLayout::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQFormLayout::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFormLayout::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFormLayout::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQFormLayout::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQFormLayout::sipProtect_widgetEvent(QEvent*a0)
{
    QLayout::widgetEvent(a0);
}

void sipQFormLayout::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QLayout::childEvent(a0) : childEvent(a0));
}

void sipQFormLayout::sipProtect_addChildLayout(QLayout*a0)
{
    QLayout::addChildLayout(a0);
}

void sipQFormLayout::sipProtect_addChildWidget(QWidget*a0)
{
    QLayout::addChildWidget(a0);
}

QRect sipQFormLayout::sipProtect_alignmentRect(const QRect& a0) const
{
    return QLayout::alignmentRect(a0);
}


PyDoc_STRVAR(doc_QFormLayout_sender, "QFormLayout.sender() -> QObject");

extern "C" {static PyObject *meth_QFormLayout_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 346129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_sender, doc_QFormLayout_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_receivers, "QFormLayout.receivers(signal) -> int");

extern "C" {static PyObject *meth_QFormLayout_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 346188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_receivers, doc_QFormLayout_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_timerEvent, "QFormLayout.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QFormLayout_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_timerEvent, doc_QFormLayout_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_customEvent, "QFormLayout.customEvent(QEvent)");

extern "C" {static PyObject *meth_QFormLayout_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_customEvent, doc_QFormLayout_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_connectNotify, "QFormLayout.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFormLayout_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_connectNotify, doc_QFormLayout_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_disconnectNotify, "QFormLayout.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFormLayout_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_disconnectNotify, doc_QFormLayout_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_senderSignalIndex, "QFormLayout.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QFormLayout_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_senderSignalIndex, doc_QFormLayout_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_isSignalConnected, "QFormLayout.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFormLayout_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_isSignalConnected, doc_QFormLayout_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_widgetEvent, "QFormLayout.widgetEvent(QEvent)");

extern "C" {static PyObject *meth_QFormLayout_widgetEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_widgetEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QEvent* a0;
        sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtect_widgetEvent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_widgetEvent, doc_QFormLayout_widgetEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_childEvent, "QFormLayout.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QFormLayout_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_childEvent, doc_QFormLayout_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_addChildLayout, "QFormLayout.addChildLayout(QLayout)");

extern "C" {static PyObject *meth_QFormLayout_addChildLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_addChildLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->sipProtect_addChildLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_addChildLayout, doc_QFormLayout_addChildLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_addChildWidget, "QFormLayout.addChildWidget(QWidget)");

extern "C" {static PyObject *meth_QFormLayout_addChildWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_addChildWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B@J8", &sipSelf, sipType_QFormLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipCpp->addChildWidget(a0);
        #else
        sipCpp->sipProtect_addChildWidget(a0);
        #endif
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows
            // addChildWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 346498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_addChildWidget, doc_QFormLayout_addChildWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_alignmentRect, "QFormLayout.alignmentRect(QRect) -> QRect");

extern "C" {static PyObject *meth_QFormLayout_alignmentRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_alignmentRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        const sipQFormLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QRect, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_alignmentRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_alignmentRect, doc_QFormLayout_alignmentRect);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setFieldGrowthPolicy, "QFormLayout.setFieldGrowthPolicy(QFormLayout.FieldGrowthPolicy)");

extern "C" {static PyObject *meth_QFormLayout_setFieldGrowthPolicy(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setFieldGrowthPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFormLayout::FieldGrowthPolicy a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QFormLayout_FieldGrowthPolicy, &a0))
        {
            sipCpp->setFieldGrowthPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setFieldGrowthPolicy, doc_QFormLayout_setFieldGrowthPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_fieldGrowthPolicy, "QFormLayout.fieldGrowthPolicy() -> QFormLayout.FieldGrowthPolicy");

extern "C" {static PyObject *meth_QFormLayout_fieldGrowthPolicy(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_fieldGrowthPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            QFormLayout::FieldGrowthPolicy sipRes;

            sipRes = sipCpp->fieldGrowthPolicy();

            return sipConvertFromEnum(sipRes,sipType_QFormLayout_FieldGrowthPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_fieldGrowthPolicy, doc_QFormLayout_fieldGrowthPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setRowWrapPolicy, "QFormLayout.setRowWrapPolicy(QFormLayout.RowWrapPolicy)");

extern "C" {static PyObject *meth_QFormLayout_setRowWrapPolicy(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setRowWrapPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFormLayout::RowWrapPolicy a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QFormLayout_RowWrapPolicy, &a0))
        {
            sipCpp->setRowWrapPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setRowWrapPolicy, doc_QFormLayout_setRowWrapPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_rowWrapPolicy, "QFormLayout.rowWrapPolicy() -> QFormLayout.RowWrapPolicy");

extern "C" {static PyObject *meth_QFormLayout_rowWrapPolicy(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_rowWrapPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            QFormLayout::RowWrapPolicy sipRes;

            sipRes = sipCpp->rowWrapPolicy();

            return sipConvertFromEnum(sipRes,sipType_QFormLayout_RowWrapPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_rowWrapPolicy, doc_QFormLayout_rowWrapPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setLabelAlignment, "QFormLayout.setLabelAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QFormLayout_setLabelAlignment(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setLabelAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setLabelAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setLabelAlignment, doc_QFormLayout_setLabelAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_labelAlignment, "QFormLayout.labelAlignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QFormLayout_labelAlignment(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_labelAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->labelAlignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_labelAlignment, doc_QFormLayout_labelAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setFormAlignment, "QFormLayout.setFormAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QFormLayout_setFormAlignment(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setFormAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setFormAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setFormAlignment, doc_QFormLayout_setFormAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_formAlignment, "QFormLayout.formAlignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QFormLayout_formAlignment(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_formAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->formAlignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_formAlignment, doc_QFormLayout_formAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setHorizontalSpacing, "QFormLayout.setHorizontalSpacing(int)");

extern "C" {static PyObject *meth_QFormLayout_setHorizontalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setHorizontalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
            sipCpp->setHorizontalSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setHorizontalSpacing, doc_QFormLayout_setHorizontalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_horizontalSpacing, "QFormLayout.horizontalSpacing() -> int");

extern "C" {static PyObject *meth_QFormLayout_horizontalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_horizontalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->horizontalSpacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_horizontalSpacing, doc_QFormLayout_horizontalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setVerticalSpacing, "QFormLayout.setVerticalSpacing(int)");

extern "C" {static PyObject *meth_QFormLayout_setVerticalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setVerticalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
            sipCpp->setVerticalSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setVerticalSpacing, doc_QFormLayout_setVerticalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_verticalSpacing, "QFormLayout.verticalSpacing() -> int");

extern "C" {static PyObject *meth_QFormLayout_verticalSpacing(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_verticalSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->verticalSpacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_verticalSpacing, doc_QFormLayout_verticalSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_spacing, "QFormLayout.spacing() -> int");

extern "C" {static PyObject *meth_QFormLayout_spacing(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_spacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->spacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_spacing, doc_QFormLayout_spacing);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setSpacing, "QFormLayout.setSpacing(int)");

extern "C" {static PyObject *meth_QFormLayout_setSpacing(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
            sipCpp->setSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setSpacing, doc_QFormLayout_setSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_addRow, "QFormLayout.addRow(QWidget, QWidget)\n"
    "QFormLayout.addRow(QWidget, QLayout)\n"
    "QFormLayout.addRow(str, QWidget)\n"
    "QFormLayout.addRow(str, QLayout)\n"
    "QFormLayout.addRow(QWidget)\n"
    "QFormLayout.addRow(QLayout)");

extern "C" {static PyObject *meth_QFormLayout_addRow(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_addRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QWidget* a1;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J:", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QWidget, &a0, sipType_QWidget, &a1))
        {
            sipCpp->addRow(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QWidget* a0;
        QLayout* a1;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J:", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QWidget, &a0, sipType_QLayout, &a1))
        {
            sipCpp->addRow(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J:", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QString,&a0, &a0State, sipType_QWidget, &a1))
        {
            sipCpp->addRow(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QLayout* a1;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J:", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QString,&a0, &a0State, sipType_QLayout, &a1))
        {
            sipCpp->addRow(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QWidget* a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->addRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QLayout* a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->addRow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_addRow, doc_QFormLayout_addRow);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_insertRow, "QFormLayout.insertRow(int, QWidget, QWidget)\n"
    "QFormLayout.insertRow(int, QWidget, QLayout)\n"
    "QFormLayout.insertRow(int, str, QWidget)\n"
    "QFormLayout.insertRow(int, str, QLayout)\n"
    "QFormLayout.insertRow(int, QWidget)\n"
    "QFormLayout.insertRow(int, QLayout)");

extern "C" {static PyObject *meth_QFormLayout_insertRow(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_insertRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget* a1;
        QWidget* a2;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:J:", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QWidget, &a1, sipType_QWidget, &a2))
        {
            sipCpp->insertRow(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        QWidget* a1;
        QLayout* a2;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:J:", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QWidget, &a1, sipType_QLayout, &a2))
        {
            sipCpp->insertRow(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1J:", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2))
        {
            sipCpp->insertRow(a0,*a1,a2);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QLayout* a2;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1J:", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QString,&a1, &a1State, sipType_QLayout, &a2))
        {
            sipCpp->insertRow(a0,*a1,a2);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        QWidget* a1;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QWidget, &a1))
        {
            sipCpp->insertRow(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        QLayout* a1;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QLayout, &a1))
        {
            sipCpp->insertRow(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_insertRow, doc_QFormLayout_insertRow);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setItem, "QFormLayout.setItem(int, QFormLayout.ItemRole, QLayoutItem)");

extern "C" {static PyObject *meth_QFormLayout_setItem(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QFormLayout::ItemRole a1;
        QLayoutItem* a2;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiEJ:", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QFormLayout_ItemRole, &a1, sipType_QLayoutItem, &a2))
        {
            sipCpp->setItem(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setItem, doc_QFormLayout_setItem);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setWidget, "QFormLayout.setWidget(int, QFormLayout.ItemRole, QWidget)");

extern "C" {static PyObject *meth_QFormLayout_setWidget(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QFormLayout::ItemRole a1;
        QWidget* a2;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiEJ:", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QFormLayout_ItemRole, &a1, sipType_QWidget, &a2))
        {
            sipCpp->setWidget(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setWidget, doc_QFormLayout_setWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setLayout, "QFormLayout.setLayout(int, QFormLayout.ItemRole, QLayout)");

extern "C" {static PyObject *meth_QFormLayout_setLayout(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QFormLayout::ItemRole a1;
        QLayout* a2;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiEJ:", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QFormLayout_ItemRole, &a1, sipType_QLayout, &a2))
        {
            sipCpp->setLayout(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setLayout, doc_QFormLayout_setLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_itemAt, "QFormLayout.itemAt(int, QFormLayout.ItemRole) -> QLayoutItem\n"
    "QFormLayout.itemAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QFormLayout_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QFormLayout::ItemRole a1;
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiE", &sipSelf, sipType_QFormLayout, &sipCpp, &a0, sipType_QFormLayout_ItemRole, &a1))
        {
            QLayoutItem*sipRes;

            sipRes = sipCpp->itemAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QLayoutItem,NULL);
        }
    }

    {
        int a0;
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFormLayout::itemAt(a0) : sipCpp->itemAt(a0));

            return sipConvertFromType(sipRes,sipType_QLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_itemAt, doc_QFormLayout_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_getItemPosition, "QFormLayout.getItemPosition(int) -> (int, QFormLayout.ItemRole)");

extern "C" {static PyObject *meth_QFormLayout_getItemPosition(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_getItemPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QFormLayout::ItemRole a2;
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
            sipCpp->getItemPosition(a0,&a1,&a2);

            return sipBuildResult(0,"(iF)",a1,a2,sipType_QFormLayout_ItemRole);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_getItemPosition, doc_QFormLayout_getItemPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_getWidgetPosition, "QFormLayout.getWidgetPosition(QWidget) -> (int, QFormLayout.ItemRole)");

extern "C" {static PyObject *meth_QFormLayout_getWidgetPosition(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_getWidgetPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        int a1;
        QFormLayout::ItemRole a2;
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->getWidgetPosition(a0,&a1,&a2);

            return sipBuildResult(0,"(iF)",a1,a2,sipType_QFormLayout_ItemRole);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_getWidgetPosition, doc_QFormLayout_getWidgetPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_getLayoutPosition, "QFormLayout.getLayoutPosition(QLayout) -> (int, QFormLayout.ItemRole)");

extern "C" {static PyObject *meth_QFormLayout_getLayoutPosition(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_getLayoutPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        int a1;
        QFormLayout::ItemRole a2;
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->getLayoutPosition(a0,&a1,&a2);

            return sipBuildResult(0,"(iF)",a1,a2,sipType_QFormLayout_ItemRole);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_getLayoutPosition, doc_QFormLayout_getLayoutPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_labelForField, "QFormLayout.labelForField(QWidget) -> QWidget\n"
    "QFormLayout.labelForField(QLayout) -> QWidget");

extern "C" {static PyObject *meth_QFormLayout_labelForField(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_labelForField(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QWidget, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->labelForField(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    {
        QLayout* a0;
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QLayout, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->labelForField(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_labelForField, doc_QFormLayout_labelForField);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_addItem, "QFormLayout.addItem(QLayoutItem)");

extern "C" {static PyObject *meth_QFormLayout_addItem(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayoutItem* a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QLayoutItem, &a0))
        {
            (sipSelfWasArg ? sipCpp->QFormLayout::addItem(a0) : sipCpp->addItem(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_addItem, doc_QFormLayout_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_takeAt, "QFormLayout.takeAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QFormLayout_takeAt(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_takeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFormLayout::takeAt(a0) : sipCpp->takeAt(a0));

            return sipConvertFromType(sipRes,sipType_QLayoutItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_takeAt, doc_QFormLayout_takeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_setGeometry, "QFormLayout.setGeometry(QRect)");

extern "C" {static PyObject *meth_QFormLayout_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFormLayout, &sipCpp, sipType_QRect, &a0))
        {
            (sipSelfWasArg ? sipCpp->QFormLayout::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_setGeometry, doc_QFormLayout_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_minimumSize, "QFormLayout.minimumSize() -> QSize");

extern "C" {static PyObject *meth_QFormLayout_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QFormLayout::minimumSize() : sipCpp->minimumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_minimumSize, doc_QFormLayout_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_sizeHint, "QFormLayout.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QFormLayout_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QFormLayout::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_sizeHint, doc_QFormLayout_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_invalidate, "QFormLayout.invalidate()");

extern "C" {static PyObject *meth_QFormLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QFormLayout::invalidate() : sipCpp->invalidate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_invalidate, doc_QFormLayout_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_hasHeightForWidth, "QFormLayout.hasHeightForWidth() -> bool");

extern "C" {static PyObject *meth_QFormLayout_hasHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_hasHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFormLayout::hasHeightForWidth() : sipCpp->hasHeightForWidth());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_hasHeightForWidth, doc_QFormLayout_hasHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_heightForWidth, "QFormLayout.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QFormLayout_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFormLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFormLayout::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_heightForWidth, doc_QFormLayout_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_expandingDirections, "QFormLayout.expandingDirections() -> Qt.Orientations");

extern "C" {static PyObject *meth_QFormLayout_expandingDirections(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_expandingDirections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            Qt::Orientations*sipRes;

            sipRes = new Qt::Orientations((sipSelfWasArg ? sipCpp->QFormLayout::expandingDirections() : sipCpp->expandingDirections()));

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_expandingDirections, doc_QFormLayout_expandingDirections);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_count, "QFormLayout.count() -> int");

extern "C" {static PyObject *meth_QFormLayout_count(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFormLayout::count() : sipCpp->count());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_count, doc_QFormLayout_count);

    return NULL;
}


PyDoc_STRVAR(doc_QFormLayout_rowCount, "QFormLayout.rowCount() -> int");

extern "C" {static PyObject *meth_QFormLayout_rowCount(PyObject *, PyObject *);}
static PyObject *meth_QFormLayout_rowCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFormLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFormLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->rowCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFormLayout, sipName_rowCount, doc_QFormLayout_rowCount);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFormLayout(void *, const sipTypeDef *);}
static void *cast_QFormLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFormLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QLayout)->ctd_cast((QLayout *)(QFormLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFormLayout(void *, int);}
static void release_QFormLayout(void *sipCppV,int)
{
    QFormLayout *sipCpp = reinterpret_cast<QFormLayout *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFormLayout(sipSimpleWrapper *);}
static void dealloc_QFormLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFormLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFormLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QFormLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFormLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFormLayout *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQFormLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFormLayout[] = {{186, 255, 1}};


static PyMethodDef methods_QFormLayout[] = {
    {SIP_MLNAME_CAST(sipName_addChildLayout), (PyCFunction)meth_QFormLayout_addChildLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addChildWidget), (PyCFunction)meth_QFormLayout_addChildWidget, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), meth_QFormLayout_addItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_addItem)},
    {SIP_MLNAME_CAST(sipName_addRow), meth_QFormLayout_addRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_addRow)},
    {SIP_MLNAME_CAST(sipName_alignmentRect), (PyCFunction)meth_QFormLayout_alignmentRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFormLayout_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFormLayout_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QFormLayout_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_count)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFormLayout_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFormLayout_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_expandingDirections), meth_QFormLayout_expandingDirections, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_expandingDirections)},
    {SIP_MLNAME_CAST(sipName_fieldGrowthPolicy), meth_QFormLayout_fieldGrowthPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_fieldGrowthPolicy)},
    {SIP_MLNAME_CAST(sipName_formAlignment), meth_QFormLayout_formAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_formAlignment)},
    {SIP_MLNAME_CAST(sipName_getItemPosition), meth_QFormLayout_getItemPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_getItemPosition)},
    {SIP_MLNAME_CAST(sipName_getLayoutPosition), meth_QFormLayout_getLayoutPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_getLayoutPosition)},
    {SIP_MLNAME_CAST(sipName_getWidgetPosition), meth_QFormLayout_getWidgetPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_getWidgetPosition)},
    {SIP_MLNAME_CAST(sipName_hasHeightForWidth), meth_QFormLayout_hasHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_hasHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QFormLayout_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_horizontalSpacing), meth_QFormLayout_horizontalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_horizontalSpacing)},
    {SIP_MLNAME_CAST(sipName_insertRow), meth_QFormLayout_insertRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_insertRow)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QFormLayout_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_invalidate)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFormLayout_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QFormLayout_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_itemAt)},
    {SIP_MLNAME_CAST(sipName_labelAlignment), meth_QFormLayout_labelAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_labelAlignment)},
    {SIP_MLNAME_CAST(sipName_labelForField), meth_QFormLayout_labelForField, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_labelForField)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QFormLayout_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_minimumSize)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFormLayout_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowCount), meth_QFormLayout_rowCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_rowCount)},
    {SIP_MLNAME_CAST(sipName_rowWrapPolicy), meth_QFormLayout_rowWrapPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_rowWrapPolicy)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFormLayout_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFormLayout_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFieldGrowthPolicy), meth_QFormLayout_setFieldGrowthPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setFieldGrowthPolicy)},
    {SIP_MLNAME_CAST(sipName_setFormAlignment), meth_QFormLayout_setFormAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setFormAlignment)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QFormLayout_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setHorizontalSpacing), meth_QFormLayout_setHorizontalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setHorizontalSpacing)},
    {SIP_MLNAME_CAST(sipName_setItem), meth_QFormLayout_setItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setItem)},
    {SIP_MLNAME_CAST(sipName_setLabelAlignment), meth_QFormLayout_setLabelAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setLabelAlignment)},
    {SIP_MLNAME_CAST(sipName_setLayout), meth_QFormLayout_setLayout, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setLayout)},
    {SIP_MLNAME_CAST(sipName_setRowWrapPolicy), meth_QFormLayout_setRowWrapPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setRowWrapPolicy)},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_QFormLayout_setSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setSpacing)},
    {SIP_MLNAME_CAST(sipName_setVerticalSpacing), meth_QFormLayout_setVerticalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setVerticalSpacing)},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_QFormLayout_setWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_setWidget)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QFormLayout_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_sizeHint)},
    {SIP_MLNAME_CAST(sipName_spacing), meth_QFormLayout_spacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_spacing)},
    {SIP_MLNAME_CAST(sipName_takeAt), meth_QFormLayout_takeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_takeAt)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFormLayout_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalSpacing), meth_QFormLayout_verticalSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QFormLayout_verticalSpacing)},
    {SIP_MLNAME_CAST(sipName_widgetEvent), (PyCFunction)meth_QFormLayout_widgetEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QFormLayout[] = {
    {sipName_AllNonFixedFieldsGrow, static_cast<int>(QFormLayout::AllNonFixedFieldsGrow), 95},
    {sipName_DontWrapRows, static_cast<int>(QFormLayout::DontWrapRows), 97},
    {sipName_ExpandingFieldsGrow, static_cast<int>(QFormLayout::ExpandingFieldsGrow), 95},
    {sipName_FieldRole, static_cast<int>(QFormLayout::FieldRole), 96},
    {sipName_FieldsStayAtSizeHint, static_cast<int>(QFormLayout::FieldsStayAtSizeHint), 95},
    {sipName_LabelRole, static_cast<int>(QFormLayout::LabelRole), 96},
    {sipName_SpanningRole, static_cast<int>(QFormLayout::SpanningRole), 96},
    {sipName_WrapAllRows, static_cast<int>(QFormLayout::WrapAllRows), 97},
    {sipName_WrapLongRows, static_cast<int>(QFormLayout::WrapLongRows), 97},
};

PyDoc_STRVAR(doc_QFormLayout, "\1QFormLayout(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFormLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFormLayout,
        {0}
    },
    {
        sipNameNr_QFormLayout,
        {0, 0, 1},
        48, methods_QFormLayout,
        9, enummembers_QFormLayout,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFormLayout,
    -1,
    -1,
    supers_QFormLayout,
    0,
    init_type_QFormLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFormLayout,
    0,
    0,
    0,
    release_QFormLayout,
    cast_QFormLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QFormLayout::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 347900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 347904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QFontDialog_FontDialogOptions___bool__(PyObject *);}
static int slot_QFontDialog_FontDialogOptions___bool__(PyObject *sipSelf)
{
    QFontDialog::FontDialogOptions *sipCpp = reinterpret_cast<QFontDialog::FontDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontDialog_FontDialogOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontDialog::FontDialogOptions::Int() != 0);
#line 347922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QFontDialog::FontDialogOptions *sipCpp = reinterpret_cast<QFontDialog::FontDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontDialog_FontDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFontDialog::FontDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFontDialog_FontDialogOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontDialog::FontDialogOptions::Int() != a0->operator QFontDialog::FontDialogOptions::Int());
#line 347952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QFontDialog::FontDialogOptions *>(a0),sipType_QFontDialog_FontDialogOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QFontDialog_FontDialogOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QFontDialog::FontDialogOptions *sipCpp = reinterpret_cast<QFontDialog::FontDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontDialog_FontDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFontDialog::FontDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFontDialog_FontDialogOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontDialog::FontDialogOptions::Int() == a0->operator QFontDialog::FontDialogOptions::Int());
#line 347988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QFontDialog::FontDialogOptions *>(a0),sipType_QFontDialog_FontDialogOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QFontDialog_FontDialogOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___invert__(PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___invert__(PyObject *sipSelf)
{
    QFontDialog::FontDialogOptions *sipCpp = reinterpret_cast<QFontDialog::FontDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontDialog_FontDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            QFontDialog::FontDialogOptions*sipRes;

            sipRes = new QFontDialog::FontDialogOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QFontDialog_FontDialogOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFontDialog::FontDialogOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFontDialog_FontDialogOptions, &a0, &a0State, &a1))
        {
            QFontDialog::FontDialogOptions*sipRes;

            sipRes = new QFontDialog::FontDialogOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QFontDialog_FontDialogOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFontDialog_FontDialogOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFontDialog::FontDialogOptions* a0;
        int a0State = 0;
        QFontDialog::FontDialogOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFontDialog_FontDialogOptions, &a0, &a0State, sipType_QFontDialog_FontDialogOptions, &a1, &a1State))
        {
            QFontDialog::FontDialogOptions*sipRes;

            sipRes = new QFontDialog::FontDialogOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QFontDialog_FontDialogOptions,a0State);
            sipReleaseType(a1,sipType_QFontDialog_FontDialogOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFontDialog_FontDialogOptions,NULL);
        }
    }

    {
        QFontDialog::FontDialogOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFontDialog_FontDialogOptions, &a0, &a0State, &a1))
        {
            QFontDialog::FontDialogOptions*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QFontDialog::FontDialogOptions(*a0 ^ a1);
#line 348091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QFontDialog_FontDialogOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFontDialog_FontDialogOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFontDialog::FontDialogOptions* a0;
        int a0State = 0;
        QFontDialog::FontDialogOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFontDialog_FontDialogOptions, &a0, &a0State, sipType_QFontDialog_FontDialogOptions, &a1, &a1State))
        {
            QFontDialog::FontDialogOptions*sipRes;

            sipRes = new QFontDialog::FontDialogOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QFontDialog_FontDialogOptions,a0State);
            sipReleaseType(a1,sipType_QFontDialog_FontDialogOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFontDialog_FontDialogOptions,NULL);
        }
    }

    {
        QFontDialog::FontDialogOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFontDialog_FontDialogOptions, &a0, &a0State, &a1))
        {
            QFontDialog::FontDialogOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QFontDialog::FontDialogOptions(*a0 | a1);
#line 348141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QFontDialog_FontDialogOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFontDialog_FontDialogOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___int__(PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___int__(PyObject *sipSelf)
{
    QFontDialog::FontDialogOptions *sipCpp = reinterpret_cast<QFontDialog::FontDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontDialog_FontDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFontDialog_FontDialogOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFontDialog_FontDialogOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFontDialog::FontDialogOptions *sipCpp = reinterpret_cast<QFontDialog::FontDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontDialog_FontDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFontDialog::FontDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFontDialog_FontDialogOptions, &a0, &a0State))
        {
            sipCpp->QFontDialog::FontDialogOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QFontDialog_FontDialogOptions,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_QFontDialog_FontDialogOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFontDialog_FontDialogOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFontDialog::FontDialogOptions *sipCpp = reinterpret_cast<QFontDialog::FontDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontDialog_FontDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFontDialog::FontDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFontDialog_FontDialogOptions, &a0, &a0State))
        {
            sipCpp->QFontDialog::FontDialogOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QFontDialog_FontDialogOptions,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_QFontDialog_FontDialogOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QFontDialog_FontDialogOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFontDialog_FontDialogOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFontDialog::FontDialogOptions *sipCpp = reinterpret_cast<QFontDialog::FontDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontDialog_FontDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QFontDialog::FontDialogOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFontDialog_FontDialogOptions(void *, const sipTypeDef *);}
static void *cast_QFontDialog_FontDialogOptions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFontDialog_FontDialogOptions)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFontDialog_FontDialogOptions(void *, int);}
static void release_QFontDialog_FontDialogOptions(void *sipCppV,int)
{
    delete reinterpret_cast<QFontDialog::FontDialogOptions *>(sipCppV);
}


extern "C" {static void assign_QFontDialog_FontDialogOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QFontDialog_FontDialogOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QFontDialog::FontDialogOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QFontDialog::FontDialogOptions *>(sipSrc);
}


extern "C" {static void *array_QFontDialog_FontDialogOptions(SIP_SSIZE_T);}
static void *array_QFontDialog_FontDialogOptions(SIP_SSIZE_T sipNrElem)
{
    return new QFontDialog::FontDialogOptions[sipNrElem];
}


extern "C" {static void *copy_QFontDialog_FontDialogOptions(const void *, SIP_SSIZE_T);}
static void *copy_QFontDialog_FontDialogOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QFontDialog::FontDialogOptions(reinterpret_cast<const QFontDialog::FontDialogOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFontDialog_FontDialogOptions(sipSimpleWrapper *);}
static void dealloc_QFontDialog_FontDialogOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QFontDialog_FontDialogOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QFontDialog_FontDialogOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFontDialog_FontDialogOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QFontDialog::FontDialogOptions *sipCpp = 0;

    {
        const QFontDialog::FontDialogOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QFontDialog_FontDialogOptions, &a0, &a0State))
        {
            sipCpp = new QFontDialog::FontDialogOptions(*a0);
            sipReleaseType(const_cast<QFontDialog::FontDialogOptions *>(a0),sipType_QFontDialog_FontDialogOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QFontDialog::FontDialogOptions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QFontDialog::FontDialogOptions();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QFontDialog_FontDialogOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QFontDialog_FontDialogOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QFontDialog::FontDialogOptions **sipCppPtr = reinterpret_cast<QFontDialog::FontDialogOptions **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QFontDialog::FontDialogOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFontDialog_FontDialogOption)) ||
            sipCanConvertToType(sipPy, sipType_QFontDialog_FontDialogOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFontDialog_FontDialogOption)))
{
    *sipCppPtr = new QFontDialog::FontDialogOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QFontDialog::FontDialogOptions *>(sipConvertToType(sipPy, sipType_QFontDialog_FontDialogOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 348418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFontDialog_FontDialogOptions[] = {
    {(void *)slot_QFontDialog_FontDialogOptions___bool__, bool_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___ne__, ne_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___eq__, eq_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___invert__, invert_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___and__, and_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___xor__, xor_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___or__, or_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___int__, int_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___ixor__, ixor_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___ior__, ior_slot},
    {(void *)slot_QFontDialog_FontDialogOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFontDialog_FontDialogOptions, "\1QFontDialog.FontDialogOptions(QFontDialog.FontDialogOptions)\n"
    "QFontDialog.FontDialogOptions(int)\n"
    "QFontDialog.FontDialogOptions()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFontDialog_FontDialogOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFontDialog__FontDialogOptions,
        {0}
    },
    {
        sipNameNr_FontDialogOptions,
        {91, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFontDialog_FontDialogOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QFontDialog_FontDialogOptions,
    init_type_QFontDialog_FontDialogOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFontDialog_FontDialogOptions,
    assign_QFontDialog_FontDialogOptions,
    array_QFontDialog_FontDialogOptions,
    copy_QFontDialog_FontDialogOptions,
    release_QFontDialog_FontDialogOptions,
    cast_QFontDialog_FontDialogOptions,
    convertTo_QFontDialog_FontDialogOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 348500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 348504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 348507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontdialog.sip"
#include <qfontdialog.h>
#line 348510 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 348513 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 348516 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 348519 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348522 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348528 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348531 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348534 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 348537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 348540 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 348543 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 348546 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 348549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 348552 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 348555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 348558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 348561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 348564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 348567 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 348570 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 348573 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 348576 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 348579 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 348582 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 348585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 348588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 348591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 348594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 348597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 348600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 348603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348639 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 348642 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 348645 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 348648 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 348651 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 348654 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 348657 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 348660 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 348663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 348666 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 348669 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 348672 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 348675 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 348678 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 348681 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 348684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 348687 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 348690 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 348693 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 348696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 348699 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 348702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 348705 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQFontDialog : public QFontDialog
{
public:
    sipQFontDialog(QWidget*);
    sipQFontDialog(const QFont&,QWidget*);
    virtual ~sipQFontDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_done(bool,int);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void closeEvent(QCloseEvent*);
    void keyPressEvent(QKeyEvent*);
    void reject();
    void accept();
    int exec();
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    void open();
    bool eventFilter(QObject*,QEvent*);
    void done(int);
    void changeEvent(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFontDialog(const sipQFontDialog &);
    sipQFontDialog &operator = (const sipQFontDialog &);

    char sipPyMethods[51];
};

sipQFontDialog::sipQFontDialog(QWidget*a0): QFontDialog(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFontDialog::sipQFontDialog(const QFont& a0,QWidget*a1): QFontDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFontDialog::~sipQFontDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFontDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFontDialog);
}

int sipQFontDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QFontDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QFontDialog,_c,_id,_a);

    return _id;
}

void *sipQFontDialog::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QFontDialog, _clname, &sipCpp) ? sipCpp : QFontDialog::qt_metacast(_clname));
}

void sipQFontDialog::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFontDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFontDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFontDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QFontDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFontDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QFontDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQFontDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QFontDialog::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFontDialog::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QFontDialog::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFontDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QFontDialog::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFontDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QFontDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQFontDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QFontDialog::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QFontDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFontDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QFontDialog::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QFontDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QFontDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QFontDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QFontDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QFontDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QFontDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QFontDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QFontDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QFontDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QFontDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QFontDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QFontDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QFontDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QFontDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QFontDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QFontDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QFontDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QFontDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QFontDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFontDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFontDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQFontDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QFontDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFontDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QFontDialog::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFontDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QFontDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFontDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QFontDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QFontDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QFontDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QFontDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QFontDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QFontDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFontDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QFontDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFontDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return QFontDialog::exec();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQFontDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QFontDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQFontDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QFontDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFontDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QFontDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        QFontDialog::open();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFontDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFontDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQFontDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QFontDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QFontDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQFontDialog::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQFontDialog::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQFontDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFontDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQFontDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQFontDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFontDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFontDialog::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQFontDialog::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQFontDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQFontDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQFontDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQFontDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQFontDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQFontDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQFontDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQFontDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQFontDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQFontDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQFontDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQFontDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQFontDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQFontDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQFontDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQFontDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQFontDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQFontDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQFontDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQFontDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQFontDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQFontDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQFontDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQFontDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQFontDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQFontDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQFontDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQFontDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQFontDialog::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQFontDialog::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQFontDialog::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQFontDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQFontDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QDialog::closeEvent(a0) : closeEvent(a0));
}

void sipQFontDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipQFontDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipQFontDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQFontDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFontDialog::changeEvent(a0) : changeEvent(a0));
}

void sipQFontDialog::sipProtectVirt_done(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QFontDialog::done(a0) : done(a0));
}

bool sipQFontDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QFontDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}


PyDoc_STRVAR(doc_QFontDialog_sender, "QFontDialog.sender() -> QObject");

extern "C" {static PyObject *meth_QFontDialog_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 350033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_sender, doc_QFontDialog_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_receivers, "QFontDialog.receivers(signal) -> int");

extern "C" {static PyObject *meth_QFontDialog_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFontDialog, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 350092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_receivers, doc_QFontDialog_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_timerEvent, "QFontDialog.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QFontDialog_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_timerEvent, doc_QFontDialog_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_childEvent, "QFontDialog.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QFontDialog_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_childEvent, doc_QFontDialog_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_customEvent, "QFontDialog.customEvent(QEvent)");

extern "C" {static PyObject *meth_QFontDialog_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_customEvent, doc_QFontDialog_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_connectNotify, "QFontDialog.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFontDialog_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_connectNotify, doc_QFontDialog_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_disconnectNotify, "QFontDialog.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFontDialog_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_disconnectNotify, doc_QFontDialog_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_senderSignalIndex, "QFontDialog.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QFontDialog_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_senderSignalIndex, doc_QFontDialog_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_isSignalConnected, "QFontDialog.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFontDialog_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_isSignalConnected, doc_QFontDialog_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_event, "QFontDialog.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QFontDialog_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_event, doc_QFontDialog_event);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_mousePressEvent, "QFontDialog.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFontDialog_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_mousePressEvent, doc_QFontDialog_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_mouseReleaseEvent, "QFontDialog.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFontDialog_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_mouseReleaseEvent, doc_QFontDialog_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_mouseDoubleClickEvent, "QFontDialog.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFontDialog_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_mouseDoubleClickEvent, doc_QFontDialog_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_mouseMoveEvent, "QFontDialog.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFontDialog_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_mouseMoveEvent, doc_QFontDialog_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_wheelEvent, "QFontDialog.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QFontDialog_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_wheelEvent, doc_QFontDialog_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_keyReleaseEvent, "QFontDialog.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFontDialog_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_keyReleaseEvent, doc_QFontDialog_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_focusInEvent, "QFontDialog.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFontDialog_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_focusInEvent, doc_QFontDialog_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_focusOutEvent, "QFontDialog.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFontDialog_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_focusOutEvent, doc_QFontDialog_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_enterEvent, "QFontDialog.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QFontDialog_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_enterEvent, doc_QFontDialog_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_leaveEvent, "QFontDialog.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QFontDialog_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_leaveEvent, doc_QFontDialog_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_paintEvent, "QFontDialog.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QFontDialog_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_paintEvent, doc_QFontDialog_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_moveEvent, "QFontDialog.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QFontDialog_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_moveEvent, doc_QFontDialog_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_tabletEvent, "QFontDialog.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QFontDialog_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_tabletEvent, doc_QFontDialog_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_actionEvent, "QFontDialog.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QFontDialog_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_actionEvent, doc_QFontDialog_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_dragEnterEvent, "QFontDialog.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QFontDialog_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_dragEnterEvent, doc_QFontDialog_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_dragMoveEvent, "QFontDialog.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QFontDialog_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_dragMoveEvent, doc_QFontDialog_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_dragLeaveEvent, "QFontDialog.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QFontDialog_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_dragLeaveEvent, doc_QFontDialog_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_dropEvent, "QFontDialog.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QFontDialog_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_dropEvent, doc_QFontDialog_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_hideEvent, "QFontDialog.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QFontDialog_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_hideEvent, doc_QFontDialog_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_metric, "QFontDialog.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QFontDialog_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_metric, doc_QFontDialog_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_inputMethodEvent, "QFontDialog.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QFontDialog_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_inputMethodEvent, doc_QFontDialog_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_updateMicroFocus, "QFontDialog.updateMicroFocus()");

extern "C" {static PyObject *meth_QFontDialog_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_updateMicroFocus, doc_QFontDialog_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_create, "QFontDialog.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QFontDialog_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQFontDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_create, doc_QFontDialog_create);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_destroy, "QFontDialog.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QFontDialog_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQFontDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QFontDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_destroy, doc_QFontDialog_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_focusNextPrevChild, "QFontDialog.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QFontDialog_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QFontDialog, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_focusNextPrevChild, doc_QFontDialog_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_focusNextChild, "QFontDialog.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QFontDialog_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_focusNextChild, doc_QFontDialog_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_focusPreviousChild, "QFontDialog.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QFontDialog_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_focusPreviousChild, doc_QFontDialog_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_nativeEvent, "QFontDialog.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QFontDialog_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_nativeEvent, doc_QFontDialog_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_sharedPainter, "QFontDialog.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QFontDialog_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_sharedPainter, doc_QFontDialog_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_initPainter, "QFontDialog.initPainter(QPainter)");

extern "C" {static PyObject *meth_QFontDialog_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_initPainter, doc_QFontDialog_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_keyPressEvent, "QFontDialog.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFontDialog_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_keyPressEvent, doc_QFontDialog_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_closeEvent, "QFontDialog.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QFontDialog_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_closeEvent, doc_QFontDialog_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_showEvent, "QFontDialog.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QFontDialog_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_showEvent, doc_QFontDialog_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_resizeEvent, "QFontDialog.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QFontDialog_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_resizeEvent, doc_QFontDialog_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_contextMenuEvent, "QFontDialog.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QFontDialog_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_contextMenuEvent, doc_QFontDialog_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_getFont, "QFontDialog.getFont(QFont, QWidget parent=None, str caption=QString(), QFontDialog.FontDialogOptions options=0) -> (QFont, bool)\n"
    "QFontDialog.getFont(QWidget parent=None) -> (QFont, bool)");

extern "C" {static PyObject *meth_QFontDialog_getFont(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_getFont(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        const QFont* a1;
        QWidget* a2 = 0;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        QFontDialog::FontDialogOptions a4def = 0;
        QFontDialog::FontDialogOptions* a4 = &a4def;
        int a4State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
            sipName_caption,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9|J8J1J1", sipType_QFont, &a1, sipType_QWidget, &a2, sipType_QString,&a3, &a3State, sipType_QFontDialog_FontDialogOptions, &a4, &a4State))
        {
            QFont*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(QFontDialog::getFont(&a0,*a1,a2,*a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(a4,sipType_QFontDialog_FontDialogOptions,a4State);

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QFont,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a0);
        }
    }

    {
        bool a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8", sipType_QWidget, &a1))
        {
            QFont*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QFont(QFontDialog::getFont(&a0,a1));
            Py_END_ALLOW_THREADS

            PyObject *sipResObj = sipConvertFromNewType(sipRes,sipType_QFont,NULL);
            return sipBuildResult(0,"(Rb)",sipResObj,a0);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_getFont, doc_QFontDialog_getFont);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_changeEvent, "QFontDialog.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QFontDialog_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_changeEvent, doc_QFontDialog_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_done, "QFontDialog.done(int)");

extern "C" {static PyObject *meth_QFontDialog_done(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_done(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QFontDialog, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_done(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_done, doc_QFontDialog_done);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_eventFilter, "QFontDialog.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QFontDialog_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQFontDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_eventFilter, doc_QFontDialog_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_setCurrentFont, "QFontDialog.setCurrentFont(QFont)");

extern "C" {static PyObject *meth_QFontDialog_setCurrentFont(PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_setCurrentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setCurrentFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_setCurrentFont, doc_QFontDialog_setCurrentFont);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_currentFont, "QFontDialog.currentFont() -> QFont");

extern "C" {static PyObject *meth_QFontDialog_currentFont(PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_currentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->currentFont());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_currentFont, doc_QFontDialog_currentFont);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_selectedFont, "QFontDialog.selectedFont() -> QFont");

extern "C" {static PyObject *meth_QFontDialog_selectedFont(PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_selectedFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->selectedFont());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_selectedFont, doc_QFontDialog_selectedFont);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_setOption, "QFontDialog.setOption(QFontDialog.FontDialogOption, bool on=True)");

extern "C" {static PyObject *meth_QFontDialog_setOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_setOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QFontDialog::FontDialogOption a0;
        bool a1 = 1;
        QFontDialog *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QFontDialog_FontDialogOption, &a0, &a1))
        {
            sipCpp->setOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_setOption, doc_QFontDialog_setOption);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_testOption, "QFontDialog.testOption(QFontDialog.FontDialogOption) -> bool");

extern "C" {static PyObject *meth_QFontDialog_testOption(PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_testOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFontDialog::FontDialogOption a0;
        const QFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QFontDialog_FontDialogOption, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testOption(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_testOption, doc_QFontDialog_testOption);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_setOptions, "QFontDialog.setOptions(QFontDialog.FontDialogOptions)");

extern "C" {static PyObject *meth_QFontDialog_setOptions(PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFontDialog::FontDialogOptions* a0;
        int a0State = 0;
        QFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFontDialog, &sipCpp, sipType_QFontDialog_FontDialogOptions, &a0, &a0State))
        {
            sipCpp->setOptions(*a0);
            sipReleaseType(a0,sipType_QFontDialog_FontDialogOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_setOptions, doc_QFontDialog_setOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_options, "QFontDialog.options() -> QFontDialog.FontDialogOptions");

extern "C" {static PyObject *meth_QFontDialog_options(PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            QFontDialog::FontDialogOptions*sipRes;

            sipRes = new QFontDialog::FontDialogOptions(sipCpp->options());

            return sipConvertFromNewType(sipRes,sipType_QFontDialog_FontDialogOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_options, doc_QFontDialog_options);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_open, "QFontDialog.open()\n"
    "QFontDialog.open(slot)");

extern "C" {static PyObject *meth_QFontDialog_open(PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFontDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QFontDialog::open() : sipCpp->open());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
        QFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0", &sipSelf, sipType_QFontDialog, &sipCpp, &a0))
        {
            sipErrorState sipError = sipErrorNone;

#line 78 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontdialog.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipCpp->open(receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 351729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.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_QFontDialog, sipName_open, doc_QFontDialog_open);

    return NULL;
}


PyDoc_STRVAR(doc_QFontDialog_setVisible, "QFontDialog.setVisible(bool)");

extern "C" {static PyObject *meth_QFontDialog_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QFontDialog_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QFontDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QFontDialog, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QFontDialog::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontDialog, sipName_setVisible, doc_QFontDialog_setVisible);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFontDialog(void *, const sipTypeDef *);}
static void *cast_QFontDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFontDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDialog)->ctd_cast((QDialog *)(QFontDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFontDialog(void *, int);}
static void release_QFontDialog(void *sipCppV,int)
{
    QFontDialog *sipCpp = reinterpret_cast<QFontDialog *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFontDialog(sipSimpleWrapper *);}
static void dealloc_QFontDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFontDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFontDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QFontDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFontDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFontDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQFontDialog(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QFont* a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9|JH", sipType_QFont, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQFontDialog(*a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFontDialog[] = {{60, 255, 1}};


static PyMethodDef methods_QFontDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QFontDialog_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QFontDialog_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFontDialog_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFontDialog_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QFontDialog_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFontDialog_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QFontDialog_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QFontDialog_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFont), meth_QFontDialog_currentFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontDialog_currentFont)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFontDialog_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QFontDialog_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFontDialog_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_done), (PyCFunction)meth_QFontDialog_done, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFontDialog_done)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QFontDialog_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QFontDialog_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QFontDialog_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QFontDialog_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QFontDialog_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QFontDialog_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QFontDialog_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFontDialog_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QFontDialog_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QFontDialog_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QFontDialog_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QFontDialog_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QFontDialog_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_getFont), (PyCFunction)meth_QFontDialog_getFont, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFontDialog_getFont)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QFontDialog_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QFontDialog_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QFontDialog_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFontDialog_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QFontDialog_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QFontDialog_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QFontDialog_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QFontDialog_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QFontDialog_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QFontDialog_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QFontDialog_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QFontDialog_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QFontDialog_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QFontDialog_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_QFontDialog_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontDialog_open)},
    {SIP_MLNAME_CAST(sipName_options), meth_QFontDialog_options, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontDialog_options)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QFontDialog_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFontDialog_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QFontDialog_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedFont), meth_QFontDialog_selectedFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontDialog_selectedFont)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFontDialog_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFontDialog_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentFont), meth_QFontDialog_setCurrentFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontDialog_setCurrentFont)},
    {SIP_MLNAME_CAST(sipName_setOption), (PyCFunction)meth_QFontDialog_setOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFontDialog_setOption)},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_QFontDialog_setOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontDialog_setOptions)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QFontDialog_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontDialog_setVisible)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QFontDialog_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QFontDialog_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QFontDialog_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_testOption), meth_QFontDialog_testOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontDialog_testOption)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFontDialog_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QFontDialog_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QFontDialog_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QFontDialog[] = {
    {sipName_DontUseNativeDialog, static_cast<int>(QFontDialog::DontUseNativeDialog), 92},
    {sipName_MonospacedFonts, static_cast<int>(QFontDialog::MonospacedFonts), 92},
    {sipName_NoButtons, static_cast<int>(QFontDialog::NoButtons), 92},
    {sipName_NonScalableFonts, static_cast<int>(QFontDialog::NonScalableFonts), 92},
    {sipName_ProportionalFonts, static_cast<int>(QFontDialog::ProportionalFonts), 92},
    {sipName_ScalableFonts, static_cast<int>(QFontDialog::ScalableFonts), 92},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFontDialog[] = {
    {"fontSelected(QFont)", "\1QFontDialog.fontSelected[QFont]", 0, 0},
    {"currentFontChanged(QFont)", "\1QFontDialog.currentFontChanged[QFont]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QFontDialog, "\1QFontDialog(QWidget parent=None)\n"
    "QFontDialog(QFont, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFontDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFontDialog,
        {0}
    },
    {
        sipNameNr_QFontDialog,
        {0, 0, 1},
        58, methods_QFontDialog,
        6, enummembers_QFontDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFontDialog,
    -1,
    -1,
    supers_QFontDialog,
    0,
    init_type_QFontDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFontDialog,
    0,
    0,
    0,
    release_QFontDialog,
    cast_QFontDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QFontDialog::staticMetaObject,
    0,
    signals_QFontDialog,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 352009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 352013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QFontComboBox_FontFilters___bool__(PyObject *);}
static int slot_QFontComboBox_FontFilters___bool__(PyObject *sipSelf)
{
    QFontComboBox::FontFilters *sipCpp = reinterpret_cast<QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontComboBox::FontFilters::Int() != 0);
#line 352031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___ne__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QFontComboBox::FontFilters *sipCpp = reinterpret_cast<QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFontComboBox::FontFilters* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFontComboBox_FontFilters, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontComboBox::FontFilters::Int() != a0->operator QFontComboBox::FontFilters::Int());
#line 352061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QFontComboBox::FontFilters *>(a0),sipType_QFontComboBox_FontFilters,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QFontComboBox_FontFilters,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___eq__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QFontComboBox::FontFilters *sipCpp = reinterpret_cast<QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFontComboBox::FontFilters* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFontComboBox_FontFilters, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFontComboBox::FontFilters::Int() == a0->operator QFontComboBox::FontFilters::Int());
#line 352097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QFontComboBox::FontFilters *>(a0),sipType_QFontComboBox_FontFilters,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QFontComboBox_FontFilters,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___invert__(PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___invert__(PyObject *sipSelf)
{
    QFontComboBox::FontFilters *sipCpp = reinterpret_cast<QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));

    if (!sipCpp)
        return 0;


    {
        {
            QFontComboBox::FontFilters*sipRes;

            sipRes = new QFontComboBox::FontFilters(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QFontComboBox_FontFilters,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___and__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFontComboBox_FontFilters, &a0, &a0State, &a1))
        {
            QFontComboBox::FontFilters*sipRes;

            sipRes = new QFontComboBox::FontFilters((*a0 & a1));
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFontComboBox_FontFilters,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;
        QFontComboBox::FontFilters* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFontComboBox_FontFilters, &a0, &a0State, sipType_QFontComboBox_FontFilters, &a1, &a1State))
        {
            QFontComboBox::FontFilters*sipRes;

            sipRes = new QFontComboBox::FontFilters((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,a0State);
            sipReleaseType(a1,sipType_QFontComboBox_FontFilters,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFontComboBox_FontFilters,NULL);
        }
    }

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFontComboBox_FontFilters, &a0, &a0State, &a1))
        {
            QFontComboBox::FontFilters*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QFontComboBox::FontFilters(*a0 ^ a1);
#line 352200 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFontComboBox_FontFilters,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___or__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;
        QFontComboBox::FontFilters* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFontComboBox_FontFilters, &a0, &a0State, sipType_QFontComboBox_FontFilters, &a1, &a1State))
        {
            QFontComboBox::FontFilters*sipRes;

            sipRes = new QFontComboBox::FontFilters((*a0 | *a1));
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,a0State);
            sipReleaseType(a1,sipType_QFontComboBox_FontFilters,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFontComboBox_FontFilters,NULL);
        }
    }

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFontComboBox_FontFilters, &a0, &a0State, &a1))
        {
            QFontComboBox::FontFilters*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QFontComboBox::FontFilters(*a0 | a1);
#line 352250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFontComboBox_FontFilters,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___int__(PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___int__(PyObject *sipSelf)
{
    QFontComboBox::FontFilters *sipCpp = reinterpret_cast<QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFontComboBox_FontFilters___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFontComboBox_FontFilters)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFontComboBox::FontFilters *sipCpp = reinterpret_cast<QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFontComboBox_FontFilters, &a0, &a0State))
        {
            sipCpp->QFontComboBox::FontFilters::operator^=(*a0);
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,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_QFontComboBox_FontFilters___ior__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFontComboBox_FontFilters)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFontComboBox::FontFilters *sipCpp = reinterpret_cast<QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFontComboBox_FontFilters, &a0, &a0State))
        {
            sipCpp->QFontComboBox::FontFilters::operator|=(*a0);
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,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_QFontComboBox_FontFilters___iand__(PyObject *,PyObject *);}
static PyObject *slot_QFontComboBox_FontFilters___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFontComboBox_FontFilters)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFontComboBox::FontFilters *sipCpp = reinterpret_cast<QFontComboBox::FontFilters *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFontComboBox_FontFilters));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QFontComboBox::FontFilters::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFontComboBox_FontFilters(void *, const sipTypeDef *);}
static void *cast_QFontComboBox_FontFilters(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFontComboBox_FontFilters)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFontComboBox_FontFilters(void *, int);}
static void release_QFontComboBox_FontFilters(void *sipCppV,int)
{
    delete reinterpret_cast<QFontComboBox::FontFilters *>(sipCppV);
}


extern "C" {static void assign_QFontComboBox_FontFilters(void *, SIP_SSIZE_T, const void *);}
static void assign_QFontComboBox_FontFilters(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QFontComboBox::FontFilters *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QFontComboBox::FontFilters *>(sipSrc);
}


extern "C" {static void *array_QFontComboBox_FontFilters(SIP_SSIZE_T);}
static void *array_QFontComboBox_FontFilters(SIP_SSIZE_T sipNrElem)
{
    return new QFontComboBox::FontFilters[sipNrElem];
}


extern "C" {static void *copy_QFontComboBox_FontFilters(const void *, SIP_SSIZE_T);}
static void *copy_QFontComboBox_FontFilters(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QFontComboBox::FontFilters(reinterpret_cast<const QFontComboBox::FontFilters *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFontComboBox_FontFilters(sipSimpleWrapper *);}
static void dealloc_QFontComboBox_FontFilters(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QFontComboBox_FontFilters(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QFontComboBox_FontFilters(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFontComboBox_FontFilters(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QFontComboBox::FontFilters *sipCpp = 0;

    {
        const QFontComboBox::FontFilters* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QFontComboBox_FontFilters, &a0, &a0State))
        {
            sipCpp = new QFontComboBox::FontFilters(*a0);
            sipReleaseType(const_cast<QFontComboBox::FontFilters *>(a0),sipType_QFontComboBox_FontFilters,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QFontComboBox::FontFilters(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QFontComboBox::FontFilters();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QFontComboBox_FontFilters(PyObject *, void **, int *, PyObject *);}
static int convertTo_QFontComboBox_FontFilters(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QFontComboBox::FontFilters **sipCppPtr = reinterpret_cast<QFontComboBox::FontFilters **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QFontComboBox::FontFilters is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFontComboBox_FontFilter)) ||
            sipCanConvertToType(sipPy, sipType_QFontComboBox_FontFilters, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFontComboBox_FontFilter)))
{
    *sipCppPtr = new QFontComboBox::FontFilters(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QFontComboBox::FontFilters *>(sipConvertToType(sipPy, sipType_QFontComboBox_FontFilters, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 352527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFontComboBox_FontFilters[] = {
    {(void *)slot_QFontComboBox_FontFilters___bool__, bool_slot},
    {(void *)slot_QFontComboBox_FontFilters___ne__, ne_slot},
    {(void *)slot_QFontComboBox_FontFilters___eq__, eq_slot},
    {(void *)slot_QFontComboBox_FontFilters___invert__, invert_slot},
    {(void *)slot_QFontComboBox_FontFilters___and__, and_slot},
    {(void *)slot_QFontComboBox_FontFilters___xor__, xor_slot},
    {(void *)slot_QFontComboBox_FontFilters___or__, or_slot},
    {(void *)slot_QFontComboBox_FontFilters___int__, int_slot},
    {(void *)slot_QFontComboBox_FontFilters___ixor__, ixor_slot},
    {(void *)slot_QFontComboBox_FontFilters___ior__, ior_slot},
    {(void *)slot_QFontComboBox_FontFilters___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFontComboBox_FontFilters, "\1QFontComboBox.FontFilters(QFontComboBox.FontFilters)\n"
    "QFontComboBox.FontFilters(int)\n"
    "QFontComboBox.FontFilters()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFontComboBox_FontFilters = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFontComboBox__FontFilters,
        {0}
    },
    {
        sipNameNr_FontFilters,
        {88, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFontComboBox_FontFilters,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QFontComboBox_FontFilters,
    init_type_QFontComboBox_FontFilters,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFontComboBox_FontFilters,
    assign_QFontComboBox_FontFilters,
    array_QFontComboBox_FontFilters,
    copy_QFontComboBox_FontFilters,
    release_QFontComboBox_FontFilters,
    cast_QFontComboBox_FontFilters,
    convertTo_QFontComboBox_FontFilters,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 352609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 352613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 352616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 352619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 352622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfontcombobox.sip"
#include <qfontcombobox.h>
#line 352625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontdatabase.sip"
#include <qfontdatabase.h>
#line 352628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 352631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 352634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 352667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 352670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcompleter.sip"
#include <qcompleter.h>
#line 352673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 352676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 352679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 352682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 352685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 352688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 352691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 352694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 352697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcombobox.sip"
#include <qcombobox.h>
#line 352700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 352703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 352706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 352709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 352712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 352715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 352718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 352721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 352724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 352727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 352730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 352733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 352736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 352739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 352742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 352745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 352748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 352751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 352754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 352757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 352760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 352784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 352787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 352790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 352793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 352796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 352799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 352802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 352805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 352808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 352811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 352814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 352817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 352820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 352823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 352826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 352829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 352832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 352835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 352838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 352841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 352844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 352847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 352850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQFontComboBox : public QFontComboBox
{
public:
    sipQFontComboBox(QWidget*);
    virtual ~sipQFontComboBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionComboBox*) const;
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    void changeEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void hidePopup();
    void showPopup();
    QSize minimumSizeHint() const;
    bool event(QEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFontComboBox(const sipQFontComboBox &);
    sipQFontComboBox &operator = (const sipQFontComboBox &);

    char sipPyMethods[48];
};

sipQFontComboBox::sipQFontComboBox(QWidget*a0): QFontComboBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFontComboBox::~sipQFontComboBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFontComboBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFontComboBox);
}

int sipQFontComboBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QFontComboBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QFontComboBox,_c,_id,_a);

    return _id;
}

void *sipQFontComboBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QFontComboBox, _clname, &sipCpp) ? sipCpp : QFontComboBox::qt_metacast(_clname));
}

void sipQFontComboBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFontComboBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFontComboBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFontComboBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QFontComboBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFontComboBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFontComboBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFontComboBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQFontComboBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QFontComboBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQFontComboBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QFontComboBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFontComboBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QFontComboBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFontComboBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QFontComboBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFontComboBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QFontComboBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFontComboBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QFontComboBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QFontComboBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QFontComboBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QFontComboBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QFontComboBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QFontComboBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QFontComboBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QFontComboBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QFontComboBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QFontComboBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QFontComboBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QFontComboBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QFontComboBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQFontComboBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QFontComboBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFontComboBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QFontComboBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QFontComboBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFontComboBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QFontComboBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQFontComboBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QFontComboBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QFontComboBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QFontComboBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QFontComboBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QFontComboBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QFontComboBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QFontComboBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QFontComboBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QFontComboBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QFontComboBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QFontComboBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QFontComboBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QFontComboBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QFontComboBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QFontComboBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFontComboBox::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_hidePopup);

    if (!sipMeth)
    {
        QFontComboBox::hidePopup();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFontComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
        QFontComboBox::showPopup();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQFontComboBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QFontComboBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFontComboBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFontComboBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQFontComboBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QFontComboBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQFontComboBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQFontComboBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQFontComboBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFontComboBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFontComboBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQFontComboBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQFontComboBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQFontComboBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQFontComboBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQFontComboBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQFontComboBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQFontComboBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQFontComboBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQFontComboBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQFontComboBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQFontComboBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQFontComboBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQFontComboBox::sipProtect_initStyleOption(QStyleOptionComboBox*a0) const
{
    QComboBox::initStyleOption(a0);
}

void sipQFontComboBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QComboBox::focusInEvent(a0) : focusInEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QComboBox::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QComboBox::changeEvent(a0) : changeEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QComboBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QComboBox::paintEvent(a0) : paintEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QComboBox::showEvent(a0) : showEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QComboBox::hideEvent(a0) : hideEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QComboBox::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QComboBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QComboBox::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QComboBox::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QComboBox::wheelEvent(a0) : wheelEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QComboBox::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQFontComboBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QComboBox::inputMethodEvent(a0) : inputMethodEvent(a0));
}

bool sipQFontComboBox::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QFontComboBox::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QFontComboBox_sender, "QFontComboBox.sender() -> QObject");

extern "C" {static PyObject *meth_QFontComboBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 354112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_sender, doc_QFontComboBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_receivers, "QFontComboBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QFontComboBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFontComboBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 354171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_receivers, doc_QFontComboBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_timerEvent, "QFontComboBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QFontComboBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_timerEvent, doc_QFontComboBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_childEvent, "QFontComboBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QFontComboBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_childEvent, doc_QFontComboBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_customEvent, "QFontComboBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QFontComboBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_customEvent, doc_QFontComboBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_connectNotify, "QFontComboBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFontComboBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_connectNotify, doc_QFontComboBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_disconnectNotify, "QFontComboBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFontComboBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_disconnectNotify, doc_QFontComboBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_senderSignalIndex, "QFontComboBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QFontComboBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_senderSignalIndex, doc_QFontComboBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_isSignalConnected, "QFontComboBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFontComboBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_isSignalConnected, doc_QFontComboBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_mouseDoubleClickEvent, "QFontComboBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFontComboBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_mouseDoubleClickEvent, doc_QFontComboBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_mouseMoveEvent, "QFontComboBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFontComboBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_mouseMoveEvent, doc_QFontComboBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_enterEvent, "QFontComboBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QFontComboBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_enterEvent, doc_QFontComboBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_leaveEvent, "QFontComboBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QFontComboBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_leaveEvent, doc_QFontComboBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_moveEvent, "QFontComboBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QFontComboBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_moveEvent, doc_QFontComboBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_closeEvent, "QFontComboBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QFontComboBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_closeEvent, doc_QFontComboBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_tabletEvent, "QFontComboBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QFontComboBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_tabletEvent, doc_QFontComboBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_actionEvent, "QFontComboBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QFontComboBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_actionEvent, doc_QFontComboBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_dragEnterEvent, "QFontComboBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QFontComboBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_dragEnterEvent, doc_QFontComboBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_dragMoveEvent, "QFontComboBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QFontComboBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_dragMoveEvent, doc_QFontComboBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_dragLeaveEvent, "QFontComboBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QFontComboBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_dragLeaveEvent, doc_QFontComboBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_dropEvent, "QFontComboBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QFontComboBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_dropEvent, doc_QFontComboBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_metric, "QFontComboBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QFontComboBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_metric, doc_QFontComboBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_updateMicroFocus, "QFontComboBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QFontComboBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_updateMicroFocus, doc_QFontComboBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_create, "QFontComboBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QFontComboBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQFontComboBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_create, doc_QFontComboBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_destroy, "QFontComboBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QFontComboBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQFontComboBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QFontComboBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_destroy, doc_QFontComboBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_focusNextPrevChild, "QFontComboBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QFontComboBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QFontComboBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_focusNextPrevChild, doc_QFontComboBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_focusNextChild, "QFontComboBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QFontComboBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_focusNextChild, doc_QFontComboBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_focusPreviousChild, "QFontComboBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QFontComboBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_focusPreviousChild, doc_QFontComboBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_nativeEvent, "QFontComboBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QFontComboBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_nativeEvent, doc_QFontComboBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_sharedPainter, "QFontComboBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QFontComboBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_sharedPainter, doc_QFontComboBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_initPainter, "QFontComboBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QFontComboBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_initPainter, doc_QFontComboBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_initStyleOption, "QFontComboBox.initStyleOption(QStyleOptionComboBox)");

extern "C" {static PyObject *meth_QFontComboBox_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionComboBox* a0;
        const sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QStyleOptionComboBox, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_initStyleOption, doc_QFontComboBox_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_focusInEvent, "QFontComboBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFontComboBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_focusInEvent, doc_QFontComboBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_focusOutEvent, "QFontComboBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFontComboBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_focusOutEvent, doc_QFontComboBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_changeEvent, "QFontComboBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QFontComboBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_changeEvent, doc_QFontComboBox_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_resizeEvent, "QFontComboBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QFontComboBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_resizeEvent, doc_QFontComboBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_paintEvent, "QFontComboBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QFontComboBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_paintEvent, doc_QFontComboBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_showEvent, "QFontComboBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QFontComboBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_showEvent, doc_QFontComboBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_hideEvent, "QFontComboBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QFontComboBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_hideEvent, doc_QFontComboBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_mousePressEvent, "QFontComboBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFontComboBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_mousePressEvent, doc_QFontComboBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_mouseReleaseEvent, "QFontComboBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFontComboBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_mouseReleaseEvent, doc_QFontComboBox_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_keyPressEvent, "QFontComboBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFontComboBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_keyPressEvent, doc_QFontComboBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_keyReleaseEvent, "QFontComboBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFontComboBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_keyReleaseEvent, doc_QFontComboBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_wheelEvent, "QFontComboBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QFontComboBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_wheelEvent, doc_QFontComboBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_contextMenuEvent, "QFontComboBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QFontComboBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_contextMenuEvent, doc_QFontComboBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_inputMethodEvent, "QFontComboBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QFontComboBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_inputMethodEvent, doc_QFontComboBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_fontFilters, "QFontComboBox.fontFilters() -> QFontComboBox.FontFilters");

extern "C" {static PyObject *meth_QFontComboBox_fontFilters(PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_fontFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            QFontComboBox::FontFilters*sipRes;

            sipRes = new QFontComboBox::FontFilters(sipCpp->fontFilters());

            return sipConvertFromNewType(sipRes,sipType_QFontComboBox_FontFilters,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_fontFilters, doc_QFontComboBox_fontFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_setWritingSystem, "QFontComboBox.setWritingSystem(QFontDatabase.WritingSystem)");

extern "C" {static PyObject *meth_QFontComboBox_setWritingSystem(PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_setWritingSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFontDatabase::WritingSystem a0;
        QFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QFontDatabase_WritingSystem, &a0))
        {
            sipCpp->setWritingSystem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_setWritingSystem, doc_QFontComboBox_setWritingSystem);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_writingSystem, "QFontComboBox.writingSystem() -> QFontDatabase.WritingSystem");

extern "C" {static PyObject *meth_QFontComboBox_writingSystem(PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_writingSystem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            QFontDatabase::WritingSystem sipRes;

            sipRes = sipCpp->writingSystem();

            return sipConvertFromEnum(sipRes,sipType_QFontDatabase_WritingSystem);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_writingSystem, doc_QFontComboBox_writingSystem);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_setFontFilters, "QFontComboBox.setFontFilters(QFontComboBox.FontFilters)");

extern "C" {static PyObject *meth_QFontComboBox_setFontFilters(PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_setFontFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFontComboBox::FontFilters* a0;
        int a0State = 0;
        QFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QFontComboBox_FontFilters, &a0, &a0State))
        {
            sipCpp->setFontFilters(*a0);
            sipReleaseType(a0,sipType_QFontComboBox_FontFilters,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_setFontFilters, doc_QFontComboBox_setFontFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_currentFont, "QFontComboBox.currentFont() -> QFont");

extern "C" {static PyObject *meth_QFontComboBox_currentFont(PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_currentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->currentFont());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_currentFont, doc_QFontComboBox_currentFont);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_sizeHint, "QFontComboBox.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QFontComboBox_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFontComboBox, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QFontComboBox::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_sizeHint, doc_QFontComboBox_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_setCurrentFont, "QFontComboBox.setCurrentFont(QFont)");

extern "C" {static PyObject *meth_QFontComboBox_setCurrentFont(PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_setCurrentFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QFontComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setCurrentFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_setCurrentFont, doc_QFontComboBox_setCurrentFont);

    return NULL;
}


PyDoc_STRVAR(doc_QFontComboBox_event, "QFontComboBox.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QFontComboBox_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFontComboBox_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFontComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFontComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFontComboBox, sipName_event, doc_QFontComboBox_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFontComboBox(void *, const sipTypeDef *);}
static void *cast_QFontComboBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFontComboBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QComboBox)->ctd_cast((QComboBox *)(QFontComboBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFontComboBox(void *, int);}
static void release_QFontComboBox(void *sipCppV,int)
{
    QFontComboBox *sipCpp = reinterpret_cast<QFontComboBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFontComboBox(sipSimpleWrapper *);}
static void dealloc_QFontComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFontComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFontComboBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QFontComboBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFontComboBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFontComboBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQFontComboBox(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFontComboBox[] = {{44, 255, 1}};


static PyMethodDef methods_QFontComboBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QFontComboBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QFontComboBox_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFontComboBox_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QFontComboBox_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFontComboBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QFontComboBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QFontComboBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentFont), meth_QFontComboBox_currentFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontComboBox_currentFont)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFontComboBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QFontComboBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFontComboBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QFontComboBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QFontComboBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QFontComboBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QFontComboBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QFontComboBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QFontComboBox_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFontComboBox_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QFontComboBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QFontComboBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QFontComboBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QFontComboBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QFontComboBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fontFilters), meth_QFontComboBox_fontFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontComboBox_fontFilters)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QFontComboBox_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QFontComboBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QFontComboBox_initStyleOption, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QFontComboBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFontComboBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QFontComboBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QFontComboBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QFontComboBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QFontComboBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QFontComboBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QFontComboBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QFontComboBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QFontComboBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QFontComboBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QFontComboBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QFontComboBox_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFontComboBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QFontComboBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFontComboBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFontComboBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentFont), meth_QFontComboBox_setCurrentFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontComboBox_setCurrentFont)},
    {SIP_MLNAME_CAST(sipName_setFontFilters), meth_QFontComboBox_setFontFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontComboBox_setFontFilters)},
    {SIP_MLNAME_CAST(sipName_setWritingSystem), meth_QFontComboBox_setWritingSystem, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontComboBox_setWritingSystem)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QFontComboBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QFontComboBox_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QFontComboBox_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontComboBox_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QFontComboBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFontComboBox_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QFontComboBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QFontComboBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_writingSystem), meth_QFontComboBox_writingSystem, METH_VARARGS, SIP_MLDOC_CAST(doc_QFontComboBox_writingSystem)}
};

static sipEnumMemberDef enummembers_QFontComboBox[] = {
    {sipName_AllFonts, static_cast<int>(QFontComboBox::AllFonts), 89},
    {sipName_MonospacedFonts, static_cast<int>(QFontComboBox::MonospacedFonts), 89},
    {sipName_NonScalableFonts, static_cast<int>(QFontComboBox::NonScalableFonts), 89},
    {sipName_ProportionalFonts, static_cast<int>(QFontComboBox::ProportionalFonts), 89},
    {sipName_ScalableFonts, static_cast<int>(QFontComboBox::ScalableFonts), 89},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFontComboBox[] = {
    {"currentFontChanged(QFont)", "\1QFontComboBox.currentFontChanged[QFont]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QFontComboBox, "\1QFontComboBox(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFontComboBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFontComboBox,
        {0}
    },
    {
        sipNameNr_QFontComboBox,
        {0, 0, 1},
        54, methods_QFontComboBox,
        5, enummembers_QFontComboBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFontComboBox,
    -1,
    -1,
    supers_QFontComboBox,
    0,
    init_type_QFontComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFontComboBox,
    0,
    0,
    0,
    release_QFontComboBox,
    cast_QFontComboBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QFontComboBox::staticMetaObject,
    0,
    signals_QFontComboBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfocusframe.sip"
#include <qfocusframe.h>
#line 355865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 355869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 355875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 355878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 355881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 355884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 355887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 355890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 355893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 355896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 355899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 355902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 355905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 355908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 355911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 355914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 355917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 355920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 355923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 355926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 355929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 355932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 355935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 355938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 355941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 355944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 355947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 355950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 355953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 355956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 355998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 356001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 356004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 356007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 356010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 356013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 356016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 356019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 356022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 356025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 356028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 356031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 356034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 356037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 356040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 356043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 356046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 356049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 356052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 356055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 356058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 356061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 356064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 356067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 356070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQFocusFrame : public QFocusFrame
{
public:
    sipQFocusFrame(QWidget*);
    virtual ~sipQFocusFrame();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOption*) const;
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    bool eventFilter(QObject*,QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFocusFrame(const sipQFocusFrame &);
    sipQFocusFrame &operator = (const sipQFocusFrame &);

    char sipPyMethods[46];
};

sipQFocusFrame::sipQFocusFrame(QWidget*a0): QFocusFrame(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFocusFrame::~sipQFocusFrame()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFocusFrame::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFocusFrame);
}

int sipQFocusFrame::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QFocusFrame::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QFocusFrame,_c,_id,_a);

    return _id;
}

void *sipQFocusFrame::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QFocusFrame, _clname, &sipCpp) ? sipCpp : QFocusFrame::qt_metacast(_clname));
}

void sipQFocusFrame::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFocusFrame::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFocusFrame::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFocusFrame::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QFocusFrame::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFocusFrame::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QFocusFrame::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQFocusFrame::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QFocusFrame::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFocusFrame::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QFocusFrame::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFocusFrame::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QFocusFrame::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFocusFrame::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QFocusFrame::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQFocusFrame::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QFocusFrame::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QFocusFrame::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFocusFrame::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QFocusFrame::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QFocusFrame::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QFocusFrame::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QFocusFrame::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QFocusFrame::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QFocusFrame::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QFocusFrame::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QFocusFrame::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QFocusFrame::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QFocusFrame::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QFocusFrame::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QFocusFrame::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QFocusFrame::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QFocusFrame::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QFocusFrame::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QFocusFrame::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QFocusFrame::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QFocusFrame::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QFocusFrame::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QFocusFrame::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QFocusFrame::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QFocusFrame::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QFocusFrame::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QFocusFrame::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFocusFrame::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QFocusFrame::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQFocusFrame::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QFocusFrame::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFocusFrame::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QFocusFrame::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQFocusFrame::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QFocusFrame::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQFocusFrame::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QFocusFrame::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFocusFrame::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QFocusFrame::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFocusFrame::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QFocusFrame::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFocusFrame::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QFocusFrame::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFocusFrame::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFocusFrame::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFocusFrame::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFocusFrame::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QObject* sipQFocusFrame::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQFocusFrame::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQFocusFrame::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFocusFrame::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFocusFrame::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQFocusFrame::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQFocusFrame::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQFocusFrame::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQFocusFrame::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQFocusFrame::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQFocusFrame::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQFocusFrame::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQFocusFrame::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQFocusFrame::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQFocusFrame::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQFocusFrame::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQFocusFrame::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQFocusFrame::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQFocusFrame::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQFocusFrame::sipProtect_initStyleOption(QStyleOption*a0) const
{
    QFocusFrame::initStyleOption(a0);
}

bool sipQFocusFrame::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QFocusFrame::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQFocusFrame::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QFocusFrame::event(a0) : event(a0));
}

void sipQFocusFrame::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QFocusFrame::paintEvent(a0) : paintEvent(a0));
}


PyDoc_STRVAR(doc_QFocusFrame_sender, "QFocusFrame.sender() -> QObject");

extern "C" {static PyObject *meth_QFocusFrame_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFocusFrame, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 357300 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_sender, doc_QFocusFrame_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_receivers, "QFocusFrame.receivers(signal) -> int");

extern "C" {static PyObject *meth_QFocusFrame_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFocusFrame, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 357359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_receivers, doc_QFocusFrame_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_timerEvent, "QFocusFrame.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QFocusFrame_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_timerEvent, doc_QFocusFrame_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_childEvent, "QFocusFrame.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QFocusFrame_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_childEvent, doc_QFocusFrame_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_customEvent, "QFocusFrame.customEvent(QEvent)");

extern "C" {static PyObject *meth_QFocusFrame_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_customEvent, doc_QFocusFrame_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_connectNotify, "QFocusFrame.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFocusFrame_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_connectNotify, doc_QFocusFrame_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_disconnectNotify, "QFocusFrame.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFocusFrame_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_disconnectNotify, doc_QFocusFrame_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_senderSignalIndex, "QFocusFrame.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QFocusFrame_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFocusFrame, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_senderSignalIndex, doc_QFocusFrame_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_isSignalConnected, "QFocusFrame.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFocusFrame_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_isSignalConnected, doc_QFocusFrame_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_mousePressEvent, "QFocusFrame.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFocusFrame_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_mousePressEvent, doc_QFocusFrame_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_mouseReleaseEvent, "QFocusFrame.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFocusFrame_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_mouseReleaseEvent, doc_QFocusFrame_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_mouseDoubleClickEvent, "QFocusFrame.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFocusFrame_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_mouseDoubleClickEvent, doc_QFocusFrame_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_mouseMoveEvent, "QFocusFrame.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFocusFrame_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_mouseMoveEvent, doc_QFocusFrame_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_wheelEvent, "QFocusFrame.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QFocusFrame_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_wheelEvent, doc_QFocusFrame_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_keyPressEvent, "QFocusFrame.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFocusFrame_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_keyPressEvent, doc_QFocusFrame_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_keyReleaseEvent, "QFocusFrame.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFocusFrame_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_keyReleaseEvent, doc_QFocusFrame_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_focusInEvent, "QFocusFrame.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFocusFrame_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_focusInEvent, doc_QFocusFrame_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_focusOutEvent, "QFocusFrame.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFocusFrame_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_focusOutEvent, doc_QFocusFrame_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_enterEvent, "QFocusFrame.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QFocusFrame_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_enterEvent, doc_QFocusFrame_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_leaveEvent, "QFocusFrame.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QFocusFrame_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_leaveEvent, doc_QFocusFrame_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_moveEvent, "QFocusFrame.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QFocusFrame_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_moveEvent, doc_QFocusFrame_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_resizeEvent, "QFocusFrame.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QFocusFrame_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_resizeEvent, doc_QFocusFrame_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_closeEvent, "QFocusFrame.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QFocusFrame_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_closeEvent, doc_QFocusFrame_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_contextMenuEvent, "QFocusFrame.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QFocusFrame_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_contextMenuEvent, doc_QFocusFrame_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_tabletEvent, "QFocusFrame.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QFocusFrame_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_tabletEvent, doc_QFocusFrame_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_actionEvent, "QFocusFrame.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QFocusFrame_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_actionEvent, doc_QFocusFrame_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_dragEnterEvent, "QFocusFrame.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QFocusFrame_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_dragEnterEvent, doc_QFocusFrame_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_dragMoveEvent, "QFocusFrame.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QFocusFrame_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_dragMoveEvent, doc_QFocusFrame_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_dragLeaveEvent, "QFocusFrame.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QFocusFrame_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_dragLeaveEvent, doc_QFocusFrame_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_dropEvent, "QFocusFrame.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QFocusFrame_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_dropEvent, doc_QFocusFrame_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_showEvent, "QFocusFrame.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QFocusFrame_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_showEvent, doc_QFocusFrame_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_hideEvent, "QFocusFrame.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QFocusFrame_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_hideEvent, doc_QFocusFrame_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_changeEvent, "QFocusFrame.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QFocusFrame_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_changeEvent, doc_QFocusFrame_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_metric, "QFocusFrame.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QFocusFrame_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_metric, doc_QFocusFrame_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_inputMethodEvent, "QFocusFrame.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QFocusFrame_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_inputMethodEvent, doc_QFocusFrame_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_updateMicroFocus, "QFocusFrame.updateMicroFocus()");

extern "C" {static PyObject *meth_QFocusFrame_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFocusFrame, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_updateMicroFocus, doc_QFocusFrame_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_create, "QFocusFrame.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QFocusFrame_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQFocusFrame *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_create, doc_QFocusFrame_create);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_destroy, "QFocusFrame.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QFocusFrame_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQFocusFrame *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QFocusFrame, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_destroy, doc_QFocusFrame_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_focusNextPrevChild, "QFocusFrame.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QFocusFrame_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QFocusFrame, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_focusNextPrevChild, doc_QFocusFrame_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_focusNextChild, "QFocusFrame.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QFocusFrame_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFocusFrame, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_focusNextChild, doc_QFocusFrame_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_focusPreviousChild, "QFocusFrame.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QFocusFrame_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFocusFrame, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_focusPreviousChild, doc_QFocusFrame_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_nativeEvent, "QFocusFrame.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QFocusFrame_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_nativeEvent, doc_QFocusFrame_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_sharedPainter, "QFocusFrame.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QFocusFrame_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFocusFrame, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_sharedPainter, doc_QFocusFrame_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_initPainter, "QFocusFrame.initPainter(QPainter)");

extern "C" {static PyObject *meth_QFocusFrame_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_initPainter, doc_QFocusFrame_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_setWidget, "QFocusFrame.setWidget(QWidget)");

extern "C" {static PyObject *meth_QFocusFrame_setWidget(PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_setWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QFocusFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_setWidget, doc_QFocusFrame_setWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_widget, "QFocusFrame.widget() -> QWidget");

extern "C" {static PyObject *meth_QFocusFrame_widget(PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFocusFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFocusFrame, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_widget, doc_QFocusFrame_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_initStyleOption, "QFocusFrame.initStyleOption(QStyleOption)");

extern "C" {static PyObject *meth_QFocusFrame_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOption* a0;
        const sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QStyleOption, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_initStyleOption, doc_QFocusFrame_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_eventFilter, "QFocusFrame.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QFocusFrame_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_eventFilter, doc_QFocusFrame_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_event, "QFocusFrame.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QFocusFrame_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_event, doc_QFocusFrame_event);

    return NULL;
}


PyDoc_STRVAR(doc_QFocusFrame_paintEvent, "QFocusFrame.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QFocusFrame_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFocusFrame_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQFocusFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFocusFrame, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFocusFrame, sipName_paintEvent, doc_QFocusFrame_paintEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFocusFrame(void *, const sipTypeDef *);}
static void *cast_QFocusFrame(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFocusFrame)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QFocusFrame *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFocusFrame(void *, int);}
static void release_QFocusFrame(void *sipCppV,int)
{
    QFocusFrame *sipCpp = reinterpret_cast<QFocusFrame *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFocusFrame(sipSimpleWrapper *);}
static void dealloc_QFocusFrame(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFocusFrame *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFocusFrame(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QFocusFrame(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFocusFrame(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFocusFrame *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQFocusFrame(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFocusFrame[] = {{454, 255, 1}};


static PyMethodDef methods_QFocusFrame[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QFocusFrame_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QFocusFrame_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFocusFrame_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QFocusFrame_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFocusFrame_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QFocusFrame_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QFocusFrame_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFocusFrame_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QFocusFrame_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFocusFrame_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QFocusFrame_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QFocusFrame_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QFocusFrame_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QFocusFrame_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QFocusFrame_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QFocusFrame_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFocusFrame_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QFocusFrame_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFocusFrame_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QFocusFrame_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QFocusFrame_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QFocusFrame_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QFocusFrame_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QFocusFrame_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QFocusFrame_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QFocusFrame_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QFocusFrame_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFocusFrame_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QFocusFrame_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFocusFrame_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QFocusFrame_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QFocusFrame_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QFocusFrame_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QFocusFrame_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QFocusFrame_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QFocusFrame_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QFocusFrame_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QFocusFrame_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QFocusFrame_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QFocusFrame_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QFocusFrame_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFocusFrame_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFocusFrame_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QFocusFrame_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFocusFrame_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFocusFrame_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_QFocusFrame_setWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QFocusFrame_setWidget)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QFocusFrame_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QFocusFrame_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QFocusFrame_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFocusFrame_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QFocusFrame_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QFocusFrame_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QFocusFrame_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QFocusFrame_widget)}
};

PyDoc_STRVAR(doc_QFocusFrame, "\1QFocusFrame(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFocusFrame = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFocusFrame,
        {0}
    },
    {
        sipNameNr_QFocusFrame,
        {0, 0, 1},
        50, methods_QFocusFrame,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFocusFrame,
    -1,
    -1,
    supers_QFocusFrame,
    0,
    init_type_QFocusFrame,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFocusFrame,
    0,
    0,
    0,
    release_QFocusFrame,
    cast_QFocusFrame,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QFocusFrame::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfilesystemmodel.sip"
#include <qfilesystemmodel.h>
#line 358926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 358930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 358933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 358936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 358939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 358942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 358945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 358948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qfiledevice.sip"
#include <qfiledevice.h>
#line 358951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 299 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 358954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 358957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 358960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 358963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 358966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 358969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 358972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 358975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 358978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 358981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 358984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 266 "sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 358987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 358990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 358993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 358996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 70 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 358999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 359002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 359005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 359008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 359011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 359014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 359017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 359020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 359023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 359026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 359029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 359032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 359035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 359038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 359041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQFileSystemModel : public QFileSystemModel
{
public:
    sipQFileSystemModel(QObject*);
    virtual ~sipQFileSystemModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_encodeData(const QModelIndexList&,QDataStream&) const;
    bool sipProtect_decodeData(int,int,const QModelIndex&,QDataStream&);
    void sipProtect_beginInsertRows(const QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
    QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_changePersistentIndex(const QModelIndex&,const QModelIndex&);
    void sipProtect_changePersistentIndexList(const QModelIndexList&,const QModelIndexList&);
    QModelIndex sipProtect_createIndex(int,int,void*) const;
    bool sipProtect_beginMoveRows(const QModelIndex&,int,int,const QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const QModelIndex&,int,int,const QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_resetInternalData();
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool moveColumns(const QModelIndex&,int,int,const QModelIndex&,int);
    bool moveRows(const QModelIndex&,int,int,const QModelIndex&,int);
    bool canDropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&) const;
    QHash<int,QByteArray> roleNames() const;
    Qt::DropActions supportedDragActions() const;
    void revert();
    bool submit();
    QSize span(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QModelIndex buddy(const QModelIndex&) const;
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QModelIndex sibling(int,int,const QModelIndex&) const;
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) const;
    QStringList mimeTypes() const;
    void sort(int,Qt::SortOrder);
    Qt::ItemFlags flags(const QModelIndex&) const;
    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;
    void fetchMore(const QModelIndex&);
    bool canFetchMore(const QModelIndex&) const;
    bool hasChildren(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFileSystemModel(const sipQFileSystemModel &);
    sipQFileSystemModel &operator = (const sipQFileSystemModel &);

    char sipPyMethods[41];
};

sipQFileSystemModel::sipQFileSystemModel(QObject*a0): QFileSystemModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFileSystemModel::~sipQFileSystemModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFileSystemModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFileSystemModel);
}

int sipQFileSystemModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QFileSystemModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QFileSystemModel,_c,_id,_a);

    return _id;
}

void *sipQFileSystemModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QFileSystemModel, _clname, &sipCpp) ? sipCpp : QFileSystemModel::qt_metacast(_clname));
}

void sipQFileSystemModel::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFileSystemModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileSystemModel::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFileSystemModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileSystemModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFileSystemModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileSystemModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QFileSystemModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFileSystemModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQFileSystemModel::moveColumns(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return QFileSystemModel::moveColumns(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[59]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQFileSystemModel::moveRows(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return QFileSystemModel::moveRows(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[59]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQFileSystemModel::canDropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return QFileSystemModel::canDropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_33)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[33]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QHash<int,QByteArray> sipQFileSystemModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return QFileSystemModel::roleNames();

    typedef QHash<int,QByteArray> (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_60)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[60]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::DropActions sipQFileSystemModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return QFileSystemModel::supportedDragActions();

    typedef Qt::DropActions (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFileSystemModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QFileSystemModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFileSystemModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QFileSystemModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQFileSystemModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QFileSystemModel::span(a0);

    typedef QSize (*sipVH_QtCore_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_29)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndexList sipQFileSystemModel::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[13]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QFileSystemModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipQFileSystemModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QFileSystemModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_30)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[30]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QFileSystemModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_20)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFileSystemModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QFileSystemModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_20)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFileSystemModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QFileSystemModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_20)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFileSystemModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QFileSystemModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_20)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFileSystemModel::setItemData(const QModelIndex& a0,const QMap<int,QVariant>& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setItemData);

    if (!sipMeth)
        return QFileSystemModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_56)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[56]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipQFileSystemModel::itemData(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_itemData);

    if (!sipMeth)
        return QFileSystemModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_57)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[57]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::setHeaderData(int a0,Qt::Orientation a1,const QVariant& a2,int a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_setHeaderData);

    if (!sipMeth)
        return QFileSystemModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_35)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_35)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[35]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QModelIndex sipQFileSystemModel::sibling(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return QFileSystemModel::sibling(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_17)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQFileSystemModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFileSystemModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFileSystemModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

Qt::DropActions sipQFileSystemModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QFileSystemModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFileSystemModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QFileSystemModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_33)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[33]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QMimeData* sipQFileSystemModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QFileSystemModel::mimeData(a0);

    extern QMimeData* sipVH_QtWidgets_133(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return sipVH_QtWidgets_133(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStringList sipQFileSystemModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QFileSystemModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[27]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFileSystemModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QFileSystemModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_19)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[19]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

Qt::ItemFlags sipQFileSystemModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QFileSystemModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_21)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[21]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQFileSystemModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QFileSystemModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_36)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[36]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFileSystemModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QFileSystemModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_22)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipQFileSystemModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return QFileSystemModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_23)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[23]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

int sipQFileSystemModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return QFileSystemModel::columnCount(a0);

    typedef int (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_24)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFileSystemModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return QFileSystemModel::rowCount(a0);

    typedef int (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_24)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileSystemModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QFileSystemModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QFileSystemModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFileSystemModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return QFileSystemModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndex sipQFileSystemModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return QFileSystemModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_30)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[30]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndex sipQFileSystemModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return QFileSystemModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_17)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QObject* sipQFileSystemModel::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQFileSystemModel::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQFileSystemModel::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQFileSystemModel::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQFileSystemModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFileSystemModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFileSystemModel::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQFileSystemModel::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQFileSystemModel::sipProtect_encodeData(const QModelIndexList& a0,QDataStream& a1) const
{
    QAbstractItemModel::encodeData(a0,a1);
}

bool sipQFileSystemModel::sipProtect_decodeData(int a0,int a1,const QModelIndex& a2,QDataStream& a3)
{
    return QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipQFileSystemModel::sipProtect_beginInsertRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipQFileSystemModel::sipProtect_endInsertRows()
{
    QAbstractItemModel::endInsertRows();
}

void sipQFileSystemModel::sipProtect_beginRemoveRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipQFileSystemModel::sipProtect_endRemoveRows()
{
    QAbstractItemModel::endRemoveRows();
}

void sipQFileSystemModel::sipProtect_beginInsertColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipQFileSystemModel::sipProtect_endInsertColumns()
{
    QAbstractItemModel::endInsertColumns();
}

void sipQFileSystemModel::sipProtect_beginRemoveColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipQFileSystemModel::sipProtect_endRemoveColumns()
{
    QAbstractItemModel::endRemoveColumns();
}

QModelIndexList sipQFileSystemModel::sipProtect_persistentIndexList() const
{
    return QAbstractItemModel::persistentIndexList();
}

void sipQFileSystemModel::sipProtect_changePersistentIndex(const QModelIndex& a0,const QModelIndex& a1)
{
    QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipQFileSystemModel::sipProtect_changePersistentIndexList(const QModelIndexList& a0,const QModelIndexList& a1)
{
    QAbstractItemModel::changePersistentIndexList(a0,a1);
}

QModelIndex sipQFileSystemModel::sipProtect_createIndex(int a0,int a1,void*a2) const
{
    return QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipQFileSystemModel::sipProtect_beginMoveRows(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    return QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipQFileSystemModel::sipProtect_endMoveRows()
{
    QAbstractItemModel::endMoveRows();
}

bool sipQFileSystemModel::sipProtect_beginMoveColumns(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    return QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipQFileSystemModel::sipProtect_endMoveColumns()
{
    QAbstractItemModel::endMoveColumns();
}

void sipQFileSystemModel::sipProtect_beginResetModel()
{
    QAbstractItemModel::beginResetModel();
}

void sipQFileSystemModel::sipProtect_endResetModel()
{
    QAbstractItemModel::endResetModel();
}

void sipQFileSystemModel::sipProtect_resetInternalData()
{
    QAbstractItemModel::resetInternalData();
}

bool sipQFileSystemModel::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QFileSystemModel::event(a0) : event(a0));
}

void sipQFileSystemModel::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QFileSystemModel::timerEvent(a0) : timerEvent(a0));
}


PyDoc_STRVAR(doc_QFileSystemModel_sender, "QFileSystemModel.sender() -> QObject");

extern "C" {static PyObject *meth_QFileSystemModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 360014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_sender, doc_QFileSystemModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_receivers, "QFileSystemModel.receivers(signal) -> int");

extern "C" {static PyObject *meth_QFileSystemModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 360073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_receivers, doc_QFileSystemModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_childEvent, "QFileSystemModel.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QFileSystemModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_childEvent, doc_QFileSystemModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_customEvent, "QFileSystemModel.customEvent(QEvent)");

extern "C" {static PyObject *meth_QFileSystemModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_customEvent, doc_QFileSystemModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_connectNotify, "QFileSystemModel.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFileSystemModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_connectNotify, doc_QFileSystemModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_disconnectNotify, "QFileSystemModel.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFileSystemModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_disconnectNotify, doc_QFileSystemModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_senderSignalIndex, "QFileSystemModel.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QFileSystemModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_senderSignalIndex, doc_QFileSystemModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_isSignalConnected, "QFileSystemModel.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_isSignalConnected, doc_QFileSystemModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_encodeData, "QFileSystemModel.encodeData(list-of-QModelIndex, QDataStream)");

extern "C" {static PyObject *meth_QFileSystemModel_encodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_encodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndexList* a0;
        int a0State = 0;
        QDataStream* a1;
        const sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            sipCpp->sipProtect_encodeData(*a0,*a1);
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_encodeData, doc_QFileSystemModel_encodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_decodeData, "QFileSystemModel.decodeData(int, int, QModelIndex, QDataStream) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_decodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_decodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QModelIndex* a2;
        QDataStream* a3;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ9J9", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_decodeData, doc_QFileSystemModel_decodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_beginInsertRows, "QFileSystemModel.beginInsertRows(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QFileSystemModel_beginInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_beginInsertRows, doc_QFileSystemModel_beginInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_endInsertRows, "QFileSystemModel.endInsertRows()");

extern "C" {static PyObject *meth_QFileSystemModel_endInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_endInsertRows, doc_QFileSystemModel_endInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_beginRemoveRows, "QFileSystemModel.beginRemoveRows(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QFileSystemModel_beginRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_beginRemoveRows, doc_QFileSystemModel_beginRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_endRemoveRows, "QFileSystemModel.endRemoveRows()");

extern "C" {static PyObject *meth_QFileSystemModel_endRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_endRemoveRows, doc_QFileSystemModel_endRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_beginInsertColumns, "QFileSystemModel.beginInsertColumns(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QFileSystemModel_beginInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_beginInsertColumns, doc_QFileSystemModel_beginInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_endInsertColumns, "QFileSystemModel.endInsertColumns()");

extern "C" {static PyObject *meth_QFileSystemModel_endInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_endInsertColumns, doc_QFileSystemModel_endInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_beginRemoveColumns, "QFileSystemModel.beginRemoveColumns(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QFileSystemModel_beginRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_beginRemoveColumns, doc_QFileSystemModel_beginRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_endRemoveColumns, "QFileSystemModel.endRemoveColumns()");

extern "C" {static PyObject *meth_QFileSystemModel_endRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_endRemoveColumns, doc_QFileSystemModel_endRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_persistentIndexList, "QFileSystemModel.persistentIndexList() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QFileSystemModel_persistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtect_persistentIndexList());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_persistentIndexList, doc_QFileSystemModel_persistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_changePersistentIndex, "QFileSystemModel.changePersistentIndex(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QFileSystemModel_changePersistentIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_changePersistentIndex, doc_QFileSystemModel_changePersistentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_changePersistentIndexList, "QFileSystemModel.changePersistentIndexList(list-of-QModelIndex, list-of-QModelIndex)");

extern "C" {static PyObject *meth_QFileSystemModel_changePersistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndexList* a0;
        int a0State = 0;
        const QModelIndexList* a1;
        int a1State = 0;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast<QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_changePersistentIndexList, doc_QFileSystemModel_changePersistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_createIndex, "QFileSystemModel.createIndex(int, int, object object=0) -> QModelIndex");

extern "C" {static PyObject *meth_QFileSystemModel_createIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_createIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        const sipQFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|P0", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0, &a1, &a2))
        {
            QModelIndex*sipRes = 0;

#line 194 "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 360684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_createIndex, doc_QFileSystemModel_createIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_beginMoveRows, "QFileSystemModel.beginMoveRows(QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_beginMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        const QModelIndex* a3;
        int a4;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_beginMoveRows, doc_QFileSystemModel_beginMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_endMoveRows, "QFileSystemModel.endMoveRows()");

extern "C" {static PyObject *meth_QFileSystemModel_endMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_endMoveRows, doc_QFileSystemModel_endMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_beginMoveColumns, "QFileSystemModel.beginMoveColumns(QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_beginMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        const QModelIndex* a3;
        int a4;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_beginMoveColumns, doc_QFileSystemModel_beginMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_endMoveColumns, "QFileSystemModel.endMoveColumns()");

extern "C" {static PyObject *meth_QFileSystemModel_endMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_endMoveColumns, doc_QFileSystemModel_endMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_beginResetModel, "QFileSystemModel.beginResetModel()");

extern "C" {static PyObject *meth_QFileSystemModel_beginResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            sipCpp->sipProtect_beginResetModel();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_beginResetModel, doc_QFileSystemModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_endResetModel, "QFileSystemModel.endResetModel()");

extern "C" {static PyObject *meth_QFileSystemModel_endResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            sipCpp->sipProtect_endResetModel();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_endResetModel, doc_QFileSystemModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_resetInternalData, "QFileSystemModel.resetInternalData()");

extern "C" {static PyObject *meth_QFileSystemModel_resetInternalData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            sipCpp->sipProtect_resetInternalData();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_resetInternalData, doc_QFileSystemModel_resetInternalData);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_index, "QFileSystemModel.index(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex\n"
    "QFileSystemModel.index(str, int column=0) -> QModelIndex");

extern "C" {static PyObject *meth_QFileSystemModel_index(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_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 QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QFileSystemModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        int a1 = 0;
        const QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_column,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->index(*a0,a1));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_index, doc_QFileSystemModel_index);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_parent, "QFileSystemModel.parent(QModelIndex) -> QModelIndex");

extern "C" {static PyObject *meth_QFileSystemModel_parent(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QFileSystemModel::parent(*a0) : sipCpp->parent(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_parent, doc_QFileSystemModel_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_hasChildren, "QFileSystemModel.hasChildren(QModelIndex parent=QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_hasChildren(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_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 QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFileSystemModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_hasChildren, doc_QFileSystemModel_hasChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_canFetchMore, "QFileSystemModel.canFetchMore(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_canFetchMore(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_canFetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFileSystemModel::canFetchMore(*a0) : sipCpp->canFetchMore(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_canFetchMore, doc_QFileSystemModel_canFetchMore);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_fetchMore, "QFileSystemModel.fetchMore(QModelIndex)");

extern "C" {static PyObject *meth_QFileSystemModel_fetchMore(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_fetchMore(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            (sipSelfWasArg ? sipCpp->QFileSystemModel::fetchMore(*a0) : sipCpp->fetchMore(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_fetchMore, doc_QFileSystemModel_fetchMore);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_rowCount, "QFileSystemModel.rowCount(QModelIndex parent=QModelIndex()) -> int");

extern "C" {static PyObject *meth_QFileSystemModel_rowCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_rowCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFileSystemModel::rowCount(*a0) : sipCpp->rowCount(*a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_rowCount, doc_QFileSystemModel_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_columnCount, "QFileSystemModel.columnCount(QModelIndex parent=QModelIndex()) -> int");

extern "C" {static PyObject *meth_QFileSystemModel_columnCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_columnCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFileSystemModel::columnCount(*a0) : sipCpp->columnCount(*a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_columnCount, doc_QFileSystemModel_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_myComputer, "QFileSystemModel.myComputer(int role=Qt.DisplayRole) -> QVariant");

extern "C" {static PyObject *meth_QFileSystemModel_myComputer(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_myComputer(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = Qt::DisplayRole;
        const QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->myComputer(a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_myComputer, doc_QFileSystemModel_myComputer);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_data, "QFileSystemModel.data(QModelIndex, int role=Qt.DisplayRole) -> QVariant");

extern "C" {static PyObject *meth_QFileSystemModel_data(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_data(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QFileSystemModel::data(*a0,a1) : sipCpp->data(*a0,a1)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_data, doc_QFileSystemModel_data);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_setData, "QFileSystemModel.setData(QModelIndex, QVariant, int role=Qt.EditRole) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_setData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_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;
        QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1|i", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QVariant, &a1, &a1State, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFileSystemModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_setData, doc_QFileSystemModel_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_headerData, "QFileSystemModel.headerData(int, Qt.Orientation, int role=Qt.DisplayRole) -> QVariant");

extern "C" {static PyObject *meth_QFileSystemModel_headerData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_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 QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiE|i", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QFileSystemModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_headerData, doc_QFileSystemModel_headerData);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_flags, "QFileSystemModel.flags(QModelIndex) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QFileSystemModel_flags(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Qt::ItemFlags*sipRes;

            sipRes = new Qt::ItemFlags((sipSelfWasArg ? sipCpp->QFileSystemModel::flags(*a0) : sipCpp->flags(*a0)));

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_flags, doc_QFileSystemModel_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_sort, "QFileSystemModel.sort(int, Qt.SortOrder order=Qt.AscendingOrder)");

extern "C" {static PyObject *meth_QFileSystemModel_sort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_sort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::SortOrder a1 = Qt::AscendingOrder;
        QFileSystemModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            (sipSelfWasArg ? sipCpp->QFileSystemModel::sort(a0,a1) : sipCpp->sort(a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_sort, doc_QFileSystemModel_sort);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_mimeTypes, "QFileSystemModel.mimeTypes() -> list-of-str");

extern "C" {static PyObject *meth_QFileSystemModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList((sipSelfWasArg ? sipCpp->QFileSystemModel::mimeTypes() : sipCpp->mimeTypes()));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_mimeTypes, doc_QFileSystemModel_mimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_mimeData, "QFileSystemModel.mimeData(list-of-QModelIndex) -> QMimeData");

extern "C" {static PyObject *meth_QFileSystemModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndexList* a0;
        int a0State = 0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
            QMimeData*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFileSystemModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_mimeData, doc_QFileSystemModel_mimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_dropMimeData, "QFileSystemModel.dropMimeData(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_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;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QFileSystemModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_dropMimeData, doc_QFileSystemModel_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_supportedDropActions, "QFileSystemModel.supportedDropActions() -> Qt.DropActions");

extern "C" {static PyObject *meth_QFileSystemModel_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            Qt::DropActions*sipRes;

            sipRes = new Qt::DropActions((sipSelfWasArg ? sipCpp->QFileSystemModel::supportedDropActions() : sipCpp->supportedDropActions()));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_supportedDropActions, doc_QFileSystemModel_supportedDropActions);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_setRootPath, "QFileSystemModel.setRootPath(str) -> QModelIndex");

extern "C" {static PyObject *meth_QFileSystemModel_setRootPath(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_setRootPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->setRootPath(*a0));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_setRootPath, doc_QFileSystemModel_setRootPath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_rootPath, "QFileSystemModel.rootPath() -> str");

extern "C" {static PyObject *meth_QFileSystemModel_rootPath(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_rootPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->rootPath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_rootPath, doc_QFileSystemModel_rootPath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_rootDirectory, "QFileSystemModel.rootDirectory() -> QDir");

extern "C" {static PyObject *meth_QFileSystemModel_rootDirectory(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_rootDirectory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            QDir*sipRes;

            sipRes = new QDir(sipCpp->rootDirectory());

            return sipConvertFromNewType(sipRes,sipType_QDir,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_rootDirectory, doc_QFileSystemModel_rootDirectory);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_setIconProvider, "QFileSystemModel.setIconProvider(QFileIconProvider)");

extern "C" {static PyObject *meth_QFileSystemModel_setIconProvider(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_setIconProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileIconProvider* a0;
        PyObject *a0Keep;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0Keep, sipType_QFileIconProvider, &a0))
        {
            sipCpp->setIconProvider(a0);

            sipKeepReference(sipSelf, -21, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_setIconProvider, doc_QFileSystemModel_setIconProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_iconProvider, "QFileSystemModel.iconProvider() -> QFileIconProvider");

extern "C" {static PyObject *meth_QFileSystemModel_iconProvider(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_iconProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            QFileIconProvider*sipRes;

            sipRes = sipCpp->iconProvider();

            return sipConvertFromType(sipRes,sipType_QFileIconProvider,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_iconProvider, doc_QFileSystemModel_iconProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_setFilter, "QFileSystemModel.setFilter(QDir.Filters)");

extern "C" {static PyObject *meth_QFileSystemModel_setFilter(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_setFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDir::Filters* a0;
        int a0State = 0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QDir_Filters, &a0, &a0State))
        {
            sipCpp->setFilter(*a0);
            sipReleaseType(a0,sipType_QDir_Filters,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_setFilter, doc_QFileSystemModel_setFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_filter, "QFileSystemModel.filter() -> QDir.Filters");

extern "C" {static PyObject *meth_QFileSystemModel_filter(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_filter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            QDir::Filters*sipRes;

            sipRes = new QDir::Filters(sipCpp->filter());

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_filter, doc_QFileSystemModel_filter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_setResolveSymlinks, "QFileSystemModel.setResolveSymlinks(bool)");

extern "C" {static PyObject *meth_QFileSystemModel_setResolveSymlinks(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_setResolveSymlinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0))
        {
            sipCpp->setResolveSymlinks(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_setResolveSymlinks, doc_QFileSystemModel_setResolveSymlinks);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_resolveSymlinks, "QFileSystemModel.resolveSymlinks() -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_resolveSymlinks(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_resolveSymlinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->resolveSymlinks();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_resolveSymlinks, doc_QFileSystemModel_resolveSymlinks);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_setReadOnly, "QFileSystemModel.setReadOnly(bool)");

extern "C" {static PyObject *meth_QFileSystemModel_setReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_setReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0))
        {
            sipCpp->setReadOnly(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_setReadOnly, doc_QFileSystemModel_setReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_isReadOnly, "QFileSystemModel.isReadOnly() -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_isReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_isReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadOnly();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_isReadOnly, doc_QFileSystemModel_isReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_setNameFilterDisables, "QFileSystemModel.setNameFilterDisables(bool)");

extern "C" {static PyObject *meth_QFileSystemModel_setNameFilterDisables(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_setNameFilterDisables(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QFileSystemModel, &sipCpp, &a0))
        {
            sipCpp->setNameFilterDisables(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_setNameFilterDisables, doc_QFileSystemModel_setNameFilterDisables);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_nameFilterDisables, "QFileSystemModel.nameFilterDisables() -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_nameFilterDisables(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_nameFilterDisables(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->nameFilterDisables();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_nameFilterDisables, doc_QFileSystemModel_nameFilterDisables);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_setNameFilters, "QFileSystemModel.setNameFilters(list-of-str)");

extern "C" {static PyObject *meth_QFileSystemModel_setNameFilters(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_setNameFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setNameFilters(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_setNameFilters, doc_QFileSystemModel_setNameFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_nameFilters, "QFileSystemModel.nameFilters() -> list-of-str");

extern "C" {static PyObject *meth_QFileSystemModel_nameFilters(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_nameFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileSystemModel, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->nameFilters());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_nameFilters, doc_QFileSystemModel_nameFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_filePath, "QFileSystemModel.filePath(QModelIndex) -> str");

extern "C" {static PyObject *meth_QFileSystemModel_filePath(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_filePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->filePath(*a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_filePath, doc_QFileSystemModel_filePath);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_isDir, "QFileSystemModel.isDir(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_isDir(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_isDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isDir(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_isDir, doc_QFileSystemModel_isDir);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_size, "QFileSystemModel.size(QModelIndex) -> int");

extern "C" {static PyObject *meth_QFileSystemModel_size(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            qint64 sipRes;

            sipRes = sipCpp->size(*a0);

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_size, doc_QFileSystemModel_size);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_type, "QFileSystemModel.type(QModelIndex) -> str");

extern "C" {static PyObject *meth_QFileSystemModel_type(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->type(*a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_type, doc_QFileSystemModel_type);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_lastModified, "QFileSystemModel.lastModified(QModelIndex) -> QDateTime");

extern "C" {static PyObject *meth_QFileSystemModel_lastModified(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_lastModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QDateTime*sipRes;

            sipRes = new QDateTime(sipCpp->lastModified(*a0));

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_lastModified, doc_QFileSystemModel_lastModified);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_mkdir, "QFileSystemModel.mkdir(QModelIndex, str) -> QModelIndex");

extern "C" {static PyObject *meth_QFileSystemModel_mkdir(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_mkdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QString* a1;
        int a1State = 0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QString,&a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->mkdir(*a0,*a1));
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_mkdir, doc_QFileSystemModel_mkdir);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_permissions, "QFileSystemModel.permissions(QModelIndex) -> QFileDevice.Permissions");

extern "C" {static PyObject *meth_QFileSystemModel_permissions(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_permissions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QFileDevice::Permissions*sipRes;

            sipRes = new QFileDevice::Permissions(sipCpp->permissions(*a0));

            return sipConvertFromNewType(sipRes,sipType_QFileDevice_Permissions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_permissions, doc_QFileSystemModel_permissions);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_rmdir, "QFileSystemModel.rmdir(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_rmdir(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_rmdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->rmdir(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_rmdir, doc_QFileSystemModel_rmdir);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_fileName, "QFileSystemModel.fileName(QModelIndex) -> str");

extern "C" {static PyObject *meth_QFileSystemModel_fileName(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->fileName(*a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_fileName, doc_QFileSystemModel_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_fileIcon, "QFileSystemModel.fileIcon(QModelIndex) -> QIcon");

extern "C" {static PyObject *meth_QFileSystemModel_fileIcon(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_fileIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->fileIcon(*a0));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_fileIcon, doc_QFileSystemModel_fileIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_fileInfo, "QFileSystemModel.fileInfo(QModelIndex) -> QFileInfo");

extern "C" {static PyObject *meth_QFileSystemModel_fileInfo(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_fileInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QFileInfo*sipRes;

            sipRes = new QFileInfo(sipCpp->fileInfo(*a0));

            return sipConvertFromNewType(sipRes,sipType_QFileInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_fileInfo, doc_QFileSystemModel_fileInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_remove, "QFileSystemModel.remove(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_remove(PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QFileSystemModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->remove(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_remove, doc_QFileSystemModel_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_event, "QFileSystemModel.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QFileSystemModel_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_event, doc_QFileSystemModel_event);

    return NULL;
}


PyDoc_STRVAR(doc_QFileSystemModel_timerEvent, "QFileSystemModel.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QFileSystemModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileSystemModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQFileSystemModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileSystemModel, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileSystemModel, sipName_timerEvent, doc_QFileSystemModel_timerEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFileSystemModel(void *, const sipTypeDef *);}
static void *cast_QFileSystemModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFileSystemModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemModel)->ctd_cast((QAbstractItemModel *)(QFileSystemModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileSystemModel(void *, int);}
static void release_QFileSystemModel(void *sipCppV,int)
{
    QFileSystemModel *sipCpp = reinterpret_cast<QFileSystemModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFileSystemModel(sipSimpleWrapper *);}
static void dealloc_QFileSystemModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFileSystemModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFileSystemModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QFileSystemModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileSystemModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFileSystemModel *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQFileSystemModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFileSystemModel[] = {{6, 0, 1}};


static PyMethodDef methods_QFileSystemModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), (PyCFunction)meth_QFileSystemModel_beginInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), (PyCFunction)meth_QFileSystemModel_beginInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), (PyCFunction)meth_QFileSystemModel_beginMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), (PyCFunction)meth_QFileSystemModel_beginMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), (PyCFunction)meth_QFileSystemModel_beginRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), (PyCFunction)meth_QFileSystemModel_beginRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), (PyCFunction)meth_QFileSystemModel_beginResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_canFetchMore), meth_QFileSystemModel_canFetchMore, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_canFetchMore)},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), (PyCFunction)meth_QFileSystemModel_changePersistentIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), (PyCFunction)meth_QFileSystemModel_changePersistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFileSystemModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), (PyCFunction)meth_QFileSystemModel_columnCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_columnCount)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFileSystemModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), (PyCFunction)meth_QFileSystemModel_createIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFileSystemModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), (PyCFunction)meth_QFileSystemModel_data, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_data)},
    {SIP_MLNAME_CAST(sipName_decodeData), (PyCFunction)meth_QFileSystemModel_decodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFileSystemModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_QFileSystemModel_dropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_encodeData), (PyCFunction)meth_QFileSystemModel_encodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), (PyCFunction)meth_QFileSystemModel_endInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), (PyCFunction)meth_QFileSystemModel_endInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), (PyCFunction)meth_QFileSystemModel_endMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), (PyCFunction)meth_QFileSystemModel_endMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), (PyCFunction)meth_QFileSystemModel_endRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), (PyCFunction)meth_QFileSystemModel_endRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), (PyCFunction)meth_QFileSystemModel_endResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QFileSystemModel_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_event)},
    {SIP_MLNAME_CAST(sipName_fetchMore), meth_QFileSystemModel_fetchMore, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_fetchMore)},
    {SIP_MLNAME_CAST(sipName_fileIcon), meth_QFileSystemModel_fileIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_fileIcon)},
    {SIP_MLNAME_CAST(sipName_fileInfo), meth_QFileSystemModel_fileInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_fileInfo)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QFileSystemModel_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_fileName)},
    {SIP_MLNAME_CAST(sipName_filePath), meth_QFileSystemModel_filePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_filePath)},
    {SIP_MLNAME_CAST(sipName_filter), meth_QFileSystemModel_filter, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_filter)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QFileSystemModel_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_flags)},
    {SIP_MLNAME_CAST(sipName_hasChildren), (PyCFunction)meth_QFileSystemModel_hasChildren, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_hasChildren)},
    {SIP_MLNAME_CAST(sipName_headerData), (PyCFunction)meth_QFileSystemModel_headerData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_headerData)},
    {SIP_MLNAME_CAST(sipName_iconProvider), meth_QFileSystemModel_iconProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_iconProvider)},
    {SIP_MLNAME_CAST(sipName_index), (PyCFunction)meth_QFileSystemModel_index, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_index)},
    {SIP_MLNAME_CAST(sipName_isDir), meth_QFileSystemModel_isDir, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_isDir)},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_QFileSystemModel_isReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_isReadOnly)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFileSystemModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lastModified), meth_QFileSystemModel_lastModified, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_lastModified)},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_QFileSystemModel_mimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_mimeData)},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_QFileSystemModel_mimeTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_mimeTypes)},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_QFileSystemModel_mkdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_mkdir)},
    {SIP_MLNAME_CAST(sipName_myComputer), (PyCFunction)meth_QFileSystemModel_myComputer, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_myComputer)},
    {SIP_MLNAME_CAST(sipName_nameFilterDisables), meth_QFileSystemModel_nameFilterDisables, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_nameFilterDisables)},
    {SIP_MLNAME_CAST(sipName_nameFilters), meth_QFileSystemModel_nameFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_nameFilters)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QFileSystemModel_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_parent)},
    {SIP_MLNAME_CAST(sipName_permissions), meth_QFileSystemModel_permissions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_permissions)},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), (PyCFunction)meth_QFileSystemModel_persistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFileSystemModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_remove), meth_QFileSystemModel_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_remove)},
    {SIP_MLNAME_CAST(sipName_resetInternalData), (PyCFunction)meth_QFileSystemModel_resetInternalData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resolveSymlinks), meth_QFileSystemModel_resolveSymlinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_resolveSymlinks)},
    {SIP_MLNAME_CAST(sipName_rmdir), meth_QFileSystemModel_rmdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_rmdir)},
    {SIP_MLNAME_CAST(sipName_rootDirectory), meth_QFileSystemModel_rootDirectory, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_rootDirectory)},
    {SIP_MLNAME_CAST(sipName_rootPath), meth_QFileSystemModel_rootPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_rootPath)},
    {SIP_MLNAME_CAST(sipName_rowCount), (PyCFunction)meth_QFileSystemModel_rowCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_rowCount)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFileSystemModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFileSystemModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), (PyCFunction)meth_QFileSystemModel_setData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_setData)},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_QFileSystemModel_setFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_setFilter)},
    {SIP_MLNAME_CAST(sipName_setIconProvider), meth_QFileSystemModel_setIconProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_setIconProvider)},
    {SIP_MLNAME_CAST(sipName_setNameFilterDisables), meth_QFileSystemModel_setNameFilterDisables, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_setNameFilterDisables)},
    {SIP_MLNAME_CAST(sipName_setNameFilters), meth_QFileSystemModel_setNameFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_setNameFilters)},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_QFileSystemModel_setReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_setReadOnly)},
    {SIP_MLNAME_CAST(sipName_setResolveSymlinks), meth_QFileSystemModel_setResolveSymlinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_setResolveSymlinks)},
    {SIP_MLNAME_CAST(sipName_setRootPath), meth_QFileSystemModel_setRootPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_setRootPath)},
    {SIP_MLNAME_CAST(sipName_size), meth_QFileSystemModel_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_size)},
    {SIP_MLNAME_CAST(sipName_sort), (PyCFunction)meth_QFileSystemModel_sort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_sort)},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_QFileSystemModel_supportedDropActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_supportedDropActions)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFileSystemModel_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileSystemModel_timerEvent)},
    {SIP_MLNAME_CAST(sipName_type), meth_QFileSystemModel_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileSystemModel_type)}
};

static sipEnumMemberDef enummembers_QFileSystemModel[] = {
    {sipName_FileIconRole, static_cast<int>(QFileSystemModel::FileIconRole), 86},
    {sipName_FileNameRole, static_cast<int>(QFileSystemModel::FileNameRole), 86},
    {sipName_FilePathRole, static_cast<int>(QFileSystemModel::FilePathRole), 86},
    {sipName_FilePermissions, static_cast<int>(QFileSystemModel::FilePermissions), 86},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFileSystemModel[] = {
    {"directoryLoaded(QString)", "\1QFileSystemModel.directoryLoaded[str]", 0, 0},
    {"rootPathChanged(QString)", "\1QFileSystemModel.rootPathChanged[str]", 0, 0},
    {"fileRenamed(QString,QString,QString)", "\1QFileSystemModel.fileRenamed[str, str, str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QFileSystemModel, "\1QFileSystemModel(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFileSystemModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileSystemModel,
        {0}
    },
    {
        sipNameNr_QFileSystemModel,
        {0, 0, 1},
        75, methods_QFileSystemModel,
        4, enummembers_QFileSystemModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileSystemModel,
    -1,
    -1,
    supers_QFileSystemModel,
    0,
    init_type_QFileSystemModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileSystemModel,
    0,
    0,
    0,
    release_QFileSystemModel,
    cast_QFileSystemModel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QFileSystemModel::staticMetaObject,
    0,
    signals_QFileSystemModel,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 362503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 362507 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QFileIconProvider_Options___bool__(PyObject *);}
static int slot_QFileIconProvider_Options___bool__(PyObject *sipSelf)
{
    QFileIconProvider::Options *sipCpp = reinterpret_cast<QFileIconProvider::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileIconProvider_Options));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileIconProvider::Options::Int() != 0);
#line 362525 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___ne__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QFileIconProvider::Options *sipCpp = reinterpret_cast<QFileIconProvider::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileIconProvider_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFileIconProvider::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileIconProvider_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileIconProvider::Options::Int() != a0->operator QFileIconProvider::Options::Int());
#line 362555 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QFileIconProvider::Options *>(a0),sipType_QFileIconProvider_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QFileIconProvider_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___eq__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QFileIconProvider::Options *sipCpp = reinterpret_cast<QFileIconProvider::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileIconProvider_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFileIconProvider::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileIconProvider_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileIconProvider::Options::Int() == a0->operator QFileIconProvider::Options::Int());
#line 362591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QFileIconProvider::Options *>(a0),sipType_QFileIconProvider_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QFileIconProvider_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___invert__(PyObject *);}
static PyObject *slot_QFileIconProvider_Options___invert__(PyObject *sipSelf)
{
    QFileIconProvider::Options *sipCpp = reinterpret_cast<QFileIconProvider::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileIconProvider_Options));

    if (!sipCpp)
        return 0;


    {
        {
            QFileIconProvider::Options*sipRes;

            sipRes = new QFileIconProvider::Options(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QFileIconProvider_Options,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___and__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileIconProvider::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileIconProvider_Options, &a0, &a0State, &a1))
        {
            QFileIconProvider::Options*sipRes;

            sipRes = new QFileIconProvider::Options((*a0 & a1));
            sipReleaseType(a0,sipType_QFileIconProvider_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileIconProvider_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileIconProvider::Options* a0;
        int a0State = 0;
        QFileIconProvider::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFileIconProvider_Options, &a0, &a0State, sipType_QFileIconProvider_Options, &a1, &a1State))
        {
            QFileIconProvider::Options*sipRes;

            sipRes = new QFileIconProvider::Options((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QFileIconProvider_Options,a0State);
            sipReleaseType(a1,sipType_QFileIconProvider_Options,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFileIconProvider_Options,NULL);
        }
    }

    {
        QFileIconProvider::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileIconProvider_Options, &a0, &a0State, &a1))
        {
            QFileIconProvider::Options*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QFileIconProvider::Options(*a0 ^ a1);
#line 362694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QFileIconProvider_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileIconProvider_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___or__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileIconProvider::Options* a0;
        int a0State = 0;
        QFileIconProvider::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFileIconProvider_Options, &a0, &a0State, sipType_QFileIconProvider_Options, &a1, &a1State))
        {
            QFileIconProvider::Options*sipRes;

            sipRes = new QFileIconProvider::Options((*a0 | *a1));
            sipReleaseType(a0,sipType_QFileIconProvider_Options,a0State);
            sipReleaseType(a1,sipType_QFileIconProvider_Options,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFileIconProvider_Options,NULL);
        }
    }

    {
        QFileIconProvider::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileIconProvider_Options, &a0, &a0State, &a1))
        {
            QFileIconProvider::Options*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QFileIconProvider::Options(*a0 | a1);
#line 362744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QFileIconProvider_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileIconProvider_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___int__(PyObject *);}
static PyObject *slot_QFileIconProvider_Options___int__(PyObject *sipSelf)
{
    QFileIconProvider::Options *sipCpp = reinterpret_cast<QFileIconProvider::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileIconProvider_Options));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileIconProvider_Options___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileIconProvider_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFileIconProvider::Options *sipCpp = reinterpret_cast<QFileIconProvider::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileIconProvider_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFileIconProvider::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileIconProvider_Options, &a0, &a0State))
        {
            sipCpp->QFileIconProvider::Options::operator^=(*a0);
            sipReleaseType(a0,sipType_QFileIconProvider_Options,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_QFileIconProvider_Options___ior__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileIconProvider_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFileIconProvider::Options *sipCpp = reinterpret_cast<QFileIconProvider::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileIconProvider_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFileIconProvider::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileIconProvider_Options, &a0, &a0State))
        {
            sipCpp->QFileIconProvider::Options::operator|=(*a0);
            sipReleaseType(a0,sipType_QFileIconProvider_Options,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_QFileIconProvider_Options___iand__(PyObject *,PyObject *);}
static PyObject *slot_QFileIconProvider_Options___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileIconProvider_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFileIconProvider::Options *sipCpp = reinterpret_cast<QFileIconProvider::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileIconProvider_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QFileIconProvider::Options::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFileIconProvider_Options(void *, const sipTypeDef *);}
static void *cast_QFileIconProvider_Options(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFileIconProvider_Options)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileIconProvider_Options(void *, int);}
static void release_QFileIconProvider_Options(void *sipCppV,int)
{
    delete reinterpret_cast<QFileIconProvider::Options *>(sipCppV);
}


extern "C" {static void assign_QFileIconProvider_Options(void *, SIP_SSIZE_T, const void *);}
static void assign_QFileIconProvider_Options(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QFileIconProvider::Options *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QFileIconProvider::Options *>(sipSrc);
}


extern "C" {static void *array_QFileIconProvider_Options(SIP_SSIZE_T);}
static void *array_QFileIconProvider_Options(SIP_SSIZE_T sipNrElem)
{
    return new QFileIconProvider::Options[sipNrElem];
}


extern "C" {static void *copy_QFileIconProvider_Options(const void *, SIP_SSIZE_T);}
static void *copy_QFileIconProvider_Options(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QFileIconProvider::Options(reinterpret_cast<const QFileIconProvider::Options *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFileIconProvider_Options(sipSimpleWrapper *);}
static void dealloc_QFileIconProvider_Options(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QFileIconProvider_Options(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QFileIconProvider_Options(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileIconProvider_Options(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QFileIconProvider::Options *sipCpp = 0;

    {
        const QFileIconProvider::Options* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QFileIconProvider_Options, &a0, &a0State))
        {
            sipCpp = new QFileIconProvider::Options(*a0);
            sipReleaseType(const_cast<QFileIconProvider::Options *>(a0),sipType_QFileIconProvider_Options,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QFileIconProvider::Options(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QFileIconProvider::Options();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QFileIconProvider_Options(PyObject *, void **, int *, PyObject *);}
static int convertTo_QFileIconProvider_Options(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QFileIconProvider::Options **sipCppPtr = reinterpret_cast<QFileIconProvider::Options **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QFileIconProvider::Options is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFileIconProvider_Option)) ||
            sipCanConvertToType(sipPy, sipType_QFileIconProvider_Options, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFileIconProvider_Option)))
{
    *sipCppPtr = new QFileIconProvider::Options(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QFileIconProvider::Options *>(sipConvertToType(sipPy, sipType_QFileIconProvider_Options, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 363021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFileIconProvider_Options[] = {
    {(void *)slot_QFileIconProvider_Options___bool__, bool_slot},
    {(void *)slot_QFileIconProvider_Options___ne__, ne_slot},
    {(void *)slot_QFileIconProvider_Options___eq__, eq_slot},
    {(void *)slot_QFileIconProvider_Options___invert__, invert_slot},
    {(void *)slot_QFileIconProvider_Options___and__, and_slot},
    {(void *)slot_QFileIconProvider_Options___xor__, xor_slot},
    {(void *)slot_QFileIconProvider_Options___or__, or_slot},
    {(void *)slot_QFileIconProvider_Options___int__, int_slot},
    {(void *)slot_QFileIconProvider_Options___ixor__, ixor_slot},
    {(void *)slot_QFileIconProvider_Options___ior__, ior_slot},
    {(void *)slot_QFileIconProvider_Options___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFileIconProvider_Options, "\1QFileIconProvider.Options(QFileIconProvider.Options)\n"
    "QFileIconProvider.Options(int)\n"
    "QFileIconProvider.Options()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFileIconProvider_Options = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileIconProvider__Options,
        {0}
    },
    {
        sipNameNr_Options,
        {81, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileIconProvider_Options,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QFileIconProvider_Options,
    init_type_QFileIconProvider_Options,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileIconProvider_Options,
    assign_QFileIconProvider_Options,
    array_QFileIconProvider_Options,
    copy_QFileIconProvider_Options,
    release_QFileIconProvider_Options,
    cast_QFileIconProvider_Options,
    convertTo_QFileIconProvider_Options,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 363103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 363107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 363110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 363113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 363116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQFileIconProvider : public QFileIconProvider
{
public:
    sipQFileIconProvider();
    virtual ~sipQFileIconProvider();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString type(const QFileInfo&) const;
    QIcon icon(const QFileInfo&) const;
    QIcon icon(QFileIconProvider::IconType) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFileIconProvider(const sipQFileIconProvider &);
    sipQFileIconProvider &operator = (const sipQFileIconProvider &);

    char sipPyMethods[3];
};

sipQFileIconProvider::sipQFileIconProvider(): QFileIconProvider(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFileIconProvider::~sipQFileIconProvider()
{
    sipCommonDtor(sipPySelf);
}

QString sipQFileIconProvider::type(const QFileInfo& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,NULL,sipName_type);

    if (!sipMeth)
        return QFileIconProvider::type(a0);

    extern QString sipVH_QtWidgets_134(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFileInfo&);

    return sipVH_QtWidgets_134(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QIcon sipQFileIconProvider::icon(const QFileInfo& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,NULL,sipName_icon);

    if (!sipMeth)
        return QFileIconProvider::icon(a0);

    extern QIcon sipVH_QtWidgets_135(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFileInfo&);

    return sipVH_QtWidgets_135(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QIcon sipQFileIconProvider::icon(QFileIconProvider::IconType a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_icon);

    if (!sipMeth)
        return QFileIconProvider::icon(a0);

    extern QIcon sipVH_QtWidgets_136(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFileIconProvider::IconType);

    return sipVH_QtWidgets_136(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QFileIconProvider_icon, "QFileIconProvider.icon(QFileIconProvider.IconType) -> QIcon\n"
    "QFileIconProvider.icon(QFileInfo) -> QIcon");

extern "C" {static PyObject *meth_QFileIconProvider_icon(PyObject *, PyObject *);}
static PyObject *meth_QFileIconProvider_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFileIconProvider::IconType a0;
        const QFileIconProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFileIconProvider, &sipCpp, sipType_QFileIconProvider_IconType, &a0))
        {
            QIcon*sipRes;

            sipRes = new QIcon((sipSelfWasArg ? sipCpp->QFileIconProvider::icon(a0) : sipCpp->icon(a0)));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    {
        const QFileInfo* a0;
        const QFileIconProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileIconProvider, &sipCpp, sipType_QFileInfo, &a0))
        {
            QIcon*sipRes;

            sipRes = new QIcon((sipSelfWasArg ? sipCpp->QFileIconProvider::icon(*a0) : sipCpp->icon(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileIconProvider, sipName_icon, doc_QFileIconProvider_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QFileIconProvider_type, "QFileIconProvider.type(QFileInfo) -> str");

extern "C" {static PyObject *meth_QFileIconProvider_type(PyObject *, PyObject *);}
static PyObject *meth_QFileIconProvider_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFileInfo* a0;
        const QFileIconProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileIconProvider, &sipCpp, sipType_QFileInfo, &a0))
        {
            QString*sipRes;

            sipRes = new QString((sipSelfWasArg ? sipCpp->QFileIconProvider::type(*a0) : sipCpp->type(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileIconProvider, sipName_type, doc_QFileIconProvider_type);

    return NULL;
}


PyDoc_STRVAR(doc_QFileIconProvider_setOptions, "QFileIconProvider.setOptions(QFileIconProvider.Options)");

extern "C" {static PyObject *meth_QFileIconProvider_setOptions(PyObject *, PyObject *);}
static PyObject *meth_QFileIconProvider_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileIconProvider::Options* a0;
        int a0State = 0;
        QFileIconProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileIconProvider, &sipCpp, sipType_QFileIconProvider_Options, &a0, &a0State))
        {
            sipCpp->setOptions(*a0);
            sipReleaseType(a0,sipType_QFileIconProvider_Options,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileIconProvider, sipName_setOptions, doc_QFileIconProvider_setOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QFileIconProvider_options, "QFileIconProvider.options() -> QFileIconProvider.Options");

extern "C" {static PyObject *meth_QFileIconProvider_options(PyObject *, PyObject *);}
static PyObject *meth_QFileIconProvider_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileIconProvider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileIconProvider, &sipCpp))
        {
            QFileIconProvider::Options*sipRes;

            sipRes = new QFileIconProvider::Options(sipCpp->options());

            return sipConvertFromNewType(sipRes,sipType_QFileIconProvider_Options,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileIconProvider, sipName_options, doc_QFileIconProvider_options);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFileIconProvider(void *, const sipTypeDef *);}
static void *cast_QFileIconProvider(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFileIconProvider)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileIconProvider(void *, int);}
static void release_QFileIconProvider(void *sipCppV,int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQFileIconProvider *>(sipCppV);
    else
        delete reinterpret_cast<QFileIconProvider *>(sipCppV);
}


extern "C" {static void dealloc_QFileIconProvider(sipSimpleWrapper *);}
static void dealloc_QFileIconProvider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFileIconProvider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFileIconProvider(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QFileIconProvider(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileIconProvider(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQFileIconProvider *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQFileIconProvider();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QFileIconProvider[] = {
    {SIP_MLNAME_CAST(sipName_icon), meth_QFileIconProvider_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileIconProvider_icon)},
    {SIP_MLNAME_CAST(sipName_options), meth_QFileIconProvider_options, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileIconProvider_options)},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_QFileIconProvider_setOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileIconProvider_setOptions)},
    {SIP_MLNAME_CAST(sipName_type), meth_QFileIconProvider_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileIconProvider_type)}
};

static sipEnumMemberDef enummembers_QFileIconProvider[] = {
    {sipName_Computer, static_cast<int>(QFileIconProvider::Computer), 82},
    {sipName_Desktop, static_cast<int>(QFileIconProvider::Desktop), 82},
    {sipName_DontUseCustomDirectoryIcons, static_cast<int>(QFileIconProvider::DontUseCustomDirectoryIcons), 83},
    {sipName_Drive, static_cast<int>(QFileIconProvider::Drive), 82},
    {sipName_File, static_cast<int>(QFileIconProvider::File), 82},
    {sipName_Folder, static_cast<int>(QFileIconProvider::Folder), 82},
    {sipName_Network, static_cast<int>(QFileIconProvider::Network), 82},
    {sipName_Trashcan, static_cast<int>(QFileIconProvider::Trashcan), 82},
};

PyDoc_STRVAR(doc_QFileIconProvider, "\1QFileIconProvider()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFileIconProvider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileIconProvider,
        {0}
    },
    {
        sipNameNr_QFileIconProvider,
        {0, 0, 1},
        4, methods_QFileIconProvider,
        8, enummembers_QFileIconProvider,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileIconProvider,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QFileIconProvider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileIconProvider,
    0,
    0,
    0,
    release_QFileIconProvider,
    cast_QFileIconProvider,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 363462 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 363466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QFileDialog_Options___bool__(PyObject *);}
static int slot_QFileDialog_Options___bool__(PyObject *sipSelf)
{
    QFileDialog::Options *sipCpp = reinterpret_cast<QFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDialog_Options));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDialog::Options::Int() != 0);
#line 363484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileDialog_Options___ne__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QFileDialog::Options *sipCpp = reinterpret_cast<QFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDialog_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDialog::Options::Int() != a0->operator QFileDialog::Options::Int());
#line 363514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QFileDialog::Options *>(a0),sipType_QFileDialog_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QFileDialog_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFileDialog_Options___eq__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QFileDialog::Options *sipCpp = reinterpret_cast<QFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDialog_Options, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QFileDialog::Options::Int() == a0->operator QFileDialog::Options::Int());
#line 363550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QFileDialog::Options *>(a0),sipType_QFileDialog_Options,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QFileDialog_Options,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QFileDialog_Options___invert__(PyObject *);}
static PyObject *slot_QFileDialog_Options___invert__(PyObject *sipSelf)
{
    QFileDialog::Options *sipCpp = reinterpret_cast<QFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDialog_Options));

    if (!sipCpp)
        return 0;


    {
        {
            QFileDialog::Options*sipRes;

            sipRes = new QFileDialog::Options(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QFileDialog_Options,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileDialog_Options___and__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDialog_Options, &a0, &a0State, &a1))
        {
            QFileDialog::Options*sipRes;

            sipRes = new QFileDialog::Options((*a0 & a1));
            sipReleaseType(a0,sipType_QFileDialog_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDialog_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFileDialog_Options___xor__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::Options* a0;
        int a0State = 0;
        QFileDialog::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFileDialog_Options, &a0, &a0State, sipType_QFileDialog_Options, &a1, &a1State))
        {
            QFileDialog::Options*sipRes;

            sipRes = new QFileDialog::Options((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QFileDialog_Options,a0State);
            sipReleaseType(a1,sipType_QFileDialog_Options,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFileDialog_Options,NULL);
        }
    }

    {
        QFileDialog::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDialog_Options, &a0, &a0State, &a1))
        {
            QFileDialog::Options*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QFileDialog::Options(*a0 ^ a1);
#line 363653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QFileDialog_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDialog_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFileDialog_Options___or__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::Options* a0;
        int a0State = 0;
        QFileDialog::Options* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QFileDialog_Options, &a0, &a0State, sipType_QFileDialog_Options, &a1, &a1State))
        {
            QFileDialog::Options*sipRes;

            sipRes = new QFileDialog::Options((*a0 | *a1));
            sipReleaseType(a0,sipType_QFileDialog_Options,a0State);
            sipReleaseType(a1,sipType_QFileDialog_Options,a1State);

            return sipConvertFromNewType(sipRes,sipType_QFileDialog_Options,NULL);
        }
    }

    {
        QFileDialog::Options* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QFileDialog_Options, &a0, &a0State, &a1))
        {
            QFileDialog::Options*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QFileDialog::Options(*a0 | a1);
#line 363703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QFileDialog_Options,a0State);

            return sipConvertFromNewType(sipRes,sipType_QFileDialog_Options,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QFileDialog_Options___int__(PyObject *);}
static PyObject *slot_QFileDialog_Options___int__(PyObject *sipSelf)
{
    QFileDialog::Options *sipCpp = reinterpret_cast<QFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDialog_Options));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QFileDialog_Options___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileDialog_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFileDialog::Options *sipCpp = reinterpret_cast<QFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDialog_Options, &a0, &a0State))
        {
            sipCpp->QFileDialog::Options::operator^=(*a0);
            sipReleaseType(a0,sipType_QFileDialog_Options,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_QFileDialog_Options___ior__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileDialog_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFileDialog::Options *sipCpp = reinterpret_cast<QFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QFileDialog_Options, &a0, &a0State))
        {
            sipCpp->QFileDialog::Options::operator|=(*a0);
            sipReleaseType(a0,sipType_QFileDialog_Options,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_QFileDialog_Options___iand__(PyObject *,PyObject *);}
static PyObject *slot_QFileDialog_Options___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QFileDialog_Options)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QFileDialog::Options *sipCpp = reinterpret_cast<QFileDialog::Options *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QFileDialog_Options));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QFileDialog::Options::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFileDialog_Options(void *, const sipTypeDef *);}
static void *cast_QFileDialog_Options(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QFileDialog_Options)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileDialog_Options(void *, int);}
static void release_QFileDialog_Options(void *sipCppV,int)
{
    delete reinterpret_cast<QFileDialog::Options *>(sipCppV);
}


extern "C" {static void assign_QFileDialog_Options(void *, SIP_SSIZE_T, const void *);}
static void assign_QFileDialog_Options(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QFileDialog::Options *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QFileDialog::Options *>(sipSrc);
}


extern "C" {static void *array_QFileDialog_Options(SIP_SSIZE_T);}
static void *array_QFileDialog_Options(SIP_SSIZE_T sipNrElem)
{
    return new QFileDialog::Options[sipNrElem];
}


extern "C" {static void *copy_QFileDialog_Options(const void *, SIP_SSIZE_T);}
static void *copy_QFileDialog_Options(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QFileDialog::Options(reinterpret_cast<const QFileDialog::Options *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QFileDialog_Options(sipSimpleWrapper *);}
static void dealloc_QFileDialog_Options(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QFileDialog_Options(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QFileDialog_Options(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileDialog_Options(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QFileDialog::Options *sipCpp = 0;

    {
        const QFileDialog::Options* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QFileDialog_Options, &a0, &a0State))
        {
            sipCpp = new QFileDialog::Options(*a0);
            sipReleaseType(const_cast<QFileDialog::Options *>(a0),sipType_QFileDialog_Options,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QFileDialog::Options(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QFileDialog::Options();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QFileDialog_Options(PyObject *, void **, int *, PyObject *);}
static int convertTo_QFileDialog_Options(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QFileDialog::Options **sipCppPtr = reinterpret_cast<QFileDialog::Options **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QFileDialog::Options is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFileDialog_Option)) ||
            sipCanConvertToType(sipPy, sipType_QFileDialog_Options, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QFileDialog_Option)))
{
    *sipCppPtr = new QFileDialog::Options(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QFileDialog::Options *>(sipConvertToType(sipPy, sipType_QFileDialog_Options, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 363980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QFileDialog_Options[] = {
    {(void *)slot_QFileDialog_Options___bool__, bool_slot},
    {(void *)slot_QFileDialog_Options___ne__, ne_slot},
    {(void *)slot_QFileDialog_Options___eq__, eq_slot},
    {(void *)slot_QFileDialog_Options___invert__, invert_slot},
    {(void *)slot_QFileDialog_Options___and__, and_slot},
    {(void *)slot_QFileDialog_Options___xor__, xor_slot},
    {(void *)slot_QFileDialog_Options___or__, or_slot},
    {(void *)slot_QFileDialog_Options___int__, int_slot},
    {(void *)slot_QFileDialog_Options___ixor__, ixor_slot},
    {(void *)slot_QFileDialog_Options___ior__, ior_slot},
    {(void *)slot_QFileDialog_Options___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QFileDialog_Options, "\1QFileDialog.Options(QFileDialog.Options)\n"
    "QFileDialog.Options(int)\n"
    "QFileDialog.Options()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFileDialog_Options = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileDialog__Options,
        {0}
    },
    {
        sipNameNr_Options,
        {74, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileDialog_Options,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QFileDialog_Options,
    init_type_QFileDialog_Options,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileDialog_Options,
    assign_QFileDialog_Options,
    array_QFileDialog_Options,
    copy_QFileDialog_Options,
    release_QFileDialog_Options,
    cast_QFileDialog_Options,
    convertTo_QFileDialog_Options,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 364062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 364066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 364069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 364072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
#include <qfiledialog.h>
#line 364075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 364078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 100 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 364081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 364084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 364087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractproxymodel.sip"
#include <qabstractproxymodel.h>
#line 364090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 364093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 364096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 364099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 364102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 364105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 364108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 364126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 364129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 364132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 364135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 364138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 364141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 364144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 364147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 364150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 364153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 364156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 364159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 364162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 364165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 364168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 364171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 364174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 364177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 364180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 364183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 364186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 364189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 364228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 364231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 364234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 364237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 364240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 364243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 364246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 364249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 364252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 364255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 364258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 364261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 364264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 364267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 364270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 364273 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 364276 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 364279 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 364282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 364285 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 364288 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 364291 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQFileDialog : public QFileDialog
{
public:
    sipQFileDialog(QWidget*,Qt::WindowFlags);
    sipQFileDialog(QWidget*,const QString&,const QString&,const QString&);
    virtual ~sipQFileDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_done(bool,int);
    void sipProtectVirt_accept(bool);
    void sipProtectVirt_changeEvent(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void closeEvent(QCloseEvent*);
    void keyPressEvent(QKeyEvent*);
    void reject();
    int exec();
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    void open();
    void changeEvent(QEvent*);
    void accept();
    void done(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFileDialog(const sipQFileDialog &);
    sipQFileDialog &operator = (const sipQFileDialog &);

    char sipPyMethods[51];
};

sipQFileDialog::sipQFileDialog(QWidget*a0,Qt::WindowFlags a1): QFileDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFileDialog::sipQFileDialog(QWidget*a0,const QString& a1,const QString& a2,const QString& a3): QFileDialog(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFileDialog::~sipQFileDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFileDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFileDialog);
}

int sipQFileDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QFileDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QFileDialog,_c,_id,_a);

    return _id;
}

void *sipQFileDialog::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QFileDialog, _clname, &sipCpp) ? sipCpp : QFileDialog::qt_metacast(_clname));
}

void sipQFileDialog::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFileDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFileDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFileDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QFileDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFileDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QFileDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQFileDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QFileDialog::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFileDialog::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QFileDialog::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFileDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QFileDialog::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFileDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QFileDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQFileDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QFileDialog::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QFileDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFileDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QFileDialog::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QFileDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QFileDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QFileDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QFileDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QFileDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QFileDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QFileDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QFileDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QFileDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QFileDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QFileDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QFileDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QFileDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QFileDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QFileDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QFileDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QFileDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QFileDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QFileDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFileDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFileDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQFileDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QFileDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFileDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QFileDialog::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFileDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QFileDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFileDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFileDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQFileDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QFileDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QFileDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QFileDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QFileDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QFileDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QFileDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFileDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return QFileDialog::exec();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQFileDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QFileDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQFileDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QFileDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFileDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QFileDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        QFileDialog::open();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFileDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QFileDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFileDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QFileDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFileDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QFileDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQFileDialog::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQFileDialog::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQFileDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFileDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQFileDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQFileDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFileDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFileDialog::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQFileDialog::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQFileDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQFileDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQFileDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQFileDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQFileDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQFileDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQFileDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQFileDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQFileDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQFileDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQFileDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQFileDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQFileDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQFileDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQFileDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQFileDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQFileDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQFileDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQFileDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQFileDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQFileDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQFileDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQFileDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQFileDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQFileDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQFileDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQFileDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQFileDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQFileDialog::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQFileDialog::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQFileDialog::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQFileDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQFileDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QDialog::closeEvent(a0) : closeEvent(a0));
}

void sipQFileDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipQFileDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipQFileDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQFileDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQFileDialog::sipProtectVirt_done(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QFileDialog::done(a0) : done(a0));
}

void sipQFileDialog::sipProtectVirt_accept(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QFileDialog::accept() : accept());
}

void sipQFileDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFileDialog::changeEvent(a0) : changeEvent(a0));
}


PyDoc_STRVAR(doc_QFileDialog_sender, "QFileDialog.sender() -> QObject");

extern "C" {static PyObject *meth_QFileDialog_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 365625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_sender, doc_QFileDialog_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_receivers, "QFileDialog.receivers(signal) -> int");

extern "C" {static PyObject *meth_QFileDialog_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFileDialog, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 365684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_receivers, doc_QFileDialog_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_timerEvent, "QFileDialog.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QFileDialog_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_timerEvent, doc_QFileDialog_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_childEvent, "QFileDialog.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QFileDialog_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_childEvent, doc_QFileDialog_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_customEvent, "QFileDialog.customEvent(QEvent)");

extern "C" {static PyObject *meth_QFileDialog_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_customEvent, doc_QFileDialog_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_connectNotify, "QFileDialog.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFileDialog_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_connectNotify, doc_QFileDialog_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_disconnectNotify, "QFileDialog.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFileDialog_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_disconnectNotify, doc_QFileDialog_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_senderSignalIndex, "QFileDialog.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QFileDialog_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_senderSignalIndex, doc_QFileDialog_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_isSignalConnected, "QFileDialog.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFileDialog_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_isSignalConnected, doc_QFileDialog_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_event, "QFileDialog.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QFileDialog_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_event, doc_QFileDialog_event);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_mousePressEvent, "QFileDialog.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFileDialog_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_mousePressEvent, doc_QFileDialog_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_mouseReleaseEvent, "QFileDialog.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFileDialog_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_mouseReleaseEvent, doc_QFileDialog_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_mouseDoubleClickEvent, "QFileDialog.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFileDialog_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_mouseDoubleClickEvent, doc_QFileDialog_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_mouseMoveEvent, "QFileDialog.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFileDialog_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_mouseMoveEvent, doc_QFileDialog_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_wheelEvent, "QFileDialog.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QFileDialog_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_wheelEvent, doc_QFileDialog_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_keyReleaseEvent, "QFileDialog.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFileDialog_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_keyReleaseEvent, doc_QFileDialog_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_focusInEvent, "QFileDialog.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFileDialog_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_focusInEvent, doc_QFileDialog_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_focusOutEvent, "QFileDialog.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFileDialog_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_focusOutEvent, doc_QFileDialog_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_enterEvent, "QFileDialog.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QFileDialog_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_enterEvent, doc_QFileDialog_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_leaveEvent, "QFileDialog.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QFileDialog_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_leaveEvent, doc_QFileDialog_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_paintEvent, "QFileDialog.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QFileDialog_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_paintEvent, doc_QFileDialog_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_moveEvent, "QFileDialog.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QFileDialog_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_moveEvent, doc_QFileDialog_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_tabletEvent, "QFileDialog.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QFileDialog_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_tabletEvent, doc_QFileDialog_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_actionEvent, "QFileDialog.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QFileDialog_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_actionEvent, doc_QFileDialog_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_dragEnterEvent, "QFileDialog.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QFileDialog_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_dragEnterEvent, doc_QFileDialog_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_dragMoveEvent, "QFileDialog.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QFileDialog_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_dragMoveEvent, doc_QFileDialog_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_dragLeaveEvent, "QFileDialog.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QFileDialog_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_dragLeaveEvent, doc_QFileDialog_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_dropEvent, "QFileDialog.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QFileDialog_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_dropEvent, doc_QFileDialog_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_hideEvent, "QFileDialog.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QFileDialog_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_hideEvent, doc_QFileDialog_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_metric, "QFileDialog.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QFileDialog_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_metric, doc_QFileDialog_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_inputMethodEvent, "QFileDialog.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QFileDialog_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_inputMethodEvent, doc_QFileDialog_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_updateMicroFocus, "QFileDialog.updateMicroFocus()");

extern "C" {static PyObject *meth_QFileDialog_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_updateMicroFocus, doc_QFileDialog_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_create, "QFileDialog.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QFileDialog_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQFileDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_create, doc_QFileDialog_create);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_destroy, "QFileDialog.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QFileDialog_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQFileDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QFileDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_destroy, doc_QFileDialog_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_focusNextPrevChild, "QFileDialog.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QFileDialog_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QFileDialog, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_focusNextPrevChild, doc_QFileDialog_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_focusNextChild, "QFileDialog.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QFileDialog_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_focusNextChild, doc_QFileDialog_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_focusPreviousChild, "QFileDialog.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QFileDialog_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_focusPreviousChild, doc_QFileDialog_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_nativeEvent, "QFileDialog.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QFileDialog_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_nativeEvent, doc_QFileDialog_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_sharedPainter, "QFileDialog.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QFileDialog_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_sharedPainter, doc_QFileDialog_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_initPainter, "QFileDialog.initPainter(QPainter)");

extern "C" {static PyObject *meth_QFileDialog_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_initPainter, doc_QFileDialog_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_keyPressEvent, "QFileDialog.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFileDialog_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_keyPressEvent, doc_QFileDialog_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_closeEvent, "QFileDialog.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QFileDialog_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_closeEvent, doc_QFileDialog_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_showEvent, "QFileDialog.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QFileDialog_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_showEvent, doc_QFileDialog_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_resizeEvent, "QFileDialog.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QFileDialog_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_resizeEvent, doc_QFileDialog_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_contextMenuEvent, "QFileDialog.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QFileDialog_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_contextMenuEvent, doc_QFileDialog_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_eventFilter, "QFileDialog.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QFileDialog_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_eventFilter, doc_QFileDialog_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setDirectory, "QFileDialog.setDirectory(str)\n"
    "QFileDialog.setDirectory(QDir)");

extern "C" {static PyObject *meth_QFileDialog_setDirectory(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setDirectory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDirectory(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QDir* a0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QDir, &a0))
        {
            sipCpp->setDirectory(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setDirectory, doc_QFileDialog_setDirectory);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_directory, "QFileDialog.directory() -> QDir");

extern "C" {static PyObject *meth_QFileDialog_directory(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_directory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QDir*sipRes;

            sipRes = new QDir(sipCpp->directory());

            return sipConvertFromNewType(sipRes,sipType_QDir,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_directory, doc_QFileDialog_directory);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_selectFile, "QFileDialog.selectFile(str)");

extern "C" {static PyObject *meth_QFileDialog_selectFile(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_selectFile(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->selectFile(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_selectFile, doc_QFileDialog_selectFile);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_selectedFiles, "QFileDialog.selectedFiles() -> list-of-str");

extern "C" {static PyObject *meth_QFileDialog_selectedFiles(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_selectedFiles(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->selectedFiles());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_selectedFiles, doc_QFileDialog_selectedFiles);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setViewMode, "QFileDialog.setViewMode(QFileDialog.ViewMode)");

extern "C" {static PyObject *meth_QFileDialog_setViewMode(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setViewMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::ViewMode a0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFileDialog_ViewMode, &a0))
        {
            sipCpp->setViewMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setViewMode, doc_QFileDialog_setViewMode);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_viewMode, "QFileDialog.viewMode() -> QFileDialog.ViewMode");

extern "C" {static PyObject *meth_QFileDialog_viewMode(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_viewMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QFileDialog::ViewMode sipRes;

            sipRes = sipCpp->viewMode();

            return sipConvertFromEnum(sipRes,sipType_QFileDialog_ViewMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_viewMode, doc_QFileDialog_viewMode);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setFileMode, "QFileDialog.setFileMode(QFileDialog.FileMode)");

extern "C" {static PyObject *meth_QFileDialog_setFileMode(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setFileMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::FileMode a0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFileDialog_FileMode, &a0))
        {
            sipCpp->setFileMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setFileMode, doc_QFileDialog_setFileMode);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_fileMode, "QFileDialog.fileMode() -> QFileDialog.FileMode");

extern "C" {static PyObject *meth_QFileDialog_fileMode(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_fileMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QFileDialog::FileMode sipRes;

            sipRes = sipCpp->fileMode();

            return sipConvertFromEnum(sipRes,sipType_QFileDialog_FileMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_fileMode, doc_QFileDialog_fileMode);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setAcceptMode, "QFileDialog.setAcceptMode(QFileDialog.AcceptMode)");

extern "C" {static PyObject *meth_QFileDialog_setAcceptMode(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setAcceptMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::AcceptMode a0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFileDialog_AcceptMode, &a0))
        {
            sipCpp->setAcceptMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setAcceptMode, doc_QFileDialog_setAcceptMode);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_acceptMode, "QFileDialog.acceptMode() -> QFileDialog.AcceptMode");

extern "C" {static PyObject *meth_QFileDialog_acceptMode(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_acceptMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QFileDialog::AcceptMode sipRes;

            sipRes = sipCpp->acceptMode();

            return sipConvertFromEnum(sipRes,sipType_QFileDialog_AcceptMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_acceptMode, doc_QFileDialog_acceptMode);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setDefaultSuffix, "QFileDialog.setDefaultSuffix(str)");

extern "C" {static PyObject *meth_QFileDialog_setDefaultSuffix(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setDefaultSuffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDefaultSuffix(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setDefaultSuffix, doc_QFileDialog_setDefaultSuffix);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_defaultSuffix, "QFileDialog.defaultSuffix() -> str");

extern "C" {static PyObject *meth_QFileDialog_defaultSuffix(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_defaultSuffix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->defaultSuffix());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_defaultSuffix, doc_QFileDialog_defaultSuffix);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setHistory, "QFileDialog.setHistory(list-of-str)");

extern "C" {static PyObject *meth_QFileDialog_setHistory(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setHistory(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setHistory(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setHistory, doc_QFileDialog_setHistory);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_history, "QFileDialog.history() -> list-of-str");

extern "C" {static PyObject *meth_QFileDialog_history(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_history(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->history());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_history, doc_QFileDialog_history);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setItemDelegate, "QFileDialog.setItemDelegate(QAbstractItemDelegate)");

extern "C" {static PyObject *meth_QFileDialog_setItemDelegate(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setItemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemDelegate* a0;
        PyObject *a0Keep;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QFileDialog, &sipCpp, &a0Keep, sipType_QAbstractItemDelegate, &a0))
        {
            sipCpp->setItemDelegate(a0);

            sipKeepReference(sipSelf, -19, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setItemDelegate, doc_QFileDialog_setItemDelegate);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_itemDelegate, "QFileDialog.itemDelegate() -> QAbstractItemDelegate");

extern "C" {static PyObject *meth_QFileDialog_itemDelegate(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_itemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QAbstractItemDelegate*sipRes;

            sipRes = sipCpp->itemDelegate();

            return sipConvertFromType(sipRes,sipType_QAbstractItemDelegate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_itemDelegate, doc_QFileDialog_itemDelegate);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setIconProvider, "QFileDialog.setIconProvider(QFileIconProvider)");

extern "C" {static PyObject *meth_QFileDialog_setIconProvider(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setIconProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileIconProvider* a0;
        PyObject *a0Keep;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QFileDialog, &sipCpp, &a0Keep, sipType_QFileIconProvider, &a0))
        {
            sipCpp->setIconProvider(a0);

            sipKeepReference(sipSelf, -20, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setIconProvider, doc_QFileDialog_setIconProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_iconProvider, "QFileDialog.iconProvider() -> QFileIconProvider");

extern "C" {static PyObject *meth_QFileDialog_iconProvider(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_iconProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QFileIconProvider*sipRes;

            sipRes = sipCpp->iconProvider();

            return sipConvertFromType(sipRes,sipType_QFileIconProvider,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_iconProvider, doc_QFileDialog_iconProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setLabelText, "QFileDialog.setLabelText(QFileDialog.DialogLabel, str)");

extern "C" {static PyObject *meth_QFileDialog_setLabelText(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setLabelText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::DialogLabel a0;
        const QString* a1;
        int a1State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFileDialog_DialogLabel, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setLabelText(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setLabelText, doc_QFileDialog_setLabelText);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_labelText, "QFileDialog.labelText(QFileDialog.DialogLabel) -> str");

extern "C" {static PyObject *meth_QFileDialog_labelText(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_labelText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::DialogLabel a0;
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFileDialog_DialogLabel, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->labelText(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_labelText, doc_QFileDialog_labelText);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_getExistingDirectory, "QFileDialog.getExistingDirectory(QWidget parent=None, str caption='', str directory='', QFileDialog.Options options=QFileDialog.ShowDirsOnly) -> str");

extern "C" {static PyObject *meth_QFileDialog_getExistingDirectory(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_getExistingDirectory(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0 = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        QFileDialog::Options a3def = QFileDialog::ShowDirsOnly;
        QFileDialog::Options* a3 = &a3def;
        int a3State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_caption,
            sipName_directory,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QFileDialog_Options, &a3, &a3State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(QFileDialog::getExistingDirectory(a0,*a1,*a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_QFileDialog_Options,a3State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_getExistingDirectory, doc_QFileDialog_getExistingDirectory);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_getOpenFileName, "QFileDialog.getOpenFileName(QWidget parent=None, str caption='', str directory='', str filter='', str initialFilter='', QFileDialog.Options options=0) -> (str, str)");

extern "C" {static PyObject *meth_QFileDialog_getOpenFileName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_getOpenFileName(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0 = 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;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;
        QFileDialog::Options a5def = 0;
        QFileDialog::Options* a5 = &a5def;
        int a5State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_caption,
            sipName_directory,
            sipName_filter,
            sipName_initialFilter,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8J1J1J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QFileDialog_Options, &a5, &a5State))
        {
            PyObject * sipRes = 0;

#line 115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
        QString *name;
        QString *filter = new QString(*a4);
        
        Py_BEGIN_ALLOW_THREADS
        
        name = new QString(QFileDialog::getOpenFileName(a0, *a1, *a2, *a3, filter, *a5));
        
        Py_END_ALLOW_THREADS
        
        PyObject *name_obj = sipConvertFromNewType(name, sipType_QString, NULL);
        PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL);
        
        if (name_obj && filter_obj)
            sipRes = PyTuple_Pack(2, name_obj, filter_obj);
        
        Py_XDECREF(name_obj);
        Py_XDECREF(filter_obj);
#line 367633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            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(a5,sipType_QFileDialog_Options,a5State);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_getOpenFileName, doc_QFileDialog_getOpenFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_getOpenFileNames, "QFileDialog.getOpenFileNames(QWidget parent=None, str caption='', str directory='', str filter='', str initialFilter='', QFileDialog.Options options=0) -> (list-of-str, str)");

extern "C" {static PyObject *meth_QFileDialog_getOpenFileNames(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_getOpenFileNames(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0 = 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;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;
        QFileDialog::Options a5def = 0;
        QFileDialog::Options* a5 = &a5def;
        int a5State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_caption,
            sipName_directory,
            sipName_filter,
            sipName_initialFilter,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8J1J1J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QFileDialog_Options, &a5, &a5State))
        {
            PyObject * sipRes = 0;

#line 136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
        QStringList *names;
        QString *filter = new QString(*a4);
        
        Py_BEGIN_ALLOW_THREADS
        
        names = new QStringList(QFileDialog::getOpenFileNames(a0, *a1, *a2, *a3, filter, *a5));
        
        Py_END_ALLOW_THREADS
        
        PyObject *names_obj = sipConvertFromNewType(names, sipType_QStringList, NULL);
        PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL);
        
        if (names_obj && filter_obj)
            sipRes = PyTuple_Pack(2, names_obj, filter_obj);
        
        Py_XDECREF(names_obj);
        Py_XDECREF(filter_obj);
#line 367707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            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(a5,sipType_QFileDialog_Options,a5State);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_getOpenFileNames, doc_QFileDialog_getOpenFileNames);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_getSaveFileName, "QFileDialog.getSaveFileName(QWidget parent=None, str caption='', str directory='', str filter='', str initialFilter='', QFileDialog.Options options=0) -> (str, str)");

extern "C" {static PyObject *meth_QFileDialog_getSaveFileName(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_getSaveFileName(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0 = 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;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;
        QFileDialog::Options a5def = 0;
        QFileDialog::Options* a5 = &a5def;
        int a5State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_caption,
            sipName_directory,
            sipName_filter,
            sipName_initialFilter,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8J1J1J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QFileDialog_Options, &a5, &a5State))
        {
            PyObject * sipRes = 0;

#line 157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
        QString *name;
        QString *filter = new QString(*a4);
        
        Py_BEGIN_ALLOW_THREADS
        
        name = new QString(QFileDialog::getSaveFileName(a0, *a1, *a2, *a3, filter, *a5));
        
        Py_END_ALLOW_THREADS
        
        PyObject *name_obj = sipConvertFromNewType(name, sipType_QString, NULL);
        PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL);
        
        if (name_obj && filter_obj)
            sipRes = PyTuple_Pack(2, name_obj, filter_obj);
        
        Py_XDECREF(name_obj);
        Py_XDECREF(filter_obj);
#line 367781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            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(a5,sipType_QFileDialog_Options,a5State);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_getSaveFileName, doc_QFileDialog_getSaveFileName);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_done, "QFileDialog.done(int)");

extern "C" {static PyObject *meth_QFileDialog_done(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_done(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QFileDialog, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_done(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_done, doc_QFileDialog_done);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_accept, "QFileDialog.accept()");

extern "C" {static PyObject *meth_QFileDialog_accept(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_accept(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            sipCpp->sipProtectVirt_accept(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_accept, doc_QFileDialog_accept);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_changeEvent, "QFileDialog.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QFileDialog_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFileDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_changeEvent, doc_QFileDialog_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setSidebarUrls, "QFileDialog.setSidebarUrls(list-of-QUrl)");

extern "C" {static PyObject *meth_QFileDialog_setSidebarUrls(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setSidebarUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QUrl>* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QList_0100QUrl,&a0, &a0State))
        {
            sipCpp->setSidebarUrls(*a0);
            sipReleaseType(const_cast<QList<QUrl> *>(a0),sipType_QList_0100QUrl,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setSidebarUrls, doc_QFileDialog_setSidebarUrls);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_sidebarUrls, "QFileDialog.sidebarUrls() -> list-of-QUrl");

extern "C" {static PyObject *meth_QFileDialog_sidebarUrls(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_sidebarUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QList<QUrl>*sipRes;

            sipRes = new QList<QUrl>(sipCpp->sidebarUrls());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_sidebarUrls, doc_QFileDialog_sidebarUrls);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_saveState, "QFileDialog.saveState() -> QByteArray");

extern "C" {static PyObject *meth_QFileDialog_saveState(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_saveState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QByteArray*sipRes;

            sipRes = new QByteArray(sipCpp->saveState());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_saveState, doc_QFileDialog_saveState);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_restoreState, "QFileDialog.restoreState(QByteArray) -> bool");

extern "C" {static PyObject *meth_QFileDialog_restoreState(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_restoreState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->restoreState(*a0);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_restoreState, doc_QFileDialog_restoreState);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setProxyModel, "QFileDialog.setProxyModel(QAbstractProxyModel)");

extern "C" {static PyObject *meth_QFileDialog_setProxyModel(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setProxyModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractProxyModel* a0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QAbstractProxyModel, &a0))
        {
            sipCpp->setProxyModel(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setProxyModel, doc_QFileDialog_setProxyModel);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_proxyModel, "QFileDialog.proxyModel() -> QAbstractProxyModel");

extern "C" {static PyObject *meth_QFileDialog_proxyModel(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_proxyModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QAbstractProxyModel*sipRes;

            sipRes = sipCpp->proxyModel();

            return sipConvertFromType(sipRes,sipType_QAbstractProxyModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_proxyModel, doc_QFileDialog_proxyModel);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setNameFilter, "QFileDialog.setNameFilter(str)");

extern "C" {static PyObject *meth_QFileDialog_setNameFilter(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setNameFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setNameFilter(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setNameFilter, doc_QFileDialog_setNameFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setNameFilters, "QFileDialog.setNameFilters(list-of-str)");

extern "C" {static PyObject *meth_QFileDialog_setNameFilters(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setNameFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setNameFilters(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setNameFilters, doc_QFileDialog_setNameFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_nameFilters, "QFileDialog.nameFilters() -> list-of-str");

extern "C" {static PyObject *meth_QFileDialog_nameFilters(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_nameFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->nameFilters());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_nameFilters, doc_QFileDialog_nameFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_selectNameFilter, "QFileDialog.selectNameFilter(str)");

extern "C" {static PyObject *meth_QFileDialog_selectNameFilter(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_selectNameFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->selectNameFilter(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_selectNameFilter, doc_QFileDialog_selectNameFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_selectedNameFilter, "QFileDialog.selectedNameFilter() -> str");

extern "C" {static PyObject *meth_QFileDialog_selectedNameFilter(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_selectedNameFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->selectedNameFilter());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_selectedNameFilter, doc_QFileDialog_selectedNameFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_filter, "QFileDialog.filter() -> QDir.Filters");

extern "C" {static PyObject *meth_QFileDialog_filter(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_filter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QDir::Filters*sipRes;

            sipRes = new QDir::Filters(sipCpp->filter());

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_filter, doc_QFileDialog_filter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setFilter, "QFileDialog.setFilter(QDir.Filters)");

extern "C" {static PyObject *meth_QFileDialog_setFilter(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDir::Filters* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QDir_Filters, &a0, &a0State))
        {
            sipCpp->setFilter(*a0);
            sipReleaseType(a0,sipType_QDir_Filters,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setFilter, doc_QFileDialog_setFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setOption, "QFileDialog.setOption(QFileDialog.Option, bool on=True)");

extern "C" {static PyObject *meth_QFileDialog_setOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::Option a0;
        bool a1 = 1;
        QFileDialog *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFileDialog_Option, &a0, &a1))
        {
            sipCpp->setOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setOption, doc_QFileDialog_setOption);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_testOption, "QFileDialog.testOption(QFileDialog.Option) -> bool");

extern "C" {static PyObject *meth_QFileDialog_testOption(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_testOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::Option a0;
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFileDialog_Option, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testOption(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_testOption, doc_QFileDialog_testOption);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setOptions, "QFileDialog.setOptions(QFileDialog.Options)");

extern "C" {static PyObject *meth_QFileDialog_setOptions(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileDialog::Options* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QFileDialog_Options, &a0, &a0State))
        {
            sipCpp->setOptions(*a0);
            sipReleaseType(a0,sipType_QFileDialog_Options,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setOptions, doc_QFileDialog_setOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_options, "QFileDialog.options() -> QFileDialog.Options");

extern "C" {static PyObject *meth_QFileDialog_options(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QFileDialog::Options*sipRes;

            sipRes = new QFileDialog::Options(sipCpp->options());

            return sipConvertFromNewType(sipRes,sipType_QFileDialog_Options,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_options, doc_QFileDialog_options);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_open, "QFileDialog.open()\n"
    "QFileDialog.open(slot)");

extern "C" {static PyObject *meth_QFileDialog_open(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QFileDialog::open() : sipCpp->open());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0", &sipSelf, sipType_QFileDialog, &sipCpp, &a0))
        {
            sipErrorState sipError = sipErrorNone;

#line 202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipCpp->open(receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 368404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.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_QFileDialog, sipName_open, doc_QFileDialog_open);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setVisible, "QFileDialog.setVisible(bool)");

extern "C" {static PyObject *meth_QFileDialog_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QFileDialog, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QFileDialog::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setVisible, doc_QFileDialog_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setDirectoryUrl, "QFileDialog.setDirectoryUrl(QUrl)");

extern "C" {static PyObject *meth_QFileDialog_setDirectoryUrl(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setDirectoryUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUrl* a0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QUrl, &a0))
        {
            sipCpp->setDirectoryUrl(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setDirectoryUrl, doc_QFileDialog_setDirectoryUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_directoryUrl, "QFileDialog.directoryUrl() -> QUrl");

extern "C" {static PyObject *meth_QFileDialog_directoryUrl(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_directoryUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QUrl*sipRes;

            sipRes = new QUrl(sipCpp->directoryUrl());

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_directoryUrl, doc_QFileDialog_directoryUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_selectUrl, "QFileDialog.selectUrl(QUrl)");

extern "C" {static PyObject *meth_QFileDialog_selectUrl(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_selectUrl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QUrl* a0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QUrl, &a0))
        {
            sipCpp->selectUrl(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_selectUrl, doc_QFileDialog_selectUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_selectedUrls, "QFileDialog.selectedUrls() -> list-of-QUrl");

extern "C" {static PyObject *meth_QFileDialog_selectedUrls(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_selectedUrls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QList<QUrl>*sipRes;

            sipRes = new QList<QUrl>(sipCpp->selectedUrls());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_selectedUrls, doc_QFileDialog_selectedUrls);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_setMimeTypeFilters, "QFileDialog.setMimeTypeFilters(list-of-str)");

extern "C" {static PyObject *meth_QFileDialog_setMimeTypeFilters(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_setMimeTypeFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setMimeTypeFilters(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_setMimeTypeFilters, doc_QFileDialog_setMimeTypeFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_mimeTypeFilters, "QFileDialog.mimeTypeFilters() -> list-of-str");

extern "C" {static PyObject *meth_QFileDialog_mimeTypeFilters(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_mimeTypeFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFileDialog, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->mimeTypeFilters());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_mimeTypeFilters, doc_QFileDialog_mimeTypeFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_selectMimeTypeFilter, "QFileDialog.selectMimeTypeFilter(str)");

extern "C" {static PyObject *meth_QFileDialog_selectMimeTypeFilter(PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_selectMimeTypeFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QFileDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QFileDialog, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->selectMimeTypeFilter(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_selectMimeTypeFilter, doc_QFileDialog_selectMimeTypeFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_getExistingDirectoryUrl, "QFileDialog.getExistingDirectoryUrl(QWidget parent=None, str caption='', QUrl directory=QUrl(), QFileDialog.Options options=QFileDialog.ShowDirsOnly, list-of-str supportedSchemes=[]) -> QUrl");

extern "C" {static PyObject *meth_QFileDialog_getExistingDirectoryUrl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_getExistingDirectoryUrl(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0 = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QUrl& a2def = QUrl();
        const QUrl* a2 = &a2def;
        QFileDialog::Options a3def = QFileDialog::ShowDirsOnly;
        QFileDialog::Options* a3 = &a3def;
        int a3State = 0;
        const QStringList& a4def = QStringList();
        const QStringList* a4 = &a4def;
        int a4State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_caption,
            sipName_directory,
            sipName_options,
            sipName_supportedSchemes,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8J1J9J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QUrl, &a2, sipType_QFileDialog_Options, &a3, &a3State, sipType_QStringList,&a4, &a4State))
        {
            QUrl*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QUrl(QFileDialog::getExistingDirectoryUrl(a0,*a1,*a2,*a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(a3,sipType_QFileDialog_Options,a3State);
            sipReleaseType(const_cast<QStringList *>(a4),sipType_QStringList,a4State);

            return sipConvertFromNewType(sipRes,sipType_QUrl,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_getExistingDirectoryUrl, doc_QFileDialog_getExistingDirectoryUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_getOpenFileUrl, "QFileDialog.getOpenFileUrl(QWidget parent=None, str caption='', str directory='', str filter='', str initialFilter='', QFileDialog.Options options=0, list-of-str supportedSchemes=[]) -> (QUrl, str)");

extern "C" {static PyObject *meth_QFileDialog_getOpenFileUrl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_getOpenFileUrl(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0 = 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;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;
        QFileDialog::Options a5def = 0;
        QFileDialog::Options* a5 = &a5def;
        int a5State = 0;
        const QStringList& a6def = QStringList();
        const QStringList* a6 = &a6def;
        int a6State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_caption,
            sipName_directory,
            sipName_filter,
            sipName_initialFilter,
            sipName_options,
            sipName_supportedSchemes,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8J1J1J1J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QFileDialog_Options, &a5, &a5State, sipType_QStringList,&a6, &a6State))
        {
            PyObject * sipRes = 0;

#line 259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
        QUrl *url;
        QString *filter = new QString(*a4);
        
        Py_BEGIN_ALLOW_THREADS
        
        url = new QUrl(QFileDialog::getOpenFileUrl(a0, *a1, *a2, *a3, filter, *a5, *a6));
        
        Py_END_ALLOW_THREADS
        
        PyObject *url_obj = sipConvertFromNewType(url, sipType_QUrl, NULL);
        PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL);
        
        if (url_obj && filter_obj)
            sipRes = PyTuple_Pack(2, url_obj, filter_obj);
        
        Py_XDECREF(url_obj);
        Py_XDECREF(filter_obj);
#line 368758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            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(a5,sipType_QFileDialog_Options,a5State);
            sipReleaseType(const_cast<QStringList *>(a6),sipType_QStringList,a6State);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_getOpenFileUrl, doc_QFileDialog_getOpenFileUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_getOpenFileUrls, "QFileDialog.getOpenFileUrls(QWidget parent=None, str caption='', str directory='', str filter='', str initialFilter='', QFileDialog.Options options=0, list-of-str supportedSchemes=[]) -> (list-of-QUrl, str)");

extern "C" {static PyObject *meth_QFileDialog_getOpenFileUrls(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_getOpenFileUrls(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0 = 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;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;
        QFileDialog::Options a5def = 0;
        QFileDialog::Options* a5 = &a5def;
        int a5State = 0;
        const QStringList& a6def = QStringList();
        const QStringList* a6 = &a6def;
        int a6State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_caption,
            sipName_directory,
            sipName_filter,
            sipName_initialFilter,
            sipName_options,
            sipName_supportedSchemes,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8J1J1J1J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QFileDialog_Options, &a5, &a5State, sipType_QStringList,&a6, &a6State))
        {
            PyObject * sipRes = 0;

#line 282 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
        QList<QUrl> url_list;
        QString *filter = new QString(*a4);
        
        Py_BEGIN_ALLOW_THREADS
        
        url_list = QFileDialog::getOpenFileUrls(a0, *a1, *a2, *a3, filter, *a5, *a6);
        
        Py_END_ALLOW_THREADS
        
        PyObject *url_list_obj = PyList_New(url_list.size());
        
        if (url_list_obj)
        {
            for (int i = 0; i < url_list.size(); ++i)
            {
                QUrl *url = new QUrl(url_list.at(i));
                PyObject *url_obj = sipConvertFromNewType(url, sipType_QUrl, NULL);
                
                if (!url_obj)
                {
                    delete url;
                    Py_DECREF(url_list_obj);
                    url_list_obj = 0;
                    break;
                }
                
                PyList_SET_ITEM(url_list_obj, i, url_obj);
            }
        }
        
        PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL);
        
        if (url_list_obj && filter_obj)
            sipRes = PyTuple_Pack(2, url_list_obj, filter_obj);
        
        Py_XDECREF(url_list_obj);
        Py_XDECREF(filter_obj);
#line 368857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            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(a5,sipType_QFileDialog_Options,a5State);
            sipReleaseType(const_cast<QStringList *>(a6),sipType_QStringList,a6State);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_getOpenFileUrls, doc_QFileDialog_getOpenFileUrls);

    return NULL;
}


PyDoc_STRVAR(doc_QFileDialog_getSaveFileUrl, "QFileDialog.getSaveFileUrl(QWidget parent=None, str caption='', str directory='', str filter='', str initialFilter='', QFileDialog.Options options=0, list-of-str supportedSchemes=[]) -> (QUrl, str)");

extern "C" {static PyObject *meth_QFileDialog_getSaveFileUrl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFileDialog_getSaveFileUrl(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0 = 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;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;
        QFileDialog::Options a5def = 0;
        QFileDialog::Options* a5 = &a5def;
        int a5State = 0;
        const QStringList& a6def = QStringList();
        const QStringList* a6 = &a6def;
        int a6State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_caption,
            sipName_directory,
            sipName_filter,
            sipName_initialFilter,
            sipName_options,
            sipName_supportedSchemes,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J8J1J1J1J1J1J1", sipType_QWidget, &a0, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State, sipType_QFileDialog_Options, &a5, &a5State, sipType_QStringList,&a6, &a6State))
        {
            PyObject * sipRes = 0;

#line 325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfiledialog.sip"
        QUrl *url;
        QString *filter = new QString(*a4);
        
        Py_BEGIN_ALLOW_THREADS
        
        url = new QUrl(QFileDialog::getSaveFileUrl(a0, *a1, *a2, *a3, filter, *a5, *a6));
        
        Py_END_ALLOW_THREADS
        
        PyObject *url_obj = sipConvertFromNewType(url, sipType_QUrl, NULL);
        PyObject *filter_obj = sipConvertFromNewType(filter, sipType_QString, NULL);
        
        if (url_obj && filter_obj)
            sipRes = PyTuple_Pack(2, url_obj, filter_obj);
        
        Py_XDECREF(url_obj);
        Py_XDECREF(filter_obj);
#line 368936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            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(a5,sipType_QFileDialog_Options,a5State);
            sipReleaseType(const_cast<QStringList *>(a6),sipType_QStringList,a6State);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFileDialog, sipName_getSaveFileUrl, doc_QFileDialog_getSaveFileUrl);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFileDialog(void *, const sipTypeDef *);}
static void *cast_QFileDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFileDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDialog)->ctd_cast((QDialog *)(QFileDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFileDialog(void *, int);}
static void release_QFileDialog(void *sipCppV,int)
{
    QFileDialog *sipCpp = reinterpret_cast<QFileDialog *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFileDialog(sipSimpleWrapper *);}
static void dealloc_QFileDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFileDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFileDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QFileDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFileDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFileDialog *sipCpp = 0;

    {
        QWidget* a0;
        Qt::WindowFlags* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQFileDialog(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0 = 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;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_caption,
            sipName_directory,
            sipName_filter,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1J1J1", sipType_QWidget, &a0, sipOwner, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            sipCpp = new sipQFileDialog(a0,*a1,*a2,*a3);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFileDialog[] = {{60, 255, 1}};


static PyMethodDef methods_QFileDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), (PyCFunction)meth_QFileDialog_accept, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_accept)},
    {SIP_MLNAME_CAST(sipName_acceptMode), meth_QFileDialog_acceptMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_acceptMode)},
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QFileDialog_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QFileDialog_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFileDialog_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QFileDialog_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFileDialog_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QFileDialog_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QFileDialog_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFileDialog_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultSuffix), meth_QFileDialog_defaultSuffix, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_defaultSuffix)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QFileDialog_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_directory), meth_QFileDialog_directory, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_directory)},
    {SIP_MLNAME_CAST(sipName_directoryUrl), meth_QFileDialog_directoryUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_directoryUrl)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFileDialog_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_done), (PyCFunction)meth_QFileDialog_done, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_done)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QFileDialog_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QFileDialog_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QFileDialog_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QFileDialog_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QFileDialog_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QFileDialog_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QFileDialog_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fileMode), meth_QFileDialog_fileMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_fileMode)},
    {SIP_MLNAME_CAST(sipName_filter), meth_QFileDialog_filter, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_filter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QFileDialog_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QFileDialog_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QFileDialog_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QFileDialog_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QFileDialog_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_getExistingDirectory), (PyCFunction)meth_QFileDialog_getExistingDirectory, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_getExistingDirectory)},
    {SIP_MLNAME_CAST(sipName_getExistingDirectoryUrl), (PyCFunction)meth_QFileDialog_getExistingDirectoryUrl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_getExistingDirectoryUrl)},
    {SIP_MLNAME_CAST(sipName_getOpenFileName), (PyCFunction)meth_QFileDialog_getOpenFileName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_getOpenFileName)},
    {SIP_MLNAME_CAST(sipName_getOpenFileNames), (PyCFunction)meth_QFileDialog_getOpenFileNames, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_getOpenFileNames)},
    {SIP_MLNAME_CAST(sipName_getOpenFileUrl), (PyCFunction)meth_QFileDialog_getOpenFileUrl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_getOpenFileUrl)},
    {SIP_MLNAME_CAST(sipName_getOpenFileUrls), (PyCFunction)meth_QFileDialog_getOpenFileUrls, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_getOpenFileUrls)},
    {SIP_MLNAME_CAST(sipName_getSaveFileName), (PyCFunction)meth_QFileDialog_getSaveFileName, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_getSaveFileName)},
    {SIP_MLNAME_CAST(sipName_getSaveFileUrl), (PyCFunction)meth_QFileDialog_getSaveFileUrl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_getSaveFileUrl)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QFileDialog_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_history), meth_QFileDialog_history, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_history)},
    {SIP_MLNAME_CAST(sipName_iconProvider), meth_QFileDialog_iconProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_iconProvider)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QFileDialog_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QFileDialog_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFileDialog_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemDelegate), meth_QFileDialog_itemDelegate, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_itemDelegate)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QFileDialog_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QFileDialog_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_labelText), meth_QFileDialog_labelText, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_labelText)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QFileDialog_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QFileDialog_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mimeTypeFilters), meth_QFileDialog_mimeTypeFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_mimeTypeFilters)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QFileDialog_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QFileDialog_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QFileDialog_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QFileDialog_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QFileDialog_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nameFilters), meth_QFileDialog_nameFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_nameFilters)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QFileDialog_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_QFileDialog_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_open)},
    {SIP_MLNAME_CAST(sipName_options), meth_QFileDialog_options, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_options)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QFileDialog_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_proxyModel), meth_QFileDialog_proxyModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_proxyModel)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFileDialog_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QFileDialog_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_restoreState), meth_QFileDialog_restoreState, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_restoreState)},
    {SIP_MLNAME_CAST(sipName_saveState), meth_QFileDialog_saveState, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_saveState)},
    {SIP_MLNAME_CAST(sipName_selectFile), meth_QFileDialog_selectFile, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_selectFile)},
    {SIP_MLNAME_CAST(sipName_selectMimeTypeFilter), meth_QFileDialog_selectMimeTypeFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_selectMimeTypeFilter)},
    {SIP_MLNAME_CAST(sipName_selectNameFilter), meth_QFileDialog_selectNameFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_selectNameFilter)},
    {SIP_MLNAME_CAST(sipName_selectUrl), meth_QFileDialog_selectUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_selectUrl)},
    {SIP_MLNAME_CAST(sipName_selectedFiles), meth_QFileDialog_selectedFiles, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_selectedFiles)},
    {SIP_MLNAME_CAST(sipName_selectedNameFilter), meth_QFileDialog_selectedNameFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_selectedNameFilter)},
    {SIP_MLNAME_CAST(sipName_selectedUrls), meth_QFileDialog_selectedUrls, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_selectedUrls)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFileDialog_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFileDialog_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptMode), meth_QFileDialog_setAcceptMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setAcceptMode)},
    {SIP_MLNAME_CAST(sipName_setDefaultSuffix), meth_QFileDialog_setDefaultSuffix, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setDefaultSuffix)},
    {SIP_MLNAME_CAST(sipName_setDirectory), meth_QFileDialog_setDirectory, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setDirectory)},
    {SIP_MLNAME_CAST(sipName_setDirectoryUrl), meth_QFileDialog_setDirectoryUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setDirectoryUrl)},
    {SIP_MLNAME_CAST(sipName_setFileMode), meth_QFileDialog_setFileMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setFileMode)},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_QFileDialog_setFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setFilter)},
    {SIP_MLNAME_CAST(sipName_setHistory), meth_QFileDialog_setHistory, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setHistory)},
    {SIP_MLNAME_CAST(sipName_setIconProvider), meth_QFileDialog_setIconProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setIconProvider)},
    {SIP_MLNAME_CAST(sipName_setItemDelegate), meth_QFileDialog_setItemDelegate, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setItemDelegate)},
    {SIP_MLNAME_CAST(sipName_setLabelText), meth_QFileDialog_setLabelText, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setLabelText)},
    {SIP_MLNAME_CAST(sipName_setMimeTypeFilters), meth_QFileDialog_setMimeTypeFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setMimeTypeFilters)},
    {SIP_MLNAME_CAST(sipName_setNameFilter), meth_QFileDialog_setNameFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setNameFilter)},
    {SIP_MLNAME_CAST(sipName_setNameFilters), meth_QFileDialog_setNameFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setNameFilters)},
    {SIP_MLNAME_CAST(sipName_setOption), (PyCFunction)meth_QFileDialog_setOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFileDialog_setOption)},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_QFileDialog_setOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setOptions)},
    {SIP_MLNAME_CAST(sipName_setProxyModel), meth_QFileDialog_setProxyModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setProxyModel)},
    {SIP_MLNAME_CAST(sipName_setSidebarUrls), meth_QFileDialog_setSidebarUrls, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setSidebarUrls)},
    {SIP_MLNAME_CAST(sipName_setViewMode), meth_QFileDialog_setViewMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setViewMode)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QFileDialog_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_setVisible)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QFileDialog_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QFileDialog_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sidebarUrls), meth_QFileDialog_sidebarUrls, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_sidebarUrls)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QFileDialog_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_testOption), meth_QFileDialog_testOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_testOption)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFileDialog_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QFileDialog_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewMode), meth_QFileDialog_viewMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QFileDialog_viewMode)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QFileDialog_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QFileDialog[] = {
    {sipName_Accept, static_cast<int>(QFileDialog::Accept), 76},
    {sipName_AcceptOpen, static_cast<int>(QFileDialog::AcceptOpen), 75},
    {sipName_AcceptSave, static_cast<int>(QFileDialog::AcceptSave), 75},
    {sipName_AnyFile, static_cast<int>(QFileDialog::AnyFile), 77},
    {sipName_Detail, static_cast<int>(QFileDialog::Detail), 80},
    {sipName_Directory, static_cast<int>(QFileDialog::Directory), 77},
    {sipName_DirectoryOnly, static_cast<int>(QFileDialog::DirectoryOnly), 77},
    {sipName_DontConfirmOverwrite, static_cast<int>(QFileDialog::DontConfirmOverwrite), 78},
    {sipName_DontResolveSymlinks, static_cast<int>(QFileDialog::DontResolveSymlinks), 78},
    {sipName_DontUseCustomDirectoryIcons, static_cast<int>(QFileDialog::DontUseCustomDirectoryIcons), 78},
    {sipName_DontUseNativeDialog, static_cast<int>(QFileDialog::DontUseNativeDialog), 78},
    {sipName_DontUseSheet, static_cast<int>(QFileDialog::DontUseSheet), 78},
    {sipName_ExistingFile, static_cast<int>(QFileDialog::ExistingFile), 77},
    {sipName_ExistingFiles, static_cast<int>(QFileDialog::ExistingFiles), 77},
    {sipName_FileName, static_cast<int>(QFileDialog::FileName), 76},
    {sipName_FileType, static_cast<int>(QFileDialog::FileType), 76},
    {sipName_HideNameFilterDetails, static_cast<int>(QFileDialog::HideNameFilterDetails), 78},
    {sipName_List, static_cast<int>(QFileDialog::List), 80},
    {sipName_LookIn, static_cast<int>(QFileDialog::LookIn), 76},
    {sipName_ReadOnly, static_cast<int>(QFileDialog::ReadOnly), 78},
    {sipName_Reject, static_cast<int>(QFileDialog::Reject), 76},
    {sipName_ShowDirsOnly, static_cast<int>(QFileDialog::ShowDirsOnly), 78},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QFileDialog[] = {
    {"directoryUrlEntered(QUrl)", "\1QFileDialog.directoryUrlEntered[QUrl]", 0, 0},
    {"currentUrlChanged(QUrl)", "\1QFileDialog.currentUrlChanged[QUrl]", 0, 0},
    {"urlsSelected(QList<QUrl>)", "\1QFileDialog.urlsSelected[list-of-QUrl]", 0, 0},
    {"urlSelected(QUrl)", "\1QFileDialog.urlSelected[QUrl]", 0, 0},
    {"fileSelected(QString)", "\1QFileDialog.fileSelected[str]", 0, 0},
    {"filterSelected(QString)", "\1QFileDialog.filterSelected[str]", 0, 0},
    {"filesSelected(QStringList)", "\1QFileDialog.filesSelected[list-of-str]", 0, 0},
    {"directoryEntered(QString)", "\1QFileDialog.directoryEntered[str]", 0, 0},
    {"currentChanged(QString)", "\1QFileDialog.currentChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QFileDialog, "\1QFileDialog(QWidget, Qt.WindowFlags)\n"
    "QFileDialog(QWidget parent=None, str caption='', str directory='', str filter='')");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFileDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFileDialog,
        {0}
    },
    {
        sipNameNr_QFileDialog,
        {0, 0, 1},
        103, methods_QFileDialog,
        22, enummembers_QFileDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFileDialog,
    -1,
    -1,
    supers_QFileDialog,
    0,
    init_type_QFileDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFileDialog,
    0,
    0,
    0,
    release_QFileDialog,
    cast_QFileDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QFileDialog::staticMetaObject,
    0,
    signals_QFileDialog,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qerrormessage.sip"
#include <qerrormessage.h>
#line 369265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 369269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 369272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 369275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 369278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 369296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 369299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 369302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 369305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 369308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 369311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 369314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 369317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 369320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 369323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 369326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 369329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 369332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 369335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 369338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 369341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 369344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 369347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 369350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 369353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 369356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 369359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 369362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 369365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 369404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 369407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 369410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 369413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 369416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 369419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 369422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 369425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 369428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 369431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 369434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 369437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 369440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 369443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 369446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 369449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 369452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 369455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 369458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 369461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 369464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 369467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQErrorMessage : public QErrorMessage
{
public:
    sipQErrorMessage(QWidget*);
    virtual ~sipQErrorMessage();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_done(bool,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void closeEvent(QCloseEvent*);
    void keyPressEvent(QKeyEvent*);
    void open();
    void reject();
    void accept();
    int exec();
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    void done(int);
    void changeEvent(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQErrorMessage(const sipQErrorMessage &);
    sipQErrorMessage &operator = (const sipQErrorMessage &);

    char sipPyMethods[51];
};

sipQErrorMessage::sipQErrorMessage(QWidget*a0): QErrorMessage(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQErrorMessage::~sipQErrorMessage()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQErrorMessage::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QErrorMessage);
}

int sipQErrorMessage::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QErrorMessage::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QErrorMessage,_c,_id,_a);

    return _id;
}

void *sipQErrorMessage::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QErrorMessage, _clname, &sipCpp) ? sipCpp : QErrorMessage::qt_metacast(_clname));
}

void sipQErrorMessage::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QErrorMessage::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QErrorMessage::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QErrorMessage::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QErrorMessage::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QErrorMessage::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QErrorMessage::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQErrorMessage::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QErrorMessage::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQErrorMessage::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QErrorMessage::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQErrorMessage::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QErrorMessage::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQErrorMessage::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QErrorMessage::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQErrorMessage::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QErrorMessage::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QErrorMessage::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQErrorMessage::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QErrorMessage::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QErrorMessage::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QErrorMessage::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QErrorMessage::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QErrorMessage::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QErrorMessage::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QErrorMessage::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QErrorMessage::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QErrorMessage::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QErrorMessage::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QErrorMessage::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QErrorMessage::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QErrorMessage::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QErrorMessage::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QErrorMessage::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QErrorMessage::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QErrorMessage::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QErrorMessage::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QErrorMessage::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QErrorMessage::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQErrorMessage::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QErrorMessage::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQErrorMessage::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QErrorMessage::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQErrorMessage::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QErrorMessage::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQErrorMessage::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QErrorMessage::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQErrorMessage::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QErrorMessage::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQErrorMessage::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QErrorMessage::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QErrorMessage::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QErrorMessage::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QErrorMessage::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QErrorMessage::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        QErrorMessage::open();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQErrorMessage::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QErrorMessage::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQErrorMessage::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QErrorMessage::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQErrorMessage::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return QErrorMessage::exec();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQErrorMessage::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QErrorMessage::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQErrorMessage::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QErrorMessage::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQErrorMessage::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QErrorMessage::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QErrorMessage::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQErrorMessage::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QErrorMessage::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQErrorMessage::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQErrorMessage::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQErrorMessage::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQErrorMessage::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQErrorMessage::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQErrorMessage::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQErrorMessage::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQErrorMessage::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQErrorMessage::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQErrorMessage::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQErrorMessage::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQErrorMessage::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQErrorMessage::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQErrorMessage::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQErrorMessage::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQErrorMessage::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQErrorMessage::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQErrorMessage::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQErrorMessage::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQErrorMessage::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QDialog::closeEvent(a0) : closeEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQErrorMessage::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQErrorMessage::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QErrorMessage::changeEvent(a0) : changeEvent(a0));
}

void sipQErrorMessage::sipProtectVirt_done(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QErrorMessage::done(a0) : done(a0));
}


PyDoc_STRVAR(doc_QErrorMessage_sender, "QErrorMessage.sender() -> QObject");

extern "C" {static PyObject *meth_QErrorMessage_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QErrorMessage, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 370789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_sender, doc_QErrorMessage_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_receivers, "QErrorMessage.receivers(signal) -> int");

extern "C" {static PyObject *meth_QErrorMessage_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QErrorMessage, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 370848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_receivers, doc_QErrorMessage_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_timerEvent, "QErrorMessage.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QErrorMessage_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_timerEvent, doc_QErrorMessage_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_childEvent, "QErrorMessage.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QErrorMessage_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_childEvent, doc_QErrorMessage_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_customEvent, "QErrorMessage.customEvent(QEvent)");

extern "C" {static PyObject *meth_QErrorMessage_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_customEvent, doc_QErrorMessage_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_connectNotify, "QErrorMessage.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QErrorMessage_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_connectNotify, doc_QErrorMessage_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_disconnectNotify, "QErrorMessage.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QErrorMessage_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_disconnectNotify, doc_QErrorMessage_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_senderSignalIndex, "QErrorMessage.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QErrorMessage_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QErrorMessage, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_senderSignalIndex, doc_QErrorMessage_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_isSignalConnected, "QErrorMessage.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QErrorMessage_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_isSignalConnected, doc_QErrorMessage_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_event, "QErrorMessage.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QErrorMessage_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_event, doc_QErrorMessage_event);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_mousePressEvent, "QErrorMessage.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QErrorMessage_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_mousePressEvent, doc_QErrorMessage_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_mouseReleaseEvent, "QErrorMessage.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QErrorMessage_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_mouseReleaseEvent, doc_QErrorMessage_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_mouseDoubleClickEvent, "QErrorMessage.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QErrorMessage_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_mouseDoubleClickEvent, doc_QErrorMessage_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_mouseMoveEvent, "QErrorMessage.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QErrorMessage_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_mouseMoveEvent, doc_QErrorMessage_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_wheelEvent, "QErrorMessage.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QErrorMessage_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_wheelEvent, doc_QErrorMessage_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_keyReleaseEvent, "QErrorMessage.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QErrorMessage_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_keyReleaseEvent, doc_QErrorMessage_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_focusInEvent, "QErrorMessage.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QErrorMessage_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_focusInEvent, doc_QErrorMessage_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_focusOutEvent, "QErrorMessage.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QErrorMessage_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_focusOutEvent, doc_QErrorMessage_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_enterEvent, "QErrorMessage.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QErrorMessage_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_enterEvent, doc_QErrorMessage_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_leaveEvent, "QErrorMessage.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QErrorMessage_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_leaveEvent, doc_QErrorMessage_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_paintEvent, "QErrorMessage.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QErrorMessage_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_paintEvent, doc_QErrorMessage_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_moveEvent, "QErrorMessage.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QErrorMessage_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_moveEvent, doc_QErrorMessage_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_tabletEvent, "QErrorMessage.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QErrorMessage_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_tabletEvent, doc_QErrorMessage_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_actionEvent, "QErrorMessage.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QErrorMessage_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_actionEvent, doc_QErrorMessage_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_dragEnterEvent, "QErrorMessage.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QErrorMessage_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_dragEnterEvent, doc_QErrorMessage_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_dragMoveEvent, "QErrorMessage.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QErrorMessage_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_dragMoveEvent, doc_QErrorMessage_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_dragLeaveEvent, "QErrorMessage.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QErrorMessage_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_dragLeaveEvent, doc_QErrorMessage_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_dropEvent, "QErrorMessage.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QErrorMessage_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_dropEvent, doc_QErrorMessage_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_hideEvent, "QErrorMessage.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QErrorMessage_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_hideEvent, doc_QErrorMessage_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_metric, "QErrorMessage.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QErrorMessage_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_metric, doc_QErrorMessage_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_inputMethodEvent, "QErrorMessage.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QErrorMessage_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_inputMethodEvent, doc_QErrorMessage_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_updateMicroFocus, "QErrorMessage.updateMicroFocus()");

extern "C" {static PyObject *meth_QErrorMessage_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QErrorMessage, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_updateMicroFocus, doc_QErrorMessage_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_create, "QErrorMessage.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QErrorMessage_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQErrorMessage *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_create, doc_QErrorMessage_create);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_destroy, "QErrorMessage.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QErrorMessage_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQErrorMessage *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QErrorMessage, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_destroy, doc_QErrorMessage_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_focusNextPrevChild, "QErrorMessage.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QErrorMessage_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QErrorMessage, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_focusNextPrevChild, doc_QErrorMessage_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_focusNextChild, "QErrorMessage.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QErrorMessage_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QErrorMessage, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_focusNextChild, doc_QErrorMessage_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_focusPreviousChild, "QErrorMessage.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QErrorMessage_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QErrorMessage, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_focusPreviousChild, doc_QErrorMessage_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_nativeEvent, "QErrorMessage.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QErrorMessage_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_nativeEvent, doc_QErrorMessage_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_sharedPainter, "QErrorMessage.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QErrorMessage_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QErrorMessage, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_sharedPainter, doc_QErrorMessage_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_initPainter, "QErrorMessage.initPainter(QPainter)");

extern "C" {static PyObject *meth_QErrorMessage_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_initPainter, doc_QErrorMessage_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_keyPressEvent, "QErrorMessage.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QErrorMessage_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_keyPressEvent, doc_QErrorMessage_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_closeEvent, "QErrorMessage.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QErrorMessage_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_closeEvent, doc_QErrorMessage_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_showEvent, "QErrorMessage.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QErrorMessage_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_showEvent, doc_QErrorMessage_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_resizeEvent, "QErrorMessage.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QErrorMessage_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_resizeEvent, doc_QErrorMessage_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_contextMenuEvent, "QErrorMessage.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QErrorMessage_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_contextMenuEvent, doc_QErrorMessage_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_eventFilter, "QErrorMessage.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QErrorMessage_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_eventFilter, doc_QErrorMessage_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_qtHandler, "QErrorMessage.qtHandler() -> QErrorMessage");

extern "C" {static PyObject *meth_QErrorMessage_qtHandler(PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_qtHandler(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QErrorMessage*sipRes;

            sipRes = QErrorMessage::qtHandler();

            return sipConvertFromType(sipRes,sipType_QErrorMessage,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_qtHandler, doc_QErrorMessage_qtHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_showMessage, "QErrorMessage.showMessage(str)\n"
    "QErrorMessage.showMessage(str, str)");

extern "C" {static PyObject *meth_QErrorMessage_showMessage(PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_showMessage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QErrorMessage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->showMessage(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QErrorMessage *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->showMessage(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_showMessage, doc_QErrorMessage_showMessage);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_changeEvent, "QErrorMessage.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QErrorMessage_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QErrorMessage, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_changeEvent, doc_QErrorMessage_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QErrorMessage_done, "QErrorMessage.done(int)");

extern "C" {static PyObject *meth_QErrorMessage_done(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QErrorMessage_done(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQErrorMessage *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QErrorMessage, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_done(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QErrorMessage, sipName_done, doc_QErrorMessage_done);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QErrorMessage(void *, const sipTypeDef *);}
static void *cast_QErrorMessage(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QErrorMessage)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDialog)->ctd_cast((QDialog *)(QErrorMessage *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QErrorMessage(void *, int);}
static void release_QErrorMessage(void *sipCppV,int)
{
    QErrorMessage *sipCpp = reinterpret_cast<QErrorMessage *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QErrorMessage(sipSimpleWrapper *);}
static void dealloc_QErrorMessage(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQErrorMessage *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QErrorMessage(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QErrorMessage(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QErrorMessage(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQErrorMessage *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQErrorMessage(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QErrorMessage[] = {{60, 255, 1}};


static PyMethodDef methods_QErrorMessage[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QErrorMessage_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QErrorMessage_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QErrorMessage_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QErrorMessage_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QErrorMessage_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QErrorMessage_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QErrorMessage_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QErrorMessage_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QErrorMessage_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QErrorMessage_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QErrorMessage_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_done), (PyCFunction)meth_QErrorMessage_done, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QErrorMessage_done)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QErrorMessage_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QErrorMessage_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QErrorMessage_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QErrorMessage_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QErrorMessage_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QErrorMessage_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QErrorMessage_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QErrorMessage_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QErrorMessage_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QErrorMessage_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QErrorMessage_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QErrorMessage_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QErrorMessage_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QErrorMessage_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QErrorMessage_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QErrorMessage_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QErrorMessage_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QErrorMessage_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QErrorMessage_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QErrorMessage_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QErrorMessage_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QErrorMessage_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QErrorMessage_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QErrorMessage_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QErrorMessage_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QErrorMessage_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QErrorMessage_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_qtHandler), meth_QErrorMessage_qtHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QErrorMessage_qtHandler)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QErrorMessage_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QErrorMessage_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QErrorMessage_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QErrorMessage_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QErrorMessage_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QErrorMessage_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showMessage), meth_QErrorMessage_showMessage, METH_VARARGS, SIP_MLDOC_CAST(doc_QErrorMessage_showMessage)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QErrorMessage_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QErrorMessage_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QErrorMessage_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QErrorMessage_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QErrorMessage, "\1QErrorMessage(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QErrorMessage = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QErrorMessage,
        {0}
    },
    {
        sipNameNr_QErrorMessage,
        {0, 0, 1},
        50, methods_QErrorMessage,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QErrorMessage,
    -1,
    -1,
    supers_QErrorMessage,
    0,
    init_type_QErrorMessage,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QErrorMessage,
    0,
    0,
    0,
    release_QErrorMessage,
    cast_QErrorMessage,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QErrorMessage::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 372435 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 372439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QDockWidget_DockWidgetFeatures___bool__(PyObject *);}
static int slot_QDockWidget_DockWidgetFeatures___bool__(PyObject *sipSelf)
{
    QDockWidget::DockWidgetFeatures *sipCpp = reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDockWidget_DockWidgetFeatures));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDockWidget::DockWidgetFeatures::Int() != 0);
#line 372457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QDockWidget::DockWidgetFeatures *sipCpp = reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDockWidget_DockWidgetFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDockWidget::DockWidgetFeatures::Int() != a0->operator QDockWidget::DockWidgetFeatures::Int());
#line 372487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QDockWidget::DockWidgetFeatures *>(a0),sipType_QDockWidget_DockWidgetFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QDockWidget_DockWidgetFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QDockWidget::DockWidgetFeatures *sipCpp = reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDockWidget_DockWidgetFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDockWidget::DockWidgetFeatures::Int() == a0->operator QDockWidget::DockWidgetFeatures::Int());
#line 372523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QDockWidget::DockWidgetFeatures *>(a0),sipType_QDockWidget_DockWidgetFeatures,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QDockWidget_DockWidgetFeatures,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___invert__(PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___invert__(PyObject *sipSelf)
{
    QDockWidget::DockWidgetFeatures *sipCpp = reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDockWidget_DockWidgetFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            QDockWidget::DockWidgetFeatures*sipRes;

            sipRes = new QDockWidget::DockWidgetFeatures(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QDockWidget_DockWidgetFeatures,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___and__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State, &a1))
        {
            QDockWidget::DockWidgetFeatures*sipRes;

            sipRes = new QDockWidget::DockWidgetFeatures((*a0 & a1));
            sipReleaseType(a0,sipType_QDockWidget_DockWidgetFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDockWidget_DockWidgetFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;
        QDockWidget::DockWidgetFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State, sipType_QDockWidget_DockWidgetFeatures, &a1, &a1State))
        {
            QDockWidget::DockWidgetFeatures*sipRes;

            sipRes = new QDockWidget::DockWidgetFeatures((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QDockWidget_DockWidgetFeatures,a0State);
            sipReleaseType(a1,sipType_QDockWidget_DockWidgetFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDockWidget_DockWidgetFeatures,NULL);
        }
    }

    {
        QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State, &a1))
        {
            QDockWidget::DockWidgetFeatures*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QDockWidget::DockWidgetFeatures(*a0 ^ a1);
#line 372626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QDockWidget_DockWidgetFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDockWidget_DockWidgetFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___or__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;
        QDockWidget::DockWidgetFeatures* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State, sipType_QDockWidget_DockWidgetFeatures, &a1, &a1State))
        {
            QDockWidget::DockWidgetFeatures*sipRes;

            sipRes = new QDockWidget::DockWidgetFeatures((*a0 | *a1));
            sipReleaseType(a0,sipType_QDockWidget_DockWidgetFeatures,a0State);
            sipReleaseType(a1,sipType_QDockWidget_DockWidgetFeatures,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDockWidget_DockWidgetFeatures,NULL);
        }
    }

    {
        QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State, &a1))
        {
            QDockWidget::DockWidgetFeatures*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QDockWidget::DockWidgetFeatures(*a0 | a1);
#line 372676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QDockWidget_DockWidgetFeatures,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDockWidget_DockWidgetFeatures,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___int__(PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___int__(PyObject *sipSelf)
{
    QDockWidget::DockWidgetFeatures *sipCpp = reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDockWidget_DockWidgetFeatures));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDockWidget_DockWidgetFeatures___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDockWidget_DockWidgetFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QDockWidget::DockWidgetFeatures *sipCpp = reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDockWidget_DockWidgetFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State))
        {
            sipCpp->QDockWidget::DockWidgetFeatures::operator^=(*a0);
            sipReleaseType(a0,sipType_QDockWidget_DockWidgetFeatures,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_QDockWidget_DockWidgetFeatures___ior__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDockWidget_DockWidgetFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QDockWidget::DockWidgetFeatures *sipCpp = reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDockWidget_DockWidgetFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State))
        {
            sipCpp->QDockWidget::DockWidgetFeatures::operator|=(*a0);
            sipReleaseType(a0,sipType_QDockWidget_DockWidgetFeatures,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_QDockWidget_DockWidgetFeatures___iand__(PyObject *,PyObject *);}
static PyObject *slot_QDockWidget_DockWidgetFeatures___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDockWidget_DockWidgetFeatures)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QDockWidget::DockWidgetFeatures *sipCpp = reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDockWidget_DockWidgetFeatures));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QDockWidget::DockWidgetFeatures::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDockWidget_DockWidgetFeatures(void *, const sipTypeDef *);}
static void *cast_QDockWidget_DockWidgetFeatures(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDockWidget_DockWidgetFeatures)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDockWidget_DockWidgetFeatures(void *, int);}
static void release_QDockWidget_DockWidgetFeatures(void *sipCppV,int)
{
    delete reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipCppV);
}


extern "C" {static void assign_QDockWidget_DockWidgetFeatures(void *, SIP_SSIZE_T, const void *);}
static void assign_QDockWidget_DockWidgetFeatures(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDockWidget::DockWidgetFeatures *>(sipSrc);
}


extern "C" {static void *array_QDockWidget_DockWidgetFeatures(SIP_SSIZE_T);}
static void *array_QDockWidget_DockWidgetFeatures(SIP_SSIZE_T sipNrElem)
{
    return new QDockWidget::DockWidgetFeatures[sipNrElem];
}


extern "C" {static void *copy_QDockWidget_DockWidgetFeatures(const void *, SIP_SSIZE_T);}
static void *copy_QDockWidget_DockWidgetFeatures(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDockWidget::DockWidgetFeatures(reinterpret_cast<const QDockWidget::DockWidgetFeatures *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDockWidget_DockWidgetFeatures(sipSimpleWrapper *);}
static void dealloc_QDockWidget_DockWidgetFeatures(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDockWidget_DockWidgetFeatures(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDockWidget_DockWidgetFeatures(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDockWidget_DockWidgetFeatures(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDockWidget::DockWidgetFeatures *sipCpp = 0;

    {
        const QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State))
        {
            sipCpp = new QDockWidget::DockWidgetFeatures(*a0);
            sipReleaseType(const_cast<QDockWidget::DockWidgetFeatures *>(a0),sipType_QDockWidget_DockWidgetFeatures,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QDockWidget::DockWidgetFeatures(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QDockWidget::DockWidgetFeatures();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QDockWidget_DockWidgetFeatures(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDockWidget_DockWidgetFeatures(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QDockWidget::DockWidgetFeatures **sipCppPtr = reinterpret_cast<QDockWidget::DockWidgetFeatures **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QDockWidget::DockWidgetFeatures is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDockWidget_DockWidgetFeature)) ||
            sipCanConvertToType(sipPy, sipType_QDockWidget_DockWidgetFeatures, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDockWidget_DockWidgetFeature)))
{
    *sipCppPtr = new QDockWidget::DockWidgetFeatures(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDockWidget::DockWidgetFeatures *>(sipConvertToType(sipPy, sipType_QDockWidget_DockWidgetFeatures, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 372953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDockWidget_DockWidgetFeatures[] = {
    {(void *)slot_QDockWidget_DockWidgetFeatures___bool__, bool_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___ne__, ne_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___eq__, eq_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___invert__, invert_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___and__, and_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___xor__, xor_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___or__, or_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___int__, int_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___ixor__, ixor_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___ior__, ior_slot},
    {(void *)slot_QDockWidget_DockWidgetFeatures___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDockWidget_DockWidgetFeatures, "\1QDockWidget.DockWidgetFeatures(QDockWidget.DockWidgetFeatures)\n"
    "QDockWidget.DockWidgetFeatures(int)\n"
    "QDockWidget.DockWidgetFeatures()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDockWidget_DockWidgetFeatures = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDockWidget__DockWidgetFeatures,
        {0}
    },
    {
        sipNameNr_DockWidgetFeatures,
        {69, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDockWidget_DockWidgetFeatures,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDockWidget_DockWidgetFeatures,
    init_type_QDockWidget_DockWidgetFeatures,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDockWidget_DockWidgetFeatures,
    assign_QDockWidget_DockWidgetFeatures,
    array_QDockWidget_DockWidgetFeatures,
    copy_QDockWidget_DockWidgetFeatures,
    release_QDockWidget_DockWidgetFeatures,
    cast_QDockWidget_DockWidgetFeatures,
    convertTo_QDockWidget_DockWidgetFeatures,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 373035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 373039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 373042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 373045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 373048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 373057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 373060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 373063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdockwidget.sip"
#include <qdockwidget.h>
#line 373066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 373069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 373072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 373075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 373078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 373081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 373084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 373087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 373090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 373093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 373096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 373099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 373102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 373105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 373108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 373111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 373114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 373117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 373120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 373123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 373126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 373129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 373132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 373135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 373183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 373186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 373189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 373192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 373195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 373198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 373201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 373204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 373207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 373210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 373213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 373216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 373219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 373222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 373225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 373228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 373231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 373234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 373237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 373240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 373243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 373246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDockWidget : public QDockWidget
{
public:
    sipQDockWidget(const QString&,QWidget*,Qt::WindowFlags);
    sipQDockWidget(QWidget*,Qt::WindowFlags);
    virtual ~sipQDockWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionDockWidget*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool event(QEvent*);
    void paintEvent(QPaintEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDockWidget(const sipQDockWidget &);
    sipQDockWidget &operator = (const sipQDockWidget &);

    char sipPyMethods[46];
};

sipQDockWidget::sipQDockWidget(const QString& a0,QWidget*a1,Qt::WindowFlags a2): QDockWidget(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDockWidget::sipQDockWidget(QWidget*a0,Qt::WindowFlags a1): QDockWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDockWidget::~sipQDockWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDockWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDockWidget);
}

int sipQDockWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDockWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDockWidget,_c,_id,_a);

    return _id;
}

void *sipQDockWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDockWidget, _clname, &sipCpp) ? sipCpp : QDockWidget::qt_metacast(_clname));
}

void sipQDockWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDockWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDockWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDockWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDockWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDockWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDockWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDockWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDockWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QDockWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQDockWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QDockWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDockWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QDockWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDockWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QDockWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDockWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QDockWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQDockWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QDockWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QDockWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDockWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QDockWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QDockWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QDockWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QDockWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QDockWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QDockWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QDockWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QDockWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QDockWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QDockWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QDockWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QDockWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QDockWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QDockWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QDockWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QDockWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QDockWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QDockWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QDockWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QDockWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QDockWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QDockWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QDockWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQDockWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QDockWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQDockWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QDockWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQDockWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QDockWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDockWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QDockWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDockWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QDockWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDockWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QDockWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDockWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDockWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QDockWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QDockWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDockWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QDockWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQDockWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDockWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDockWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDockWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDockWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDockWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDockWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDockWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDockWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQDockWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQDockWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQDockWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQDockWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQDockWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQDockWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQDockWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQDockWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQDockWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQDockWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQDockWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQDockWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQDockWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQDockWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQDockWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQDockWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQDockWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQDockWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQDockWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQDockWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQDockWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQDockWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQDockWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQDockWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQDockWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQDockWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQDockWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQDockWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQDockWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQDockWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQDockWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQDockWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQDockWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQDockWidget::sipProtect_initStyleOption(QStyleOptionDockWidget*a0) const
{
    QDockWidget::initStyleOption(a0);
}

void sipQDockWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QDockWidget::changeEvent(a0) : changeEvent(a0));
}

void sipQDockWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QDockWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQDockWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QDockWidget::paintEvent(a0) : paintEvent(a0));
}

bool sipQDockWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QDockWidget::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QDockWidget_sender, "QDockWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QDockWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 374476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_sender, doc_QDockWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_receivers, "QDockWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDockWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDockWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 374535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_receivers, doc_QDockWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_timerEvent, "QDockWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDockWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_timerEvent, doc_QDockWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_childEvent, "QDockWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDockWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_childEvent, doc_QDockWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_customEvent, "QDockWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDockWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_customEvent, doc_QDockWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_connectNotify, "QDockWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDockWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_connectNotify, doc_QDockWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_disconnectNotify, "QDockWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDockWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_disconnectNotify, doc_QDockWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_senderSignalIndex, "QDockWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDockWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_senderSignalIndex, doc_QDockWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_isSignalConnected, "QDockWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDockWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_isSignalConnected, doc_QDockWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_mousePressEvent, "QDockWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDockWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_mousePressEvent, doc_QDockWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_mouseReleaseEvent, "QDockWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDockWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_mouseReleaseEvent, doc_QDockWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_mouseDoubleClickEvent, "QDockWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDockWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_mouseDoubleClickEvent, doc_QDockWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_mouseMoveEvent, "QDockWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDockWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_mouseMoveEvent, doc_QDockWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_wheelEvent, "QDockWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QDockWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_wheelEvent, doc_QDockWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_keyPressEvent, "QDockWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDockWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_keyPressEvent, doc_QDockWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_keyReleaseEvent, "QDockWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDockWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_keyReleaseEvent, doc_QDockWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_focusInEvent, "QDockWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDockWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_focusInEvent, doc_QDockWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_focusOutEvent, "QDockWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDockWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_focusOutEvent, doc_QDockWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_enterEvent, "QDockWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QDockWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_enterEvent, doc_QDockWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_leaveEvent, "QDockWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QDockWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_leaveEvent, doc_QDockWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_moveEvent, "QDockWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QDockWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_moveEvent, doc_QDockWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_resizeEvent, "QDockWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QDockWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_resizeEvent, doc_QDockWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_contextMenuEvent, "QDockWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QDockWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_contextMenuEvent, doc_QDockWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_tabletEvent, "QDockWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QDockWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_tabletEvent, doc_QDockWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_actionEvent, "QDockWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QDockWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_actionEvent, doc_QDockWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_dragEnterEvent, "QDockWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QDockWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_dragEnterEvent, doc_QDockWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_dragMoveEvent, "QDockWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QDockWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_dragMoveEvent, doc_QDockWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_dragLeaveEvent, "QDockWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QDockWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_dragLeaveEvent, doc_QDockWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_dropEvent, "QDockWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QDockWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_dropEvent, doc_QDockWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_showEvent, "QDockWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QDockWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_showEvent, doc_QDockWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_hideEvent, "QDockWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QDockWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_hideEvent, doc_QDockWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_metric, "QDockWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QDockWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_metric, doc_QDockWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_inputMethodEvent, "QDockWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QDockWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_inputMethodEvent, doc_QDockWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_updateMicroFocus, "QDockWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QDockWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_updateMicroFocus, doc_QDockWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_create, "QDockWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QDockWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQDockWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_create, doc_QDockWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_destroy, "QDockWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QDockWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQDockWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QDockWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_destroy, doc_QDockWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_focusNextPrevChild, "QDockWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QDockWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDockWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_focusNextPrevChild, doc_QDockWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_focusNextChild, "QDockWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QDockWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_focusNextChild, doc_QDockWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_focusPreviousChild, "QDockWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QDockWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_focusPreviousChild, doc_QDockWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_nativeEvent, "QDockWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QDockWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_nativeEvent, doc_QDockWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_sharedPainter, "QDockWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QDockWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_sharedPainter, doc_QDockWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_initPainter, "QDockWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QDockWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_initPainter, doc_QDockWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_widget, "QDockWidget.widget() -> QWidget");

extern "C" {static PyObject *meth_QDockWidget_widget(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_widget, doc_QDockWidget_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_setWidget, "QDockWidget.setWidget(QWidget)");

extern "C" {static PyObject *meth_QDockWidget_setWidget(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_setWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_setWidget, doc_QDockWidget_setWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_setFeatures, "QDockWidget.setFeatures(QDockWidget.DockWidgetFeatures)");

extern "C" {static PyObject *meth_QDockWidget_setFeatures(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_setFeatures(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDockWidget::DockWidgetFeatures* a0;
        int a0State = 0;
        QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QDockWidget_DockWidgetFeatures, &a0, &a0State))
        {
            sipCpp->setFeatures(*a0);
            sipReleaseType(a0,sipType_QDockWidget_DockWidgetFeatures,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_setFeatures, doc_QDockWidget_setFeatures);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_features, "QDockWidget.features() -> QDockWidget.DockWidgetFeatures");

extern "C" {static PyObject *meth_QDockWidget_features(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_features(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            QDockWidget::DockWidgetFeatures*sipRes;

            sipRes = new QDockWidget::DockWidgetFeatures(sipCpp->features());

            return sipConvertFromNewType(sipRes,sipType_QDockWidget_DockWidgetFeatures,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_features, doc_QDockWidget_features);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_setFloating, "QDockWidget.setFloating(bool)");

extern "C" {static PyObject *meth_QDockWidget_setFloating(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_setFloating(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDockWidget, &sipCpp, &a0))
        {
            sipCpp->setFloating(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_setFloating, doc_QDockWidget_setFloating);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_isFloating, "QDockWidget.isFloating() -> bool");

extern "C" {static PyObject *meth_QDockWidget_isFloating(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_isFloating(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFloating();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_isFloating, doc_QDockWidget_isFloating);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_setAllowedAreas, "QDockWidget.setAllowedAreas(Qt.DockWidgetAreas)");

extern "C" {static PyObject *meth_QDockWidget_setAllowedAreas(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_setAllowedAreas(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DockWidgetAreas* a0;
        int a0State = 0;
        QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_Qt_DockWidgetAreas, &a0, &a0State))
        {
            sipCpp->setAllowedAreas(*a0);
            sipReleaseType(a0,sipType_Qt_DockWidgetAreas,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_setAllowedAreas, doc_QDockWidget_setAllowedAreas);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_allowedAreas, "QDockWidget.allowedAreas() -> Qt.DockWidgetAreas");

extern "C" {static PyObject *meth_QDockWidget_allowedAreas(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_allowedAreas(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            Qt::DockWidgetAreas*sipRes;

            sipRes = new Qt::DockWidgetAreas(sipCpp->allowedAreas());

            return sipConvertFromNewType(sipRes,sipType_Qt_DockWidgetAreas,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_allowedAreas, doc_QDockWidget_allowedAreas);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_isAreaAllowed, "QDockWidget.isAreaAllowed(Qt.DockWidgetArea) -> bool");

extern "C" {static PyObject *meth_QDockWidget_isAreaAllowed(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_isAreaAllowed(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DockWidgetArea a0;
        const QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_Qt_DockWidgetArea, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isAreaAllowed(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_isAreaAllowed, doc_QDockWidget_isAreaAllowed);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_toggleViewAction, "QDockWidget.toggleViewAction() -> QAction");

extern "C" {static PyObject *meth_QDockWidget_toggleViewAction(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_toggleViewAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->toggleViewAction();

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_toggleViewAction, doc_QDockWidget_toggleViewAction);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_setTitleBarWidget, "QDockWidget.setTitleBarWidget(QWidget)");

extern "C" {static PyObject *meth_QDockWidget_setTitleBarWidget(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_setTitleBarWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setTitleBarWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_setTitleBarWidget, doc_QDockWidget_setTitleBarWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_titleBarWidget, "QDockWidget.titleBarWidget() -> QWidget");

extern "C" {static PyObject *meth_QDockWidget_titleBarWidget(PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_titleBarWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDockWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDockWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->titleBarWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_titleBarWidget, doc_QDockWidget_titleBarWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_initStyleOption, "QDockWidget.initStyleOption(QStyleOptionDockWidget)");

extern "C" {static PyObject *meth_QDockWidget_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionDockWidget* a0;
        const sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QStyleOptionDockWidget, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_initStyleOption, doc_QDockWidget_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_changeEvent, "QDockWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QDockWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_changeEvent, doc_QDockWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_closeEvent, "QDockWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QDockWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_closeEvent, doc_QDockWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_paintEvent, "QDockWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QDockWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_paintEvent, doc_QDockWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDockWidget_event, "QDockWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QDockWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDockWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDockWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDockWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDockWidget, sipName_event, doc_QDockWidget_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDockWidget(void *, const sipTypeDef *);}
static void *cast_QDockWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDockWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QDockWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDockWidget(void *, int);}
static void release_QDockWidget(void *sipCppV,int)
{
    QDockWidget *sipCpp = reinterpret_cast<QDockWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDockWidget(sipSimpleWrapper *);}
static void dealloc_QDockWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDockWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDockWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDockWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDockWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDockWidget *sipCpp = 0;

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;
        Qt::WindowFlags a2def = 0;
        Qt::WindowFlags* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JHJ1", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner, sipType_Qt_WindowFlags, &a2, &a2State))
        {
            sipCpp = new sipQDockWidget(*a0,a1,*a2);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a2,sipType_Qt_WindowFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQDockWidget(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDockWidget[] = {{454, 255, 1}};


static PyMethodDef methods_QDockWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QDockWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_allowedAreas), meth_QDockWidget_allowedAreas, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_allowedAreas)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QDockWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDockWidget_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDockWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QDockWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDockWidget_closeEvent)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDockWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDockWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDockWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDockWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QDockWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDockWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDockWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDockWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDockWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDockWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QDockWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QDockWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDockWidget_event)},
    {SIP_MLNAME_CAST(sipName_features), meth_QDockWidget_features, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_features)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDockWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QDockWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QDockWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDockWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QDockWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QDockWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QDockWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QDockWidget_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDockWidget_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDockWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isAreaAllowed), meth_QDockWidget_isAreaAllowed, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_isAreaAllowed)},
    {SIP_MLNAME_CAST(sipName_isFloating), meth_QDockWidget_isFloating, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_isFloating)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDockWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDockWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDockWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QDockWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QDockWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDockWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDockWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDockWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDockWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QDockWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QDockWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QDockWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDockWidget_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDockWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QDockWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDockWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDockWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAllowedAreas), meth_QDockWidget_setAllowedAreas, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_setAllowedAreas)},
    {SIP_MLNAME_CAST(sipName_setFeatures), meth_QDockWidget_setFeatures, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_setFeatures)},
    {SIP_MLNAME_CAST(sipName_setFloating), meth_QDockWidget_setFloating, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_setFloating)},
    {SIP_MLNAME_CAST(sipName_setTitleBarWidget), meth_QDockWidget_setTitleBarWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_setTitleBarWidget)},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_QDockWidget_setWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_setWidget)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QDockWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QDockWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QDockWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDockWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_titleBarWidget), meth_QDockWidget_titleBarWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_titleBarWidget)},
    {SIP_MLNAME_CAST(sipName_toggleViewAction), meth_QDockWidget_toggleViewAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_toggleViewAction)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDockWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDockWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QDockWidget_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QDockWidget_widget)}
};

static sipEnumMemberDef enummembers_QDockWidget[] = {
    {sipName_AllDockWidgetFeatures, static_cast<int>(QDockWidget::AllDockWidgetFeatures), 70},
    {sipName_DockWidgetClosable, static_cast<int>(QDockWidget::DockWidgetClosable), 70},
    {sipName_DockWidgetFloatable, static_cast<int>(QDockWidget::DockWidgetFloatable), 70},
    {sipName_DockWidgetMovable, static_cast<int>(QDockWidget::DockWidgetMovable), 70},
    {sipName_DockWidgetVerticalTitleBar, static_cast<int>(QDockWidget::DockWidgetVerticalTitleBar), 70},
    {sipName_NoDockWidgetFeatures, static_cast<int>(QDockWidget::NoDockWidgetFeatures), 70},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDockWidget[] = {
    {"visibilityChanged(bool)", "\1QDockWidget.visibilityChanged[bool]", 0, 0},
    {"dockLocationChanged(Qt::DockWidgetArea)", "\1QDockWidget.dockLocationChanged[Qt.DockWidgetArea]", 0, 0},
    {"allowedAreasChanged(Qt::DockWidgetAreas)", "\1QDockWidget.allowedAreasChanged[Qt.DockWidgetAreas]", 0, 0},
    {"topLevelChanged(bool)", "\1QDockWidget.topLevelChanged[bool]", 0, 0},
    {"featuresChanged(QDockWidget::DockWidgetFeatures)", "\1QDockWidget.featuresChanged[QDockWidget.DockWidgetFeatures]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDockWidget, "\1QDockWidget(str, QWidget parent=None, Qt.WindowFlags flags=0)\n"
    "QDockWidget(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDockWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDockWidget,
        {0}
    },
    {
        sipNameNr_QDockWidget,
        {0, 0, 1},
        59, methods_QDockWidget,
        6, enummembers_QDockWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDockWidget,
    -1,
    -1,
    supers_QDockWidget,
    0,
    init_type_QDockWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDockWidget,
    0,
    0,
    0,
    release_QDockWidget,
    cast_QDockWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDockWidget::staticMetaObject,
    0,
    signals_QDockWidget,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdirmodel.sip"
#include <qdirmodel.h>
#line 376408 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 376412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 376415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdir.sip"
#include <qdir.h>
#line 376418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 376421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qfileinfo.sip"
#include <qfileinfo.h>
#line 376424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 376427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 376430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 376433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qfileiconprovider.sip"
#include <qfileiconprovider.h>
#line 376436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 376439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qmimedata.sip"
#include <qmimedata.h>
#line 376442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 376445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 376448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 376451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 376454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 266 "sip/QtCore/qpycore_qhash.sip"
#include <qhash.h>
#line 376457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 376460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 376463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 376466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 70 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 376469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 376472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 376475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 376478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 376481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 376484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 376487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 376490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 376493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 376496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 376499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 376502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 376505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 376508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 376511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 376514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 376517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDirModel : public QDirModel
{
public:
    sipQDirModel(const QStringList&,QDir::Filters,QDir::SortFlags,QObject*);
    sipQDirModel(QObject*);
    virtual ~sipQDirModel();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_encodeData(const QModelIndexList&,QDataStream&) const;
    bool sipProtect_decodeData(int,int,const QModelIndex&,QDataStream&);
    void sipProtect_beginInsertRows(const QModelIndex&,int,int);
    void sipProtect_endInsertRows();
    void sipProtect_beginRemoveRows(const QModelIndex&,int,int);
    void sipProtect_endRemoveRows();
    void sipProtect_beginInsertColumns(const QModelIndex&,int,int);
    void sipProtect_endInsertColumns();
    void sipProtect_beginRemoveColumns(const QModelIndex&,int,int);
    void sipProtect_endRemoveColumns();
    QModelIndexList sipProtect_persistentIndexList() const;
    void sipProtect_changePersistentIndex(const QModelIndex&,const QModelIndex&);
    void sipProtect_changePersistentIndexList(const QModelIndexList&,const QModelIndexList&);
    QModelIndex sipProtect_createIndex(int,int,void*) const;
    bool sipProtect_beginMoveRows(const QModelIndex&,int,int,const QModelIndex&,int);
    void sipProtect_endMoveRows();
    bool sipProtect_beginMoveColumns(const QModelIndex&,int,int,const QModelIndex&,int);
    void sipProtect_endMoveColumns();
    void sipProtect_beginResetModel();
    void sipProtect_endResetModel();
    void sipProtect_resetInternalData();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool moveColumns(const QModelIndex&,int,int,const QModelIndex&,int);
    bool moveRows(const QModelIndex&,int,int,const QModelIndex&,int);
    bool canDropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&) const;
    QHash<int,QByteArray> roleNames() const;
    Qt::DropActions supportedDragActions() const;
    void revert();
    bool submit();
    QSize span(const QModelIndex&) const;
    QModelIndexList match(const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags) const;
    QModelIndex buddy(const QModelIndex&) const;
    bool canFetchMore(const QModelIndex&) const;
    void fetchMore(const QModelIndex&);
    bool removeColumns(int,int,const QModelIndex&);
    bool removeRows(int,int,const QModelIndex&);
    bool insertColumns(int,int,const QModelIndex&);
    bool insertRows(int,int,const QModelIndex&);
    bool setItemData(const QModelIndex&,const QMap<int,QVariant>&);
    QMap<int,QVariant> itemData(const QModelIndex&) const;
    bool setHeaderData(int,Qt::Orientation,const QVariant&,int);
    QModelIndex sibling(int,int,const QModelIndex&) const;
    Qt::DropActions supportedDropActions() const;
    bool dropMimeData(const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);
    QMimeData* mimeData(const QModelIndexList&) const;
    QStringList mimeTypes() const;
    void sort(int,Qt::SortOrder);
    Qt::ItemFlags flags(const QModelIndex&) const;
    bool hasChildren(const QModelIndex&) const;
    QVariant headerData(int,Qt::Orientation,int) const;
    bool setData(const QModelIndex&,const QVariant&,int);
    QVariant data(const QModelIndex&,int) const;
    int columnCount(const QModelIndex&) const;
    int rowCount(const QModelIndex&) const;
    QModelIndex parent(const QModelIndex&) const;
    QModelIndex index(int,int,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDirModel(const sipQDirModel &);
    sipQDirModel &operator = (const sipQDirModel &);

    char sipPyMethods[41];
};

sipQDirModel::sipQDirModel(const QStringList& a0,QDir::Filters a1,QDir::SortFlags a2,QObject*a3): QDirModel(a0,a1,a2,a3), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDirModel::sipQDirModel(QObject*a0): QDirModel(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDirModel::~sipQDirModel()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDirModel::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDirModel);
}

int sipQDirModel::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDirModel::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDirModel,_c,_id,_a);

    return _id;
}

void *sipQDirModel::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDirModel, _clname, &sipCpp) ? sipCpp : QDirModel::qt_metacast(_clname));
}

void sipQDirModel::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDirModel::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDirModel::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDirModel::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDirModel::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDirModel::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDirModel::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDirModel::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDirModel::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDirModel::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDirModel::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDirModel::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQDirModel::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDirModel::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDirModel::moveColumns(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_moveColumns);

    if (!sipMeth)
        return QDirModel::moveColumns(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[59]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQDirModel::moveRows(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_moveRows);

    if (!sipMeth)
        return QDirModel::moveRows(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_59)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int,const QModelIndex&,int);

    return ((sipVH_QtCore_59)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[59]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQDirModel::canDropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_canDropMimeData);

    if (!sipMeth)
        return QDirModel::canDropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_33)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[33]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QHash<int,QByteArray> sipQDirModel::roleNames() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_roleNames);

    if (!sipMeth)
        return QDirModel::roleNames();

    typedef QHash<int,QByteArray> (*sipVH_QtCore_60)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_60)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[60]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::DropActions sipQDirModel::supportedDragActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_supportedDragActions);

    if (!sipMeth)
        return QDirModel::supportedDragActions();

    typedef Qt::DropActions (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDirModel::revert()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_revert);

    if (!sipMeth)
    {
        QDirModel::revert();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDirModel::submit()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_submit);

    if (!sipMeth)
        return QDirModel::submit();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDirModel::span(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_span);

    if (!sipMeth)
        return QDirModel::span(a0);

    typedef QSize (*sipVH_QtCore_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_29)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndexList sipQDirModel::match(const QModelIndex& a0,int a1,const QVariant& a2,int a3,Qt::MatchFlags a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_match);

    if (!sipMeth)
        return QDirModel::match(a0,a1,a2,a3,a4);

    typedef QList<QModelIndex> (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,const QVariant&,int,Qt::MatchFlags);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QModelIndex sipQDirModel::buddy(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_buddy);

    if (!sipMeth)
        return QDirModel::buddy(a0);

    typedef QModelIndex (*sipVH_QtCore_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_30)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[30]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDirModel::canFetchMore(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_canFetchMore);

    if (!sipMeth)
        return QDirModel::canFetchMore(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDirModel::fetchMore(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_fetchMore);

    if (!sipMeth)
    {
        QDirModel::fetchMore(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDirModel::removeColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_removeColumns);

    if (!sipMeth)
        return QDirModel::removeColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_20)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDirModel::removeRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_removeRows);

    if (!sipMeth)
        return QDirModel::removeRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_20)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDirModel::insertColumns(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_insertColumns);

    if (!sipMeth)
        return QDirModel::insertColumns(a0,a1,a2);

    typedef bool (*sipVH_QtCore_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_20)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDirModel::insertRows(int a0,int a1,const QModelIndex& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_insertRows);

    if (!sipMeth)
        return QDirModel::insertRows(a0,a1,a2);

    typedef bool (*sipVH_QtCore_20)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_20)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[20]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDirModel::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 QDirModel::setItemData(a0,a1);

    typedef bool (*sipVH_QtCore_56)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QMap<int,QVariant>&);

    return ((sipVH_QtCore_56)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[56]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QMap<int,QVariant> sipQDirModel::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 QDirModel::itemData(a0);

    typedef QMap<int,QVariant> (*sipVH_QtCore_57)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_57)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[57]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDirModel::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 QDirModel::setHeaderData(a0,a1,a2,a3);

    typedef bool (*sipVH_QtCore_35)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,const QVariant&,int);

    return ((sipVH_QtCore_35)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[35]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QModelIndex sipQDirModel::sibling(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_sibling);

    if (!sipMeth)
        return QDirModel::sibling(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_17)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

Qt::DropActions sipQDirModel::supportedDropActions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_supportedDropActions);

    if (!sipMeth)
        return QDirModel::supportedDropActions();

    typedef Qt::DropActions (*sipVH_QtCore_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_18)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDirModel::dropMimeData(const QMimeData*a0,Qt::DropAction a1,int a2,int a3,const QModelIndex& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_dropMimeData);

    if (!sipMeth)
        return QDirModel::dropMimeData(a0,a1,a2,a3,a4);

    typedef bool (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMimeData*,Qt::DropAction,int,int,const QModelIndex&);

    return ((sipVH_QtCore_33)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[33]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QMimeData* sipQDirModel::mimeData(const QModelIndexList& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_mimeData);

    if (!sipMeth)
        return QDirModel::mimeData(a0);

    typedef QMimeData* (*sipVH_QtCore_34)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QList<QModelIndex>&);

    return ((sipVH_QtCore_34)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[34]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStringList sipQDirModel::mimeTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_mimeTypes);

    if (!sipMeth)
        return QDirModel::mimeTypes();

    typedef QStringList (*sipVH_QtCore_27)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_27)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[27]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDirModel::sort(int a0,Qt::SortOrder a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_sort);

    if (!sipMeth)
    {
        QDirModel::sort(a0,a1);
        return;
    }

    typedef void (*sipVH_QtCore_19)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::SortOrder);

    ((sipVH_QtCore_19)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[19]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

Qt::ItemFlags sipQDirModel::flags(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_flags);

    if (!sipMeth)
        return QDirModel::flags(a0);

    typedef Qt::ItemFlags (*sipVH_QtCore_21)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_21)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[21]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDirModel::hasChildren(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_hasChildren);

    if (!sipMeth)
        return QDirModel::hasChildren(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQDirModel::headerData(int a0,Qt::Orientation a1,int a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_headerData);

    if (!sipMeth)
        return QDirModel::headerData(a0,a1,a2);

    typedef QVariant (*sipVH_QtCore_36)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::Orientation,int);

    return ((sipVH_QtCore_36)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[36]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDirModel::setData(const QModelIndex& a0,const QVariant& a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
        return QDirModel::setData(a0,a1,a2);

    typedef bool (*sipVH_QtCore_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QVariant&,int);

    return ((sipVH_QtCore_22)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QVariant sipQDirModel::data(const QModelIndex& a0,int a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return QDirModel::data(a0,a1);

    typedef QVariant (*sipVH_QtCore_23)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int);

    return ((sipVH_QtCore_23)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[23]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

int sipQDirModel::columnCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_columnCount);

    if (!sipMeth)
        return QDirModel::columnCount(a0);

    typedef int (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_24)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDirModel::rowCount(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_rowCount);

    if (!sipMeth)
        return QDirModel::rowCount(a0);

    typedef int (*sipVH_QtCore_24)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_24)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[24]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndex sipQDirModel::parent(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_parent);

    if (!sipMeth)
        return QDirModel::parent(a0);

    typedef QModelIndex (*sipVH_QtCore_30)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_30)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[30]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndex sipQDirModel::index(int a0,int a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_index);

    if (!sipMeth)
        return QDirModel::index(a0,a1,a2);

    typedef QModelIndex (*sipVH_QtCore_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,const QModelIndex&);

    return ((sipVH_QtCore_17)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QObject* sipQDirModel::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDirModel::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDirModel::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDirModel::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDirModel::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDirModel::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDirModel::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDirModel::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDirModel::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQDirModel::sipProtect_encodeData(const QModelIndexList& a0,QDataStream& a1) const
{
    QAbstractItemModel::encodeData(a0,a1);
}

bool sipQDirModel::sipProtect_decodeData(int a0,int a1,const QModelIndex& a2,QDataStream& a3)
{
    return QAbstractItemModel::decodeData(a0,a1,a2,a3);
}

void sipQDirModel::sipProtect_beginInsertRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertRows(a0,a1,a2);
}

void sipQDirModel::sipProtect_endInsertRows()
{
    QAbstractItemModel::endInsertRows();
}

void sipQDirModel::sipProtect_beginRemoveRows(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveRows(a0,a1,a2);
}

void sipQDirModel::sipProtect_endRemoveRows()
{
    QAbstractItemModel::endRemoveRows();
}

void sipQDirModel::sipProtect_beginInsertColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginInsertColumns(a0,a1,a2);
}

void sipQDirModel::sipProtect_endInsertColumns()
{
    QAbstractItemModel::endInsertColumns();
}

void sipQDirModel::sipProtect_beginRemoveColumns(const QModelIndex& a0,int a1,int a2)
{
    QAbstractItemModel::beginRemoveColumns(a0,a1,a2);
}

void sipQDirModel::sipProtect_endRemoveColumns()
{
    QAbstractItemModel::endRemoveColumns();
}

QModelIndexList sipQDirModel::sipProtect_persistentIndexList() const
{
    return QAbstractItemModel::persistentIndexList();
}

void sipQDirModel::sipProtect_changePersistentIndex(const QModelIndex& a0,const QModelIndex& a1)
{
    QAbstractItemModel::changePersistentIndex(a0,a1);
}

void sipQDirModel::sipProtect_changePersistentIndexList(const QModelIndexList& a0,const QModelIndexList& a1)
{
    QAbstractItemModel::changePersistentIndexList(a0,a1);
}

QModelIndex sipQDirModel::sipProtect_createIndex(int a0,int a1,void*a2) const
{
    return QAbstractItemModel::createIndex(a0,a1,a2);
}

bool sipQDirModel::sipProtect_beginMoveRows(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    return QAbstractItemModel::beginMoveRows(a0,a1,a2,a3,a4);
}

void sipQDirModel::sipProtect_endMoveRows()
{
    QAbstractItemModel::endMoveRows();
}

bool sipQDirModel::sipProtect_beginMoveColumns(const QModelIndex& a0,int a1,int a2,const QModelIndex& a3,int a4)
{
    return QAbstractItemModel::beginMoveColumns(a0,a1,a2,a3,a4);
}

void sipQDirModel::sipProtect_endMoveColumns()
{
    QAbstractItemModel::endMoveColumns();
}

void sipQDirModel::sipProtect_beginResetModel()
{
    QAbstractItemModel::beginResetModel();
}

void sipQDirModel::sipProtect_endResetModel()
{
    QAbstractItemModel::endResetModel();
}

void sipQDirModel::sipProtect_resetInternalData()
{
    QAbstractItemModel::resetInternalData();
}


PyDoc_STRVAR(doc_QDirModel_sender, "QDirModel.sender() -> QObject");

extern "C" {static PyObject *meth_QDirModel_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 377490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_sender, doc_QDirModel_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_receivers, "QDirModel.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDirModel_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDirModel, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 377549 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_receivers, doc_QDirModel_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_timerEvent, "QDirModel.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDirModel_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_timerEvent, doc_QDirModel_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_childEvent, "QDirModel.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDirModel_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_childEvent, doc_QDirModel_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_customEvent, "QDirModel.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDirModel_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_customEvent, doc_QDirModel_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_connectNotify, "QDirModel.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDirModel_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_connectNotify, doc_QDirModel_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_disconnectNotify, "QDirModel.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDirModel_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_disconnectNotify, doc_QDirModel_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_senderSignalIndex, "QDirModel.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDirModel_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_senderSignalIndex, doc_QDirModel_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_isSignalConnected, "QDirModel.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDirModel_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_isSignalConnected, doc_QDirModel_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_encodeData, "QDirModel.encodeData(list-of-QModelIndex, QDataStream)");

extern "C" {static PyObject *meth_QDirModel_encodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_encodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndexList* a0;
        int a0State = 0;
        QDataStream* a1;
        const sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QDataStream, &a1))
        {
            sipCpp->sipProtect_encodeData(*a0,*a1);
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_encodeData, doc_QDirModel_encodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_decodeData, "QDirModel.decodeData(int, int, QModelIndex, QDataStream) -> bool");

extern "C" {static PyObject *meth_QDirModel_decodeData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_decodeData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        const QModelIndex* a2;
        QDataStream* a3;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BiiJ9J9", &sipSelf, sipType_QDirModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2, sipType_QDataStream, &a3))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_decodeData(a0,a1,*a2,*a3);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_decodeData, doc_QDirModel_decodeData);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_beginInsertRows, "QDirModel.beginInsertRows(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QDirModel_beginInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_beginInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_beginInsertRows, doc_QDirModel_beginInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_endInsertRows, "QDirModel.endInsertRows()");

extern "C" {static PyObject *meth_QDirModel_endInsertRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_endInsertRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_endInsertRows, doc_QDirModel_endInsertRows);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_beginRemoveRows, "QDirModel.beginRemoveRows(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QDirModel_beginRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_beginRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveRows(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_beginRemoveRows, doc_QDirModel_beginRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_endRemoveRows, "QDirModel.endRemoveRows()");

extern "C" {static PyObject *meth_QDirModel_endRemoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_endRemoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_endRemoveRows, doc_QDirModel_endRemoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_beginInsertColumns, "QDirModel.beginInsertColumns(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QDirModel_beginInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_beginInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginInsertColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_beginInsertColumns, doc_QDirModel_beginInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_endInsertColumns, "QDirModel.endInsertColumns()");

extern "C" {static PyObject *meth_QDirModel_endInsertColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_endInsertColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            sipCpp->sipProtect_endInsertColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_endInsertColumns, doc_QDirModel_endInsertColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_beginRemoveColumns, "QDirModel.beginRemoveColumns(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QDirModel_beginRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_beginRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_beginRemoveColumns(*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_beginRemoveColumns, doc_QDirModel_beginRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_endRemoveColumns, "QDirModel.endRemoveColumns()");

extern "C" {static PyObject *meth_QDirModel_endRemoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_endRemoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            sipCpp->sipProtect_endRemoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_endRemoveColumns, doc_QDirModel_endRemoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_persistentIndexList, "QDirModel.persistentIndexList() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QDirModel_persistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_persistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtect_persistentIndexList());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_persistentIndexList, doc_QDirModel_persistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_changePersistentIndex, "QDirModel.changePersistentIndex(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QDirModel_changePersistentIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_changePersistentIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtect_changePersistentIndex(*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_changePersistentIndex, doc_QDirModel_changePersistentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_changePersistentIndexList, "QDirModel.changePersistentIndexList(list-of-QModelIndex, list-of-QModelIndex)");

extern "C" {static PyObject *meth_QDirModel_changePersistentIndexList(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_changePersistentIndexList(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndexList* a0;
        int a0State = 0;
        const QModelIndexList* a1;
        int a1State = 0;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1J1", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State, sipType_QList_0100QModelIndex,&a1, &a1State))
        {
            sipCpp->sipProtect_changePersistentIndexList(*a0,*a1);
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);
            sipReleaseType(const_cast<QModelIndexList *>(a1),sipType_QList_0100QModelIndex,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_changePersistentIndexList, doc_QDirModel_changePersistentIndexList);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_createIndex, "QDirModel.createIndex(int, int, object object=0) -> QModelIndex");

extern "C" {static PyObject *meth_QDirModel_createIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_createIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        PyObject * a2 = 0;
        const sipQDirModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_object,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|P0", &sipSelf, sipType_QDirModel, &sipCpp, &a0, &a1, &a2))
        {
            QModelIndex*sipRes = 0;

#line 194 "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 378188 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_createIndex, doc_QDirModel_createIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_beginMoveRows, "QDirModel.beginMoveRows(QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QDirModel_beginMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_beginMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        const QModelIndex* a3;
        int a4;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveRows(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_beginMoveRows, doc_QDirModel_beginMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_endMoveRows, "QDirModel.endMoveRows()");

extern "C" {static PyObject *meth_QDirModel_endMoveRows(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_endMoveRows(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveRows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_endMoveRows, doc_QDirModel_endMoveRows);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_beginMoveColumns, "QDirModel.beginMoveColumns(QModelIndex, int, int, QModelIndex, int) -> bool");

extern "C" {static PyObject *meth_QDirModel_beginMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_beginMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        const QModelIndex* a3;
        int a4;
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9iiJ9i", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2, sipType_QModelIndex, &a3, &a4))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_beginMoveColumns(*a0,a1,a2,*a3,a4);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_beginMoveColumns, doc_QDirModel_beginMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_endMoveColumns, "QDirModel.endMoveColumns()");

extern "C" {static PyObject *meth_QDirModel_endMoveColumns(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_endMoveColumns(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            sipCpp->sipProtect_endMoveColumns();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_endMoveColumns, doc_QDirModel_endMoveColumns);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_beginResetModel, "QDirModel.beginResetModel()");

extern "C" {static PyObject *meth_QDirModel_beginResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_beginResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            sipCpp->sipProtect_beginResetModel();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_beginResetModel, doc_QDirModel_beginResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_endResetModel, "QDirModel.endResetModel()");

extern "C" {static PyObject *meth_QDirModel_endResetModel(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_endResetModel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            sipCpp->sipProtect_endResetModel();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_endResetModel, doc_QDirModel_endResetModel);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_resetInternalData, "QDirModel.resetInternalData()");

extern "C" {static PyObject *meth_QDirModel_resetInternalData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_resetInternalData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDirModel *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            sipCpp->sipProtect_resetInternalData();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_resetInternalData, doc_QDirModel_resetInternalData);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_index, "QDirModel.index(int, int, QModelIndex parent=QModelIndex()) -> QModelIndex\n"
    "QDirModel.index(str, int column=0) -> QModelIndex");

extern "C" {static PyObject *meth_QDirModel_index(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_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 QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii|J9", &sipSelf, sipType_QDirModel, &sipCpp, &a0, &a1, sipType_QModelIndex, &a2))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QDirModel::index(a0,a1,*a2) : sipCpp->index(a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        int a1 = 0;
        const QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_column,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|i", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->index(*a0,a1));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_index, doc_QDirModel_index);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_parent, "QDirModel.parent(QModelIndex) -> QModelIndex\n"
    "QDirModel.parent() -> QObject");

extern "C" {static PyObject *meth_QDirModel_parent(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_parent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QDirModel::parent(*a0) : sipCpp->parent(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            QObject*sipRes;

            sipRes = sipCpp->parent();

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_parent, doc_QDirModel_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_rowCount, "QDirModel.rowCount(QModelIndex parent=QModelIndex()) -> int");

extern "C" {static PyObject *meth_QDirModel_rowCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_rowCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QDirModel::rowCount(*a0) : sipCpp->rowCount(*a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_rowCount, doc_QDirModel_rowCount);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_columnCount, "QDirModel.columnCount(QModelIndex parent=QModelIndex()) -> int");

extern "C" {static PyObject *meth_QDirModel_columnCount(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_columnCount(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        const QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QDirModel::columnCount(*a0) : sipCpp->columnCount(*a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_columnCount, doc_QDirModel_columnCount);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_data, "QDirModel.data(QModelIndex, int role=Qt.DisplayRole) -> QVariant");

extern "C" {static PyObject *meth_QDirModel_data(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_data(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1 = Qt::DisplayRole;
        const QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, &a1))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QDirModel::data(*a0,a1) : sipCpp->data(*a0,a1)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_data, doc_QDirModel_data);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_setData, "QDirModel.setData(QModelIndex, QVariant, int role=Qt.EditRole) -> bool");

extern "C" {static PyObject *meth_QDirModel_setData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_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;
        QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1|i", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QVariant, &a1, &a1State, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QDirModel::setData(*a0,*a1,a2) : sipCpp->setData(*a0,*a1,a2));
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_setData, doc_QDirModel_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_headerData, "QDirModel.headerData(int, Qt.Orientation, int role=Qt.DisplayRole) -> QVariant");

extern "C" {static PyObject *meth_QDirModel_headerData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_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 QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiE|i", &sipSelf, sipType_QDirModel, &sipCpp, &a0, sipType_Qt_Orientation, &a1, &a2))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QDirModel::headerData(a0,a1,a2) : sipCpp->headerData(a0,a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_headerData, doc_QDirModel_headerData);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_hasChildren, "QDirModel.hasChildren(QModelIndex parent=QModelIndex()) -> bool");

extern "C" {static PyObject *meth_QDirModel_hasChildren(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_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 QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QDirModel::hasChildren(*a0) : sipCpp->hasChildren(*a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_hasChildren, doc_QDirModel_hasChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_flags, "QDirModel.flags(QModelIndex) -> Qt.ItemFlags");

extern "C" {static PyObject *meth_QDirModel_flags(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_flags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            Qt::ItemFlags*sipRes;

            sipRes = new Qt::ItemFlags((sipSelfWasArg ? sipCpp->QDirModel::flags(*a0) : sipCpp->flags(*a0)));

            return sipConvertFromNewType(sipRes,sipType_Qt_ItemFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_flags, doc_QDirModel_flags);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_sort, "QDirModel.sort(int, Qt.SortOrder order=Qt.AscendingOrder)");

extern "C" {static PyObject *meth_QDirModel_sort(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_sort(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::SortOrder a1 = Qt::AscendingOrder;
        QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_order,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|E", &sipSelf, sipType_QDirModel, &sipCpp, &a0, sipType_Qt_SortOrder, &a1))
        {
            (sipSelfWasArg ? sipCpp->QDirModel::sort(a0,a1) : sipCpp->sort(a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_sort, doc_QDirModel_sort);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_mimeTypes, "QDirModel.mimeTypes() -> list-of-str");

extern "C" {static PyObject *meth_QDirModel_mimeTypes(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_mimeTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList((sipSelfWasArg ? sipCpp->QDirModel::mimeTypes() : sipCpp->mimeTypes()));

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_mimeTypes, doc_QDirModel_mimeTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_mimeData, "QDirModel.mimeData(list-of-QModelIndex) -> QMimeData");

extern "C" {static PyObject *meth_QDirModel_mimeData(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_mimeData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndexList* a0;
        int a0State = 0;
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QList_0100QModelIndex,&a0, &a0State))
        {
            QMimeData*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QDirModel::mimeData(*a0) : sipCpp->mimeData(*a0));
            sipReleaseType(const_cast<QModelIndexList *>(a0),sipType_QList_0100QModelIndex,a0State);

            return sipConvertFromType(sipRes,sipType_QMimeData,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_mimeData, doc_QDirModel_mimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_dropMimeData, "QDirModel.dropMimeData(QMimeData, Qt.DropAction, int, int, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QDirModel_dropMimeData(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_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;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8EiiJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QMimeData, &a0, sipType_Qt_DropAction, &a1, &a2, &a3, sipType_QModelIndex, &a4))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QDirModel::dropMimeData(a0,a1,a2,a3,*a4) : sipCpp->dropMimeData(a0,a1,a2,a3,*a4));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_dropMimeData, doc_QDirModel_dropMimeData);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_supportedDropActions, "QDirModel.supportedDropActions() -> Qt.DropActions");

extern "C" {static PyObject *meth_QDirModel_supportedDropActions(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_supportedDropActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            Qt::DropActions*sipRes;

            sipRes = new Qt::DropActions((sipSelfWasArg ? sipCpp->QDirModel::supportedDropActions() : sipCpp->supportedDropActions()));

            return sipConvertFromNewType(sipRes,sipType_Qt_DropActions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_supportedDropActions, doc_QDirModel_supportedDropActions);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_setIconProvider, "QDirModel.setIconProvider(QFileIconProvider)");

extern "C" {static PyObject *meth_QDirModel_setIconProvider(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_setIconProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFileIconProvider* a0;
        PyObject *a0Keep;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QDirModel, &sipCpp, &a0Keep, sipType_QFileIconProvider, &a0))
        {
            sipCpp->setIconProvider(a0);

            sipKeepReference(sipSelf, -18, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_setIconProvider, doc_QDirModel_setIconProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_iconProvider, "QDirModel.iconProvider() -> QFileIconProvider");

extern "C" {static PyObject *meth_QDirModel_iconProvider(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_iconProvider(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            QFileIconProvider*sipRes;

            sipRes = sipCpp->iconProvider();

            return sipConvertFromType(sipRes,sipType_QFileIconProvider,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_iconProvider, doc_QDirModel_iconProvider);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_setNameFilters, "QDirModel.setNameFilters(list-of-str)");

extern "C" {static PyObject *meth_QDirModel_setNameFilters(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_setNameFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->setNameFilters(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_setNameFilters, doc_QDirModel_setNameFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_nameFilters, "QDirModel.nameFilters() -> list-of-str");

extern "C" {static PyObject *meth_QDirModel_nameFilters(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_nameFilters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            QStringList*sipRes;

            sipRes = new QStringList(sipCpp->nameFilters());

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_nameFilters, doc_QDirModel_nameFilters);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_setFilter, "QDirModel.setFilter(QDir.Filters)");

extern "C" {static PyObject *meth_QDirModel_setFilter(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_setFilter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDir::Filters* a0;
        int a0State = 0;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QDir_Filters, &a0, &a0State))
        {
            sipCpp->setFilter(*a0);
            sipReleaseType(a0,sipType_QDir_Filters,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_setFilter, doc_QDirModel_setFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_filter, "QDirModel.filter() -> QDir.Filters");

extern "C" {static PyObject *meth_QDirModel_filter(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_filter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            QDir::Filters*sipRes;

            sipRes = new QDir::Filters(sipCpp->filter());

            return sipConvertFromNewType(sipRes,sipType_QDir_Filters,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_filter, doc_QDirModel_filter);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_setSorting, "QDirModel.setSorting(QDir.SortFlags)");

extern "C" {static PyObject *meth_QDirModel_setSorting(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_setSorting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDir::SortFlags* a0;
        int a0State = 0;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QDir_SortFlags, &a0, &a0State))
        {
            sipCpp->setSorting(*a0);
            sipReleaseType(a0,sipType_QDir_SortFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_setSorting, doc_QDirModel_setSorting);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_sorting, "QDirModel.sorting() -> QDir.SortFlags");

extern "C" {static PyObject *meth_QDirModel_sorting(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_sorting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            QDir::SortFlags*sipRes;

            sipRes = new QDir::SortFlags(sipCpp->sorting());

            return sipConvertFromNewType(sipRes,sipType_QDir_SortFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_sorting, doc_QDirModel_sorting);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_setResolveSymlinks, "QDirModel.setResolveSymlinks(bool)");

extern "C" {static PyObject *meth_QDirModel_setResolveSymlinks(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_setResolveSymlinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDirModel, &sipCpp, &a0))
        {
            sipCpp->setResolveSymlinks(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_setResolveSymlinks, doc_QDirModel_setResolveSymlinks);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_resolveSymlinks, "QDirModel.resolveSymlinks() -> bool");

extern "C" {static PyObject *meth_QDirModel_resolveSymlinks(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_resolveSymlinks(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->resolveSymlinks();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_resolveSymlinks, doc_QDirModel_resolveSymlinks);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_setReadOnly, "QDirModel.setReadOnly(bool)");

extern "C" {static PyObject *meth_QDirModel_setReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_setReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDirModel, &sipCpp, &a0))
        {
            sipCpp->setReadOnly(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_setReadOnly, doc_QDirModel_setReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_isReadOnly, "QDirModel.isReadOnly() -> bool");

extern "C" {static PyObject *meth_QDirModel_isReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_isReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadOnly();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_isReadOnly, doc_QDirModel_isReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_setLazyChildCount, "QDirModel.setLazyChildCount(bool)");

extern "C" {static PyObject *meth_QDirModel_setLazyChildCount(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_setLazyChildCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDirModel, &sipCpp, &a0))
        {
            sipCpp->setLazyChildCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_setLazyChildCount, doc_QDirModel_setLazyChildCount);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_lazyChildCount, "QDirModel.lazyChildCount() -> bool");

extern "C" {static PyObject *meth_QDirModel_lazyChildCount(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_lazyChildCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDirModel, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->lazyChildCount();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_lazyChildCount, doc_QDirModel_lazyChildCount);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_refresh, "QDirModel.refresh(QModelIndex parent=QModelIndex())");

extern "C" {static PyObject *meth_QDirModel_refresh(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDirModel_refresh(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex& a0def = QModelIndex();
        const QModelIndex* a0 = &a0def;
        QDirModel *sipCpp;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->refresh(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_refresh, doc_QDirModel_refresh);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_isDir, "QDirModel.isDir(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QDirModel_isDir(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_isDir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isDir(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_isDir, doc_QDirModel_isDir);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_mkdir, "QDirModel.mkdir(QModelIndex, str) -> QModelIndex");

extern "C" {static PyObject *meth_QDirModel_mkdir(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_mkdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QString* a1;
        int a1State = 0;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0, sipType_QString,&a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->mkdir(*a0,*a1));
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_mkdir, doc_QDirModel_mkdir);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_rmdir, "QDirModel.rmdir(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QDirModel_rmdir(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_rmdir(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->rmdir(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_rmdir, doc_QDirModel_rmdir);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_remove, "QDirModel.remove(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QDirModel_remove(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_remove(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->remove(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_remove, doc_QDirModel_remove);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_filePath, "QDirModel.filePath(QModelIndex) -> str");

extern "C" {static PyObject *meth_QDirModel_filePath(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_filePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->filePath(*a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_filePath, doc_QDirModel_filePath);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_fileName, "QDirModel.fileName(QModelIndex) -> str");

extern "C" {static PyObject *meth_QDirModel_fileName(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_fileName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->fileName(*a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_fileName, doc_QDirModel_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_fileIcon, "QDirModel.fileIcon(QModelIndex) -> QIcon");

extern "C" {static PyObject *meth_QDirModel_fileIcon(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_fileIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->fileIcon(*a0));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_fileIcon, doc_QDirModel_fileIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QDirModel_fileInfo, "QDirModel.fileInfo(QModelIndex) -> QFileInfo");

extern "C" {static PyObject *meth_QDirModel_fileInfo(PyObject *, PyObject *);}
static PyObject *meth_QDirModel_fileInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QDirModel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDirModel, &sipCpp, sipType_QModelIndex, &a0))
        {
            QFileInfo*sipRes;

            sipRes = new QFileInfo(sipCpp->fileInfo(*a0));

            return sipConvertFromNewType(sipRes,sipType_QFileInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDirModel, sipName_fileInfo, doc_QDirModel_fileInfo);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDirModel(void *, const sipTypeDef *);}
static void *cast_QDirModel(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDirModel)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemModel)->ctd_cast((QAbstractItemModel *)(QDirModel *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDirModel(void *, int);}
static void release_QDirModel(void *sipCppV,int)
{
    QDirModel *sipCpp = reinterpret_cast<QDirModel *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDirModel(sipSimpleWrapper *);}
static void dealloc_QDirModel(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDirModel *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDirModel(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDirModel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDirModel(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDirModel *sipCpp = 0;

    {
        const QStringList* a0;
        int a0State = 0;
        QDir::Filters* a1;
        int a1State = 0;
        QDir::SortFlags* a2;
        int a2State = 0;
        QObject* a3 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1J1|JH", sipType_QStringList,&a0, &a0State, sipType_QDir_Filters, &a1, &a1State, sipType_QDir_SortFlags, &a2, &a2State, sipType_QObject, &a3, sipOwner))
        {
            sipCpp = new sipQDirModel(*a0,*a1,*a2,a3);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);
            sipReleaseType(a1,sipType_QDir_Filters,a1State);
            sipReleaseType(a2,sipType_QDir_SortFlags,a2State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQDirModel(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDirModel[] = {{6, 0, 1}};


static PyMethodDef methods_QDirModel[] = {
    {SIP_MLNAME_CAST(sipName_beginInsertColumns), (PyCFunction)meth_QDirModel_beginInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginInsertRows), (PyCFunction)meth_QDirModel_beginInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveColumns), (PyCFunction)meth_QDirModel_beginMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginMoveRows), (PyCFunction)meth_QDirModel_beginMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveColumns), (PyCFunction)meth_QDirModel_beginRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginRemoveRows), (PyCFunction)meth_QDirModel_beginRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_beginResetModel), (PyCFunction)meth_QDirModel_beginResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndex), (PyCFunction)meth_QDirModel_changePersistentIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changePersistentIndexList), (PyCFunction)meth_QDirModel_changePersistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDirModel_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnCount), (PyCFunction)meth_QDirModel_columnCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDirModel_columnCount)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDirModel_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createIndex), (PyCFunction)meth_QDirModel_createIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDirModel_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), (PyCFunction)meth_QDirModel_data, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDirModel_data)},
    {SIP_MLNAME_CAST(sipName_decodeData), (PyCFunction)meth_QDirModel_decodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDirModel_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropMimeData), meth_QDirModel_dropMimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_dropMimeData)},
    {SIP_MLNAME_CAST(sipName_encodeData), (PyCFunction)meth_QDirModel_encodeData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertColumns), (PyCFunction)meth_QDirModel_endInsertColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endInsertRows), (PyCFunction)meth_QDirModel_endInsertRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveColumns), (PyCFunction)meth_QDirModel_endMoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endMoveRows), (PyCFunction)meth_QDirModel_endMoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveColumns), (PyCFunction)meth_QDirModel_endRemoveColumns, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endRemoveRows), (PyCFunction)meth_QDirModel_endRemoveRows, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_endResetModel), (PyCFunction)meth_QDirModel_endResetModel, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fileIcon), meth_QDirModel_fileIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_fileIcon)},
    {SIP_MLNAME_CAST(sipName_fileInfo), meth_QDirModel_fileInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_fileInfo)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QDirModel_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_fileName)},
    {SIP_MLNAME_CAST(sipName_filePath), meth_QDirModel_filePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_filePath)},
    {SIP_MLNAME_CAST(sipName_filter), meth_QDirModel_filter, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_filter)},
    {SIP_MLNAME_CAST(sipName_flags), meth_QDirModel_flags, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_flags)},
    {SIP_MLNAME_CAST(sipName_hasChildren), (PyCFunction)meth_QDirModel_hasChildren, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDirModel_hasChildren)},
    {SIP_MLNAME_CAST(sipName_headerData), (PyCFunction)meth_QDirModel_headerData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDirModel_headerData)},
    {SIP_MLNAME_CAST(sipName_iconProvider), meth_QDirModel_iconProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_iconProvider)},
    {SIP_MLNAME_CAST(sipName_index), (PyCFunction)meth_QDirModel_index, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDirModel_index)},
    {SIP_MLNAME_CAST(sipName_isDir), meth_QDirModel_isDir, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_isDir)},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_QDirModel_isReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_isReadOnly)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDirModel_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lazyChildCount), meth_QDirModel_lazyChildCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_lazyChildCount)},
    {SIP_MLNAME_CAST(sipName_mimeData), meth_QDirModel_mimeData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_mimeData)},
    {SIP_MLNAME_CAST(sipName_mimeTypes), meth_QDirModel_mimeTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_mimeTypes)},
    {SIP_MLNAME_CAST(sipName_mkdir), meth_QDirModel_mkdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_mkdir)},
    {SIP_MLNAME_CAST(sipName_nameFilters), meth_QDirModel_nameFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_nameFilters)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QDirModel_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_parent)},
    {SIP_MLNAME_CAST(sipName_persistentIndexList), (PyCFunction)meth_QDirModel_persistentIndexList, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDirModel_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_refresh), (PyCFunction)meth_QDirModel_refresh, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDirModel_refresh)},
    {SIP_MLNAME_CAST(sipName_remove), meth_QDirModel_remove, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_remove)},
    {SIP_MLNAME_CAST(sipName_resetInternalData), (PyCFunction)meth_QDirModel_resetInternalData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resolveSymlinks), meth_QDirModel_resolveSymlinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_resolveSymlinks)},
    {SIP_MLNAME_CAST(sipName_rmdir), meth_QDirModel_rmdir, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_rmdir)},
    {SIP_MLNAME_CAST(sipName_rowCount), (PyCFunction)meth_QDirModel_rowCount, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDirModel_rowCount)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDirModel_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDirModel_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setData), (PyCFunction)meth_QDirModel_setData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDirModel_setData)},
    {SIP_MLNAME_CAST(sipName_setFilter), meth_QDirModel_setFilter, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_setFilter)},
    {SIP_MLNAME_CAST(sipName_setIconProvider), meth_QDirModel_setIconProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_setIconProvider)},
    {SIP_MLNAME_CAST(sipName_setLazyChildCount), meth_QDirModel_setLazyChildCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_setLazyChildCount)},
    {SIP_MLNAME_CAST(sipName_setNameFilters), meth_QDirModel_setNameFilters, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_setNameFilters)},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_QDirModel_setReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_setReadOnly)},
    {SIP_MLNAME_CAST(sipName_setResolveSymlinks), meth_QDirModel_setResolveSymlinks, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_setResolveSymlinks)},
    {SIP_MLNAME_CAST(sipName_setSorting), meth_QDirModel_setSorting, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_setSorting)},
    {SIP_MLNAME_CAST(sipName_sort), (PyCFunction)meth_QDirModel_sort, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDirModel_sort)},
    {SIP_MLNAME_CAST(sipName_sorting), meth_QDirModel_sorting, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_sorting)},
    {SIP_MLNAME_CAST(sipName_supportedDropActions), meth_QDirModel_supportedDropActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QDirModel_supportedDropActions)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDirModel_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QDirModel[] = {
    {sipName_FileIconRole, static_cast<int>(QDirModel::FileIconRole), 68},
    {sipName_FileNameRole, static_cast<int>(QDirModel::FileNameRole), 68},
    {sipName_FilePathRole, static_cast<int>(QDirModel::FilePathRole), 68},
};

PyDoc_STRVAR(doc_QDirModel, "\1QDirModel(list-of-str, QDir.Filters, QDir.SortFlags, QObject parent=None)\n"
    "QDirModel(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDirModel = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDirModel,
        {0}
    },
    {
        sipNameNr_QDirModel,
        {0, 0, 1},
        67, methods_QDirModel,
        3, enummembers_QDirModel,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDirModel,
    -1,
    -1,
    supers_QDirModel,
    0,
    init_type_QDirModel,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDirModel,
    0,
    0,
    0,
    release_QDirModel,
    cast_QDirModel,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDirModel::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 379779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 379783 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QDialogButtonBox_StandardButtons___bool__(PyObject *);}
static int slot_QDialogButtonBox_StandardButtons___bool__(PyObject *sipSelf)
{
    QDialogButtonBox::StandardButtons *sipCpp = reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDialogButtonBox_StandardButtons));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDialogButtonBox::StandardButtons::Int() != 0);
#line 379801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QDialogButtonBox::StandardButtons *sipCpp = reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDialogButtonBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDialogButtonBox::StandardButtons::Int() != a0->operator QDialogButtonBox::StandardButtons::Int());
#line 379831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QDialogButtonBox::StandardButtons *>(a0),sipType_QDialogButtonBox_StandardButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QDialogButtonBox_StandardButtons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QDialogButtonBox::StandardButtons *sipCpp = reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDialogButtonBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDialogButtonBox::StandardButtons::Int() == a0->operator QDialogButtonBox::StandardButtons::Int());
#line 379867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QDialogButtonBox::StandardButtons *>(a0),sipType_QDialogButtonBox_StandardButtons,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QDialogButtonBox_StandardButtons,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___invert__(PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___invert__(PyObject *sipSelf)
{
    QDialogButtonBox::StandardButtons *sipCpp = reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDialogButtonBox_StandardButtons));

    if (!sipCpp)
        return 0;


    {
        {
            QDialogButtonBox::StandardButtons*sipRes;

            sipRes = new QDialogButtonBox::StandardButtons(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QDialogButtonBox_StandardButtons,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___and__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State, &a1))
        {
            QDialogButtonBox::StandardButtons*sipRes;

            sipRes = new QDialogButtonBox::StandardButtons((*a0 & a1));
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDialogButtonBox_StandardButtons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;
        QDialogButtonBox::StandardButtons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State, sipType_QDialogButtonBox_StandardButtons, &a1, &a1State))
        {
            QDialogButtonBox::StandardButtons*sipRes;

            sipRes = new QDialogButtonBox::StandardButtons((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,a0State);
            sipReleaseType(a1,sipType_QDialogButtonBox_StandardButtons,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDialogButtonBox_StandardButtons,NULL);
        }
    }

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State, &a1))
        {
            QDialogButtonBox::StandardButtons*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QDialogButtonBox::StandardButtons(*a0 ^ a1);
#line 379970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDialogButtonBox_StandardButtons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___or__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;
        QDialogButtonBox::StandardButtons* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State, sipType_QDialogButtonBox_StandardButtons, &a1, &a1State))
        {
            QDialogButtonBox::StandardButtons*sipRes;

            sipRes = new QDialogButtonBox::StandardButtons((*a0 | *a1));
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,a0State);
            sipReleaseType(a1,sipType_QDialogButtonBox_StandardButtons,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDialogButtonBox_StandardButtons,NULL);
        }
    }

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State, &a1))
        {
            QDialogButtonBox::StandardButtons*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QDialogButtonBox::StandardButtons(*a0 | a1);
#line 380020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDialogButtonBox_StandardButtons,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___int__(PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___int__(PyObject *sipSelf)
{
    QDialogButtonBox::StandardButtons *sipCpp = reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDialogButtonBox_StandardButtons));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDialogButtonBox_StandardButtons___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDialogButtonBox_StandardButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QDialogButtonBox::StandardButtons *sipCpp = reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDialogButtonBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State))
        {
            sipCpp->QDialogButtonBox::StandardButtons::operator^=(*a0);
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,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_QDialogButtonBox_StandardButtons___ior__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDialogButtonBox_StandardButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QDialogButtonBox::StandardButtons *sipCpp = reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDialogButtonBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State))
        {
            sipCpp->QDialogButtonBox::StandardButtons::operator|=(*a0);
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,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_QDialogButtonBox_StandardButtons___iand__(PyObject *,PyObject *);}
static PyObject *slot_QDialogButtonBox_StandardButtons___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDialogButtonBox_StandardButtons)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QDialogButtonBox::StandardButtons *sipCpp = reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDialogButtonBox_StandardButtons));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QDialogButtonBox::StandardButtons::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDialogButtonBox_StandardButtons(void *, const sipTypeDef *);}
static void *cast_QDialogButtonBox_StandardButtons(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDialogButtonBox_StandardButtons)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDialogButtonBox_StandardButtons(void *, int);}
static void release_QDialogButtonBox_StandardButtons(void *sipCppV,int)
{
    delete reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipCppV);
}


extern "C" {static void assign_QDialogButtonBox_StandardButtons(void *, SIP_SSIZE_T, const void *);}
static void assign_QDialogButtonBox_StandardButtons(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDialogButtonBox::StandardButtons *>(sipSrc);
}


extern "C" {static void *array_QDialogButtonBox_StandardButtons(SIP_SSIZE_T);}
static void *array_QDialogButtonBox_StandardButtons(SIP_SSIZE_T sipNrElem)
{
    return new QDialogButtonBox::StandardButtons[sipNrElem];
}


extern "C" {static void *copy_QDialogButtonBox_StandardButtons(const void *, SIP_SSIZE_T);}
static void *copy_QDialogButtonBox_StandardButtons(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDialogButtonBox::StandardButtons(reinterpret_cast<const QDialogButtonBox::StandardButtons *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDialogButtonBox_StandardButtons(sipSimpleWrapper *);}
static void dealloc_QDialogButtonBox_StandardButtons(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDialogButtonBox_StandardButtons(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDialogButtonBox_StandardButtons(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDialogButtonBox_StandardButtons(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDialogButtonBox::StandardButtons *sipCpp = 0;

    {
        const QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State))
        {
            sipCpp = new QDialogButtonBox::StandardButtons(*a0);
            sipReleaseType(const_cast<QDialogButtonBox::StandardButtons *>(a0),sipType_QDialogButtonBox_StandardButtons,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QDialogButtonBox::StandardButtons(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QDialogButtonBox::StandardButtons();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QDialogButtonBox_StandardButtons(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDialogButtonBox_StandardButtons(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QDialogButtonBox::StandardButtons **sipCppPtr = reinterpret_cast<QDialogButtonBox::StandardButtons **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QDialogButtonBox::StandardButtons is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDialogButtonBox_StandardButton)) ||
            sipCanConvertToType(sipPy, sipType_QDialogButtonBox_StandardButtons, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDialogButtonBox_StandardButton)))
{
    *sipCppPtr = new QDialogButtonBox::StandardButtons(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDialogButtonBox::StandardButtons *>(sipConvertToType(sipPy, sipType_QDialogButtonBox_StandardButtons, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 380297 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDialogButtonBox_StandardButtons[] = {
    {(void *)slot_QDialogButtonBox_StandardButtons___bool__, bool_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___ne__, ne_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___eq__, eq_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___invert__, invert_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___and__, and_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___xor__, xor_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___or__, or_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___int__, int_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___ixor__, ixor_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___ior__, ior_slot},
    {(void *)slot_QDialogButtonBox_StandardButtons___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDialogButtonBox_StandardButtons, "\1QDialogButtonBox.StandardButtons(QDialogButtonBox.StandardButtons)\n"
    "QDialogButtonBox.StandardButtons(int)\n"
    "QDialogButtonBox.StandardButtons()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDialogButtonBox_StandardButtons = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDialogButtonBox__StandardButtons,
        {0}
    },
    {
        sipNameNr_StandardButtons,
        {62, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDialogButtonBox_StandardButtons,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDialogButtonBox_StandardButtons,
    init_type_QDialogButtonBox_StandardButtons,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDialogButtonBox_StandardButtons,
    assign_QDialogButtonBox_StandardButtons,
    array_QDialogButtonBox_StandardButtons,
    copy_QDialogButtonBox_StandardButtons,
    release_QDialogButtonBox_StandardButtons,
    cast_QDialogButtonBox_StandardButtons,
    convertTo_QDialogButtonBox_StandardButtons,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 380379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 380383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdialogbuttonbox.sip"
#include <qdialogbuttonbox.h>
#line 380389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 380392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 380395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qpushbutton.sip"
#include <qpushbutton.h>
#line 380398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 380401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 380404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 380407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 380410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 380413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 380416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 380422 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 380425 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380428 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 380431 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 380437 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 380440 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 380443 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 380446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 380449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 380452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 380455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 380458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 380461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 380464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 380467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 380470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 380473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 380527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 380530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 380533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 380536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 380539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 380542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 380548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 380551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 380554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 380557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 380560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 380563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 380566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 380569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 380572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 380575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 380578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 380581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 380584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 380587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 380590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 380593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDialogButtonBox : public QDialogButtonBox
{
public:
    sipQDialogButtonBox(QWidget*);
    sipQDialogButtonBox(Qt::Orientation,QWidget*);
    sipQDialogButtonBox(QDialogButtonBox::StandardButtons,QWidget*);
    sipQDialogButtonBox(QDialogButtonBox::StandardButtons,Qt::Orientation,QWidget*);
    virtual ~sipQDialogButtonBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    bool event(QEvent*);
    void changeEvent(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDialogButtonBox(const sipQDialogButtonBox &);
    sipQDialogButtonBox &operator = (const sipQDialogButtonBox &);

    char sipPyMethods[46];
};

sipQDialogButtonBox::sipQDialogButtonBox(QWidget*a0): QDialogButtonBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDialogButtonBox::sipQDialogButtonBox(Qt::Orientation a0,QWidget*a1): QDialogButtonBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDialogButtonBox::sipQDialogButtonBox(QDialogButtonBox::StandardButtons a0,QWidget*a1): QDialogButtonBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDialogButtonBox::sipQDialogButtonBox(QDialogButtonBox::StandardButtons a0,Qt::Orientation a1,QWidget*a2): QDialogButtonBox(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDialogButtonBox::~sipQDialogButtonBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDialogButtonBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDialogButtonBox);
}

int sipQDialogButtonBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDialogButtonBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDialogButtonBox,_c,_id,_a);

    return _id;
}

void *sipQDialogButtonBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDialogButtonBox, _clname, &sipCpp) ? sipCpp : QDialogButtonBox::qt_metacast(_clname));
}

void sipQDialogButtonBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDialogButtonBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDialogButtonBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDialogButtonBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDialogButtonBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDialogButtonBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QDialogButtonBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQDialogButtonBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QDialogButtonBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDialogButtonBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QDialogButtonBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDialogButtonBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QDialogButtonBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDialogButtonBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QDialogButtonBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QDialogButtonBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QDialogButtonBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQDialogButtonBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QDialogButtonBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQDialogButtonBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QDialogButtonBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQDialogButtonBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QDialogButtonBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDialogButtonBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QDialogButtonBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDialogButtonBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QDialogButtonBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDialogButtonBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QDialogButtonBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDialogButtonBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDialogButtonBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialogButtonBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QDialogButtonBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQDialogButtonBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDialogButtonBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDialogButtonBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDialogButtonBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDialogButtonBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDialogButtonBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQDialogButtonBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQDialogButtonBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQDialogButtonBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQDialogButtonBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQDialogButtonBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQDialogButtonBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQDialogButtonBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQDialogButtonBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQDialogButtonBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQDialogButtonBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQDialogButtonBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQDialogButtonBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQDialogButtonBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQDialogButtonBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QDialogButtonBox::changeEvent(a0) : changeEvent(a0));
}

bool sipQDialogButtonBox::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QDialogButtonBox::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QDialogButtonBox_sender, "QDialogButtonBox.sender() -> QObject");

extern "C" {static PyObject *meth_QDialogButtonBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 381829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_sender, doc_QDialogButtonBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_receivers, "QDialogButtonBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDialogButtonBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDialogButtonBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 381888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_receivers, doc_QDialogButtonBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_timerEvent, "QDialogButtonBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_timerEvent, doc_QDialogButtonBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_childEvent, "QDialogButtonBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_childEvent, doc_QDialogButtonBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_customEvent, "QDialogButtonBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_customEvent, doc_QDialogButtonBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_connectNotify, "QDialogButtonBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDialogButtonBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_connectNotify, doc_QDialogButtonBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_disconnectNotify, "QDialogButtonBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDialogButtonBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_disconnectNotify, doc_QDialogButtonBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_senderSignalIndex, "QDialogButtonBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDialogButtonBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_senderSignalIndex, doc_QDialogButtonBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_isSignalConnected, "QDialogButtonBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDialogButtonBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_isSignalConnected, doc_QDialogButtonBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_mousePressEvent, "QDialogButtonBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_mousePressEvent, doc_QDialogButtonBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_mouseReleaseEvent, "QDialogButtonBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_mouseReleaseEvent, doc_QDialogButtonBox_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_mouseDoubleClickEvent, "QDialogButtonBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_mouseDoubleClickEvent, doc_QDialogButtonBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_mouseMoveEvent, "QDialogButtonBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_mouseMoveEvent, doc_QDialogButtonBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_wheelEvent, "QDialogButtonBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_wheelEvent, doc_QDialogButtonBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_keyPressEvent, "QDialogButtonBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_keyPressEvent, doc_QDialogButtonBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_keyReleaseEvent, "QDialogButtonBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_keyReleaseEvent, doc_QDialogButtonBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_focusInEvent, "QDialogButtonBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_focusInEvent, doc_QDialogButtonBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_focusOutEvent, "QDialogButtonBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_focusOutEvent, doc_QDialogButtonBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_enterEvent, "QDialogButtonBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_enterEvent, doc_QDialogButtonBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_leaveEvent, "QDialogButtonBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_leaveEvent, doc_QDialogButtonBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_paintEvent, "QDialogButtonBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_paintEvent, doc_QDialogButtonBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_moveEvent, "QDialogButtonBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_moveEvent, doc_QDialogButtonBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_resizeEvent, "QDialogButtonBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_resizeEvent, doc_QDialogButtonBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_closeEvent, "QDialogButtonBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_closeEvent, doc_QDialogButtonBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_contextMenuEvent, "QDialogButtonBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_contextMenuEvent, doc_QDialogButtonBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_tabletEvent, "QDialogButtonBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_tabletEvent, doc_QDialogButtonBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_actionEvent, "QDialogButtonBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_actionEvent, doc_QDialogButtonBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_dragEnterEvent, "QDialogButtonBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_dragEnterEvent, doc_QDialogButtonBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_dragMoveEvent, "QDialogButtonBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_dragMoveEvent, doc_QDialogButtonBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_dragLeaveEvent, "QDialogButtonBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_dragLeaveEvent, doc_QDialogButtonBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_dropEvent, "QDialogButtonBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_dropEvent, doc_QDialogButtonBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_showEvent, "QDialogButtonBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_showEvent, doc_QDialogButtonBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_hideEvent, "QDialogButtonBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_hideEvent, doc_QDialogButtonBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_metric, "QDialogButtonBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QDialogButtonBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_metric, doc_QDialogButtonBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_inputMethodEvent, "QDialogButtonBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_inputMethodEvent, doc_QDialogButtonBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_updateMicroFocus, "QDialogButtonBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QDialogButtonBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_updateMicroFocus, doc_QDialogButtonBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_create, "QDialogButtonBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QDialogButtonBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQDialogButtonBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_create, doc_QDialogButtonBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_destroy, "QDialogButtonBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QDialogButtonBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQDialogButtonBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QDialogButtonBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_destroy, doc_QDialogButtonBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_focusNextPrevChild, "QDialogButtonBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QDialogButtonBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDialogButtonBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_focusNextPrevChild, doc_QDialogButtonBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_focusNextChild, "QDialogButtonBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QDialogButtonBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_focusNextChild, doc_QDialogButtonBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_focusPreviousChild, "QDialogButtonBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QDialogButtonBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_focusPreviousChild, doc_QDialogButtonBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_nativeEvent, "QDialogButtonBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QDialogButtonBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_nativeEvent, doc_QDialogButtonBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_sharedPainter, "QDialogButtonBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QDialogButtonBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_sharedPainter, doc_QDialogButtonBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_initPainter, "QDialogButtonBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QDialogButtonBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_initPainter, doc_QDialogButtonBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_setOrientation, "QDialogButtonBox.setOrientation(Qt.Orientation)");

extern "C" {static PyObject *meth_QDialogButtonBox_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            sipCpp->setOrientation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_setOrientation, doc_QDialogButtonBox_setOrientation);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_orientation, "QDialogButtonBox.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QDialogButtonBox_orientation(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_orientation, doc_QDialogButtonBox_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_addButton, "QDialogButtonBox.addButton(QAbstractButton, QDialogButtonBox.ButtonRole)\n"
    "QDialogButtonBox.addButton(str, QDialogButtonBox.ButtonRole) -> QPushButton\n"
    "QDialogButtonBox.addButton(QDialogButtonBox.StandardButton) -> QPushButton");

extern "C" {static PyObject *meth_QDialogButtonBox_addButton(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_addButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        QDialogButtonBox::ButtonRole a1;
        QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:E", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QAbstractButton, &a0, sipType_QDialogButtonBox_ButtonRole, &a1))
        {
            sipCpp->addButton(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QDialogButtonBox::ButtonRole a1;
        QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QString,&a0, &a0State, sipType_QDialogButtonBox_ButtonRole, &a1))
        {
            QPushButton*sipRes;

            sipRes = sipCpp->addButton(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QPushButton,sipSelf);
        }
    }

    {
        QDialogButtonBox::StandardButton a0;
        QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QDialogButtonBox_StandardButton, &a0))
        {
            QPushButton*sipRes;

            sipRes = sipCpp->addButton(a0);

            return sipConvertFromType(sipRes,sipType_QPushButton,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_addButton, doc_QDialogButtonBox_addButton);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_removeButton, "QDialogButtonBox.removeButton(QAbstractButton)");

extern "C" {static PyObject *meth_QDialogButtonBox_removeButton(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_removeButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QAbstractButton, &a0))
        {
            sipCpp->removeButton(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_removeButton, doc_QDialogButtonBox_removeButton);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_clear, "QDialogButtonBox.clear()");

extern "C" {static PyObject *meth_QDialogButtonBox_clear(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_clear, doc_QDialogButtonBox_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_buttons, "QDialogButtonBox.buttons() -> list-of-QAbstractButton");

extern "C" {static PyObject *meth_QDialogButtonBox_buttons(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_buttons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            QList<QAbstractButton*>*sipRes;

            sipRes = new QList<QAbstractButton*>(sipCpp->buttons());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAbstractButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_buttons, doc_QDialogButtonBox_buttons);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_buttonRole, "QDialogButtonBox.buttonRole(QAbstractButton) -> QDialogButtonBox.ButtonRole");

extern "C" {static PyObject *meth_QDialogButtonBox_buttonRole(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_buttonRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        const QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QAbstractButton, &a0))
        {
            QDialogButtonBox::ButtonRole sipRes;

            sipRes = sipCpp->buttonRole(a0);

            return sipConvertFromEnum(sipRes,sipType_QDialogButtonBox_ButtonRole);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_buttonRole, doc_QDialogButtonBox_buttonRole);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_setStandardButtons, "QDialogButtonBox.setStandardButtons(QDialogButtonBox.StandardButtons)");

extern "C" {static PyObject *meth_QDialogButtonBox_setStandardButtons(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_setStandardButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;
        QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QDialogButtonBox_StandardButtons, &a0, &a0State))
        {
            sipCpp->setStandardButtons(*a0);
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_setStandardButtons, doc_QDialogButtonBox_setStandardButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_standardButtons, "QDialogButtonBox.standardButtons() -> QDialogButtonBox.StandardButtons");

extern "C" {static PyObject *meth_QDialogButtonBox_standardButtons(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_standardButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            QDialogButtonBox::StandardButtons*sipRes;

            sipRes = new QDialogButtonBox::StandardButtons(sipCpp->standardButtons());

            return sipConvertFromNewType(sipRes,sipType_QDialogButtonBox_StandardButtons,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_standardButtons, doc_QDialogButtonBox_standardButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_standardButton, "QDialogButtonBox.standardButton(QAbstractButton) -> QDialogButtonBox.StandardButton");

extern "C" {static PyObject *meth_QDialogButtonBox_standardButton(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_standardButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        const QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QAbstractButton, &a0))
        {
            QDialogButtonBox::StandardButton sipRes;

            sipRes = sipCpp->standardButton(a0);

            return sipConvertFromEnum(sipRes,sipType_QDialogButtonBox_StandardButton);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_standardButton, doc_QDialogButtonBox_standardButton);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_button, "QDialogButtonBox.button(QDialogButtonBox.StandardButton) -> QPushButton");

extern "C" {static PyObject *meth_QDialogButtonBox_button(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_button(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDialogButtonBox::StandardButton a0;
        const QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QDialogButtonBox_StandardButton, &a0))
        {
            QPushButton*sipRes;

            sipRes = sipCpp->button(a0);

            return sipConvertFromType(sipRes,sipType_QPushButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_button, doc_QDialogButtonBox_button);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_setCenterButtons, "QDialogButtonBox.setCenterButtons(bool)");

extern "C" {static PyObject *meth_QDialogButtonBox_setCenterButtons(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_setCenterButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDialogButtonBox, &sipCpp, &a0))
        {
            sipCpp->setCenterButtons(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_setCenterButtons, doc_QDialogButtonBox_setCenterButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_centerButtons, "QDialogButtonBox.centerButtons() -> bool");

extern "C" {static PyObject *meth_QDialogButtonBox_centerButtons(PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_centerButtons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDialogButtonBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialogButtonBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->centerButtons();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_centerButtons, doc_QDialogButtonBox_centerButtons);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_changeEvent, "QDialogButtonBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QDialogButtonBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_changeEvent, doc_QDialogButtonBox_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialogButtonBox_event, "QDialogButtonBox.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QDialogButtonBox_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialogButtonBox_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialogButtonBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialogButtonBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialogButtonBox, sipName_event, doc_QDialogButtonBox_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDialogButtonBox(void *, const sipTypeDef *);}
static void *cast_QDialogButtonBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDialogButtonBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QDialogButtonBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDialogButtonBox(void *, int);}
static void release_QDialogButtonBox(void *sipCppV,int)
{
    QDialogButtonBox *sipCpp = reinterpret_cast<QDialogButtonBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDialogButtonBox(sipSimpleWrapper *);}
static void dealloc_QDialogButtonBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDialogButtonBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDialogButtonBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDialogButtonBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDialogButtonBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDialogButtonBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQDialogButtonBox(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        Qt::Orientation a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_Qt_Orientation, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQDialogButtonBox(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQDialogButtonBox(*a0,a1);
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QDialogButtonBox::StandardButtons* a0;
        int a0State = 0;
        Qt::Orientation a1;
        QWidget* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1E|JH", sipType_QDialogButtonBox_StandardButtons, &a0, &a0State, sipType_Qt_Orientation, &a1, sipType_QWidget, &a2, sipOwner))
        {
            sipCpp = new sipQDialogButtonBox(*a0,a1,a2);
            sipReleaseType(a0,sipType_QDialogButtonBox_StandardButtons,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDialogButtonBox[] = {{454, 255, 1}};


static PyMethodDef methods_QDialogButtonBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QDialogButtonBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addButton), meth_QDialogButtonBox_addButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_addButton)},
    {SIP_MLNAME_CAST(sipName_button), meth_QDialogButtonBox_button, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_button)},
    {SIP_MLNAME_CAST(sipName_buttonRole), meth_QDialogButtonBox_buttonRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_buttonRole)},
    {SIP_MLNAME_CAST(sipName_buttons), meth_QDialogButtonBox_buttons, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_buttons)},
    {SIP_MLNAME_CAST(sipName_centerButtons), meth_QDialogButtonBox_centerButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_centerButtons)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QDialogButtonBox_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDialogButtonBox_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDialogButtonBox_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QDialogButtonBox_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QDialogButtonBox_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDialogButtonBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDialogButtonBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDialogButtonBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDialogButtonBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QDialogButtonBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDialogButtonBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDialogButtonBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDialogButtonBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDialogButtonBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDialogButtonBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QDialogButtonBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QDialogButtonBox_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDialogButtonBox_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDialogButtonBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QDialogButtonBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QDialogButtonBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDialogButtonBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QDialogButtonBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QDialogButtonBox_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QDialogButtonBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDialogButtonBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDialogButtonBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDialogButtonBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDialogButtonBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QDialogButtonBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QDialogButtonBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDialogButtonBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDialogButtonBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDialogButtonBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDialogButtonBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QDialogButtonBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QDialogButtonBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QDialogButtonBox_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_orientation)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QDialogButtonBox_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDialogButtonBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeButton), meth_QDialogButtonBox_removeButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_removeButton)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QDialogButtonBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDialogButtonBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDialogButtonBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCenterButtons), meth_QDialogButtonBox_setCenterButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_setCenterButtons)},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_QDialogButtonBox_setOrientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_setOrientation)},
    {SIP_MLNAME_CAST(sipName_setStandardButtons), meth_QDialogButtonBox_setStandardButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_setStandardButtons)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QDialogButtonBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QDialogButtonBox_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_standardButton), meth_QDialogButtonBox_standardButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_standardButton)},
    {SIP_MLNAME_CAST(sipName_standardButtons), meth_QDialogButtonBox_standardButtons, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialogButtonBox_standardButtons)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QDialogButtonBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDialogButtonBox_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDialogButtonBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDialogButtonBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QDialogButtonBox[] = {
    {sipName_Abort, static_cast<int>(QDialogButtonBox::Abort), 65},
    {sipName_AcceptRole, static_cast<int>(QDialogButtonBox::AcceptRole), 64},
    {sipName_ActionRole, static_cast<int>(QDialogButtonBox::ActionRole), 64},
    {sipName_Apply, static_cast<int>(QDialogButtonBox::Apply), 65},
    {sipName_ApplyRole, static_cast<int>(QDialogButtonBox::ApplyRole), 64},
    {sipName_Cancel, static_cast<int>(QDialogButtonBox::Cancel), 65},
    {sipName_Close, static_cast<int>(QDialogButtonBox::Close), 65},
    {sipName_DestructiveRole, static_cast<int>(QDialogButtonBox::DestructiveRole), 64},
    {sipName_Discard, static_cast<int>(QDialogButtonBox::Discard), 65},
    {sipName_GnomeLayout, static_cast<int>(QDialogButtonBox::GnomeLayout), 63},
    {sipName_Help, static_cast<int>(QDialogButtonBox::Help), 65},
    {sipName_HelpRole, static_cast<int>(QDialogButtonBox::HelpRole), 64},
    {sipName_Ignore, static_cast<int>(QDialogButtonBox::Ignore), 65},
    {sipName_InvalidRole, static_cast<int>(QDialogButtonBox::InvalidRole), 64},
    {sipName_KdeLayout, static_cast<int>(QDialogButtonBox::KdeLayout), 63},
    {sipName_MacLayout, static_cast<int>(QDialogButtonBox::MacLayout), 63},
    {sipName_No, static_cast<int>(QDialogButtonBox::No), 65},
    {sipName_NoButton, static_cast<int>(QDialogButtonBox::NoButton), 65},
    {sipName_NoRole, static_cast<int>(QDialogButtonBox::NoRole), 64},
    {sipName_NoToAll, static_cast<int>(QDialogButtonBox::NoToAll), 65},
    {sipName_Ok, static_cast<int>(QDialogButtonBox::Ok), 65},
    {sipName_Open, static_cast<int>(QDialogButtonBox::Open), 65},
    {sipName_RejectRole, static_cast<int>(QDialogButtonBox::RejectRole), 64},
    {sipName_Reset, static_cast<int>(QDialogButtonBox::Reset), 65},
    {sipName_ResetRole, static_cast<int>(QDialogButtonBox::ResetRole), 64},
    {sipName_RestoreDefaults, static_cast<int>(QDialogButtonBox::RestoreDefaults), 65},
    {sipName_Retry, static_cast<int>(QDialogButtonBox::Retry), 65},
    {sipName_Save, static_cast<int>(QDialogButtonBox::Save), 65},
    {sipName_SaveAll, static_cast<int>(QDialogButtonBox::SaveAll), 65},
    {sipName_WinLayout, static_cast<int>(QDialogButtonBox::WinLayout), 63},
    {sipName_Yes, static_cast<int>(QDialogButtonBox::Yes), 65},
    {sipName_YesRole, static_cast<int>(QDialogButtonBox::YesRole), 64},
    {sipName_YesToAll, static_cast<int>(QDialogButtonBox::YesToAll), 65},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDialogButtonBox[] = {
    {"rejected()", "\1QDialogButtonBox.rejected", 0, 0},
    {"helpRequested()", "\1QDialogButtonBox.helpRequested", 0, 0},
    {"clicked(QAbstractButton*)", "\1QDialogButtonBox.clicked[QAbstractButton]", 0, 0},
    {"accepted()", "\1QDialogButtonBox.accepted", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDialogButtonBox, "\1QDialogButtonBox(QWidget parent=None)\n"
    "QDialogButtonBox(Qt.Orientation, QWidget parent=None)\n"
    "QDialogButtonBox(QDialogButtonBox.StandardButtons, QWidget parent=None)\n"
    "QDialogButtonBox(QDialogButtonBox.StandardButtons, Qt.Orientation, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDialogButtonBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDialogButtonBox,
        {0}
    },
    {
        sipNameNr_QDialogButtonBox,
        {0, 0, 1},
        59, methods_QDialogButtonBox,
        33, enummembers_QDialogButtonBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDialogButtonBox,
    -1,
    -1,
    supers_QDialogButtonBox,
    0,
    init_type_QDialogButtonBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDialogButtonBox,
    0,
    0,
    0,
    release_QDialogButtonBox,
    cast_QDialogButtonBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDialogButtonBox::staticMetaObject,
    0,
    signals_QDialogButtonBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdial.sip"
#include <qdial.h>
#line 383854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 383858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 383861 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383864 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383867 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 383873 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 720 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 383876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 383879 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383882 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 383885 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383888 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 383891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 383894 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 383897 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 383900 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 383903 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 383906 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 383909 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 383912 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 383915 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 383918 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 383921 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 383924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 383927 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 383930 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 383933 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 383936 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 383939 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 383942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 383945 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 383948 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 383951 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 383954 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 383957 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 383960 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383963 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383966 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383969 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 383999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 384002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 384005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 384008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 384011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 384014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 384017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 384020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 384023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 384026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 384029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 384032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 384035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 384038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 384041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 384044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 384047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 384050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 384053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 384056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 384059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 384062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDial : public QDial
{
public:
    sipQDial(QWidget*);
    virtual ~sipQDial();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipSliderChange {
        SliderRangeChange = QAbstractSlider::SliderRangeChange,
        SliderOrientationChange = QAbstractSlider::SliderOrientationChange,
        SliderStepsChange = QAbstractSlider::SliderStepsChange,
        SliderValueChange = QAbstractSlider::SliderValueChange
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_setRepeatAction(QAbstractSlider::SliderAction,int,int);
    QAbstractSlider::SliderAction sipProtect_repeatAction() const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_initStyleOption(QStyleOptionSlider*) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_sliderChange(bool,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void timerEvent(QTimerEvent*);
    void keyPressEvent(QKeyEvent*);
    void sliderChange(QAbstractSlider::SliderChange);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDial(const sipQDial &);
    sipQDial &operator = (const sipQDial &);

    char sipPyMethods[47];
};

sipQDial::sipQDial(QWidget*a0): QDial(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDial::~sipQDial()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDial::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDial);
}

int sipQDial::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDial::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDial,_c,_id,_a);

    return _id;
}

void *sipQDial::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDial, _clname, &sipCpp) ? sipCpp : QDial::qt_metacast(_clname));
}

void sipQDial::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDial::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDial::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDial::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDial::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDial::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDial::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDial::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QDial::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQDial::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QDial::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDial::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QDial::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDial::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QDial::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDial::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QDial::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQDial::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QDial::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QDial::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDial::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QDial::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QDial::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QDial::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QDial::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QDial::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QDial::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QDial::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QDial::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QDial::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QDial::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QDial::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QDial::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QDial::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QDial::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QDial::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QDial::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QDial::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QDial::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQDial::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QDial::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQDial::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QDial::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QDial::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDial::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QDial::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDial::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QDial::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QDial::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDial::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QDial::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::sliderChange(QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
        QDial::sliderChange(a0);
        return;
    }

    extern void sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_85(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0);
}

void sipQDial::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QDial::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QDial::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QDial::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QDial::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDial::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QDial::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDial::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDial::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQDial::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QDial::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDial::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QDial::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQDial::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDial::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDial::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDial::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDial::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDial::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDial::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDial::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQDial::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQDial::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQDial::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQDial::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQDial::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQDial::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQDial::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQDial::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQDial::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQDial::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQDial::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQDial::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQDial::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQDial::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQDial::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQDial::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQDial::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQDial::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQDial::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQDial::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQDial::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQDial::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQDial::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQDial::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQDial::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQDial::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQDial::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQDial::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQDial::sipProtect_setRepeatAction(QAbstractSlider::SliderAction a0,int a1,int a2)
{
    QAbstractSlider::setRepeatAction(a0,a1,a2);
}

QAbstractSlider::SliderAction sipQDial::sipProtect_repeatAction() const
{
    return QAbstractSlider::repeatAction();
}

void sipQDial::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQDial::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::timerEvent(a0) : timerEvent(a0));
}

void sipQDial::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::wheelEvent(a0) : wheelEvent(a0));
}

void sipQDial::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::changeEvent(a0) : changeEvent(a0));
}

void sipQDial::sipProtect_initStyleOption(QStyleOptionSlider*a0) const
{
    QDial::initStyleOption(a0);
}

bool sipQDial::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QDial::event(a0) : event(a0));
}

void sipQDial::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QDial::resizeEvent(a0) : resizeEvent(a0));
}

void sipQDial::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QDial::paintEvent(a0) : paintEvent(a0));
}

void sipQDial::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QDial::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQDial::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QDial::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQDial::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QDial::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQDial::sipProtectVirt_sliderChange(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QDial::sliderChange((QAbstractSlider::SliderChange)a0) : sliderChange((QAbstractSlider::SliderChange)a0));
}


PyDoc_STRVAR(doc_QDial_sender, "QDial.sender() -> QObject");

extern "C" {static PyObject *meth_QDial_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 385331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_sender, doc_QDial_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_receivers, "QDial.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDial_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDial, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 385390 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_receivers, doc_QDial_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_childEvent, "QDial.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDial_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_childEvent, doc_QDial_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_customEvent, "QDial.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDial_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_customEvent, doc_QDial_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_connectNotify, "QDial.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDial_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDial, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_connectNotify, doc_QDial_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_disconnectNotify, "QDial.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDial_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDial, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_disconnectNotify, doc_QDial_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_senderSignalIndex, "QDial.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDial_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_senderSignalIndex, doc_QDial_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_isSignalConnected, "QDial.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDial_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDial, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_isSignalConnected, doc_QDial_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_mouseDoubleClickEvent, "QDial.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDial_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_mouseDoubleClickEvent, doc_QDial_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_keyReleaseEvent, "QDial.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDial_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_keyReleaseEvent, doc_QDial_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_focusInEvent, "QDial.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDial_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_focusInEvent, doc_QDial_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_focusOutEvent, "QDial.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDial_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_focusOutEvent, doc_QDial_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_enterEvent, "QDial.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QDial_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_enterEvent, doc_QDial_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_leaveEvent, "QDial.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QDial_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_leaveEvent, doc_QDial_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_moveEvent, "QDial.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QDial_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_moveEvent, doc_QDial_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_closeEvent, "QDial.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QDial_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_closeEvent, doc_QDial_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_contextMenuEvent, "QDial.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QDial_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_contextMenuEvent, doc_QDial_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_tabletEvent, "QDial.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QDial_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_tabletEvent, doc_QDial_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_actionEvent, "QDial.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QDial_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_actionEvent, doc_QDial_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_dragEnterEvent, "QDial.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QDial_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_dragEnterEvent, doc_QDial_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_dragMoveEvent, "QDial.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QDial_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_dragMoveEvent, doc_QDial_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_dragLeaveEvent, "QDial.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QDial_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_dragLeaveEvent, doc_QDial_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_dropEvent, "QDial.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QDial_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_dropEvent, doc_QDial_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_showEvent, "QDial.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QDial_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_showEvent, doc_QDial_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_hideEvent, "QDial.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QDial_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_hideEvent, doc_QDial_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_metric, "QDial.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QDial_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDial, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_metric, doc_QDial_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_inputMethodEvent, "QDial.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QDial_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_inputMethodEvent, doc_QDial_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_updateMicroFocus, "QDial.updateMicroFocus()");

extern "C" {static PyObject *meth_QDial_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_updateMicroFocus, doc_QDial_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_create, "QDial.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QDial_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQDial *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QDial, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_create, doc_QDial_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_destroy, "QDial.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QDial_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQDial *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QDial, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_destroy, doc_QDial_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_focusNextPrevChild, "QDial.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QDial_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDial, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_focusNextPrevChild, doc_QDial_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_focusNextChild, "QDial.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QDial_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_focusNextChild, doc_QDial_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_focusPreviousChild, "QDial.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QDial_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_focusPreviousChild, doc_QDial_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_nativeEvent, "QDial.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QDial_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QDial, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_nativeEvent, doc_QDial_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_sharedPainter, "QDial.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QDial_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_sharedPainter, doc_QDial_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_initPainter, "QDial.initPainter(QPainter)");

extern "C" {static PyObject *meth_QDial_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_initPainter, doc_QDial_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_setRepeatAction, "QDial.setRepeatAction(QAbstractSlider.SliderAction, int thresholdTime=500, int repeatTime=50)");

extern "C" {static PyObject *meth_QDial_setRepeatAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_setRepeatAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSlider::SliderAction a0;
        int a1 = 500;
        int a2 = 50;
        sipQDial *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_thresholdTime,
            sipName_repeatTime,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|ii", &sipSelf, sipType_QDial, &sipCpp, sipType_QAbstractSlider_SliderAction, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_setRepeatAction(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_setRepeatAction, doc_QDial_setRepeatAction);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_repeatAction, "QDial.repeatAction() -> QAbstractSlider.SliderAction");

extern "C" {static PyObject *meth_QDial_repeatAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_repeatAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            QAbstractSlider::SliderAction sipRes;

            sipRes = sipCpp->sipProtect_repeatAction();

            return sipConvertFromEnum(sipRes,sipType_QAbstractSlider_SliderAction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_repeatAction, doc_QDial_repeatAction);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_keyPressEvent, "QDial.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDial_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_keyPressEvent, doc_QDial_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_timerEvent, "QDial.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDial_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_timerEvent, doc_QDial_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_wheelEvent, "QDial.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QDial_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_wheelEvent, doc_QDial_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_changeEvent, "QDial.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QDial_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_changeEvent, doc_QDial_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_wrapping, "QDial.wrapping() -> bool");

extern "C" {static PyObject *meth_QDial_wrapping(PyObject *, PyObject *);}
static PyObject *meth_QDial_wrapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->wrapping();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_wrapping, doc_QDial_wrapping);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_notchSize, "QDial.notchSize() -> int");

extern "C" {static PyObject *meth_QDial_notchSize(PyObject *, PyObject *);}
static PyObject *meth_QDial_notchSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->notchSize();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_notchSize, doc_QDial_notchSize);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_setNotchTarget, "QDial.setNotchTarget(float)");

extern "C" {static PyObject *meth_QDial_setNotchTarget(PyObject *, PyObject *);}
static PyObject *meth_QDial_setNotchTarget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        double a0;
        QDial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QDial, &sipCpp, &a0))
        {
            sipCpp->setNotchTarget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_setNotchTarget, doc_QDial_setNotchTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_notchTarget, "QDial.notchTarget() -> float");

extern "C" {static PyObject *meth_QDial_notchTarget(PyObject *, PyObject *);}
static PyObject *meth_QDial_notchTarget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->notchTarget();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_notchTarget, doc_QDial_notchTarget);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_notchesVisible, "QDial.notchesVisible() -> bool");

extern "C" {static PyObject *meth_QDial_notchesVisible(PyObject *, PyObject *);}
static PyObject *meth_QDial_notchesVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->notchesVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_notchesVisible, doc_QDial_notchesVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_sizeHint, "QDial.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QDial_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QDial_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QDial::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_sizeHint, doc_QDial_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_minimumSizeHint, "QDial.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QDial_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QDial_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDial, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QDial::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_minimumSizeHint, doc_QDial_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_setNotchesVisible, "QDial.setNotchesVisible(bool)");

extern "C" {static PyObject *meth_QDial_setNotchesVisible(PyObject *, PyObject *);}
static PyObject *meth_QDial_setNotchesVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDial, &sipCpp, &a0))
        {
            sipCpp->setNotchesVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_setNotchesVisible, doc_QDial_setNotchesVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_setWrapping, "QDial.setWrapping(bool)");

extern "C" {static PyObject *meth_QDial_setWrapping(PyObject *, PyObject *);}
static PyObject *meth_QDial_setWrapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDial *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDial, &sipCpp, &a0))
        {
            sipCpp->setWrapping(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_setWrapping, doc_QDial_setWrapping);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_initStyleOption, "QDial.initStyleOption(QStyleOptionSlider)");

extern "C" {static PyObject *meth_QDial_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionSlider* a0;
        const sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QStyleOptionSlider, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_initStyleOption, doc_QDial_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_event, "QDial.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QDial_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_event, doc_QDial_event);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_resizeEvent, "QDial.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QDial_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_resizeEvent, doc_QDial_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_paintEvent, "QDial.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QDial_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_paintEvent, doc_QDial_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_mousePressEvent, "QDial.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDial_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_mousePressEvent, doc_QDial_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_mouseReleaseEvent, "QDial.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDial_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_mouseReleaseEvent, doc_QDial_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_mouseMoveEvent, "QDial.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDial_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDial, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_mouseMoveEvent, doc_QDial_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDial_sliderChange, "QDial.sliderChange(QAbstractSlider.SliderChange)");

extern "C" {static PyObject *meth_QDial_sliderChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDial_sliderChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQDial *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDial, &sipCpp, sipType_QAbstractSlider_SliderChange, &a0))
        {
            sipCpp->sipProtectVirt_sliderChange(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDial, sipName_sliderChange, doc_QDial_sliderChange);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDial(void *, const sipTypeDef *);}
static void *cast_QDial(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDial)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractSlider)->ctd_cast((QAbstractSlider *)(QDial *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDial(void *, int);}
static void release_QDial(void *sipCppV,int)
{
    QDial *sipCpp = reinterpret_cast<QDial *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDial(sipSimpleWrapper *);}
static void dealloc_QDial(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDial *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDial(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDial(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDial(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDial *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQDial(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDial[] = {{17, 255, 1}};


static PyMethodDef methods_QDial[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QDial_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QDial_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDial_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QDial_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDial_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDial_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDial_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDial_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QDial_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDial_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDial_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDial_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDial_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDial_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QDial_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QDial_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDial_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDial_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QDial_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QDial_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDial_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QDial_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QDial_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QDial_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QDial_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDial_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDial_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDial_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDial_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDial_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QDial_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QDial_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QDial_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QDial_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDial_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDial_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDial_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDial_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDial_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDial_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDial_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QDial_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QDial_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_notchSize), meth_QDial_notchSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QDial_notchSize)},
    {SIP_MLNAME_CAST(sipName_notchTarget), meth_QDial_notchTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QDial_notchTarget)},
    {SIP_MLNAME_CAST(sipName_notchesVisible), meth_QDial_notchesVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QDial_notchesVisible)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QDial_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDial_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDial_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_repeatAction), (PyCFunction)meth_QDial_repeatAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QDial_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDial_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDial_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDial_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setNotchTarget), meth_QDial_setNotchTarget, METH_VARARGS, SIP_MLDOC_CAST(doc_QDial_setNotchTarget)},
    {SIP_MLNAME_CAST(sipName_setNotchesVisible), meth_QDial_setNotchesVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QDial_setNotchesVisible)},
    {SIP_MLNAME_CAST(sipName_setRepeatAction), (PyCFunction)meth_QDial_setRepeatAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setWrapping), meth_QDial_setWrapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QDial_setWrapping)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QDial_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QDial_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QDial_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QDial_sizeHint)},
    {SIP_MLNAME_CAST(sipName_sliderChange), (PyCFunction)meth_QDial_sliderChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDial_sliderChange)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QDial_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDial_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDial_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDial_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wrapping), meth_QDial_wrapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QDial_wrapping)}
};

PyDoc_STRVAR(doc_QDial, "\1QDial(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDial = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDial,
        {0}
    },
    {
        sipNameNr_QDial,
        {0, 0, 1},
        59, methods_QDial,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDial,
    -1,
    -1,
    supers_QDial,
    0,
    init_type_QDial,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDial,
    0,
    0,
    0,
    release_QDial,
    cast_QDial,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDial::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdesktopwidget.sip"
#include <qdesktopwidget.h>
#line 387217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387221 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 387224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 387227 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 387230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 387233 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 387236 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 387239 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 387242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 387245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 387248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 387251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 387254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 387257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 387260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 387263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 387266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 387269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 387272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 387275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 387278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 387281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 387284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 387287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 387290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 387293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 387296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 387299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 387305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387320 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387323 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387326 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387329 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387332 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387335 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387338 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387341 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387344 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387347 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387350 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 387353 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 387356 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 387359 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 387362 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 387365 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 387368 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 387371 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 387374 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 387377 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 387380 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 387383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 387386 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 387389 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 387392 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 387395 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 387398 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 387401 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 387404 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 387407 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 387410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 387413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 387416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 387419 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDesktopWidget : public QDesktopWidget
{
public:
    sipQDesktopWidget();
    virtual ~sipQDesktopWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void resizeEvent(QResizeEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDesktopWidget(const sipQDesktopWidget &);
    sipQDesktopWidget &operator = (const sipQDesktopWidget &);

    char sipPyMethods[46];
};

sipQDesktopWidget::sipQDesktopWidget(): QDesktopWidget(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDesktopWidget::~sipQDesktopWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDesktopWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDesktopWidget);
}

int sipQDesktopWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDesktopWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDesktopWidget,_c,_id,_a);

    return _id;
}

void *sipQDesktopWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDesktopWidget, _clname, &sipCpp) ? sipCpp : QDesktopWidget::qt_metacast(_clname));
}

void sipQDesktopWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDesktopWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDesktopWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDesktopWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDesktopWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDesktopWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDesktopWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDesktopWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDesktopWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QDesktopWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQDesktopWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QDesktopWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDesktopWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QDesktopWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDesktopWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QDesktopWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDesktopWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QDesktopWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQDesktopWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QDesktopWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QDesktopWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDesktopWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QDesktopWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QDesktopWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QDesktopWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QDesktopWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QDesktopWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QDesktopWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QDesktopWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QDesktopWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QDesktopWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QDesktopWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QDesktopWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QDesktopWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QDesktopWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QDesktopWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QDesktopWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QDesktopWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QDesktopWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QDesktopWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QDesktopWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QDesktopWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QDesktopWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QDesktopWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QDesktopWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QDesktopWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDesktopWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QDesktopWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDesktopWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDesktopWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQDesktopWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QDesktopWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQDesktopWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QDesktopWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQDesktopWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QDesktopWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDesktopWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QDesktopWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDesktopWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QDesktopWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDesktopWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QDesktopWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDesktopWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QDesktopWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQDesktopWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDesktopWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDesktopWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDesktopWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDesktopWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDesktopWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQDesktopWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQDesktopWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQDesktopWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQDesktopWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQDesktopWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQDesktopWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQDesktopWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQDesktopWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQDesktopWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQDesktopWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQDesktopWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQDesktopWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQDesktopWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQDesktopWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQDesktopWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QDesktopWidget::resizeEvent(a0) : resizeEvent(a0));
}


PyDoc_STRVAR(doc_QDesktopWidget_sender, "QDesktopWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QDesktopWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDesktopWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 388637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_sender, doc_QDesktopWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_receivers, "QDesktopWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDesktopWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDesktopWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 388696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_receivers, doc_QDesktopWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_timerEvent, "QDesktopWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_timerEvent, doc_QDesktopWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_childEvent, "QDesktopWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_childEvent, doc_QDesktopWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_customEvent, "QDesktopWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_customEvent, doc_QDesktopWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_connectNotify, "QDesktopWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDesktopWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_connectNotify, doc_QDesktopWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_disconnectNotify, "QDesktopWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDesktopWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_disconnectNotify, doc_QDesktopWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_senderSignalIndex, "QDesktopWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDesktopWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDesktopWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_senderSignalIndex, doc_QDesktopWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_isSignalConnected, "QDesktopWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDesktopWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_isSignalConnected, doc_QDesktopWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_event, "QDesktopWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QDesktopWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_event, doc_QDesktopWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_mousePressEvent, "QDesktopWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_mousePressEvent, doc_QDesktopWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_mouseReleaseEvent, "QDesktopWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_mouseReleaseEvent, doc_QDesktopWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_mouseDoubleClickEvent, "QDesktopWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_mouseDoubleClickEvent, doc_QDesktopWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_mouseMoveEvent, "QDesktopWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_mouseMoveEvent, doc_QDesktopWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_wheelEvent, "QDesktopWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_wheelEvent, doc_QDesktopWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_keyPressEvent, "QDesktopWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_keyPressEvent, doc_QDesktopWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_keyReleaseEvent, "QDesktopWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_keyReleaseEvent, doc_QDesktopWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_focusInEvent, "QDesktopWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_focusInEvent, doc_QDesktopWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_focusOutEvent, "QDesktopWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_focusOutEvent, doc_QDesktopWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_enterEvent, "QDesktopWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_enterEvent, doc_QDesktopWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_leaveEvent, "QDesktopWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_leaveEvent, doc_QDesktopWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_paintEvent, "QDesktopWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_paintEvent, doc_QDesktopWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_moveEvent, "QDesktopWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_moveEvent, doc_QDesktopWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_closeEvent, "QDesktopWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_closeEvent, doc_QDesktopWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_contextMenuEvent, "QDesktopWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_contextMenuEvent, doc_QDesktopWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_tabletEvent, "QDesktopWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_tabletEvent, doc_QDesktopWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_actionEvent, "QDesktopWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_actionEvent, doc_QDesktopWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_dragEnterEvent, "QDesktopWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_dragEnterEvent, doc_QDesktopWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_dragMoveEvent, "QDesktopWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_dragMoveEvent, doc_QDesktopWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_dragLeaveEvent, "QDesktopWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_dragLeaveEvent, doc_QDesktopWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_dropEvent, "QDesktopWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_dropEvent, doc_QDesktopWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_showEvent, "QDesktopWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_showEvent, doc_QDesktopWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_hideEvent, "QDesktopWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_hideEvent, doc_QDesktopWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_changeEvent, "QDesktopWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_changeEvent, doc_QDesktopWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_metric, "QDesktopWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QDesktopWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_metric, doc_QDesktopWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_inputMethodEvent, "QDesktopWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_inputMethodEvent, doc_QDesktopWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_updateMicroFocus, "QDesktopWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QDesktopWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDesktopWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_updateMicroFocus, doc_QDesktopWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_create, "QDesktopWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QDesktopWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQDesktopWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_create, doc_QDesktopWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_destroy, "QDesktopWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QDesktopWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQDesktopWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QDesktopWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_destroy, doc_QDesktopWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_focusNextPrevChild, "QDesktopWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QDesktopWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDesktopWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_focusNextPrevChild, doc_QDesktopWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_focusNextChild, "QDesktopWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QDesktopWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDesktopWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_focusNextChild, doc_QDesktopWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_focusPreviousChild, "QDesktopWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QDesktopWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDesktopWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_focusPreviousChild, doc_QDesktopWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_nativeEvent, "QDesktopWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QDesktopWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_nativeEvent, doc_QDesktopWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_sharedPainter, "QDesktopWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QDesktopWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDesktopWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_sharedPainter, doc_QDesktopWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_initPainter, "QDesktopWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QDesktopWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_initPainter, doc_QDesktopWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_isVirtualDesktop, "QDesktopWidget.isVirtualDesktop() -> bool");

extern "C" {static PyObject *meth_QDesktopWidget_isVirtualDesktop(PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_isVirtualDesktop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDesktopWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDesktopWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isVirtualDesktop();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_isVirtualDesktop, doc_QDesktopWidget_isVirtualDesktop);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_primaryScreen, "QDesktopWidget.primaryScreen() -> int");

extern "C" {static PyObject *meth_QDesktopWidget_primaryScreen(PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_primaryScreen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDesktopWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDesktopWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->primaryScreen();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_primaryScreen, doc_QDesktopWidget_primaryScreen);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_screenNumber, "QDesktopWidget.screenNumber(QWidget widget=None) -> int\n"
    "QDesktopWidget.screenNumber(QPoint) -> int");

extern "C" {static PyObject *meth_QDesktopWidget_screenNumber(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_screenNumber(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0 = 0;
        const QDesktopWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QWidget, &a0))
        {
            int sipRes;

            sipRes = sipCpp->screenNumber(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QPoint* a0;
        const QDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QPoint, &a0))
        {
            int sipRes;

            sipRes = sipCpp->screenNumber(*a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_screenNumber, doc_QDesktopWidget_screenNumber);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_screen, "QDesktopWidget.screen(int screen=-1) -> QWidget");

extern "C" {static PyObject *meth_QDesktopWidget_screen(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_screen(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = -1;
        QDesktopWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_screen,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QDesktopWidget, &sipCpp, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->screen(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_screen, doc_QDesktopWidget_screen);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_screenCount, "QDesktopWidget.screenCount() -> int");

extern "C" {static PyObject *meth_QDesktopWidget_screenCount(PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_screenCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDesktopWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDesktopWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->screenCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_screenCount, doc_QDesktopWidget_screenCount);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_screenGeometry, "QDesktopWidget.screenGeometry(int screen=-1) -> QRect\n"
    "QDesktopWidget.screenGeometry(QWidget) -> QRect\n"
    "QDesktopWidget.screenGeometry(QPoint) -> QRect");

extern "C" {static PyObject *meth_QDesktopWidget_screenGeometry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_screenGeometry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = -1;
        const QDesktopWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_screen,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QDesktopWidget, &sipCpp, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->screenGeometry(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    {
        const QWidget* a0;
        const QDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QWidget, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->screenGeometry(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    {
        const QPoint* a0;
        const QDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->screenGeometry(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_screenGeometry, doc_QDesktopWidget_screenGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_availableGeometry, "QDesktopWidget.availableGeometry(int screen=-1) -> QRect\n"
    "QDesktopWidget.availableGeometry(QWidget) -> QRect\n"
    "QDesktopWidget.availableGeometry(QPoint) -> QRect");

extern "C" {static PyObject *meth_QDesktopWidget_availableGeometry(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_availableGeometry(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = -1;
        const QDesktopWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_screen,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QDesktopWidget, &sipCpp, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->availableGeometry(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    {
        const QWidget* a0;
        const QDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QWidget, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->availableGeometry(a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    {
        const QPoint* a0;
        const QDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->availableGeometry(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_availableGeometry, doc_QDesktopWidget_availableGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QDesktopWidget_resizeEvent, "QDesktopWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QDesktopWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDesktopWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQDesktopWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDesktopWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDesktopWidget, sipName_resizeEvent, doc_QDesktopWidget_resizeEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDesktopWidget(void *, const sipTypeDef *);}
static void *cast_QDesktopWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDesktopWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QDesktopWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDesktopWidget(void *, int);}
static void release_QDesktopWidget(void *sipCppV,int)
{
    QDesktopWidget *sipCpp = reinterpret_cast<QDesktopWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDesktopWidget(sipSimpleWrapper *);}
static void dealloc_QDesktopWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDesktopWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDesktopWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDesktopWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDesktopWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQDesktopWidget *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQDesktopWidget();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDesktopWidget[] = {{454, 255, 1}};


static PyMethodDef methods_QDesktopWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QDesktopWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_availableGeometry), (PyCFunction)meth_QDesktopWidget_availableGeometry, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDesktopWidget_availableGeometry)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QDesktopWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDesktopWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QDesktopWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDesktopWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDesktopWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDesktopWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDesktopWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QDesktopWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDesktopWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDesktopWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDesktopWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDesktopWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDesktopWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QDesktopWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QDesktopWidget_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDesktopWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QDesktopWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QDesktopWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDesktopWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QDesktopWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QDesktopWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QDesktopWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDesktopWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDesktopWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isVirtualDesktop), meth_QDesktopWidget_isVirtualDesktop, METH_VARARGS, SIP_MLDOC_CAST(doc_QDesktopWidget_isVirtualDesktop)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDesktopWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDesktopWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QDesktopWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QDesktopWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDesktopWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDesktopWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDesktopWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDesktopWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QDesktopWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QDesktopWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QDesktopWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_primaryScreen), meth_QDesktopWidget_primaryScreen, METH_VARARGS, SIP_MLDOC_CAST(doc_QDesktopWidget_primaryScreen)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDesktopWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QDesktopWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDesktopWidget_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_screen), (PyCFunction)meth_QDesktopWidget_screen, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDesktopWidget_screen)},
    {SIP_MLNAME_CAST(sipName_screenCount), meth_QDesktopWidget_screenCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QDesktopWidget_screenCount)},
    {SIP_MLNAME_CAST(sipName_screenGeometry), (PyCFunction)meth_QDesktopWidget_screenGeometry, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDesktopWidget_screenGeometry)},
    {SIP_MLNAME_CAST(sipName_screenNumber), (PyCFunction)meth_QDesktopWidget_screenNumber, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDesktopWidget_screenNumber)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDesktopWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDesktopWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QDesktopWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QDesktopWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QDesktopWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDesktopWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDesktopWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDesktopWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDesktopWidget[] = {
    {"screenCountChanged(int)", "\1QDesktopWidget.screenCountChanged[int]", 0, 0},
    {"workAreaResized(int)", "\1QDesktopWidget.workAreaResized[int]", 0, 0},
    {"resized(int)", "\1QDesktopWidget.resized[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDesktopWidget, "\1QDesktopWidget()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDesktopWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDesktopWidget,
        {0}
    },
    {
        sipNameNr_QDesktopWidget,
        {0, 0, 1},
        53, methods_QDesktopWidget,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDesktopWidget,
    -1,
    -1,
    supers_QDesktopWidget,
    0,
    init_type_QDesktopWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDesktopWidget,
    0,
    0,
    0,
    release_QDesktopWidget,
    cast_QDesktopWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDesktopWidget::staticMetaObject,
    0,
    signals_QDesktopWidget,
    0
};

#line 146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 390442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 390446 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 390449 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 390452 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcalendarwidget.sip"
#include <qcalendarwidget.h>
#line 390455 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 299 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 390458 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 390461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 390464 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 390467 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390470 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390473 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 390485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 157 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 390488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 390491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 390494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 390497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 390500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 390503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 390506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 390509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 390515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 390530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 390533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 390536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 390539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 390542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 390545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 390548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 390551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 390554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 390557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 390560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 390563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 390566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 390569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 390572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 390575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 390578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 390581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 390584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 390587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 390590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 390593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 390617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 390620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 390623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 390626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 390629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 390632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 390635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 390638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 390641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 390644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 390647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 390650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 390653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 390656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 390659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 390662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 390665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 390668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 390671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 390674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 390677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 390680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDateEdit : public QDateEdit
{
public:
    sipQDateEdit(QWidget*);
    sipQDateEdit(const QDate&,QWidget*);
    virtual ~sipQDateEdit();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    QLineEdit* sipProtect_lineEdit() const;
    void sipProtect_setLineEdit(QLineEdit*);
    void sipProtect_initStyleOption(QStyleOptionSpinBox*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    QValidator::State sipProtectVirt_validate(bool,QString&,int&) const;
    void sipProtectVirt_fixup(bool,QString&) const;
    QDateTime sipProtectVirt_dateTimeFromText(bool,const QString&) const;
    QString sipProtectVirt_textFromDateTime(bool,const QDateTime&) const;
    QAbstractSpinBox::StepEnabled sipProtectVirt_stepEnabled(bool) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void showEvent(QShowEvent*);
    void timerEvent(QTimerEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void focusOutEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void resizeEvent(QResizeEvent*);
    QSize minimumSizeHint() const;
    QAbstractSpinBox::StepEnabled stepEnabled() const;
    QString textFromDateTime(const QDateTime&) const;
    QDateTime dateTimeFromText(const QString&) const;
    void fixup(QString&) const;
    QValidator::State validate(QString&,int&) const;
    void paintEvent(QPaintEvent*);
    void mousePressEvent(QMouseEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void wheelEvent(QWheelEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    void stepBy(int);
    void clear();
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDateEdit(const sipQDateEdit &);
    sipQDateEdit &operator = (const sipQDateEdit &);

    char sipPyMethods[53];
};

sipQDateEdit::sipQDateEdit(QWidget*a0): QDateEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDateEdit::sipQDateEdit(const QDate& a0,QWidget*a1): QDateEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDateEdit::~sipQDateEdit()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDateEdit::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDateEdit);
}

int sipQDateEdit::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDateEdit::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDateEdit,_c,_id,_a);

    return _id;
}

void *sipQDateEdit::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDateEdit, _clname, &sipCpp) ? sipCpp : QDateEdit::qt_metacast(_clname));
}

void sipQDateEdit::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDateEdit::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDateEdit::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDateEdit::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDateEdit::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDateEdit::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDateEdit::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDateEdit::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QDateEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQDateEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QDateEdit::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDateEdit::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QDateEdit::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDateEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QDateEdit::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDateEdit::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QDateEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDateEdit::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QDateEdit::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QDateEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QDateEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QDateEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QDateEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QDateEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QDateEdit::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QDateEdit::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QDateEdit::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QDateEdit::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QDateEdit::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQDateEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QDateEdit::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQDateEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QDateEdit::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QDateEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDateEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QDateEdit::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQDateEdit::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QDateEdit::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QDateEdit::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDateEdit::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QDateEdit::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QDateEdit::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QDateEdit::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QDateEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QDateEdit::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QDateEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QDateEdit::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QDateEdit::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QDateEdit::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQDateEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QDateEdit::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QAbstractSpinBox::StepEnabled sipQDateEdit::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return QDateEdit::stepEnabled();

    extern QAbstractSpinBox::StepEnabled sipVH_QtWidgets_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_137(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QString sipQDateEdit::textFromDateTime(const QDateTime& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_textFromDateTime);

    if (!sipMeth)
        return QDateEdit::textFromDateTime(a0);

    extern QString sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QDateTime&);

    return sipVH_QtWidgets_138(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QDateTime sipQDateEdit::dateTimeFromText(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_dateTimeFromText);

    if (!sipMeth)
        return QDateEdit::dateTimeFromText(a0);

    extern QDateTime sipVH_QtWidgets_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtWidgets_139(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        QDateEdit::fixup(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

    ((sipVH_QtGui_18)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QValidator::State sipQDateEdit::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return QDateEdit::validate(a0,a1);

    typedef QValidator::State (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

    return ((sipVH_QtGui_15)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[15]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDateEdit::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QDateEdit::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QDateEdit::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDateEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QDateEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QDateEdit::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QDateEdit::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QDateEdit::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDateEdit::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDateEdit::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
        QDateEdit::stepBy(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateEdit::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        QDateEdit::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDateEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QDateEdit::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQDateEdit::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDateEdit::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDateEdit::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDateEdit::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDateEdit::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDateEdit::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDateEdit::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDateEdit::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQDateEdit::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQDateEdit::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQDateEdit::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQDateEdit::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQDateEdit::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQDateEdit::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQDateEdit::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQDateEdit::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQDateEdit::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQDateEdit::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQDateEdit::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQDateEdit::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQDateEdit::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQDateEdit::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQDateEdit::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQDateEdit::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQDateEdit::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQDateEdit::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQDateEdit::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQDateEdit::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQDateEdit::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQDateEdit::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQDateEdit::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQDateEdit::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQDateEdit::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::changeEvent(a0) : changeEvent(a0));
}

void sipQDateEdit::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::closeEvent(a0) : closeEvent(a0));
}

void sipQDateEdit::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::hideEvent(a0) : hideEvent(a0));
}

void sipQDateEdit::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQDateEdit::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQDateEdit::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::timerEvent(a0) : timerEvent(a0));
}

void sipQDateEdit::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::showEvent(a0) : showEvent(a0));
}

QLineEdit* sipQDateEdit::sipProtect_lineEdit() const
{
    return QAbstractSpinBox::lineEdit();
}

void sipQDateEdit::sipProtect_setLineEdit(QLineEdit*a0)
{
    QAbstractSpinBox::setLineEdit(a0);
}

void sipQDateEdit::sipProtect_initStyleOption(QStyleOptionSpinBox*a0) const
{
    QDateTimeEdit::initStyleOption(a0);
}

void sipQDateEdit::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQDateEdit::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::wheelEvent(a0) : wheelEvent(a0));
}

void sipQDateEdit::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::focusInEvent(a0) : focusInEvent(a0));
}

bool sipQDateEdit::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QDateTimeEdit::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQDateEdit::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQDateEdit::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::paintEvent(a0) : paintEvent(a0));
}

QValidator::State sipQDateEdit::sipProtectVirt_validate(bool sipSelfWasArg,QString& a0,int& a1) const
{
    return (sipSelfWasArg ? QDateTimeEdit::validate(a0,a1) : validate(a0,a1));
}

void sipQDateEdit::sipProtectVirt_fixup(bool sipSelfWasArg,QString& a0) const
{
    (sipSelfWasArg ? QDateTimeEdit::fixup(a0) : fixup(a0));
}

QDateTime sipQDateEdit::sipProtectVirt_dateTimeFromText(bool sipSelfWasArg,const QString& a0) const
{
    return (sipSelfWasArg ? QDateTimeEdit::dateTimeFromText(a0) : dateTimeFromText(a0));
}

QString sipQDateEdit::sipProtectVirt_textFromDateTime(bool sipSelfWasArg,const QDateTime& a0) const
{
    return (sipSelfWasArg ? QDateTimeEdit::textFromDateTime(a0) : textFromDateTime(a0));
}

QAbstractSpinBox::StepEnabled sipQDateEdit::sipProtectVirt_stepEnabled(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QDateTimeEdit::stepEnabled() : stepEnabled());
}


PyDoc_STRVAR(doc_QDateEdit_sender, "QDateEdit.sender() -> QObject");

extern "C" {static PyObject *meth_QDateEdit_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateEdit, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 392067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_sender, doc_QDateEdit_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_receivers, "QDateEdit.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDateEdit_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDateEdit, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 392126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_receivers, doc_QDateEdit_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_childEvent, "QDateEdit.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDateEdit_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_childEvent, doc_QDateEdit_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_customEvent, "QDateEdit.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDateEdit_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_customEvent, doc_QDateEdit_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_connectNotify, "QDateEdit.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDateEdit_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_connectNotify, doc_QDateEdit_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_disconnectNotify, "QDateEdit.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDateEdit_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_disconnectNotify, doc_QDateEdit_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_senderSignalIndex, "QDateEdit.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDateEdit_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_senderSignalIndex, doc_QDateEdit_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_isSignalConnected, "QDateEdit.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDateEdit_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_isSignalConnected, doc_QDateEdit_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_mouseDoubleClickEvent, "QDateEdit.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDateEdit_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_mouseDoubleClickEvent, doc_QDateEdit_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_enterEvent, "QDateEdit.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QDateEdit_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_enterEvent, doc_QDateEdit_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_leaveEvent, "QDateEdit.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QDateEdit_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_leaveEvent, doc_QDateEdit_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_moveEvent, "QDateEdit.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QDateEdit_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_moveEvent, doc_QDateEdit_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_tabletEvent, "QDateEdit.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QDateEdit_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_tabletEvent, doc_QDateEdit_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_actionEvent, "QDateEdit.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QDateEdit_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_actionEvent, doc_QDateEdit_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_dragEnterEvent, "QDateEdit.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QDateEdit_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_dragEnterEvent, doc_QDateEdit_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_dragMoveEvent, "QDateEdit.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QDateEdit_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_dragMoveEvent, doc_QDateEdit_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_dragLeaveEvent, "QDateEdit.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QDateEdit_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_dragLeaveEvent, doc_QDateEdit_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_dropEvent, "QDateEdit.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QDateEdit_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_dropEvent, doc_QDateEdit_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_metric, "QDateEdit.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QDateEdit_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_metric, doc_QDateEdit_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_inputMethodEvent, "QDateEdit.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QDateEdit_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_inputMethodEvent, doc_QDateEdit_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_updateMicroFocus, "QDateEdit.updateMicroFocus()");

extern "C" {static PyObject *meth_QDateEdit_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateEdit, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_updateMicroFocus, doc_QDateEdit_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_create, "QDateEdit.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QDateEdit_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQDateEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_create, doc_QDateEdit_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_destroy, "QDateEdit.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QDateEdit_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQDateEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QDateEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_destroy, doc_QDateEdit_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_focusNextChild, "QDateEdit.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QDateEdit_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_focusNextChild, doc_QDateEdit_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_focusPreviousChild, "QDateEdit.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QDateEdit_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_focusPreviousChild, doc_QDateEdit_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_nativeEvent, "QDateEdit.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QDateEdit_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_nativeEvent, doc_QDateEdit_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_sharedPainter, "QDateEdit.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QDateEdit_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateEdit, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_sharedPainter, doc_QDateEdit_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_initPainter, "QDateEdit.initPainter(QPainter)");

extern "C" {static PyObject *meth_QDateEdit_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_initPainter, doc_QDateEdit_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_resizeEvent, "QDateEdit.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QDateEdit_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_resizeEvent, doc_QDateEdit_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_keyReleaseEvent, "QDateEdit.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDateEdit_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_keyReleaseEvent, doc_QDateEdit_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_focusOutEvent, "QDateEdit.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDateEdit_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_focusOutEvent, doc_QDateEdit_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_contextMenuEvent, "QDateEdit.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QDateEdit_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_contextMenuEvent, doc_QDateEdit_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_changeEvent, "QDateEdit.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QDateEdit_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_changeEvent, doc_QDateEdit_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_closeEvent, "QDateEdit.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QDateEdit_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_closeEvent, doc_QDateEdit_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_hideEvent, "QDateEdit.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QDateEdit_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_hideEvent, doc_QDateEdit_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_mouseReleaseEvent, "QDateEdit.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDateEdit_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_mouseReleaseEvent, doc_QDateEdit_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_mouseMoveEvent, "QDateEdit.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDateEdit_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_mouseMoveEvent, doc_QDateEdit_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_timerEvent, "QDateEdit.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDateEdit_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_timerEvent, doc_QDateEdit_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_showEvent, "QDateEdit.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QDateEdit_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_showEvent, doc_QDateEdit_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_lineEdit, "QDateEdit.lineEdit() -> QLineEdit");

extern "C" {static PyObject *meth_QDateEdit_lineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_lineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateEdit, &sipCpp))
        {
            QLineEdit*sipRes;

            sipRes = sipCpp->sipProtect_lineEdit();

            return sipConvertFromType(sipRes,sipType_QLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_lineEdit, doc_QDateEdit_lineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_setLineEdit, "QDateEdit.setLineEdit(QLineEdit)");

extern "C" {static PyObject *meth_QDateEdit_setLineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_setLineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QLineEdit, &a0))
        {
            sipCpp->sipProtect_setLineEdit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_setLineEdit, doc_QDateEdit_setLineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_initStyleOption, "QDateEdit.initStyleOption(QStyleOptionSpinBox)");

extern "C" {static PyObject *meth_QDateEdit_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionSpinBox* a0;
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QStyleOptionSpinBox, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_initStyleOption, doc_QDateEdit_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_keyPressEvent, "QDateEdit.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDateEdit_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_keyPressEvent, doc_QDateEdit_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_wheelEvent, "QDateEdit.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QDateEdit_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_wheelEvent, doc_QDateEdit_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_focusInEvent, "QDateEdit.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDateEdit_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_focusInEvent, doc_QDateEdit_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_focusNextPrevChild, "QDateEdit.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QDateEdit_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDateEdit, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_focusNextPrevChild, doc_QDateEdit_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_mousePressEvent, "QDateEdit.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDateEdit_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_mousePressEvent, doc_QDateEdit_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_paintEvent, "QDateEdit.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QDateEdit_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_paintEvent, doc_QDateEdit_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_validate, "QDateEdit.validate(str, int) -> (QValidator.State, str, int)");

extern "C" {static PyObject *meth_QDateEdit_validate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_validate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        int a1;
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1i", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            sipRes = sipCpp->sipProtectVirt_validate(sipSelfWasArg,*a0,a1);

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_validate, doc_QDateEdit_validate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_fixup, "QDateEdit.fixup(str) -> str");

extern "C" {static PyObject *meth_QDateEdit_fixup(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_fixup(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            sipCpp->sipProtectVirt_fixup(sipSelfWasArg,*a0);

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_fixup, doc_QDateEdit_fixup);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_dateTimeFromText, "QDateEdit.dateTimeFromText(str) -> QDateTime");

extern "C" {static PyObject *meth_QDateEdit_dateTimeFromText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_dateTimeFromText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDateTime*sipRes;

            sipRes = new QDateTime(sipCpp->sipProtectVirt_dateTimeFromText(sipSelfWasArg,*a0));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_dateTimeFromText, doc_QDateEdit_dateTimeFromText);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_textFromDateTime, "QDateEdit.textFromDateTime(QDateTime) -> str");

extern "C" {static PyObject *meth_QDateEdit_textFromDateTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_textFromDateTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDateTime* a0;
        int a0State = 0;
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QDateEdit, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->sipProtectVirt_textFromDateTime(sipSelfWasArg,*a0));
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_textFromDateTime, doc_QDateEdit_textFromDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateEdit_stepEnabled, "QDateEdit.stepEnabled() -> QAbstractSpinBox.StepEnabled");

extern "C" {static PyObject *meth_QDateEdit_stepEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateEdit_stepEnabled(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDateEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateEdit, &sipCpp))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled(sipCpp->sipProtectVirt_stepEnabled(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateEdit, sipName_stepEnabled, doc_QDateEdit_stepEnabled);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDateEdit(void *, const sipTypeDef *);}
static void *cast_QDateEdit(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDateEdit)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDateTimeEdit)->ctd_cast((QDateTimeEdit *)(QDateEdit *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDateEdit(void *, int);}
static void release_QDateEdit(void *sipCppV,int)
{
    QDateEdit *sipCpp = reinterpret_cast<QDateEdit *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDateEdit(sipSimpleWrapper *);}
static void dealloc_QDateEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDateEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDateEdit(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDateEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDateEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDateEdit *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQDateEdit(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QDate* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QDate, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQDateEdit(*a0,a1);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDateEdit[] = {{55, 255, 1}};


static PyMethodDef methods_QDateEdit[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QDateEdit_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QDateEdit_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDateEdit_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QDateEdit_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDateEdit_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDateEdit_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDateEdit_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDateEdit_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dateTimeFromText), (PyCFunction)meth_QDateEdit_dateTimeFromText, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QDateEdit_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDateEdit_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDateEdit_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDateEdit_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDateEdit_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDateEdit_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QDateEdit_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fixup), (PyCFunction)meth_QDateEdit_fixup, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDateEdit_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QDateEdit_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QDateEdit_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDateEdit_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QDateEdit_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QDateEdit_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QDateEdit_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QDateEdit_initStyleOption, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDateEdit_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDateEdit_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDateEdit_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDateEdit_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QDateEdit_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEdit), (PyCFunction)meth_QDateEdit_lineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QDateEdit_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDateEdit_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDateEdit_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDateEdit_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDateEdit_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QDateEdit_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QDateEdit_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QDateEdit_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDateEdit_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QDateEdit_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDateEdit_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDateEdit_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setLineEdit), (PyCFunction)meth_QDateEdit_setLineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QDateEdit_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QDateEdit_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_stepEnabled), (PyCFunction)meth_QDateEdit_stepEnabled, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QDateEdit_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textFromDateTime), (PyCFunction)meth_QDateEdit_textFromDateTime, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDateEdit_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDateEdit_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), (PyCFunction)meth_QDateEdit_validate, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDateEdit_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QDateEdit, "\1QDateEdit(QWidget parent=None)\n"
    "QDateEdit(QDate, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDateEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDateEdit,
        {0}
    },
    {
        sipNameNr_QDateEdit,
        {0, 0, 1},
        53, methods_QDateEdit,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDateEdit,
    -1,
    -1,
    supers_QDateEdit,
    0,
    init_type_QDateEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDateEdit,
    0,
    0,
    0,
    release_QDateEdit,
    cast_QDateEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDateEdit::staticMetaObject,
    0,
    0,
    0
};

#line 134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 393817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 393821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 157 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 393824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 393827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcalendarwidget.sip"
#include <qcalendarwidget.h>
#line 393830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 299 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 393833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 393836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 393839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 393842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 393860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 393863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 393866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 393869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 393872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 393875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 393878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 393881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 393884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 393890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 393905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 393908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 393911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 393914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 393917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 393920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 393923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 393926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 393929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 393932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 393935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 393938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 393941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 393944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 393947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 393950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 393953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 393956 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 393959 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 393962 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 393965 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 393968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393971 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393974 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393977 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393980 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393989 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 393992 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 393995 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 393998 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 394001 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 394004 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 394007 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 394010 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 394013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 394016 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 394019 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 394022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 394025 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 394028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 394031 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 394034 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 394037 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 394040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 394043 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 394046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 394049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 394052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 394055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQTimeEdit : public QTimeEdit
{
public:
    sipQTimeEdit(QWidget*);
    sipQTimeEdit(const QTime&,QWidget*);
    virtual ~sipQTimeEdit();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    QLineEdit* sipProtect_lineEdit() const;
    void sipProtect_setLineEdit(QLineEdit*);
    void sipProtect_initStyleOption(QStyleOptionSpinBox*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    QValidator::State sipProtectVirt_validate(bool,QString&,int&) const;
    void sipProtectVirt_fixup(bool,QString&) const;
    QDateTime sipProtectVirt_dateTimeFromText(bool,const QString&) const;
    QString sipProtectVirt_textFromDateTime(bool,const QDateTime&) const;
    QAbstractSpinBox::StepEnabled sipProtectVirt_stepEnabled(bool) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void showEvent(QShowEvent*);
    void timerEvent(QTimerEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void focusOutEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void resizeEvent(QResizeEvent*);
    QSize minimumSizeHint() const;
    QAbstractSpinBox::StepEnabled stepEnabled() const;
    QString textFromDateTime(const QDateTime&) const;
    QDateTime dateTimeFromText(const QString&) const;
    void fixup(QString&) const;
    QValidator::State validate(QString&,int&) const;
    void paintEvent(QPaintEvent*);
    void mousePressEvent(QMouseEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void wheelEvent(QWheelEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    void stepBy(int);
    void clear();
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQTimeEdit(const sipQTimeEdit &);
    sipQTimeEdit &operator = (const sipQTimeEdit &);

    char sipPyMethods[53];
};

sipQTimeEdit::sipQTimeEdit(QWidget*a0): QTimeEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTimeEdit::sipQTimeEdit(const QTime& a0,QWidget*a1): QTimeEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQTimeEdit::~sipQTimeEdit()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQTimeEdit::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QTimeEdit);
}

int sipQTimeEdit::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QTimeEdit::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QTimeEdit,_c,_id,_a);

    return _id;
}

void *sipQTimeEdit::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QTimeEdit, _clname, &sipCpp) ? sipCpp : QTimeEdit::qt_metacast(_clname));
}

void sipQTimeEdit::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QTimeEdit::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QTimeEdit::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QTimeEdit::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QTimeEdit::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTimeEdit::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QTimeEdit::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTimeEdit::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QTimeEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQTimeEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QTimeEdit::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQTimeEdit::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QTimeEdit::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQTimeEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QTimeEdit::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQTimeEdit::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QTimeEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTimeEdit::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QTimeEdit::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QTimeEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QTimeEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QTimeEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QTimeEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QTimeEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QTimeEdit::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QTimeEdit::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QTimeEdit::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QTimeEdit::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QTimeEdit::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQTimeEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QTimeEdit::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQTimeEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QTimeEdit::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QTimeEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQTimeEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QTimeEdit::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQTimeEdit::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QTimeEdit::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QTimeEdit::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QTimeEdit::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QTimeEdit::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QTimeEdit::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QTimeEdit::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QTimeEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QTimeEdit::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QTimeEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QTimeEdit::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QTimeEdit::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QTimeEdit::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQTimeEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QTimeEdit::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QAbstractSpinBox::StepEnabled sipQTimeEdit::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return QTimeEdit::stepEnabled();

    extern QAbstractSpinBox::StepEnabled sipVH_QtWidgets_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_137(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QString sipQTimeEdit::textFromDateTime(const QDateTime& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_textFromDateTime);

    if (!sipMeth)
        return QTimeEdit::textFromDateTime(a0);

    extern QString sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QDateTime&);

    return sipVH_QtWidgets_138(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QDateTime sipQTimeEdit::dateTimeFromText(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_dateTimeFromText);

    if (!sipMeth)
        return QTimeEdit::dateTimeFromText(a0);

    extern QDateTime sipVH_QtWidgets_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtWidgets_139(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        QTimeEdit::fixup(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

    ((sipVH_QtGui_18)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QValidator::State sipQTimeEdit::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return QTimeEdit::validate(a0,a1);

    typedef QValidator::State (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

    return ((sipVH_QtGui_15)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[15]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQTimeEdit::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QTimeEdit::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QTimeEdit::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTimeEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QTimeEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QTimeEdit::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QTimeEdit::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QTimeEdit::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQTimeEdit::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QTimeEdit::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
        QTimeEdit::stepBy(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQTimeEdit::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        QTimeEdit::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQTimeEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QTimeEdit::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQTimeEdit::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQTimeEdit::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQTimeEdit::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQTimeEdit::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQTimeEdit::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQTimeEdit::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQTimeEdit::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQTimeEdit::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQTimeEdit::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQTimeEdit::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQTimeEdit::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQTimeEdit::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQTimeEdit::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQTimeEdit::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQTimeEdit::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQTimeEdit::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQTimeEdit::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQTimeEdit::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::changeEvent(a0) : changeEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::closeEvent(a0) : closeEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::hideEvent(a0) : hideEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::timerEvent(a0) : timerEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::showEvent(a0) : showEvent(a0));
}

QLineEdit* sipQTimeEdit::sipProtect_lineEdit() const
{
    return QAbstractSpinBox::lineEdit();
}

void sipQTimeEdit::sipProtect_setLineEdit(QLineEdit*a0)
{
    QAbstractSpinBox::setLineEdit(a0);
}

void sipQTimeEdit::sipProtect_initStyleOption(QStyleOptionSpinBox*a0) const
{
    QDateTimeEdit::initStyleOption(a0);
}

void sipQTimeEdit::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::wheelEvent(a0) : wheelEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::focusInEvent(a0) : focusInEvent(a0));
}

bool sipQTimeEdit::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QDateTimeEdit::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQTimeEdit::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQTimeEdit::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::paintEvent(a0) : paintEvent(a0));
}

QValidator::State sipQTimeEdit::sipProtectVirt_validate(bool sipSelfWasArg,QString& a0,int& a1) const
{
    return (sipSelfWasArg ? QDateTimeEdit::validate(a0,a1) : validate(a0,a1));
}

void sipQTimeEdit::sipProtectVirt_fixup(bool sipSelfWasArg,QString& a0) const
{
    (sipSelfWasArg ? QDateTimeEdit::fixup(a0) : fixup(a0));
}

QDateTime sipQTimeEdit::sipProtectVirt_dateTimeFromText(bool sipSelfWasArg,const QString& a0) const
{
    return (sipSelfWasArg ? QDateTimeEdit::dateTimeFromText(a0) : dateTimeFromText(a0));
}

QString sipQTimeEdit::sipProtectVirt_textFromDateTime(bool sipSelfWasArg,const QDateTime& a0) const
{
    return (sipSelfWasArg ? QDateTimeEdit::textFromDateTime(a0) : textFromDateTime(a0));
}

QAbstractSpinBox::StepEnabled sipQTimeEdit::sipProtectVirt_stepEnabled(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QDateTimeEdit::stepEnabled() : stepEnabled());
}


PyDoc_STRVAR(doc_QTimeEdit_sender, "QTimeEdit.sender() -> QObject");

extern "C" {static PyObject *meth_QTimeEdit_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeEdit, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 395442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_sender, doc_QTimeEdit_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_receivers, "QTimeEdit.receivers(signal) -> int");

extern "C" {static PyObject *meth_QTimeEdit_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QTimeEdit, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 395501 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_receivers, doc_QTimeEdit_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_childEvent, "QTimeEdit.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QTimeEdit_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_childEvent, doc_QTimeEdit_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_customEvent, "QTimeEdit.customEvent(QEvent)");

extern "C" {static PyObject *meth_QTimeEdit_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_customEvent, doc_QTimeEdit_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_connectNotify, "QTimeEdit.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTimeEdit_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_connectNotify, doc_QTimeEdit_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_disconnectNotify, "QTimeEdit.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QTimeEdit_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_disconnectNotify, doc_QTimeEdit_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_senderSignalIndex, "QTimeEdit.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QTimeEdit_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_senderSignalIndex, doc_QTimeEdit_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_isSignalConnected, "QTimeEdit.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QTimeEdit_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_isSignalConnected, doc_QTimeEdit_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_mouseDoubleClickEvent, "QTimeEdit.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTimeEdit_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_mouseDoubleClickEvent, doc_QTimeEdit_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_enterEvent, "QTimeEdit.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QTimeEdit_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_enterEvent, doc_QTimeEdit_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_leaveEvent, "QTimeEdit.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QTimeEdit_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_leaveEvent, doc_QTimeEdit_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_moveEvent, "QTimeEdit.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QTimeEdit_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_moveEvent, doc_QTimeEdit_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_tabletEvent, "QTimeEdit.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QTimeEdit_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_tabletEvent, doc_QTimeEdit_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_actionEvent, "QTimeEdit.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QTimeEdit_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_actionEvent, doc_QTimeEdit_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_dragEnterEvent, "QTimeEdit.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QTimeEdit_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_dragEnterEvent, doc_QTimeEdit_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_dragMoveEvent, "QTimeEdit.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QTimeEdit_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_dragMoveEvent, doc_QTimeEdit_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_dragLeaveEvent, "QTimeEdit.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QTimeEdit_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_dragLeaveEvent, doc_QTimeEdit_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_dropEvent, "QTimeEdit.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QTimeEdit_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_dropEvent, doc_QTimeEdit_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_metric, "QTimeEdit.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QTimeEdit_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_metric, doc_QTimeEdit_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_inputMethodEvent, "QTimeEdit.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QTimeEdit_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_inputMethodEvent, doc_QTimeEdit_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_updateMicroFocus, "QTimeEdit.updateMicroFocus()");

extern "C" {static PyObject *meth_QTimeEdit_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeEdit, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_updateMicroFocus, doc_QTimeEdit_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_create, "QTimeEdit.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QTimeEdit_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQTimeEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_create, doc_QTimeEdit_create);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_destroy, "QTimeEdit.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QTimeEdit_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQTimeEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QTimeEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_destroy, doc_QTimeEdit_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_focusNextChild, "QTimeEdit.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QTimeEdit_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_focusNextChild, doc_QTimeEdit_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_focusPreviousChild, "QTimeEdit.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QTimeEdit_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_focusPreviousChild, doc_QTimeEdit_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_nativeEvent, "QTimeEdit.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QTimeEdit_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_nativeEvent, doc_QTimeEdit_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_sharedPainter, "QTimeEdit.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QTimeEdit_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeEdit, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_sharedPainter, doc_QTimeEdit_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_initPainter, "QTimeEdit.initPainter(QPainter)");

extern "C" {static PyObject *meth_QTimeEdit_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_initPainter, doc_QTimeEdit_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_resizeEvent, "QTimeEdit.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QTimeEdit_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_resizeEvent, doc_QTimeEdit_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_keyReleaseEvent, "QTimeEdit.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTimeEdit_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_keyReleaseEvent, doc_QTimeEdit_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_focusOutEvent, "QTimeEdit.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTimeEdit_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_focusOutEvent, doc_QTimeEdit_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_contextMenuEvent, "QTimeEdit.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QTimeEdit_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_contextMenuEvent, doc_QTimeEdit_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_changeEvent, "QTimeEdit.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QTimeEdit_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_changeEvent, doc_QTimeEdit_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_closeEvent, "QTimeEdit.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QTimeEdit_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_closeEvent, doc_QTimeEdit_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_hideEvent, "QTimeEdit.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QTimeEdit_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_hideEvent, doc_QTimeEdit_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_mouseReleaseEvent, "QTimeEdit.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTimeEdit_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_mouseReleaseEvent, doc_QTimeEdit_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_mouseMoveEvent, "QTimeEdit.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTimeEdit_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_mouseMoveEvent, doc_QTimeEdit_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_timerEvent, "QTimeEdit.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QTimeEdit_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_timerEvent, doc_QTimeEdit_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_showEvent, "QTimeEdit.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QTimeEdit_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_showEvent, doc_QTimeEdit_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_lineEdit, "QTimeEdit.lineEdit() -> QLineEdit");

extern "C" {static PyObject *meth_QTimeEdit_lineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_lineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeEdit, &sipCpp))
        {
            QLineEdit*sipRes;

            sipRes = sipCpp->sipProtect_lineEdit();

            return sipConvertFromType(sipRes,sipType_QLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_lineEdit, doc_QTimeEdit_lineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_setLineEdit, "QTimeEdit.setLineEdit(QLineEdit)");

extern "C" {static PyObject *meth_QTimeEdit_setLineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_setLineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QLineEdit, &a0))
        {
            sipCpp->sipProtect_setLineEdit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_setLineEdit, doc_QTimeEdit_setLineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_initStyleOption, "QTimeEdit.initStyleOption(QStyleOptionSpinBox)");

extern "C" {static PyObject *meth_QTimeEdit_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionSpinBox* a0;
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QStyleOptionSpinBox, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_initStyleOption, doc_QTimeEdit_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_keyPressEvent, "QTimeEdit.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QTimeEdit_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_keyPressEvent, doc_QTimeEdit_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_wheelEvent, "QTimeEdit.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QTimeEdit_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_wheelEvent, doc_QTimeEdit_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_focusInEvent, "QTimeEdit.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QTimeEdit_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_focusInEvent, doc_QTimeEdit_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_focusNextPrevChild, "QTimeEdit.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QTimeEdit_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QTimeEdit, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_focusNextPrevChild, doc_QTimeEdit_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_mousePressEvent, "QTimeEdit.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QTimeEdit_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_mousePressEvent, doc_QTimeEdit_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_paintEvent, "QTimeEdit.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QTimeEdit_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_paintEvent, doc_QTimeEdit_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_validate, "QTimeEdit.validate(str, int) -> (QValidator.State, str, int)");

extern "C" {static PyObject *meth_QTimeEdit_validate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_validate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        int a1;
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1i", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            sipRes = sipCpp->sipProtectVirt_validate(sipSelfWasArg,*a0,a1);

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_validate, doc_QTimeEdit_validate);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_fixup, "QTimeEdit.fixup(str) -> str");

extern "C" {static PyObject *meth_QTimeEdit_fixup(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_fixup(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            sipCpp->sipProtectVirt_fixup(sipSelfWasArg,*a0);

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_fixup, doc_QTimeEdit_fixup);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_dateTimeFromText, "QTimeEdit.dateTimeFromText(str) -> QDateTime");

extern "C" {static PyObject *meth_QTimeEdit_dateTimeFromText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_dateTimeFromText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDateTime*sipRes;

            sipRes = new QDateTime(sipCpp->sipProtectVirt_dateTimeFromText(sipSelfWasArg,*a0));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_dateTimeFromText, doc_QTimeEdit_dateTimeFromText);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_textFromDateTime, "QTimeEdit.textFromDateTime(QDateTime) -> str");

extern "C" {static PyObject *meth_QTimeEdit_textFromDateTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_textFromDateTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDateTime* a0;
        int a0State = 0;
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QTimeEdit, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->sipProtectVirt_textFromDateTime(sipSelfWasArg,*a0));
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_textFromDateTime, doc_QTimeEdit_textFromDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QTimeEdit_stepEnabled, "QTimeEdit.stepEnabled() -> QAbstractSpinBox.StepEnabled");

extern "C" {static PyObject *meth_QTimeEdit_stepEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QTimeEdit_stepEnabled(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QTimeEdit, &sipCpp))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled(sipCpp->sipProtectVirt_stepEnabled(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QTimeEdit, sipName_stepEnabled, doc_QTimeEdit_stepEnabled);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QTimeEdit(void *, const sipTypeDef *);}
static void *cast_QTimeEdit(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QTimeEdit)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDateTimeEdit)->ctd_cast((QDateTimeEdit *)(QTimeEdit *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QTimeEdit(void *, int);}
static void release_QTimeEdit(void *sipCppV,int)
{
    QTimeEdit *sipCpp = reinterpret_cast<QTimeEdit *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QTimeEdit(sipSimpleWrapper *);}
static void dealloc_QTimeEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQTimeEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QTimeEdit(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QTimeEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QTimeEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQTimeEdit *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQTimeEdit(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QTime* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QTime, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQTimeEdit(*a0,a1);
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QTimeEdit[] = {{55, 255, 1}};


static PyMethodDef methods_QTimeEdit[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QTimeEdit_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QTimeEdit_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QTimeEdit_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QTimeEdit_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QTimeEdit_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QTimeEdit_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QTimeEdit_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QTimeEdit_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dateTimeFromText), (PyCFunction)meth_QTimeEdit_dateTimeFromText, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QTimeEdit_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QTimeEdit_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QTimeEdit_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QTimeEdit_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QTimeEdit_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QTimeEdit_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QTimeEdit_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_fixup), (PyCFunction)meth_QTimeEdit_fixup, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QTimeEdit_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QTimeEdit_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QTimeEdit_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QTimeEdit_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QTimeEdit_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QTimeEdit_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QTimeEdit_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QTimeEdit_initStyleOption, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QTimeEdit_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QTimeEdit_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QTimeEdit_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QTimeEdit_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QTimeEdit_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEdit), (PyCFunction)meth_QTimeEdit_lineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QTimeEdit_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QTimeEdit_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QTimeEdit_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QTimeEdit_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QTimeEdit_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QTimeEdit_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QTimeEdit_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QTimeEdit_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QTimeEdit_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QTimeEdit_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QTimeEdit_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QTimeEdit_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setLineEdit), (PyCFunction)meth_QTimeEdit_setLineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QTimeEdit_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QTimeEdit_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_stepEnabled), (PyCFunction)meth_QTimeEdit_stepEnabled, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QTimeEdit_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textFromDateTime), (PyCFunction)meth_QTimeEdit_textFromDateTime, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QTimeEdit_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QTimeEdit_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), (PyCFunction)meth_QTimeEdit_validate, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QTimeEdit_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QTimeEdit, "\1QTimeEdit(QWidget parent=None)\n"
    "QTimeEdit(QTime, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QTimeEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QTimeEdit,
        {0}
    },
    {
        sipNameNr_QTimeEdit,
        {0, 0, 1},
        53, methods_QTimeEdit,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QTimeEdit,
    -1,
    -1,
    supers_QTimeEdit,
    0,
    init_type_QTimeEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QTimeEdit,
    0,
    0,
    0,
    release_QTimeEdit,
    cast_QTimeEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QTimeEdit::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 397192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 397196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QDateTimeEdit_Sections___bool__(PyObject *);}
static int slot_QDateTimeEdit_Sections___bool__(PyObject *sipSelf)
{
    QDateTimeEdit::Sections *sipCpp = reinterpret_cast<QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDateTimeEdit::Sections::Int() != 0);
#line 397214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QDateTimeEdit::Sections *sipCpp = reinterpret_cast<QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit::Sections* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTimeEdit_Sections, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDateTimeEdit::Sections::Int() != a0->operator QDateTimeEdit::Sections::Int());
#line 397244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QDateTimeEdit::Sections *>(a0),sipType_QDateTimeEdit_Sections,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QDateTimeEdit_Sections,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QDateTimeEdit::Sections *sipCpp = reinterpret_cast<QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit::Sections* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTimeEdit_Sections, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QDateTimeEdit::Sections::Int() == a0->operator QDateTimeEdit::Sections::Int());
#line 397280 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QDateTimeEdit::Sections *>(a0),sipType_QDateTimeEdit_Sections,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QDateTimeEdit_Sections,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___invert__(PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___invert__(PyObject *sipSelf)
{
    QDateTimeEdit::Sections *sipCpp = reinterpret_cast<QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return 0;


    {
        {
            QDateTimeEdit::Sections*sipRes;

            sipRes = new QDateTimeEdit::Sections(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QDateTimeEdit_Sections,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___and__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit::Sections* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDateTimeEdit_Sections, &a0, &a0State, &a1))
        {
            QDateTimeEdit::Sections*sipRes;

            sipRes = new QDateTimeEdit::Sections((*a0 & a1));
            sipReleaseType(a0,sipType_QDateTimeEdit_Sections,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDateTimeEdit_Sections,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___xor__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit::Sections* a0;
        int a0State = 0;
        QDateTimeEdit::Sections* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDateTimeEdit_Sections, &a0, &a0State, sipType_QDateTimeEdit_Sections, &a1, &a1State))
        {
            QDateTimeEdit::Sections*sipRes;

            sipRes = new QDateTimeEdit::Sections((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QDateTimeEdit_Sections,a0State);
            sipReleaseType(a1,sipType_QDateTimeEdit_Sections,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDateTimeEdit_Sections,NULL);
        }
    }

    {
        QDateTimeEdit::Sections* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDateTimeEdit_Sections, &a0, &a0State, &a1))
        {
            QDateTimeEdit::Sections*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QDateTimeEdit::Sections(*a0 ^ a1);
#line 397383 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QDateTimeEdit_Sections,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDateTimeEdit_Sections,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___or__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit::Sections* a0;
        int a0State = 0;
        QDateTimeEdit::Sections* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QDateTimeEdit_Sections, &a0, &a0State, sipType_QDateTimeEdit_Sections, &a1, &a1State))
        {
            QDateTimeEdit::Sections*sipRes;

            sipRes = new QDateTimeEdit::Sections((*a0 | *a1));
            sipReleaseType(a0,sipType_QDateTimeEdit_Sections,a0State);
            sipReleaseType(a1,sipType_QDateTimeEdit_Sections,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDateTimeEdit_Sections,NULL);
        }
    }

    {
        QDateTimeEdit::Sections* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QDateTimeEdit_Sections, &a0, &a0State, &a1))
        {
            QDateTimeEdit::Sections*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QDateTimeEdit::Sections(*a0 | a1);
#line 397433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QDateTimeEdit_Sections,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDateTimeEdit_Sections,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___int__(PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___int__(PyObject *sipSelf)
{
    QDateTimeEdit::Sections *sipCpp = reinterpret_cast<QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDateTimeEdit_Sections___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDateTimeEdit_Sections)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QDateTimeEdit::Sections *sipCpp = reinterpret_cast<QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit::Sections* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTimeEdit_Sections, &a0, &a0State))
        {
            sipCpp->QDateTimeEdit::Sections::operator^=(*a0);
            sipReleaseType(a0,sipType_QDateTimeEdit_Sections,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_QDateTimeEdit_Sections___ior__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDateTimeEdit_Sections)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QDateTimeEdit::Sections *sipCpp = reinterpret_cast<QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit::Sections* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QDateTimeEdit_Sections, &a0, &a0State))
        {
            sipCpp->QDateTimeEdit::Sections::operator|=(*a0);
            sipReleaseType(a0,sipType_QDateTimeEdit_Sections,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_QDateTimeEdit_Sections___iand__(PyObject *,PyObject *);}
static PyObject *slot_QDateTimeEdit_Sections___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QDateTimeEdit_Sections)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QDateTimeEdit::Sections *sipCpp = reinterpret_cast<QDateTimeEdit::Sections *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDateTimeEdit_Sections));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QDateTimeEdit::Sections::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDateTimeEdit_Sections(void *, const sipTypeDef *);}
static void *cast_QDateTimeEdit_Sections(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDateTimeEdit_Sections)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDateTimeEdit_Sections(void *, int);}
static void release_QDateTimeEdit_Sections(void *sipCppV,int)
{
    delete reinterpret_cast<QDateTimeEdit::Sections *>(sipCppV);
}


extern "C" {static void assign_QDateTimeEdit_Sections(void *, SIP_SSIZE_T, const void *);}
static void assign_QDateTimeEdit_Sections(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDateTimeEdit::Sections *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDateTimeEdit::Sections *>(sipSrc);
}


extern "C" {static void *array_QDateTimeEdit_Sections(SIP_SSIZE_T);}
static void *array_QDateTimeEdit_Sections(SIP_SSIZE_T sipNrElem)
{
    return new QDateTimeEdit::Sections[sipNrElem];
}


extern "C" {static void *copy_QDateTimeEdit_Sections(const void *, SIP_SSIZE_T);}
static void *copy_QDateTimeEdit_Sections(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDateTimeEdit::Sections(reinterpret_cast<const QDateTimeEdit::Sections *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDateTimeEdit_Sections(sipSimpleWrapper *);}
static void dealloc_QDateTimeEdit_Sections(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDateTimeEdit_Sections(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDateTimeEdit_Sections(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDateTimeEdit_Sections(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDateTimeEdit::Sections *sipCpp = 0;

    {
        const QDateTimeEdit::Sections* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QDateTimeEdit_Sections, &a0, &a0State))
        {
            sipCpp = new QDateTimeEdit::Sections(*a0);
            sipReleaseType(const_cast<QDateTimeEdit::Sections *>(a0),sipType_QDateTimeEdit_Sections,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QDateTimeEdit::Sections(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QDateTimeEdit::Sections();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QDateTimeEdit_Sections(PyObject *, void **, int *, PyObject *);}
static int convertTo_QDateTimeEdit_Sections(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QDateTimeEdit::Sections **sipCppPtr = reinterpret_cast<QDateTimeEdit::Sections **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QDateTimeEdit::Sections is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDateTimeEdit_Section)) ||
            sipCanConvertToType(sipPy, sipType_QDateTimeEdit_Sections, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QDateTimeEdit_Section)))
{
    *sipCppPtr = new QDateTimeEdit::Sections(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QDateTimeEdit::Sections *>(sipConvertToType(sipPy, sipType_QDateTimeEdit_Sections, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 397710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDateTimeEdit_Sections[] = {
    {(void *)slot_QDateTimeEdit_Sections___bool__, bool_slot},
    {(void *)slot_QDateTimeEdit_Sections___ne__, ne_slot},
    {(void *)slot_QDateTimeEdit_Sections___eq__, eq_slot},
    {(void *)slot_QDateTimeEdit_Sections___invert__, invert_slot},
    {(void *)slot_QDateTimeEdit_Sections___and__, and_slot},
    {(void *)slot_QDateTimeEdit_Sections___xor__, xor_slot},
    {(void *)slot_QDateTimeEdit_Sections___or__, or_slot},
    {(void *)slot_QDateTimeEdit_Sections___int__, int_slot},
    {(void *)slot_QDateTimeEdit_Sections___ixor__, ixor_slot},
    {(void *)slot_QDateTimeEdit_Sections___ior__, ior_slot},
    {(void *)slot_QDateTimeEdit_Sections___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QDateTimeEdit_Sections, "\1QDateTimeEdit.Sections(QDateTimeEdit.Sections)\n"
    "QDateTimeEdit.Sections(int)\n"
    "QDateTimeEdit.Sections()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDateTimeEdit_Sections = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDateTimeEdit__Sections,
        {0}
    },
    {
        sipNameNr_Sections,
        {55, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDateTimeEdit_Sections,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDateTimeEdit_Sections,
    init_type_QDateTimeEdit_Sections,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDateTimeEdit_Sections,
    assign_QDateTimeEdit_Sections,
    array_QDateTimeEdit_Sections,
    copy_QDateTimeEdit_Sections,
    release_QDateTimeEdit_Sections,
    cast_QDateTimeEdit_Sections,
    convertTo_QDateTimeEdit_Sections,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 397792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 397796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 299 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 397799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 397802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 157 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 397805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 397808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcalendarwidget.sip"
#include <qcalendarwidget.h>
#line 397811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 397814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 397817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 397820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 397838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 397841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 397844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatetimeedit.sip"
#include <qdatetimeedit.h>
#line 397847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 397850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 397853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 397856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 397862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 397877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 397880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 397883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 397886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 397889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 397892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 397895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 397898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 397901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 397904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 397907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 397910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 397913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 397916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 397919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 397922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 397925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 397928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 397931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 397934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 397937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 397940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 397964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 397967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 397970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 397973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 397976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 397979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 397982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 397985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 397988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 397991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 397994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 397997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 398000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 398003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 398006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 398009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 398012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 398015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 398018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 398021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 398024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 398027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDateTimeEdit : public QDateTimeEdit
{
public:
    sipQDateTimeEdit(QWidget*);
    sipQDateTimeEdit(const QDateTime&,QWidget*);
    sipQDateTimeEdit(const QDate&,QWidget*);
    sipQDateTimeEdit(const QTime&,QWidget*);
    virtual ~sipQDateTimeEdit();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    QLineEdit* sipProtect_lineEdit() const;
    void sipProtect_setLineEdit(QLineEdit*);
    void sipProtect_initStyleOption(QStyleOptionSpinBox*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    QValidator::State sipProtectVirt_validate(bool,QString&,int&) const;
    void sipProtectVirt_fixup(bool,QString&) const;
    QDateTime sipProtectVirt_dateTimeFromText(bool,const QString&) const;
    QString sipProtectVirt_textFromDateTime(bool,const QDateTime&) const;
    QAbstractSpinBox::StepEnabled sipProtectVirt_stepEnabled(bool) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void showEvent(QShowEvent*);
    void timerEvent(QTimerEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void focusOutEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void resizeEvent(QResizeEvent*);
    QSize minimumSizeHint() const;
    QAbstractSpinBox::StepEnabled stepEnabled() const;
    QString textFromDateTime(const QDateTime&) const;
    QDateTime dateTimeFromText(const QString&) const;
    void fixup(QString&) const;
    QValidator::State validate(QString&,int&) const;
    void paintEvent(QPaintEvent*);
    void mousePressEvent(QMouseEvent*);
    bool focusNextPrevChild(bool);
    void focusInEvent(QFocusEvent*);
    void wheelEvent(QWheelEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    void stepBy(int);
    void clear();
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDateTimeEdit(const sipQDateTimeEdit &);
    sipQDateTimeEdit &operator = (const sipQDateTimeEdit &);

    char sipPyMethods[53];
};

sipQDateTimeEdit::sipQDateTimeEdit(QWidget*a0): QDateTimeEdit(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDateTimeEdit::sipQDateTimeEdit(const QDateTime& a0,QWidget*a1): QDateTimeEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDateTimeEdit::sipQDateTimeEdit(const QDate& a0,QWidget*a1): QDateTimeEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDateTimeEdit::sipQDateTimeEdit(const QTime& a0,QWidget*a1): QDateTimeEdit(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDateTimeEdit::~sipQDateTimeEdit()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDateTimeEdit::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDateTimeEdit);
}

int sipQDateTimeEdit::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDateTimeEdit::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDateTimeEdit,_c,_id,_a);

    return _id;
}

void *sipQDateTimeEdit::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDateTimeEdit, _clname, &sipCpp) ? sipCpp : QDateTimeEdit::qt_metacast(_clname));
}

void sipQDateTimeEdit::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDateTimeEdit::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDateTimeEdit::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDateTimeEdit::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDateTimeEdit::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDateTimeEdit::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QDateTimeEdit::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQDateTimeEdit::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QDateTimeEdit::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDateTimeEdit::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QDateTimeEdit::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDateTimeEdit::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QDateTimeEdit::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDateTimeEdit::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDateTimeEdit::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QDateTimeEdit::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQDateTimeEdit::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QDateTimeEdit::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQDateTimeEdit::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QDateTimeEdit::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QDateTimeEdit::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDateTimeEdit::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QDateTimeEdit::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQDateTimeEdit::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QDateTimeEdit::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQDateTimeEdit::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QDateTimeEdit::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QAbstractSpinBox::StepEnabled sipQDateTimeEdit::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return QDateTimeEdit::stepEnabled();

    extern QAbstractSpinBox::StepEnabled sipVH_QtWidgets_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_137(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QString sipQDateTimeEdit::textFromDateTime(const QDateTime& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_textFromDateTime);

    if (!sipMeth)
        return QDateTimeEdit::textFromDateTime(a0);

    extern QString sipVH_QtWidgets_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QDateTime&);

    return sipVH_QtWidgets_138(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QDateTime sipQDateTimeEdit::dateTimeFromText(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_dateTimeFromText);

    if (!sipMeth)
        return QDateTimeEdit::dateTimeFromText(a0);

    extern QDateTime sipVH_QtWidgets_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtWidgets_139(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        QDateTimeEdit::fixup(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

    ((sipVH_QtGui_18)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QValidator::State sipQDateTimeEdit::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return QDateTimeEdit::validate(a0,a1);

    typedef QValidator::State (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

    return ((sipVH_QtGui_15)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[15]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDateTimeEdit::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDateTimeEdit::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QDateTimeEdit::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QDateTimeEdit::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDateTimeEdit::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDateTimeEdit::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
        QDateTimeEdit::stepBy(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDateTimeEdit::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        QDateTimeEdit::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDateTimeEdit::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QDateTimeEdit::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQDateTimeEdit::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDateTimeEdit::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDateTimeEdit::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDateTimeEdit::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDateTimeEdit::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDateTimeEdit::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQDateTimeEdit::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQDateTimeEdit::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQDateTimeEdit::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQDateTimeEdit::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQDateTimeEdit::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQDateTimeEdit::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQDateTimeEdit::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQDateTimeEdit::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQDateTimeEdit::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQDateTimeEdit::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQDateTimeEdit::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQDateTimeEdit::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::changeEvent(a0) : changeEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::closeEvent(a0) : closeEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::hideEvent(a0) : hideEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::timerEvent(a0) : timerEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::showEvent(a0) : showEvent(a0));
}

QLineEdit* sipQDateTimeEdit::sipProtect_lineEdit() const
{
    return QAbstractSpinBox::lineEdit();
}

void sipQDateTimeEdit::sipProtect_setLineEdit(QLineEdit*a0)
{
    QAbstractSpinBox::setLineEdit(a0);
}

void sipQDateTimeEdit::sipProtect_initStyleOption(QStyleOptionSpinBox*a0) const
{
    QDateTimeEdit::initStyleOption(a0);
}

void sipQDateTimeEdit::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::wheelEvent(a0) : wheelEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::focusInEvent(a0) : focusInEvent(a0));
}

bool sipQDateTimeEdit::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QDateTimeEdit::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQDateTimeEdit::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQDateTimeEdit::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QDateTimeEdit::paintEvent(a0) : paintEvent(a0));
}

QValidator::State sipQDateTimeEdit::sipProtectVirt_validate(bool sipSelfWasArg,QString& a0,int& a1) const
{
    return (sipSelfWasArg ? QDateTimeEdit::validate(a0,a1) : validate(a0,a1));
}

void sipQDateTimeEdit::sipProtectVirt_fixup(bool sipSelfWasArg,QString& a0) const
{
    (sipSelfWasArg ? QDateTimeEdit::fixup(a0) : fixup(a0));
}

QDateTime sipQDateTimeEdit::sipProtectVirt_dateTimeFromText(bool sipSelfWasArg,const QString& a0) const
{
    return (sipSelfWasArg ? QDateTimeEdit::dateTimeFromText(a0) : dateTimeFromText(a0));
}

QString sipQDateTimeEdit::sipProtectVirt_textFromDateTime(bool sipSelfWasArg,const QDateTime& a0) const
{
    return (sipSelfWasArg ? QDateTimeEdit::textFromDateTime(a0) : textFromDateTime(a0));
}

QAbstractSpinBox::StepEnabled sipQDateTimeEdit::sipProtectVirt_stepEnabled(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QDateTimeEdit::stepEnabled() : stepEnabled());
}


PyDoc_STRVAR(doc_QDateTimeEdit_sender, "QDateTimeEdit.sender() -> QObject");

extern "C" {static PyObject *meth_QDateTimeEdit_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 399426 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_sender, doc_QDateTimeEdit_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_receivers, "QDateTimeEdit.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDateTimeEdit_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDateTimeEdit, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 399485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_receivers, doc_QDateTimeEdit_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_childEvent, "QDateTimeEdit.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_childEvent, doc_QDateTimeEdit_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_customEvent, "QDateTimeEdit.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_customEvent, doc_QDateTimeEdit_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_connectNotify, "QDateTimeEdit.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDateTimeEdit_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_connectNotify, doc_QDateTimeEdit_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_disconnectNotify, "QDateTimeEdit.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDateTimeEdit_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_disconnectNotify, doc_QDateTimeEdit_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_senderSignalIndex, "QDateTimeEdit.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDateTimeEdit_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_senderSignalIndex, doc_QDateTimeEdit_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_isSignalConnected, "QDateTimeEdit.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDateTimeEdit_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_isSignalConnected, doc_QDateTimeEdit_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_mouseDoubleClickEvent, "QDateTimeEdit.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_mouseDoubleClickEvent, doc_QDateTimeEdit_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_enterEvent, "QDateTimeEdit.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_enterEvent, doc_QDateTimeEdit_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_leaveEvent, "QDateTimeEdit.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_leaveEvent, doc_QDateTimeEdit_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_moveEvent, "QDateTimeEdit.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_moveEvent, doc_QDateTimeEdit_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_tabletEvent, "QDateTimeEdit.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_tabletEvent, doc_QDateTimeEdit_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_actionEvent, "QDateTimeEdit.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_actionEvent, doc_QDateTimeEdit_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_dragEnterEvent, "QDateTimeEdit.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_dragEnterEvent, doc_QDateTimeEdit_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_dragMoveEvent, "QDateTimeEdit.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_dragMoveEvent, doc_QDateTimeEdit_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_dragLeaveEvent, "QDateTimeEdit.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_dragLeaveEvent, doc_QDateTimeEdit_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_dropEvent, "QDateTimeEdit.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_dropEvent, doc_QDateTimeEdit_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_metric, "QDateTimeEdit.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QDateTimeEdit_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_metric, doc_QDateTimeEdit_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_inputMethodEvent, "QDateTimeEdit.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_inputMethodEvent, doc_QDateTimeEdit_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_updateMicroFocus, "QDateTimeEdit.updateMicroFocus()");

extern "C" {static PyObject *meth_QDateTimeEdit_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_updateMicroFocus, doc_QDateTimeEdit_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_create, "QDateTimeEdit.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QDateTimeEdit_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQDateTimeEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_create, doc_QDateTimeEdit_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_destroy, "QDateTimeEdit.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QDateTimeEdit_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQDateTimeEdit *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QDateTimeEdit, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_destroy, doc_QDateTimeEdit_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_focusNextChild, "QDateTimeEdit.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QDateTimeEdit_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_focusNextChild, doc_QDateTimeEdit_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_focusPreviousChild, "QDateTimeEdit.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QDateTimeEdit_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_focusPreviousChild, doc_QDateTimeEdit_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_nativeEvent, "QDateTimeEdit.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QDateTimeEdit_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_nativeEvent, doc_QDateTimeEdit_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_sharedPainter, "QDateTimeEdit.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QDateTimeEdit_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_sharedPainter, doc_QDateTimeEdit_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_initPainter, "QDateTimeEdit.initPainter(QPainter)");

extern "C" {static PyObject *meth_QDateTimeEdit_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_initPainter, doc_QDateTimeEdit_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_resizeEvent, "QDateTimeEdit.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_resizeEvent, doc_QDateTimeEdit_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_keyReleaseEvent, "QDateTimeEdit.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_keyReleaseEvent, doc_QDateTimeEdit_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_focusOutEvent, "QDateTimeEdit.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_focusOutEvent, doc_QDateTimeEdit_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_contextMenuEvent, "QDateTimeEdit.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_contextMenuEvent, doc_QDateTimeEdit_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_changeEvent, "QDateTimeEdit.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_changeEvent, doc_QDateTimeEdit_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_closeEvent, "QDateTimeEdit.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_closeEvent, doc_QDateTimeEdit_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_hideEvent, "QDateTimeEdit.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_hideEvent, doc_QDateTimeEdit_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_mouseReleaseEvent, "QDateTimeEdit.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_mouseReleaseEvent, doc_QDateTimeEdit_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_mouseMoveEvent, "QDateTimeEdit.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_mouseMoveEvent, doc_QDateTimeEdit_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_timerEvent, "QDateTimeEdit.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_timerEvent, doc_QDateTimeEdit_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_showEvent, "QDateTimeEdit.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_showEvent, doc_QDateTimeEdit_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_lineEdit, "QDateTimeEdit.lineEdit() -> QLineEdit");

extern "C" {static PyObject *meth_QDateTimeEdit_lineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_lineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QLineEdit*sipRes;

            sipRes = sipCpp->sipProtect_lineEdit();

            return sipConvertFromType(sipRes,sipType_QLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_lineEdit, doc_QDateTimeEdit_lineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setLineEdit, "QDateTimeEdit.setLineEdit(QLineEdit)");

extern "C" {static PyObject *meth_QDateTimeEdit_setLineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setLineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QLineEdit, &a0))
        {
            sipCpp->sipProtect_setLineEdit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setLineEdit, doc_QDateTimeEdit_setLineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_dateTime, "QDateTimeEdit.dateTime() -> QDateTime");

extern "C" {static PyObject *meth_QDateTimeEdit_dateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_dateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QDateTime*sipRes;

            sipRes = new QDateTime(sipCpp->dateTime());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_dateTime, doc_QDateTimeEdit_dateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_date, "QDateTimeEdit.date() -> QDate");

extern "C" {static PyObject *meth_QDateTimeEdit_date(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_date(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QDate*sipRes;

            sipRes = new QDate(sipCpp->date());

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_date, doc_QDateTimeEdit_date);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_time, "QDateTimeEdit.time() -> QTime");

extern "C" {static PyObject *meth_QDateTimeEdit_time(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_time(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QTime*sipRes;

            sipRes = new QTime(sipCpp->time());

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_time, doc_QDateTimeEdit_time);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_minimumDate, "QDateTimeEdit.minimumDate() -> QDate");

extern "C" {static PyObject *meth_QDateTimeEdit_minimumDate(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_minimumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QDate*sipRes;

            sipRes = new QDate(sipCpp->minimumDate());

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_minimumDate, doc_QDateTimeEdit_minimumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setMinimumDate, "QDateTimeEdit.setMinimumDate(QDate)");

extern "C" {static PyObject *meth_QDateTimeEdit_setMinimumDate(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setMinimumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            sipCpp->setMinimumDate(*a0);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setMinimumDate, doc_QDateTimeEdit_setMinimumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_clearMinimumDate, "QDateTimeEdit.clearMinimumDate()");

extern "C" {static PyObject *meth_QDateTimeEdit_clearMinimumDate(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_clearMinimumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            sipCpp->clearMinimumDate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_clearMinimumDate, doc_QDateTimeEdit_clearMinimumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_maximumDate, "QDateTimeEdit.maximumDate() -> QDate");

extern "C" {static PyObject *meth_QDateTimeEdit_maximumDate(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_maximumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QDate*sipRes;

            sipRes = new QDate(sipCpp->maximumDate());

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_maximumDate, doc_QDateTimeEdit_maximumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setMaximumDate, "QDateTimeEdit.setMaximumDate(QDate)");

extern "C" {static PyObject *meth_QDateTimeEdit_setMaximumDate(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setMaximumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            sipCpp->setMaximumDate(*a0);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setMaximumDate, doc_QDateTimeEdit_setMaximumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_clearMaximumDate, "QDateTimeEdit.clearMaximumDate()");

extern "C" {static PyObject *meth_QDateTimeEdit_clearMaximumDate(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_clearMaximumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            sipCpp->clearMaximumDate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_clearMaximumDate, doc_QDateTimeEdit_clearMaximumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setDateRange, "QDateTimeEdit.setDateRange(QDate, QDate)");

extern "C" {static PyObject *meth_QDateTimeEdit_setDateRange(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setDateRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        const QDate* a1;
        int a1State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDate, &a0, &a0State, sipType_QDate, &a1, &a1State))
        {
            sipCpp->setDateRange(*a0,*a1);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);
            sipReleaseType(const_cast<QDate *>(a1),sipType_QDate,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setDateRange, doc_QDateTimeEdit_setDateRange);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_minimumTime, "QDateTimeEdit.minimumTime() -> QTime");

extern "C" {static PyObject *meth_QDateTimeEdit_minimumTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_minimumTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QTime*sipRes;

            sipRes = new QTime(sipCpp->minimumTime());

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_minimumTime, doc_QDateTimeEdit_minimumTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setMinimumTime, "QDateTimeEdit.setMinimumTime(QTime)");

extern "C" {static PyObject *meth_QDateTimeEdit_setMinimumTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setMinimumTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTime* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            sipCpp->setMinimumTime(*a0);
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setMinimumTime, doc_QDateTimeEdit_setMinimumTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_clearMinimumTime, "QDateTimeEdit.clearMinimumTime()");

extern "C" {static PyObject *meth_QDateTimeEdit_clearMinimumTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_clearMinimumTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            sipCpp->clearMinimumTime();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_clearMinimumTime, doc_QDateTimeEdit_clearMinimumTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_maximumTime, "QDateTimeEdit.maximumTime() -> QTime");

extern "C" {static PyObject *meth_QDateTimeEdit_maximumTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_maximumTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QTime*sipRes;

            sipRes = new QTime(sipCpp->maximumTime());

            return sipConvertFromNewType(sipRes,sipType_QTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_maximumTime, doc_QDateTimeEdit_maximumTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setMaximumTime, "QDateTimeEdit.setMaximumTime(QTime)");

extern "C" {static PyObject *meth_QDateTimeEdit_setMaximumTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setMaximumTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTime* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            sipCpp->setMaximumTime(*a0);
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setMaximumTime, doc_QDateTimeEdit_setMaximumTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_clearMaximumTime, "QDateTimeEdit.clearMaximumTime()");

extern "C" {static PyObject *meth_QDateTimeEdit_clearMaximumTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_clearMaximumTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            sipCpp->clearMaximumTime();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_clearMaximumTime, doc_QDateTimeEdit_clearMaximumTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setTimeRange, "QDateTimeEdit.setTimeRange(QTime, QTime)");

extern "C" {static PyObject *meth_QDateTimeEdit_setTimeRange(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setTimeRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTime* a0;
        int a0State = 0;
        const QTime* a1;
        int a1State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QTime, &a0, &a0State, sipType_QTime, &a1, &a1State))
        {
            sipCpp->setTimeRange(*a0,*a1);
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);
            sipReleaseType(const_cast<QTime *>(a1),sipType_QTime,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setTimeRange, doc_QDateTimeEdit_setTimeRange);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_displayedSections, "QDateTimeEdit.displayedSections() -> QDateTimeEdit.Sections");

extern "C" {static PyObject *meth_QDateTimeEdit_displayedSections(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_displayedSections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QDateTimeEdit::Sections*sipRes;

            sipRes = new QDateTimeEdit::Sections(sipCpp->displayedSections());

            return sipConvertFromNewType(sipRes,sipType_QDateTimeEdit_Sections,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_displayedSections, doc_QDateTimeEdit_displayedSections);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_currentSection, "QDateTimeEdit.currentSection() -> QDateTimeEdit.Section");

extern "C" {static PyObject *meth_QDateTimeEdit_currentSection(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_currentSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QDateTimeEdit::Section sipRes;

            sipRes = sipCpp->currentSection();

            return sipConvertFromEnum(sipRes,sipType_QDateTimeEdit_Section);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_currentSection, doc_QDateTimeEdit_currentSection);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setCurrentSection, "QDateTimeEdit.setCurrentSection(QDateTimeEdit.Section)");

extern "C" {static PyObject *meth_QDateTimeEdit_setCurrentSection(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setCurrentSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit::Section a0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDateTimeEdit_Section, &a0))
        {
            sipCpp->setCurrentSection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setCurrentSection, doc_QDateTimeEdit_setCurrentSection);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_sectionText, "QDateTimeEdit.sectionText(QDateTimeEdit.Section) -> str");

extern "C" {static PyObject *meth_QDateTimeEdit_sectionText(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_sectionText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit::Section a0;
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDateTimeEdit_Section, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->sectionText(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_sectionText, doc_QDateTimeEdit_sectionText);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_displayFormat, "QDateTimeEdit.displayFormat() -> str");

extern "C" {static PyObject *meth_QDateTimeEdit_displayFormat(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_displayFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->displayFormat());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_displayFormat, doc_QDateTimeEdit_displayFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setDisplayFormat, "QDateTimeEdit.setDisplayFormat(str)");

extern "C" {static PyObject *meth_QDateTimeEdit_setDisplayFormat(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setDisplayFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDisplayFormat(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setDisplayFormat, doc_QDateTimeEdit_setDisplayFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_calendarPopup, "QDateTimeEdit.calendarPopup() -> bool");

extern "C" {static PyObject *meth_QDateTimeEdit_calendarPopup(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_calendarPopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->calendarPopup();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_calendarPopup, doc_QDateTimeEdit_calendarPopup);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setCalendarPopup, "QDateTimeEdit.setCalendarPopup(bool)");

extern "C" {static PyObject *meth_QDateTimeEdit_setCalendarPopup(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setCalendarPopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDateTimeEdit, &sipCpp, &a0))
        {
            sipCpp->setCalendarPopup(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setCalendarPopup, doc_QDateTimeEdit_setCalendarPopup);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setSelectedSection, "QDateTimeEdit.setSelectedSection(QDateTimeEdit.Section)");

extern "C" {static PyObject *meth_QDateTimeEdit_setSelectedSection(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setSelectedSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit::Section a0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDateTimeEdit_Section, &a0))
        {
            sipCpp->setSelectedSection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setSelectedSection, doc_QDateTimeEdit_setSelectedSection);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_sizeHint, "QDateTimeEdit.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QDateTimeEdit_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QDateTimeEdit::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_sizeHint, doc_QDateTimeEdit_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_clear, "QDateTimeEdit.clear()");

extern "C" {static PyObject *meth_QDateTimeEdit_clear(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QDateTimeEdit::clear() : sipCpp->clear());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_clear, doc_QDateTimeEdit_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_stepBy, "QDateTimeEdit.stepBy(int)");

extern "C" {static PyObject *meth_QDateTimeEdit_stepBy(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_stepBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDateTimeEdit, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QDateTimeEdit::stepBy(a0) : sipCpp->stepBy(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_stepBy, doc_QDateTimeEdit_stepBy);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_event, "QDateTimeEdit.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QDateTimeEdit_event(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QDateTimeEdit::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_event, doc_QDateTimeEdit_event);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_sectionAt, "QDateTimeEdit.sectionAt(int) -> QDateTimeEdit.Section");

extern "C" {static PyObject *meth_QDateTimeEdit_sectionAt(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_sectionAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDateTimeEdit, &sipCpp, &a0))
        {
            QDateTimeEdit::Section sipRes;

            sipRes = sipCpp->sectionAt(a0);

            return sipConvertFromEnum(sipRes,sipType_QDateTimeEdit_Section);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_sectionAt, doc_QDateTimeEdit_sectionAt);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_currentSectionIndex, "QDateTimeEdit.currentSectionIndex() -> int");

extern "C" {static PyObject *meth_QDateTimeEdit_currentSectionIndex(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_currentSectionIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentSectionIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_currentSectionIndex, doc_QDateTimeEdit_currentSectionIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setCurrentSectionIndex, "QDateTimeEdit.setCurrentSectionIndex(int)");

extern "C" {static PyObject *meth_QDateTimeEdit_setCurrentSectionIndex(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setCurrentSectionIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDateTimeEdit, &sipCpp, &a0))
        {
            sipCpp->setCurrentSectionIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setCurrentSectionIndex, doc_QDateTimeEdit_setCurrentSectionIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_sectionCount, "QDateTimeEdit.sectionCount() -> int");

extern "C" {static PyObject *meth_QDateTimeEdit_sectionCount(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_sectionCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sectionCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_sectionCount, doc_QDateTimeEdit_sectionCount);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setDateTime, "QDateTimeEdit.setDateTime(QDateTime)");

extern "C" {static PyObject *meth_QDateTimeEdit_setDateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTime* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            sipCpp->setDateTime(*a0);
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setDateTime, doc_QDateTimeEdit_setDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setDate, "QDateTimeEdit.setDate(QDate)");

extern "C" {static PyObject *meth_QDateTimeEdit_setDate(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            sipCpp->setDate(*a0);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setDate, doc_QDateTimeEdit_setDate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setTime, "QDateTimeEdit.setTime(QTime)");

extern "C" {static PyObject *meth_QDateTimeEdit_setTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTime* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QTime, &a0, &a0State))
        {
            sipCpp->setTime(*a0);
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setTime, doc_QDateTimeEdit_setTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_initStyleOption, "QDateTimeEdit.initStyleOption(QStyleOptionSpinBox)");

extern "C" {static PyObject *meth_QDateTimeEdit_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionSpinBox* a0;
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QStyleOptionSpinBox, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_initStyleOption, doc_QDateTimeEdit_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_keyPressEvent, "QDateTimeEdit.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_keyPressEvent, doc_QDateTimeEdit_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_wheelEvent, "QDateTimeEdit.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_wheelEvent, doc_QDateTimeEdit_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_focusInEvent, "QDateTimeEdit.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_focusInEvent, doc_QDateTimeEdit_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_focusNextPrevChild, "QDateTimeEdit.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QDateTimeEdit_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDateTimeEdit, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_focusNextPrevChild, doc_QDateTimeEdit_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_mousePressEvent, "QDateTimeEdit.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_mousePressEvent, doc_QDateTimeEdit_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_paintEvent, "QDateTimeEdit.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QDateTimeEdit_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_paintEvent, doc_QDateTimeEdit_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_validate, "QDateTimeEdit.validate(str, int) -> (QValidator.State, str, int)");

extern "C" {static PyObject *meth_QDateTimeEdit_validate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_validate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        int a1;
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1i", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            sipRes = sipCpp->sipProtectVirt_validate(sipSelfWasArg,*a0,a1);

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_validate, doc_QDateTimeEdit_validate);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_fixup, "QDateTimeEdit.fixup(str) -> str");

extern "C" {static PyObject *meth_QDateTimeEdit_fixup(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_fixup(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            sipCpp->sipProtectVirt_fixup(sipSelfWasArg,*a0);

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_fixup, doc_QDateTimeEdit_fixup);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_dateTimeFromText, "QDateTimeEdit.dateTimeFromText(str) -> QDateTime");

extern "C" {static PyObject *meth_QDateTimeEdit_dateTimeFromText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_dateTimeFromText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDateTime*sipRes;

            sipRes = new QDateTime(sipCpp->sipProtectVirt_dateTimeFromText(sipSelfWasArg,*a0));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_dateTimeFromText, doc_QDateTimeEdit_dateTimeFromText);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_textFromDateTime, "QDateTimeEdit.textFromDateTime(QDateTime) -> str");

extern "C" {static PyObject *meth_QDateTimeEdit_textFromDateTime(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_textFromDateTime(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDateTime* a0;
        int a0State = 0;
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->sipProtectVirt_textFromDateTime(sipSelfWasArg,*a0));
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_textFromDateTime, doc_QDateTimeEdit_textFromDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_stepEnabled, "QDateTimeEdit.stepEnabled() -> QAbstractSpinBox.StepEnabled");

extern "C" {static PyObject *meth_QDateTimeEdit_stepEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_stepEnabled(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDateTimeEdit *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled(sipCpp->sipProtectVirt_stepEnabled(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_stepEnabled, doc_QDateTimeEdit_stepEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_minimumDateTime, "QDateTimeEdit.minimumDateTime() -> QDateTime");

extern "C" {static PyObject *meth_QDateTimeEdit_minimumDateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_minimumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QDateTime*sipRes;

            sipRes = new QDateTime(sipCpp->minimumDateTime());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_minimumDateTime, doc_QDateTimeEdit_minimumDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_clearMinimumDateTime, "QDateTimeEdit.clearMinimumDateTime()");

extern "C" {static PyObject *meth_QDateTimeEdit_clearMinimumDateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_clearMinimumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            sipCpp->clearMinimumDateTime();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_clearMinimumDateTime, doc_QDateTimeEdit_clearMinimumDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setMinimumDateTime, "QDateTimeEdit.setMinimumDateTime(QDateTime)");

extern "C" {static PyObject *meth_QDateTimeEdit_setMinimumDateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setMinimumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTime* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            sipCpp->setMinimumDateTime(*a0);
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setMinimumDateTime, doc_QDateTimeEdit_setMinimumDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_maximumDateTime, "QDateTimeEdit.maximumDateTime() -> QDateTime");

extern "C" {static PyObject *meth_QDateTimeEdit_maximumDateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_maximumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QDateTime*sipRes;

            sipRes = new QDateTime(sipCpp->maximumDateTime());

            return sipConvertFromNewType(sipRes,sipType_QDateTime,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_maximumDateTime, doc_QDateTimeEdit_maximumDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_clearMaximumDateTime, "QDateTimeEdit.clearMaximumDateTime()");

extern "C" {static PyObject *meth_QDateTimeEdit_clearMaximumDateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_clearMaximumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            sipCpp->clearMaximumDateTime();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_clearMaximumDateTime, doc_QDateTimeEdit_clearMaximumDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setMaximumDateTime, "QDateTimeEdit.setMaximumDateTime(QDateTime)");

extern "C" {static PyObject *meth_QDateTimeEdit_setMaximumDateTime(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setMaximumDateTime(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTime* a0;
        int a0State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDateTime, &a0, &a0State))
        {
            sipCpp->setMaximumDateTime(*a0);
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setMaximumDateTime, doc_QDateTimeEdit_setMaximumDateTime);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setDateTimeRange, "QDateTimeEdit.setDateTimeRange(QDateTime, QDateTime)");

extern "C" {static PyObject *meth_QDateTimeEdit_setDateTimeRange(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setDateTimeRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTime* a0;
        int a0State = 0;
        const QDateTime* a1;
        int a1State = 0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QDateTime, &a0, &a0State, sipType_QDateTime, &a1, &a1State))
        {
            sipCpp->setDateTimeRange(*a0,*a1);
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);
            sipReleaseType(const_cast<QDateTime *>(a1),sipType_QDateTime,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setDateTimeRange, doc_QDateTimeEdit_setDateTimeRange);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_calendarWidget, "QDateTimeEdit.calendarWidget() -> QCalendarWidget");

extern "C" {static PyObject *meth_QDateTimeEdit_calendarWidget(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_calendarWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            QCalendarWidget*sipRes;

            sipRes = sipCpp->calendarWidget();

            return sipConvertFromType(sipRes,sipType_QCalendarWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_calendarWidget, doc_QDateTimeEdit_calendarWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setCalendarWidget, "QDateTimeEdit.setCalendarWidget(QCalendarWidget)");

extern "C" {static PyObject *meth_QDateTimeEdit_setCalendarWidget(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setCalendarWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget* a0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_QCalendarWidget, &a0))
        {
            sipCpp->setCalendarWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setCalendarWidget, doc_QDateTimeEdit_setCalendarWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_timeSpec, "QDateTimeEdit.timeSpec() -> Qt.TimeSpec");

extern "C" {static PyObject *meth_QDateTimeEdit_timeSpec(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_timeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDateTimeEdit, &sipCpp))
        {
            Qt::TimeSpec sipRes;

            sipRes = sipCpp->timeSpec();

            return sipConvertFromEnum(sipRes,sipType_Qt_TimeSpec);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_timeSpec, doc_QDateTimeEdit_timeSpec);

    return NULL;
}


PyDoc_STRVAR(doc_QDateTimeEdit_setTimeSpec, "QDateTimeEdit.setTimeSpec(Qt.TimeSpec)");

extern "C" {static PyObject *meth_QDateTimeEdit_setTimeSpec(PyObject *, PyObject *);}
static PyObject *meth_QDateTimeEdit_setTimeSpec(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TimeSpec a0;
        QDateTimeEdit *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDateTimeEdit, &sipCpp, sipType_Qt_TimeSpec, &a0))
        {
            sipCpp->setTimeSpec(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDateTimeEdit, sipName_setTimeSpec, doc_QDateTimeEdit_setTimeSpec);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDateTimeEdit(void *, const sipTypeDef *);}
static void *cast_QDateTimeEdit(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDateTimeEdit)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractSpinBox)->ctd_cast((QAbstractSpinBox *)(QDateTimeEdit *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDateTimeEdit(void *, int);}
static void release_QDateTimeEdit(void *sipCppV,int)
{
    QDateTimeEdit *sipCpp = reinterpret_cast<QDateTimeEdit *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDateTimeEdit(sipSimpleWrapper *);}
static void dealloc_QDateTimeEdit(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDateTimeEdit *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDateTimeEdit(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDateTimeEdit(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDateTimeEdit(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDateTimeEdit *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQDateTimeEdit(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QDateTime* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QDateTime, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQDateTimeEdit(*a0,a1);
            sipReleaseType(const_cast<QDateTime *>(a0),sipType_QDateTime,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QDate* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QDate, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQDateTimeEdit(*a0,a1);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QTime* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QTime, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQDateTimeEdit(*a0,a1);
            sipReleaseType(const_cast<QTime *>(a0),sipType_QTime,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDateTimeEdit[] = {{20, 255, 1}};


static PyMethodDef methods_QDateTimeEdit[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QDateTimeEdit_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_calendarPopup), meth_QDateTimeEdit_calendarPopup, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_calendarPopup)},
    {SIP_MLNAME_CAST(sipName_calendarWidget), meth_QDateTimeEdit_calendarWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_calendarWidget)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QDateTimeEdit_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDateTimeEdit_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QDateTimeEdit_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_clear)},
    {SIP_MLNAME_CAST(sipName_clearMaximumDate), meth_QDateTimeEdit_clearMaximumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_clearMaximumDate)},
    {SIP_MLNAME_CAST(sipName_clearMaximumDateTime), meth_QDateTimeEdit_clearMaximumDateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_clearMaximumDateTime)},
    {SIP_MLNAME_CAST(sipName_clearMaximumTime), meth_QDateTimeEdit_clearMaximumTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_clearMaximumTime)},
    {SIP_MLNAME_CAST(sipName_clearMinimumDate), meth_QDateTimeEdit_clearMinimumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_clearMinimumDate)},
    {SIP_MLNAME_CAST(sipName_clearMinimumDateTime), meth_QDateTimeEdit_clearMinimumDateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_clearMinimumDateTime)},
    {SIP_MLNAME_CAST(sipName_clearMinimumTime), meth_QDateTimeEdit_clearMinimumTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_clearMinimumTime)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QDateTimeEdit_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDateTimeEdit_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDateTimeEdit_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDateTimeEdit_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentSection), meth_QDateTimeEdit_currentSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_currentSection)},
    {SIP_MLNAME_CAST(sipName_currentSectionIndex), meth_QDateTimeEdit_currentSectionIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_currentSectionIndex)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDateTimeEdit_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_date), meth_QDateTimeEdit_date, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_date)},
    {SIP_MLNAME_CAST(sipName_dateTime), meth_QDateTimeEdit_dateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_dateTime)},
    {SIP_MLNAME_CAST(sipName_dateTimeFromText), (PyCFunction)meth_QDateTimeEdit_dateTimeFromText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_dateTimeFromText)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QDateTimeEdit_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDateTimeEdit_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_displayFormat), meth_QDateTimeEdit_displayFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_displayFormat)},
    {SIP_MLNAME_CAST(sipName_displayedSections), meth_QDateTimeEdit_displayedSections, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_displayedSections)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDateTimeEdit_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDateTimeEdit_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDateTimeEdit_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDateTimeEdit_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QDateTimeEdit_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_QDateTimeEdit_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_event)},
    {SIP_MLNAME_CAST(sipName_fixup), (PyCFunction)meth_QDateTimeEdit_fixup, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_fixup)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDateTimeEdit_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QDateTimeEdit_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QDateTimeEdit_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDateTimeEdit_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QDateTimeEdit_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QDateTimeEdit_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QDateTimeEdit_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QDateTimeEdit_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDateTimeEdit_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDateTimeEdit_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDateTimeEdit_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDateTimeEdit_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QDateTimeEdit_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEdit), (PyCFunction)meth_QDateTimeEdit_lineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumDate), meth_QDateTimeEdit_maximumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_maximumDate)},
    {SIP_MLNAME_CAST(sipName_maximumDateTime), meth_QDateTimeEdit_maximumDateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_maximumDateTime)},
    {SIP_MLNAME_CAST(sipName_maximumTime), meth_QDateTimeEdit_maximumTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_maximumTime)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QDateTimeEdit_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumDate), meth_QDateTimeEdit_minimumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_minimumDate)},
    {SIP_MLNAME_CAST(sipName_minimumDateTime), meth_QDateTimeEdit_minimumDateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_minimumDateTime)},
    {SIP_MLNAME_CAST(sipName_minimumTime), meth_QDateTimeEdit_minimumTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_minimumTime)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDateTimeEdit_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDateTimeEdit_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDateTimeEdit_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDateTimeEdit_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QDateTimeEdit_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QDateTimeEdit_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QDateTimeEdit_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDateTimeEdit_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QDateTimeEdit_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sectionAt), meth_QDateTimeEdit_sectionAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_sectionAt)},
    {SIP_MLNAME_CAST(sipName_sectionCount), meth_QDateTimeEdit_sectionCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_sectionCount)},
    {SIP_MLNAME_CAST(sipName_sectionText), meth_QDateTimeEdit_sectionText, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_sectionText)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDateTimeEdit_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDateTimeEdit_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCalendarPopup), meth_QDateTimeEdit_setCalendarPopup, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setCalendarPopup)},
    {SIP_MLNAME_CAST(sipName_setCalendarWidget), meth_QDateTimeEdit_setCalendarWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setCalendarWidget)},
    {SIP_MLNAME_CAST(sipName_setCurrentSection), meth_QDateTimeEdit_setCurrentSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setCurrentSection)},
    {SIP_MLNAME_CAST(sipName_setCurrentSectionIndex), meth_QDateTimeEdit_setCurrentSectionIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setCurrentSectionIndex)},
    {SIP_MLNAME_CAST(sipName_setDate), meth_QDateTimeEdit_setDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setDate)},
    {SIP_MLNAME_CAST(sipName_setDateRange), meth_QDateTimeEdit_setDateRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setDateRange)},
    {SIP_MLNAME_CAST(sipName_setDateTime), meth_QDateTimeEdit_setDateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setDateTime)},
    {SIP_MLNAME_CAST(sipName_setDateTimeRange), meth_QDateTimeEdit_setDateTimeRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setDateTimeRange)},
    {SIP_MLNAME_CAST(sipName_setDisplayFormat), meth_QDateTimeEdit_setDisplayFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setDisplayFormat)},
    {SIP_MLNAME_CAST(sipName_setLineEdit), (PyCFunction)meth_QDateTimeEdit_setLineEdit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setMaximumDate), meth_QDateTimeEdit_setMaximumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setMaximumDate)},
    {SIP_MLNAME_CAST(sipName_setMaximumDateTime), meth_QDateTimeEdit_setMaximumDateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setMaximumDateTime)},
    {SIP_MLNAME_CAST(sipName_setMaximumTime), meth_QDateTimeEdit_setMaximumTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setMaximumTime)},
    {SIP_MLNAME_CAST(sipName_setMinimumDate), meth_QDateTimeEdit_setMinimumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setMinimumDate)},
    {SIP_MLNAME_CAST(sipName_setMinimumDateTime), meth_QDateTimeEdit_setMinimumDateTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setMinimumDateTime)},
    {SIP_MLNAME_CAST(sipName_setMinimumTime), meth_QDateTimeEdit_setMinimumTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setMinimumTime)},
    {SIP_MLNAME_CAST(sipName_setSelectedSection), meth_QDateTimeEdit_setSelectedSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setSelectedSection)},
    {SIP_MLNAME_CAST(sipName_setTime), meth_QDateTimeEdit_setTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setTime)},
    {SIP_MLNAME_CAST(sipName_setTimeRange), meth_QDateTimeEdit_setTimeRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setTimeRange)},
    {SIP_MLNAME_CAST(sipName_setTimeSpec), meth_QDateTimeEdit_setTimeSpec, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_setTimeSpec)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QDateTimeEdit_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QDateTimeEdit_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QDateTimeEdit_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_sizeHint)},
    {SIP_MLNAME_CAST(sipName_stepBy), meth_QDateTimeEdit_stepBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_stepBy)},
    {SIP_MLNAME_CAST(sipName_stepEnabled), (PyCFunction)meth_QDateTimeEdit_stepEnabled, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_stepEnabled)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QDateTimeEdit_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textFromDateTime), (PyCFunction)meth_QDateTimeEdit_textFromDateTime, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_textFromDateTime)},
    {SIP_MLNAME_CAST(sipName_time), meth_QDateTimeEdit_time, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_time)},
    {SIP_MLNAME_CAST(sipName_timeSpec), meth_QDateTimeEdit_timeSpec, METH_VARARGS, SIP_MLDOC_CAST(doc_QDateTimeEdit_timeSpec)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDateTimeEdit_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDateTimeEdit_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), (PyCFunction)meth_QDateTimeEdit_validate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_validate)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDateTimeEdit_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDateTimeEdit_wheelEvent)}
};

static sipEnumMemberDef enummembers_QDateTimeEdit[] = {
    {sipName_AmPmSection, static_cast<int>(QDateTimeEdit::AmPmSection), 56},
    {sipName_DateSections_Mask, static_cast<int>(QDateTimeEdit::DateSections_Mask), 56},
    {sipName_DaySection, static_cast<int>(QDateTimeEdit::DaySection), 56},
    {sipName_HourSection, static_cast<int>(QDateTimeEdit::HourSection), 56},
    {sipName_MSecSection, static_cast<int>(QDateTimeEdit::MSecSection), 56},
    {sipName_MinuteSection, static_cast<int>(QDateTimeEdit::MinuteSection), 56},
    {sipName_MonthSection, static_cast<int>(QDateTimeEdit::MonthSection), 56},
    {sipName_NoSection, static_cast<int>(QDateTimeEdit::NoSection), 56},
    {sipName_SecondSection, static_cast<int>(QDateTimeEdit::SecondSection), 56},
    {sipName_TimeSections_Mask, static_cast<int>(QDateTimeEdit::TimeSections_Mask), 56},
    {sipName_YearSection, static_cast<int>(QDateTimeEdit::YearSection), 56},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDateTimeEdit[] = {
    {"dateChanged(QDate)", "\1QDateTimeEdit.dateChanged[QDate]", 0, 0},
    {"timeChanged(QTime)", "\1QDateTimeEdit.timeChanged[QTime]", 0, 0},
    {"dateTimeChanged(QDateTime)", "\1QDateTimeEdit.dateTimeChanged[QDateTime]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDateTimeEdit, "\1QDateTimeEdit(QWidget parent=None)\n"
    "QDateTimeEdit(QDateTime, QWidget parent=None)\n"
    "QDateTimeEdit(QDate, QWidget parent=None)\n"
    "QDateTimeEdit(QTime, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDateTimeEdit = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDateTimeEdit,
        {0}
    },
    {
        sipNameNr_QDateTimeEdit,
        {0, 0, 1},
        101, methods_QDateTimeEdit,
        11, enummembers_QDateTimeEdit,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDateTimeEdit,
    -1,
    -1,
    supers_QDateTimeEdit,
    0,
    init_type_QDateTimeEdit,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDateTimeEdit,
    0,
    0,
    0,
    release_QDateTimeEdit,
    cast_QDateTimeEdit,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDateTimeEdit::staticMetaObject,
    0,
    signals_QDateTimeEdit,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdatawidgetmapper.sip"
#include <qdatawidgetmapper.h>
#line 402622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 402626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 402629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 402632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 402635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 402638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 402641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 402644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 402647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 402650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 402653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 402656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 402659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 402662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 402665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 402668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 402671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 402674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 402677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 402680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 402683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDataWidgetMapper : public QDataWidgetMapper
{
public:
    sipQDataWidgetMapper(QObject*);
    virtual ~sipQDataWidgetMapper();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    void setCurrentIndex(int);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDataWidgetMapper(const sipQDataWidgetMapper &);
    sipQDataWidgetMapper &operator = (const sipQDataWidgetMapper &);

    char sipPyMethods[8];
};

sipQDataWidgetMapper::sipQDataWidgetMapper(QObject*a0): QDataWidgetMapper(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDataWidgetMapper::~sipQDataWidgetMapper()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDataWidgetMapper::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDataWidgetMapper);
}

int sipQDataWidgetMapper::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDataWidgetMapper::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDataWidgetMapper,_c,_id,_a);

    return _id;
}

void *sipQDataWidgetMapper::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDataWidgetMapper, _clname, &sipCpp) ? sipCpp : QDataWidgetMapper::qt_metacast(_clname));
}

void sipQDataWidgetMapper::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDataWidgetMapper::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDataWidgetMapper::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDataWidgetMapper::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDataWidgetMapper::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDataWidgetMapper::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDataWidgetMapper::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDataWidgetMapper::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDataWidgetMapper::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDataWidgetMapper::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDataWidgetMapper::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDataWidgetMapper::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQDataWidgetMapper::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDataWidgetMapper::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDataWidgetMapper::setCurrentIndex(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_setCurrentIndex);

    if (!sipMeth)
    {
        QDataWidgetMapper::setCurrentIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQDataWidgetMapper::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDataWidgetMapper::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDataWidgetMapper::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDataWidgetMapper::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDataWidgetMapper::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDataWidgetMapper::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDataWidgetMapper::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDataWidgetMapper::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDataWidgetMapper::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QDataWidgetMapper_sender, "QDataWidgetMapper.sender() -> QObject");

extern "C" {static PyObject *meth_QDataWidgetMapper_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDataWidgetMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 402990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_sender, doc_QDataWidgetMapper_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_receivers, "QDataWidgetMapper.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDataWidgetMapper_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDataWidgetMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 403049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_receivers, doc_QDataWidgetMapper_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_timerEvent, "QDataWidgetMapper.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDataWidgetMapper_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDataWidgetMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_timerEvent, doc_QDataWidgetMapper_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_childEvent, "QDataWidgetMapper.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDataWidgetMapper_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDataWidgetMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_childEvent, doc_QDataWidgetMapper_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_customEvent, "QDataWidgetMapper.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDataWidgetMapper_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDataWidgetMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_customEvent, doc_QDataWidgetMapper_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_connectNotify, "QDataWidgetMapper.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDataWidgetMapper_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDataWidgetMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_connectNotify, doc_QDataWidgetMapper_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_disconnectNotify, "QDataWidgetMapper.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDataWidgetMapper_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDataWidgetMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_disconnectNotify, doc_QDataWidgetMapper_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_senderSignalIndex, "QDataWidgetMapper.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDataWidgetMapper_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDataWidgetMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_senderSignalIndex, doc_QDataWidgetMapper_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_isSignalConnected, "QDataWidgetMapper.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDataWidgetMapper_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDataWidgetMapper *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_isSignalConnected, doc_QDataWidgetMapper_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_setModel, "QDataWidgetMapper.setModel(QAbstractItemModel)");

extern "C" {static PyObject *meth_QDataWidgetMapper_setModel(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemModel* a0;
        PyObject *a0Keep;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            sipCpp->setModel(a0);

            sipKeepReference(sipSelf, -16, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_setModel, doc_QDataWidgetMapper_setModel);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_model, "QDataWidgetMapper.model() -> QAbstractItemModel");

extern "C" {static PyObject *meth_QDataWidgetMapper_model(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            QAbstractItemModel*sipRes;

            sipRes = sipCpp->model();

            return sipConvertFromType(sipRes,sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_model, doc_QDataWidgetMapper_model);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_setItemDelegate, "QDataWidgetMapper.setItemDelegate(QAbstractItemDelegate)");

extern "C" {static PyObject *meth_QDataWidgetMapper_setItemDelegate(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_setItemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemDelegate* a0;
        PyObject *a0Keep;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, &a0Keep, sipType_QAbstractItemDelegate, &a0))
        {
            sipCpp->setItemDelegate(a0);

            sipKeepReference(sipSelf, -17, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_setItemDelegate, doc_QDataWidgetMapper_setItemDelegate);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_itemDelegate, "QDataWidgetMapper.itemDelegate() -> QAbstractItemDelegate");

extern "C" {static PyObject *meth_QDataWidgetMapper_itemDelegate(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_itemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            QAbstractItemDelegate*sipRes;

            sipRes = sipCpp->itemDelegate();

            return sipConvertFromType(sipRes,sipType_QAbstractItemDelegate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_itemDelegate, doc_QDataWidgetMapper_itemDelegate);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_setRootIndex, "QDataWidgetMapper.setRootIndex(QModelIndex)");

extern "C" {static PyObject *meth_QDataWidgetMapper_setRootIndex(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_setRootIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->setRootIndex(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_setRootIndex, doc_QDataWidgetMapper_setRootIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_rootIndex, "QDataWidgetMapper.rootIndex() -> QModelIndex");

extern "C" {static PyObject *meth_QDataWidgetMapper_rootIndex(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_rootIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->rootIndex());

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_rootIndex, doc_QDataWidgetMapper_rootIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_setOrientation, "QDataWidgetMapper.setOrientation(Qt.Orientation)");

extern "C" {static PyObject *meth_QDataWidgetMapper_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            sipCpp->setOrientation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_setOrientation, doc_QDataWidgetMapper_setOrientation);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_orientation, "QDataWidgetMapper.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QDataWidgetMapper_orientation(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_orientation, doc_QDataWidgetMapper_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_setSubmitPolicy, "QDataWidgetMapper.setSubmitPolicy(QDataWidgetMapper.SubmitPolicy)");

extern "C" {static PyObject *meth_QDataWidgetMapper_setSubmitPolicy(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_setSubmitPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDataWidgetMapper::SubmitPolicy a0;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QDataWidgetMapper_SubmitPolicy, &a0))
        {
            sipCpp->setSubmitPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_setSubmitPolicy, doc_QDataWidgetMapper_setSubmitPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_submitPolicy, "QDataWidgetMapper.submitPolicy() -> QDataWidgetMapper.SubmitPolicy");

extern "C" {static PyObject *meth_QDataWidgetMapper_submitPolicy(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_submitPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            QDataWidgetMapper::SubmitPolicy sipRes;

            sipRes = sipCpp->submitPolicy();

            return sipConvertFromEnum(sipRes,sipType_QDataWidgetMapper_SubmitPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_submitPolicy, doc_QDataWidgetMapper_submitPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_addMapping, "QDataWidgetMapper.addMapping(QWidget, int)\n"
    "QDataWidgetMapper.addMapping(QWidget, int, QByteArray)");

extern "C" {static PyObject *meth_QDataWidgetMapper_addMapping(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_addMapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        int a1;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QWidget, &a0, &a1))
        {
            sipCpp->addMapping(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QWidget* a0;
        int a1;
        const QByteArray* a2;
        int a2State = 0;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8iJ1", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QWidget, &a0, &a1, sipType_QByteArray, &a2, &a2State))
        {
            sipCpp->addMapping(a0,a1,*a2);
            sipReleaseType(const_cast<QByteArray *>(a2),sipType_QByteArray,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_addMapping, doc_QDataWidgetMapper_addMapping);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_removeMapping, "QDataWidgetMapper.removeMapping(QWidget)");

extern "C" {static PyObject *meth_QDataWidgetMapper_removeMapping(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_removeMapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->removeMapping(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_removeMapping, doc_QDataWidgetMapper_removeMapping);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_mappedPropertyName, "QDataWidgetMapper.mappedPropertyName(QWidget) -> QByteArray");

extern "C" {static PyObject *meth_QDataWidgetMapper_mappedPropertyName(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_mappedPropertyName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QWidget, &a0))
        {
            QByteArray*sipRes;

            sipRes = new QByteArray(sipCpp->mappedPropertyName(a0));

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_mappedPropertyName, doc_QDataWidgetMapper_mappedPropertyName);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_mappedSection, "QDataWidgetMapper.mappedSection(QWidget) -> int");

extern "C" {static PyObject *meth_QDataWidgetMapper_mappedSection(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_mappedSection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        const QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QWidget, &a0))
        {
            int sipRes;

            sipRes = sipCpp->mappedSection(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_mappedSection, doc_QDataWidgetMapper_mappedSection);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_mappedWidgetAt, "QDataWidgetMapper.mappedWidgetAt(int) -> QWidget");

extern "C" {static PyObject *meth_QDataWidgetMapper_mappedWidgetAt(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_mappedWidgetAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->mappedWidgetAt(a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_mappedWidgetAt, doc_QDataWidgetMapper_mappedWidgetAt);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_clearMapping, "QDataWidgetMapper.clearMapping()");

extern "C" {static PyObject *meth_QDataWidgetMapper_clearMapping(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_clearMapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            sipCpp->clearMapping();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_clearMapping, doc_QDataWidgetMapper_clearMapping);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_currentIndex, "QDataWidgetMapper.currentIndex() -> int");

extern "C" {static PyObject *meth_QDataWidgetMapper_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_currentIndex, doc_QDataWidgetMapper_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_revert, "QDataWidgetMapper.revert()");

extern "C" {static PyObject *meth_QDataWidgetMapper_revert(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_revert(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            sipCpp->revert();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_revert, doc_QDataWidgetMapper_revert);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_setCurrentIndex, "QDataWidgetMapper.setCurrentIndex(int)");

extern "C" {static PyObject *meth_QDataWidgetMapper_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QDataWidgetMapper::setCurrentIndex(a0) : sipCpp->setCurrentIndex(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_setCurrentIndex, doc_QDataWidgetMapper_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_setCurrentModelIndex, "QDataWidgetMapper.setCurrentModelIndex(QModelIndex)");

extern "C" {static PyObject *meth_QDataWidgetMapper_setCurrentModelIndex(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_setCurrentModelIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDataWidgetMapper, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->setCurrentModelIndex(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_setCurrentModelIndex, doc_QDataWidgetMapper_setCurrentModelIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_submit, "QDataWidgetMapper.submit() -> bool");

extern "C" {static PyObject *meth_QDataWidgetMapper_submit(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_submit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->submit();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_submit, doc_QDataWidgetMapper_submit);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_toFirst, "QDataWidgetMapper.toFirst()");

extern "C" {static PyObject *meth_QDataWidgetMapper_toFirst(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_toFirst(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            sipCpp->toFirst();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_toFirst, doc_QDataWidgetMapper_toFirst);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_toLast, "QDataWidgetMapper.toLast()");

extern "C" {static PyObject *meth_QDataWidgetMapper_toLast(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_toLast(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            sipCpp->toLast();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_toLast, doc_QDataWidgetMapper_toLast);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_toNext, "QDataWidgetMapper.toNext()");

extern "C" {static PyObject *meth_QDataWidgetMapper_toNext(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_toNext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            sipCpp->toNext();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_toNext, doc_QDataWidgetMapper_toNext);

    return NULL;
}


PyDoc_STRVAR(doc_QDataWidgetMapper_toPrevious, "QDataWidgetMapper.toPrevious()");

extern "C" {static PyObject *meth_QDataWidgetMapper_toPrevious(PyObject *, PyObject *);}
static PyObject *meth_QDataWidgetMapper_toPrevious(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDataWidgetMapper *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDataWidgetMapper, &sipCpp))
        {
            sipCpp->toPrevious();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDataWidgetMapper, sipName_toPrevious, doc_QDataWidgetMapper_toPrevious);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDataWidgetMapper(void *, const sipTypeDef *);}
static void *cast_QDataWidgetMapper(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDataWidgetMapper)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QDataWidgetMapper *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDataWidgetMapper(void *, int);}
static void release_QDataWidgetMapper(void *sipCppV,int)
{
    QDataWidgetMapper *sipCpp = reinterpret_cast<QDataWidgetMapper *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDataWidgetMapper(sipSimpleWrapper *);}
static void dealloc_QDataWidgetMapper(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDataWidgetMapper *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDataWidgetMapper(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDataWidgetMapper(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDataWidgetMapper(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDataWidgetMapper *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQDataWidgetMapper(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDataWidgetMapper[] = {{162, 0, 1}};


static PyMethodDef methods_QDataWidgetMapper[] = {
    {SIP_MLNAME_CAST(sipName_addMapping), meth_QDataWidgetMapper_addMapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_addMapping)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDataWidgetMapper_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearMapping), meth_QDataWidgetMapper_clearMapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_clearMapping)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDataWidgetMapper_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QDataWidgetMapper_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_currentIndex)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDataWidgetMapper_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDataWidgetMapper_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDataWidgetMapper_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemDelegate), meth_QDataWidgetMapper_itemDelegate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_itemDelegate)},
    {SIP_MLNAME_CAST(sipName_mappedPropertyName), meth_QDataWidgetMapper_mappedPropertyName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_mappedPropertyName)},
    {SIP_MLNAME_CAST(sipName_mappedSection), meth_QDataWidgetMapper_mappedSection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_mappedSection)},
    {SIP_MLNAME_CAST(sipName_mappedWidgetAt), meth_QDataWidgetMapper_mappedWidgetAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_mappedWidgetAt)},
    {SIP_MLNAME_CAST(sipName_model), meth_QDataWidgetMapper_model, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_model)},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QDataWidgetMapper_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_orientation)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDataWidgetMapper_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeMapping), meth_QDataWidgetMapper_removeMapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_removeMapping)},
    {SIP_MLNAME_CAST(sipName_revert), meth_QDataWidgetMapper_revert, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_revert)},
    {SIP_MLNAME_CAST(sipName_rootIndex), meth_QDataWidgetMapper_rootIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_rootIndex)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDataWidgetMapper_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDataWidgetMapper_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QDataWidgetMapper_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setCurrentModelIndex), meth_QDataWidgetMapper_setCurrentModelIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_setCurrentModelIndex)},
    {SIP_MLNAME_CAST(sipName_setItemDelegate), meth_QDataWidgetMapper_setItemDelegate, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_setItemDelegate)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QDataWidgetMapper_setModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_setModel)},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_QDataWidgetMapper_setOrientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_setOrientation)},
    {SIP_MLNAME_CAST(sipName_setRootIndex), meth_QDataWidgetMapper_setRootIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_setRootIndex)},
    {SIP_MLNAME_CAST(sipName_setSubmitPolicy), meth_QDataWidgetMapper_setSubmitPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_setSubmitPolicy)},
    {SIP_MLNAME_CAST(sipName_submit), meth_QDataWidgetMapper_submit, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_submit)},
    {SIP_MLNAME_CAST(sipName_submitPolicy), meth_QDataWidgetMapper_submitPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_submitPolicy)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDataWidgetMapper_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toFirst), meth_QDataWidgetMapper_toFirst, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_toFirst)},
    {SIP_MLNAME_CAST(sipName_toLast), meth_QDataWidgetMapper_toLast, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_toLast)},
    {SIP_MLNAME_CAST(sipName_toNext), meth_QDataWidgetMapper_toNext, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_toNext)},
    {SIP_MLNAME_CAST(sipName_toPrevious), meth_QDataWidgetMapper_toPrevious, METH_VARARGS, SIP_MLDOC_CAST(doc_QDataWidgetMapper_toPrevious)}
};

static sipEnumMemberDef enummembers_QDataWidgetMapper[] = {
    {sipName_AutoSubmit, static_cast<int>(QDataWidgetMapper::AutoSubmit), 53},
    {sipName_ManualSubmit, static_cast<int>(QDataWidgetMapper::ManualSubmit), 53},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDataWidgetMapper[] = {
    {"currentIndexChanged(int)", "\1QDataWidgetMapper.currentIndexChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDataWidgetMapper, "\1QDataWidgetMapper(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDataWidgetMapper = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDataWidgetMapper,
        {0}
    },
    {
        sipNameNr_QDataWidgetMapper,
        {0, 0, 1},
        34, methods_QDataWidgetMapper,
        2, enummembers_QDataWidgetMapper,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDataWidgetMapper,
    -1,
    -1,
    supers_QDataWidgetMapper,
    0,
    init_type_QDataWidgetMapper,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDataWidgetMapper,
    0,
    0,
    0,
    release_QDataWidgetMapper,
    cast_QDataWidgetMapper,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDataWidgetMapper::staticMetaObject,
    0,
    signals_QDataWidgetMapper,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcompleter.sip"
#include <qcompleter.h>
#line 404144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 404148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 404151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 404154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 404157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 404160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 404163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 404166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 404169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 404172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 404175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 404178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 404181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 404184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 404187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 404190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 404193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 404196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 404199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 404202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 404205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 404208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 404211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 404214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQCompleter : public QCompleter
{
public:
    sipQCompleter(QObject*);
    sipQCompleter(QAbstractItemModel*,QObject*);
    sipQCompleter(const QStringList&,QObject*);
    virtual ~sipQCompleter();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool event(QEvent*);
    bool eventFilter(QObject*,QEvent*);
    QStringList splitPath(const QString&) const;
    QString pathFromIndex(const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQCompleter(const sipQCompleter &);
    sipQCompleter &operator = (const sipQCompleter &);

    char sipPyMethods[9];
};

sipQCompleter::sipQCompleter(QObject*a0): QCompleter(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCompleter::sipQCompleter(QAbstractItemModel*a0,QObject*a1): QCompleter(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCompleter::sipQCompleter(const QStringList& a0,QObject*a1): QCompleter(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCompleter::~sipQCompleter()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQCompleter::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCompleter);
}

int sipQCompleter::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QCompleter::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QCompleter,_c,_id,_a);

    return _id;
}

void *sipQCompleter::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QCompleter, _clname, &sipCpp) ? sipCpp : QCompleter::qt_metacast(_clname));
}

void sipQCompleter::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QCompleter::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCompleter::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QCompleter::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCompleter::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QCompleter::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCompleter::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QCompleter::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCompleter::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QCompleter::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQCompleter::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QCompleter::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQCompleter::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QCompleter::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QStringList sipQCompleter::splitPath(const QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_splitPath);

    if (!sipMeth)
        return QCompleter::splitPath(a0);

    extern QStringList sipVH_QtWidgets_140(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return sipVH_QtWidgets_140(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QString sipQCompleter::pathFromIndex(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_pathFromIndex);

    if (!sipMeth)
        return QCompleter::pathFromIndex(a0);

    extern QString sipVH_QtWidgets_141(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_141(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQCompleter::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQCompleter::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQCompleter::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQCompleter::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQCompleter::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQCompleter::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQCompleter::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQCompleter::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQCompleter::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQCompleter::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QCompleter::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQCompleter::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QCompleter::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QCompleter_sender, "QCompleter.sender() -> QObject");

extern "C" {static PyObject *meth_QCompleter_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 404558 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_sender, doc_QCompleter_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_receivers, "QCompleter.receivers(signal) -> int");

extern "C" {static PyObject *meth_QCompleter_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QCompleter, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 404617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_receivers, doc_QCompleter_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_timerEvent, "QCompleter.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QCompleter_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_timerEvent, doc_QCompleter_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_childEvent, "QCompleter.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QCompleter_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_childEvent, doc_QCompleter_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_customEvent, "QCompleter.customEvent(QEvent)");

extern "C" {static PyObject *meth_QCompleter_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_customEvent, doc_QCompleter_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_connectNotify, "QCompleter.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCompleter_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_connectNotify, doc_QCompleter_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_disconnectNotify, "QCompleter.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCompleter_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_disconnectNotify, doc_QCompleter_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_senderSignalIndex, "QCompleter.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QCompleter_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_senderSignalIndex, doc_QCompleter_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_isSignalConnected, "QCompleter.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QCompleter_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_isSignalConnected, doc_QCompleter_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setWidget, "QCompleter.setWidget(QWidget)");

extern "C" {static PyObject *meth_QCompleter_setWidget(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setWidget, doc_QCompleter_setWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_widget, "QCompleter.widget() -> QWidget");

extern "C" {static PyObject *meth_QCompleter_widget(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_widget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->widget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_widget, doc_QCompleter_widget);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setModel, "QCompleter.setModel(QAbstractItemModel)");

extern "C" {static PyObject *meth_QCompleter_setModel(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemModel* a0;
        PyObject *a0Keep;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QCompleter, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            sipCpp->setModel(a0);

            sipKeepReference(sipSelf, -15, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setModel, doc_QCompleter_setModel);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_model, "QCompleter.model() -> QAbstractItemModel");

extern "C" {static PyObject *meth_QCompleter_model(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QAbstractItemModel*sipRes;

            sipRes = sipCpp->model();

            return sipConvertFromType(sipRes,sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_model, doc_QCompleter_model);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setCompletionMode, "QCompleter.setCompletionMode(QCompleter.CompletionMode)");

extern "C" {static PyObject *meth_QCompleter_setCompletionMode(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setCompletionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCompleter::CompletionMode a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QCompleter_CompletionMode, &a0))
        {
            sipCpp->setCompletionMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setCompletionMode, doc_QCompleter_setCompletionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_completionMode, "QCompleter.completionMode() -> QCompleter.CompletionMode");

extern "C" {static PyObject *meth_QCompleter_completionMode(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_completionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QCompleter::CompletionMode sipRes;

            sipRes = sipCpp->completionMode();

            return sipConvertFromEnum(sipRes,sipType_QCompleter_CompletionMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_completionMode, doc_QCompleter_completionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_popup, "QCompleter.popup() -> QAbstractItemView");

extern "C" {static PyObject *meth_QCompleter_popup(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_popup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QAbstractItemView*sipRes;

            sipRes = sipCpp->popup();

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_popup, doc_QCompleter_popup);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setPopup, "QCompleter.setPopup(QAbstractItemView)");

extern "C" {static PyObject *meth_QCompleter_setPopup(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setPopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView* a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QAbstractItemView, &a0))
        {
            sipCpp->setPopup(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setPopup, doc_QCompleter_setPopup);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setCaseSensitivity, "QCompleter.setCaseSensitivity(Qt.CaseSensitivity)");

extern "C" {static PyObject *meth_QCompleter_setCaseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setCaseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CaseSensitivity a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCompleter, &sipCpp, sipType_Qt_CaseSensitivity, &a0))
        {
            sipCpp->setCaseSensitivity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setCaseSensitivity, doc_QCompleter_setCaseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_caseSensitivity, "QCompleter.caseSensitivity() -> Qt.CaseSensitivity");

extern "C" {static PyObject *meth_QCompleter_caseSensitivity(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_caseSensitivity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            Qt::CaseSensitivity sipRes;

            sipRes = sipCpp->caseSensitivity();

            return sipConvertFromEnum(sipRes,sipType_Qt_CaseSensitivity);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_caseSensitivity, doc_QCompleter_caseSensitivity);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setModelSorting, "QCompleter.setModelSorting(QCompleter.ModelSorting)");

extern "C" {static PyObject *meth_QCompleter_setModelSorting(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setModelSorting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCompleter::ModelSorting a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QCompleter_ModelSorting, &a0))
        {
            sipCpp->setModelSorting(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setModelSorting, doc_QCompleter_setModelSorting);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_modelSorting, "QCompleter.modelSorting() -> QCompleter.ModelSorting");

extern "C" {static PyObject *meth_QCompleter_modelSorting(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_modelSorting(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QCompleter::ModelSorting sipRes;

            sipRes = sipCpp->modelSorting();

            return sipConvertFromEnum(sipRes,sipType_QCompleter_ModelSorting);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_modelSorting, doc_QCompleter_modelSorting);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setCompletionColumn, "QCompleter.setCompletionColumn(int)");

extern "C" {static PyObject *meth_QCompleter_setCompletionColumn(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setCompletionColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QCompleter, &sipCpp, &a0))
        {
            sipCpp->setCompletionColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setCompletionColumn, doc_QCompleter_setCompletionColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_completionColumn, "QCompleter.completionColumn() -> int");

extern "C" {static PyObject *meth_QCompleter_completionColumn(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_completionColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->completionColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_completionColumn, doc_QCompleter_completionColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setCompletionRole, "QCompleter.setCompletionRole(int)");

extern "C" {static PyObject *meth_QCompleter_setCompletionRole(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setCompletionRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QCompleter, &sipCpp, &a0))
        {
            sipCpp->setCompletionRole(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setCompletionRole, doc_QCompleter_setCompletionRole);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_completionRole, "QCompleter.completionRole() -> int");

extern "C" {static PyObject *meth_QCompleter_completionRole(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_completionRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->completionRole();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_completionRole, doc_QCompleter_completionRole);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_completionCount, "QCompleter.completionCount() -> int");

extern "C" {static PyObject *meth_QCompleter_completionCount(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_completionCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->completionCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_completionCount, doc_QCompleter_completionCount);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setCurrentRow, "QCompleter.setCurrentRow(int) -> bool");

extern "C" {static PyObject *meth_QCompleter_setCurrentRow(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setCurrentRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QCompleter, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->setCurrentRow(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setCurrentRow, doc_QCompleter_setCurrentRow);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_currentRow, "QCompleter.currentRow() -> int");

extern "C" {static PyObject *meth_QCompleter_currentRow(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_currentRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentRow();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_currentRow, doc_QCompleter_currentRow);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_currentIndex, "QCompleter.currentIndex() -> QModelIndex");

extern "C" {static PyObject *meth_QCompleter_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->currentIndex());

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_currentIndex, doc_QCompleter_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_currentCompletion, "QCompleter.currentCompletion() -> str");

extern "C" {static PyObject *meth_QCompleter_currentCompletion(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_currentCompletion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->currentCompletion());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_currentCompletion, doc_QCompleter_currentCompletion);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_completionModel, "QCompleter.completionModel() -> QAbstractItemModel");

extern "C" {static PyObject *meth_QCompleter_completionModel(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_completionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QAbstractItemModel*sipRes;

            sipRes = sipCpp->completionModel();

            return sipConvertFromType(sipRes,sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_completionModel, doc_QCompleter_completionModel);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_completionPrefix, "QCompleter.completionPrefix() -> str");

extern "C" {static PyObject *meth_QCompleter_completionPrefix(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_completionPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->completionPrefix());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_completionPrefix, doc_QCompleter_completionPrefix);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_pathFromIndex, "QCompleter.pathFromIndex(QModelIndex) -> str");

extern "C" {static PyObject *meth_QCompleter_pathFromIndex(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_pathFromIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QModelIndex, &a0))
        {
            QString*sipRes;

            sipRes = new QString((sipSelfWasArg ? sipCpp->QCompleter::pathFromIndex(*a0) : sipCpp->pathFromIndex(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_pathFromIndex, doc_QCompleter_pathFromIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_splitPath, "QCompleter.splitPath(str) -> list-of-str");

extern "C" {static PyObject *meth_QCompleter_splitPath(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_splitPath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QStringList*sipRes;

            sipRes = new QStringList((sipSelfWasArg ? sipCpp->QCompleter::splitPath(*a0) : sipCpp->splitPath(*a0)));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QStringList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_splitPath, doc_QCompleter_splitPath);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_wrapAround, "QCompleter.wrapAround() -> bool");

extern "C" {static PyObject *meth_QCompleter_wrapAround(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_wrapAround(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->wrapAround();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_wrapAround, doc_QCompleter_wrapAround);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_complete, "QCompleter.complete(QRect rect=QRect())");

extern "C" {static PyObject *meth_QCompleter_complete(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_complete(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect& a0def = QRect();
        const QRect* a0 = &a0def;
        QCompleter *sipCpp;

        static const char *sipKwdList[] = {
            sipName_rect,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->complete(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_complete, doc_QCompleter_complete);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setCompletionPrefix, "QCompleter.setCompletionPrefix(str)");

extern "C" {static PyObject *meth_QCompleter_setCompletionPrefix(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setCompletionPrefix(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCompletionPrefix(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setCompletionPrefix, doc_QCompleter_setCompletionPrefix);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setWrapAround, "QCompleter.setWrapAround(bool)");

extern "C" {static PyObject *meth_QCompleter_setWrapAround(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setWrapAround(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QCompleter, &sipCpp, &a0))
        {
            sipCpp->setWrapAround(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setWrapAround, doc_QCompleter_setWrapAround);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_eventFilter, "QCompleter.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QCompleter_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_eventFilter, doc_QCompleter_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_event, "QCompleter.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QCompleter_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCompleter_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCompleter *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCompleter, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_event, doc_QCompleter_event);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_maxVisibleItems, "QCompleter.maxVisibleItems() -> int");

extern "C" {static PyObject *meth_QCompleter_maxVisibleItems(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_maxVisibleItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maxVisibleItems();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_maxVisibleItems, doc_QCompleter_maxVisibleItems);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setMaxVisibleItems, "QCompleter.setMaxVisibleItems(int)");

extern "C" {static PyObject *meth_QCompleter_setMaxVisibleItems(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setMaxVisibleItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QCompleter, &sipCpp, &a0))
        {
            sipCpp->setMaxVisibleItems(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setMaxVisibleItems, doc_QCompleter_setMaxVisibleItems);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_setFilterMode, "QCompleter.setFilterMode(Qt.MatchFlags)");

extern "C" {static PyObject *meth_QCompleter_setFilterMode(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_setFilterMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::MatchFlags* a0;
        int a0State = 0;
        QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCompleter, &sipCpp, sipType_Qt_MatchFlags, &a0, &a0State))
        {
            sipCpp->setFilterMode(*a0);
            sipReleaseType(a0,sipType_Qt_MatchFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_setFilterMode, doc_QCompleter_setFilterMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCompleter_filterMode, "QCompleter.filterMode() -> Qt.MatchFlags");

extern "C" {static PyObject *meth_QCompleter_filterMode(PyObject *, PyObject *);}
static PyObject *meth_QCompleter_filterMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCompleter *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCompleter, &sipCpp))
        {
            Qt::MatchFlags*sipRes;

            sipRes = new Qt::MatchFlags(sipCpp->filterMode());

            return sipConvertFromNewType(sipRes,sipType_Qt_MatchFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCompleter, sipName_filterMode, doc_QCompleter_filterMode);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCompleter(void *, const sipTypeDef *);}
static void *cast_QCompleter(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QCompleter)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QCompleter *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCompleter(void *, int);}
static void release_QCompleter(void *sipCppV,int)
{
    QCompleter *sipCpp = reinterpret_cast<QCompleter *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QCompleter(sipSimpleWrapper *);}
static void dealloc_QCompleter(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQCompleter *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QCompleter(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QCompleter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCompleter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQCompleter *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQCompleter(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QAbstractItemModel* a0;
        QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J8|JH", sipType_QAbstractItemModel, &a0, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQCompleter(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QStringList* a0;
        int a0State = 0;
        QObject* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QStringList,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQCompleter(*a0,a1);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCompleter[] = {{162, 0, 1}};


static PyMethodDef methods_QCompleter[] = {
    {SIP_MLNAME_CAST(sipName_caseSensitivity), meth_QCompleter_caseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_caseSensitivity)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QCompleter_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_complete), (PyCFunction)meth_QCompleter_complete, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCompleter_complete)},
    {SIP_MLNAME_CAST(sipName_completionColumn), meth_QCompleter_completionColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_completionColumn)},
    {SIP_MLNAME_CAST(sipName_completionCount), meth_QCompleter_completionCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_completionCount)},
    {SIP_MLNAME_CAST(sipName_completionMode), meth_QCompleter_completionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_completionMode)},
    {SIP_MLNAME_CAST(sipName_completionModel), meth_QCompleter_completionModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_completionModel)},
    {SIP_MLNAME_CAST(sipName_completionPrefix), meth_QCompleter_completionPrefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_completionPrefix)},
    {SIP_MLNAME_CAST(sipName_completionRole), meth_QCompleter_completionRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_completionRole)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QCompleter_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentCompletion), meth_QCompleter_currentCompletion, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_currentCompletion)},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QCompleter_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_currentIndex)},
    {SIP_MLNAME_CAST(sipName_currentRow), meth_QCompleter_currentRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_currentRow)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QCompleter_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QCompleter_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QCompleter_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCompleter_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QCompleter_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCompleter_eventFilter)},
    {SIP_MLNAME_CAST(sipName_filterMode), meth_QCompleter_filterMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_filterMode)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QCompleter_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maxVisibleItems), meth_QCompleter_maxVisibleItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_maxVisibleItems)},
    {SIP_MLNAME_CAST(sipName_model), meth_QCompleter_model, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_model)},
    {SIP_MLNAME_CAST(sipName_modelSorting), meth_QCompleter_modelSorting, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_modelSorting)},
    {SIP_MLNAME_CAST(sipName_pathFromIndex), meth_QCompleter_pathFromIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_pathFromIndex)},
    {SIP_MLNAME_CAST(sipName_popup), meth_QCompleter_popup, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_popup)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QCompleter_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QCompleter_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QCompleter_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCaseSensitivity), meth_QCompleter_setCaseSensitivity, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setCaseSensitivity)},
    {SIP_MLNAME_CAST(sipName_setCompletionColumn), meth_QCompleter_setCompletionColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setCompletionColumn)},
    {SIP_MLNAME_CAST(sipName_setCompletionMode), meth_QCompleter_setCompletionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setCompletionMode)},
    {SIP_MLNAME_CAST(sipName_setCompletionPrefix), meth_QCompleter_setCompletionPrefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setCompletionPrefix)},
    {SIP_MLNAME_CAST(sipName_setCompletionRole), meth_QCompleter_setCompletionRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setCompletionRole)},
    {SIP_MLNAME_CAST(sipName_setCurrentRow), meth_QCompleter_setCurrentRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setCurrentRow)},
    {SIP_MLNAME_CAST(sipName_setFilterMode), meth_QCompleter_setFilterMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setFilterMode)},
    {SIP_MLNAME_CAST(sipName_setMaxVisibleItems), meth_QCompleter_setMaxVisibleItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setMaxVisibleItems)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QCompleter_setModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setModel)},
    {SIP_MLNAME_CAST(sipName_setModelSorting), meth_QCompleter_setModelSorting, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setModelSorting)},
    {SIP_MLNAME_CAST(sipName_setPopup), meth_QCompleter_setPopup, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setPopup)},
    {SIP_MLNAME_CAST(sipName_setWidget), meth_QCompleter_setWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setWidget)},
    {SIP_MLNAME_CAST(sipName_setWrapAround), meth_QCompleter_setWrapAround, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_setWrapAround)},
    {SIP_MLNAME_CAST(sipName_splitPath), meth_QCompleter_splitPath, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_splitPath)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QCompleter_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widget), meth_QCompleter_widget, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_widget)},
    {SIP_MLNAME_CAST(sipName_wrapAround), meth_QCompleter_wrapAround, METH_VARARGS, SIP_MLDOC_CAST(doc_QCompleter_wrapAround)}
};

static sipEnumMemberDef enummembers_QCompleter[] = {
    {sipName_CaseInsensitivelySortedModel, static_cast<int>(QCompleter::CaseInsensitivelySortedModel), 51},
    {sipName_CaseSensitivelySortedModel, static_cast<int>(QCompleter::CaseSensitivelySortedModel), 51},
    {sipName_InlineCompletion, static_cast<int>(QCompleter::InlineCompletion), 50},
    {sipName_PopupCompletion, static_cast<int>(QCompleter::PopupCompletion), 50},
    {sipName_UnfilteredPopupCompletion, static_cast<int>(QCompleter::UnfilteredPopupCompletion), 50},
    {sipName_UnsortedModel, static_cast<int>(QCompleter::UnsortedModel), 51},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCompleter[] = {
    {"highlighted(QString)", "\1QCompleter.highlighted[str]", 0, 0},
    {"highlighted(QModelIndex)", "\1QCompleter.highlighted[QModelIndex]", 0, 0},
    {"activated(QString)", "\1QCompleter.activated[str]", 0, 0},
    {"activated(QModelIndex)", "\1QCompleter.activated[QModelIndex]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QCompleter, "\1QCompleter(QObject parent=None)\n"
    "QCompleter(QAbstractItemModel, QObject parent=None)\n"
    "QCompleter(list-of-str, QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QCompleter = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCompleter,
        {0}
    },
    {
        sipNameNr_QCompleter,
        {0, 0, 1},
        44, methods_QCompleter,
        6, enummembers_QCompleter,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCompleter,
    -1,
    -1,
    supers_QCompleter,
    0,
    init_type_QCompleter,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCompleter,
    0,
    0,
    0,
    release_QCompleter,
    cast_QCompleter,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QCompleter::staticMetaObject,
    0,
    signals_QCompleter,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcommonstyle.sip"
#include <qcommonstyle.h>
#line 406042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 406046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 406049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 406052 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 406055 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 406058 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 406061 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 406064 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 406067 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 406070 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 406073 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 406076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 406079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 406082 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
#include <qapplication.h>
#line 406085 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 406088 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 406091 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 406094 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 406097 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 406100 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 406103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 406106 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 406109 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 406112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 406115 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 406118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 406121 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 406124 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 406127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 406130 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 406133 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 406136 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 406139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 406142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQCommonStyle : public QCommonStyle
{
public:
    sipQCommonStyle();
    virtual ~sipQCommonStyle();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QPalette standardPalette() const;
    void drawItemPixmap(QPainter*,const QRect&,int,const QPixmap&) const;
    void drawItemText(QPainter*,const QRect&,int,const QPalette&,bool,const QString&,QPalette::ColorRole) const;
    QRect itemPixmapRect(const QRect&,int,const QPixmap&) const;
    QRect itemTextRect(const QFontMetrics&,const QRect&,int,bool,const QString&) const;
    int layoutSpacing(QSizePolicy::ControlType,QSizePolicy::ControlType,Qt::Orientation,const QStyleOption*,const QWidget*) const;
    QIcon standardIcon(QStyle::StandardPixmap,const QStyleOption*,const QWidget*) const;
    QPixmap generatedIconPixmap(QIcon::Mode,const QPixmap&,const QStyleOption*) const;
    QPixmap standardPixmap(QStyle::StandardPixmap,const QStyleOption*,const QWidget*) const;
    int styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*) const;
    int pixelMetric(QStyle::PixelMetric,const QStyleOption*,const QWidget*) const;
    QSize sizeFromContents(QStyle::ContentsType,const QStyleOption*,const QSize&,const QWidget*) const;
    QRect subControlRect(QStyle::ComplexControl,const QStyleOptionComplex*,QStyle::SubControl,const QWidget*) const;
    QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,const QPoint&,const QWidget*) const;
    void drawComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*) const;
    QRect subElementRect(QStyle::SubElement,const QStyleOption*,const QWidget*) const;
    void drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*) const;
    void drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*) const;
    void polish(QPalette&);
    void unpolish(QApplication*);
    void polish(QApplication*);
    void unpolish(QWidget*);
    void polish(QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQCommonStyle(const sipQCommonStyle &);
    sipQCommonStyle &operator = (const sipQCommonStyle &);

    char sipPyMethods[30];
};

sipQCommonStyle::sipQCommonStyle(): QCommonStyle(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCommonStyle::~sipQCommonStyle()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQCommonStyle::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCommonStyle);
}

int sipQCommonStyle::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QCommonStyle::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QCommonStyle,_c,_id,_a);

    return _id;
}

void *sipQCommonStyle::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QCommonStyle, _clname, &sipCpp) ? sipCpp : QCommonStyle::qt_metacast(_clname));
}

void sipQCommonStyle::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QCommonStyle::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QCommonStyle::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QCommonStyle::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QCommonStyle::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QCommonStyle::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQCommonStyle::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QCommonStyle::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQCommonStyle::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QCommonStyle::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPalette sipQCommonStyle::standardPalette() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_standardPalette);

    if (!sipMeth)
        return QCommonStyle::standardPalette();

    extern QPalette sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_69(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQCommonStyle::drawItemPixmap(QPainter*a0,const QRect& a1,int a2,const QPixmap& a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_drawItemPixmap);

    if (!sipMeth)
    {
        QCommonStyle::drawItemPixmap(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,int,const QPixmap&);

    sipVH_QtWidgets_70(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQCommonStyle::drawItemText(QPainter*a0,const QRect& a1,int a2,const QPalette& a3,bool a4,const QString& a5,QPalette::ColorRole a6) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_drawItemText);

    if (!sipMeth)
    {
        QCommonStyle::drawItemText(a0,a1,a2,a3,a4,a5,a6);
        return;
    }

    extern void sipVH_QtWidgets_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,int,const QPalette&,bool,const QString&,QPalette::ColorRole);

    sipVH_QtWidgets_71(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4, a5, a6);
}

QRect sipQCommonStyle::itemPixmapRect(const QRect& a0,int a1,const QPixmap& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_itemPixmapRect);

    if (!sipMeth)
        return QCommonStyle::itemPixmapRect(a0,a1,a2);

    extern QRect sipVH_QtWidgets_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,int,const QPixmap&);

    return sipVH_QtWidgets_72(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QRect sipQCommonStyle::itemTextRect(const QFontMetrics& a0,const QRect& a1,int a2,bool a3,const QString& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_itemTextRect);

    if (!sipMeth)
        return QCommonStyle::itemTextRect(a0,a1,a2,a3,a4);

    extern QRect sipVH_QtWidgets_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFontMetrics&,const QRect&,int,bool,const QString&);

    return sipVH_QtWidgets_73(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

int sipQCommonStyle::layoutSpacing(QSizePolicy::ControlType a0,QSizePolicy::ControlType a1,Qt::Orientation a2,const QStyleOption*a3,const QWidget*a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_layoutSpacing);

    if (!sipMeth)
        return QCommonStyle::layoutSpacing(a0,a1,a2,a3,a4);

    extern int sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSizePolicy::ControlType,QSizePolicy::ControlType,Qt::Orientation,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_56(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QIcon sipQCommonStyle::standardIcon(QStyle::StandardPixmap a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_standardIcon);

    if (!sipMeth)
        return QCommonStyle::standardIcon(a0,a1,a2);

    extern QIcon sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::StandardPixmap,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_58(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QPixmap sipQCommonStyle::generatedIconPixmap(QIcon::Mode a0,const QPixmap& a1,const QStyleOption*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,NULL,sipName_generatedIconPixmap);

    if (!sipMeth)
        return QCommonStyle::generatedIconPixmap(a0,a1,a2);

    extern QPixmap sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIcon::Mode,const QPixmap&,const QStyleOption*);

    return sipVH_QtWidgets_57(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QPixmap sipQCommonStyle::standardPixmap(QStyle::StandardPixmap a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_standardPixmap);

    if (!sipMeth)
        return QCommonStyle::standardPixmap(a0,a1,a2);

    extern QPixmap sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::StandardPixmap,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_59(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

int sipQCommonStyle::styleHint(QStyle::StyleHint a0,const QStyleOption*a1,const QWidget*a2,QStyleHintReturn*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,NULL,sipName_styleHint);

    if (!sipMeth)
        return QCommonStyle::styleHint(a0,a1,a2,a3);

    extern int sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*);

    return sipVH_QtWidgets_60(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

int sipQCommonStyle::pixelMetric(QStyle::PixelMetric a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_pixelMetric);

    if (!sipMeth)
        return QCommonStyle::pixelMetric(a0,a1,a2);

    extern int sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::PixelMetric,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_62(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QSize sipQCommonStyle::sizeFromContents(QStyle::ContentsType a0,const QStyleOption*a1,const QSize& a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_sizeFromContents);

    if (!sipMeth)
        return QCommonStyle::sizeFromContents(a0,a1,a2,a3);

    extern QSize sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ContentsType,const QStyleOption*,const QSize&,const QWidget*);

    return sipVH_QtWidgets_61(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QRect sipQCommonStyle::subControlRect(QStyle::ComplexControl a0,const QStyleOptionComplex*a1,QStyle::SubControl a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_subControlRect);

    if (!sipMeth)
        return QCommonStyle::subControlRect(a0,a1,a2,a3);

    extern QRect sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ComplexControl,const QStyleOptionComplex*,QStyle::SubControl,const QWidget*);

    return sipVH_QtWidgets_63(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QStyle::SubControl sipQCommonStyle::hitTestComplexControl(QStyle::ComplexControl a0,const QStyleOptionComplex*a1,const QPoint& a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_hitTestComplexControl);

    if (!sipMeth)
        return QCommonStyle::hitTestComplexControl(a0,a1,a2,a3);

    extern QStyle::SubControl sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ComplexControl,const QStyleOptionComplex*,const QPoint&,const QWidget*);

    return sipVH_QtWidgets_64(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQCommonStyle::drawComplexControl(QStyle::ComplexControl a0,const QStyleOptionComplex*a1,QPainter*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_drawComplexControl);

    if (!sipMeth)
    {
        QCommonStyle::drawComplexControl(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*);

    sipVH_QtWidgets_65(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QRect sipQCommonStyle::subElementRect(QStyle::SubElement a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_subElementRect);

    if (!sipMeth)
        return QCommonStyle::subElementRect(a0,a1,a2);

    extern QRect sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::SubElement,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_66(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQCommonStyle::drawControl(QStyle::ControlElement a0,const QStyleOption*a1,QPainter*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_drawControl);

    if (!sipMeth)
    {
        QCommonStyle::drawControl(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*);

    sipVH_QtWidgets_67(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQCommonStyle::drawPrimitive(QStyle::PrimitiveElement a0,const QStyleOption*a1,QPainter*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_drawPrimitive);

    if (!sipMeth)
    {
        QCommonStyle::drawPrimitive(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*);

    sipVH_QtWidgets_68(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQCommonStyle::polish(QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
        QCommonStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPalette&);

    sipVH_QtWidgets_74(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::unpolish(QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
        QCommonStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QApplication*);

    sipVH_QtWidgets_75(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::polish(QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
        QCommonStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QApplication*);

    sipVH_QtWidgets_75(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::unpolish(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
        QCommonStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommonStyle::polish(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
        QCommonStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQCommonStyle::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQCommonStyle::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQCommonStyle::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQCommonStyle::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQCommonStyle::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQCommonStyle::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQCommonStyle::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQCommonStyle::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQCommonStyle::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QCommonStyle_sender, "QCommonStyle.sender() -> QObject");

extern "C" {static PyObject *meth_QCommonStyle_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCommonStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommonStyle, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 406828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_sender, doc_QCommonStyle_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_receivers, "QCommonStyle.receivers(signal) -> int");

extern "C" {static PyObject *meth_QCommonStyle_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQCommonStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QCommonStyle, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 406887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_receivers, doc_QCommonStyle_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_timerEvent, "QCommonStyle.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QCommonStyle_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQCommonStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_timerEvent, doc_QCommonStyle_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_childEvent, "QCommonStyle.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QCommonStyle_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQCommonStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_childEvent, doc_QCommonStyle_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_customEvent, "QCommonStyle.customEvent(QEvent)");

extern "C" {static PyObject *meth_QCommonStyle_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCommonStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_customEvent, doc_QCommonStyle_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_connectNotify, "QCommonStyle.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCommonStyle_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCommonStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_connectNotify, doc_QCommonStyle_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_disconnectNotify, "QCommonStyle.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCommonStyle_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCommonStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_disconnectNotify, doc_QCommonStyle_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_senderSignalIndex, "QCommonStyle.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QCommonStyle_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCommonStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommonStyle, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_senderSignalIndex, doc_QCommonStyle_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_isSignalConnected, "QCommonStyle.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QCommonStyle_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQCommonStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_isSignalConnected, doc_QCommonStyle_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_polish, "QCommonStyle.polish(QWidget)\n"
    "QCommonStyle.polish(QApplication)\n"
    "QCommonStyle.polish(QPalette) -> QPalette");

extern "C" {static PyObject *meth_QCommonStyle_polish(PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_polish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QCommonStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QWidget, &a0))
        {
            (sipSelfWasArg ? sipCpp->QCommonStyle::polish(a0) : sipCpp->polish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QApplication* a0;
        QCommonStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QApplication, &a0))
        {
            (sipSelfWasArg ? sipCpp->QCommonStyle::polish(a0) : sipCpp->polish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPalette* a0;
        QCommonStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QPalette, &a0))
        {
            (sipSelfWasArg ? sipCpp->QCommonStyle::polish(*a0) : sipCpp->polish(*a0));

            return sipConvertFromType(a0,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_polish, doc_QCommonStyle_polish);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_unpolish, "QCommonStyle.unpolish(QWidget)\n"
    "QCommonStyle.unpolish(QApplication)");

extern "C" {static PyObject *meth_QCommonStyle_unpolish(PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_unpolish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QCommonStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QWidget, &a0))
        {
            (sipSelfWasArg ? sipCpp->QCommonStyle::unpolish(a0) : sipCpp->unpolish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QApplication* a0;
        QCommonStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QApplication, &a0))
        {
            (sipSelfWasArg ? sipCpp->QCommonStyle::unpolish(a0) : sipCpp->unpolish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_unpolish, doc_QCommonStyle_unpolish);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_drawPrimitive, "QCommonStyle.drawPrimitive(QStyle.PrimitiveElement, QStyleOption, QPainter, QWidget widget=None)");

extern "C" {static PyObject *meth_QCommonStyle_drawPrimitive(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_drawPrimitive(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::PrimitiveElement a0;
        const QStyleOption* a1;
        QPainter* a2;
        const QWidget* a3 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J8|J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_PrimitiveElement, &a0, sipType_QStyleOption, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            (sipSelfWasArg ? sipCpp->QCommonStyle::drawPrimitive(a0,a1,a2,a3) : sipCpp->drawPrimitive(a0,a1,a2,a3));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_drawPrimitive, doc_QCommonStyle_drawPrimitive);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_drawControl, "QCommonStyle.drawControl(QStyle.ControlElement, QStyleOption, QPainter, QWidget widget=None)");

extern "C" {static PyObject *meth_QCommonStyle_drawControl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_drawControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ControlElement a0;
        const QStyleOption* a1;
        QPainter* a2;
        const QWidget* a3 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J8|J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_ControlElement, &a0, sipType_QStyleOption, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            (sipSelfWasArg ? sipCpp->QCommonStyle::drawControl(a0,a1,a2,a3) : sipCpp->drawControl(a0,a1,a2,a3));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_drawControl, doc_QCommonStyle_drawControl);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_subElementRect, "QCommonStyle.subElementRect(QStyle.SubElement, QStyleOption, QWidget widget=None) -> QRect");

extern "C" {static PyObject *meth_QCommonStyle_subElementRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_subElementRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::SubElement a0;
        const QStyleOption* a1;
        const QWidget* a2 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8|J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_SubElement, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QCommonStyle::subElementRect(a0,a1,a2) : sipCpp->subElementRect(a0,a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_subElementRect, doc_QCommonStyle_subElementRect);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_drawComplexControl, "QCommonStyle.drawComplexControl(QStyle.ComplexControl, QStyleOptionComplex, QPainter, QWidget widget=None)");

extern "C" {static PyObject *meth_QCommonStyle_drawComplexControl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_drawComplexControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        QPainter* a2;
        const QWidget* a3 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J8|J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            (sipSelfWasArg ? sipCpp->QCommonStyle::drawComplexControl(a0,a1,a2,a3) : sipCpp->drawComplexControl(a0,a1,a2,a3));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_drawComplexControl, doc_QCommonStyle_drawComplexControl);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_hitTestComplexControl, "QCommonStyle.hitTestComplexControl(QStyle.ComplexControl, QStyleOptionComplex, QPoint, QWidget widget=None) -> QStyle.SubControl");

extern "C" {static PyObject *meth_QCommonStyle_hitTestComplexControl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_hitTestComplexControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        const QPoint* a2;
        const QWidget* a3 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J9|J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QPoint, &a2, sipType_QWidget, &a3))
        {
            QStyle::SubControl sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QCommonStyle::hitTestComplexControl(a0,a1,*a2,a3) : sipCpp->hitTestComplexControl(a0,a1,*a2,a3));

            return sipConvertFromEnum(sipRes,sipType_QStyle_SubControl);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_hitTestComplexControl, doc_QCommonStyle_hitTestComplexControl);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_subControlRect, "QCommonStyle.subControlRect(QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, QWidget widget=None) -> QRect");

extern "C" {static PyObject *meth_QCommonStyle_subControlRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_subControlRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        QStyle::SubControl a2;
        const QWidget* a3 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8E|J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QStyle_SubControl, &a2, sipType_QWidget, &a3))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QCommonStyle::subControlRect(a0,a1,a2,a3) : sipCpp->subControlRect(a0,a1,a2,a3)));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_subControlRect, doc_QCommonStyle_subControlRect);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_sizeFromContents, "QCommonStyle.sizeFromContents(QStyle.ContentsType, QStyleOption, QSize, QWidget widget=None) -> QSize");

extern "C" {static PyObject *meth_QCommonStyle_sizeFromContents(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_sizeFromContents(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::ContentsType a0;
        const QStyleOption* a1;
        const QSize* a2;
        const QWidget* a3 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J9|J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_ContentsType, &a0, sipType_QStyleOption, &a1, sipType_QSize, &a2, sipType_QWidget, &a3))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QCommonStyle::sizeFromContents(a0,a1,*a2,a3) : sipCpp->sizeFromContents(a0,a1,*a2,a3)));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_sizeFromContents, doc_QCommonStyle_sizeFromContents);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_pixelMetric, "QCommonStyle.pixelMetric(QStyle.PixelMetric, QStyleOption option=None, QWidget widget=None) -> int");

extern "C" {static PyObject *meth_QCommonStyle_pixelMetric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_pixelMetric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::PixelMetric a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_PixelMetric, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QCommonStyle::pixelMetric(a0,a1,a2) : sipCpp->pixelMetric(a0,a1,a2));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_pixelMetric, doc_QCommonStyle_pixelMetric);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_styleHint, "QCommonStyle.styleHint(QStyle.StyleHint, QStyleOption option=None, QWidget widget=None, QStyleHintReturn returnData=None) -> int");

extern "C" {static PyObject *meth_QCommonStyle_styleHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_styleHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::StyleHint a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        QStyleHintReturn* a3 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
            sipName_returnData,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_StyleHint, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2, sipType_QStyleHintReturn, &a3))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QCommonStyle::styleHint(a0,a1,a2,a3) : sipCpp->styleHint(a0,a1,a2,a3));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_styleHint, doc_QCommonStyle_styleHint);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_standardPixmap, "QCommonStyle.standardPixmap(QStyle.StandardPixmap, QStyleOption option=None, QWidget widget=None) -> QPixmap");

extern "C" {static PyObject *meth_QCommonStyle_standardPixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_standardPixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::StandardPixmap a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_StandardPixmap, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            QPixmap*sipRes;

            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->QCommonStyle::standardPixmap(a0,a1,a2) : sipCpp->standardPixmap(a0,a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_standardPixmap, doc_QCommonStyle_standardPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_generatedIconPixmap, "QCommonStyle.generatedIconPixmap(QIcon.Mode, QPixmap, QStyleOption) -> QPixmap");

extern "C" {static PyObject *meth_QCommonStyle_generatedIconPixmap(PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_generatedIconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QIcon::Mode a0;
        const QPixmap* a1;
        const QStyleOption* a2;
        const QCommonStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QIcon_Mode, &a0, sipType_QPixmap, &a1, sipType_QStyleOption, &a2))
        {
            QPixmap*sipRes;

            sipRes = new QPixmap((sipSelfWasArg ? sipCpp->QCommonStyle::generatedIconPixmap(a0,*a1,a2) : sipCpp->generatedIconPixmap(a0,*a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_generatedIconPixmap, doc_QCommonStyle_generatedIconPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_standardIcon, "QCommonStyle.standardIcon(QStyle.StandardPixmap, QStyleOption option=None, QWidget widget=None) -> QIcon");

extern "C" {static PyObject *meth_QCommonStyle_standardIcon(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_standardIcon(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QStyle::StandardPixmap a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QStyle_StandardPixmap, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            QIcon*sipRes;

            sipRes = new QIcon((sipSelfWasArg ? sipCpp->QCommonStyle::standardIcon(a0,a1,a2) : sipCpp->standardIcon(a0,a1,a2)));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_standardIcon, doc_QCommonStyle_standardIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QCommonStyle_layoutSpacing, "QCommonStyle.layoutSpacing(QSizePolicy.ControlType, QSizePolicy.ControlType, Qt.Orientation, QStyleOption option=None, QWidget widget=None) -> int");

extern "C" {static PyObject *meth_QCommonStyle_layoutSpacing(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommonStyle_layoutSpacing(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QSizePolicy::ControlType a0;
        QSizePolicy::ControlType a1;
        Qt::Orientation a2;
        const QStyleOption* a3 = 0;
        const QWidget* a4 = 0;
        const QCommonStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEEE|J8J8", &sipSelf, sipType_QCommonStyle, &sipCpp, sipType_QSizePolicy_ControlType, &a0, sipType_QSizePolicy_ControlType, &a1, sipType_Qt_Orientation, &a2, sipType_QStyleOption, &a3, sipType_QWidget, &a4))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QCommonStyle::layoutSpacing(a0,a1,a2,a3,a4) : sipCpp->layoutSpacing(a0,a1,a2,a3,a4));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommonStyle, sipName_layoutSpacing, doc_QCommonStyle_layoutSpacing);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCommonStyle(void *, const sipTypeDef *);}
static void *cast_QCommonStyle(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QCommonStyle)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QStyle)->ctd_cast((QStyle *)(QCommonStyle *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCommonStyle(void *, int);}
static void release_QCommonStyle(void *sipCppV,int)
{
    QCommonStyle *sipCpp = reinterpret_cast<QCommonStyle *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QCommonStyle(sipSimpleWrapper *);}
static void dealloc_QCommonStyle(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQCommonStyle *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QCommonStyle(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QCommonStyle(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCommonStyle(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQCommonStyle *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQCommonStyle();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCommonStyle[] = {{283, 255, 1}};


static PyMethodDef methods_QCommonStyle[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QCommonStyle_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QCommonStyle_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QCommonStyle_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QCommonStyle_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawComplexControl), (PyCFunction)meth_QCommonStyle_drawComplexControl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_drawComplexControl)},
    {SIP_MLNAME_CAST(sipName_drawControl), (PyCFunction)meth_QCommonStyle_drawControl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_drawControl)},
    {SIP_MLNAME_CAST(sipName_drawPrimitive), (PyCFunction)meth_QCommonStyle_drawPrimitive, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_drawPrimitive)},
    {SIP_MLNAME_CAST(sipName_generatedIconPixmap), meth_QCommonStyle_generatedIconPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommonStyle_generatedIconPixmap)},
    {SIP_MLNAME_CAST(sipName_hitTestComplexControl), (PyCFunction)meth_QCommonStyle_hitTestComplexControl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_hitTestComplexControl)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QCommonStyle_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_layoutSpacing), (PyCFunction)meth_QCommonStyle_layoutSpacing, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_layoutSpacing)},
    {SIP_MLNAME_CAST(sipName_pixelMetric), (PyCFunction)meth_QCommonStyle_pixelMetric, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_pixelMetric)},
    {SIP_MLNAME_CAST(sipName_polish), meth_QCommonStyle_polish, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommonStyle_polish)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QCommonStyle_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QCommonStyle_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QCommonStyle_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeFromContents), (PyCFunction)meth_QCommonStyle_sizeFromContents, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_sizeFromContents)},
    {SIP_MLNAME_CAST(sipName_standardIcon), (PyCFunction)meth_QCommonStyle_standardIcon, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_standardIcon)},
    {SIP_MLNAME_CAST(sipName_standardPixmap), (PyCFunction)meth_QCommonStyle_standardPixmap, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_standardPixmap)},
    {SIP_MLNAME_CAST(sipName_styleHint), (PyCFunction)meth_QCommonStyle_styleHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_styleHint)},
    {SIP_MLNAME_CAST(sipName_subControlRect), (PyCFunction)meth_QCommonStyle_subControlRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_subControlRect)},
    {SIP_MLNAME_CAST(sipName_subElementRect), (PyCFunction)meth_QCommonStyle_subElementRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommonStyle_subElementRect)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QCommonStyle_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unpolish), meth_QCommonStyle_unpolish, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommonStyle_unpolish)}
};

PyDoc_STRVAR(doc_QCommonStyle, "\1QCommonStyle()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QCommonStyle = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCommonStyle,
        {0}
    },
    {
        sipNameNr_QCommonStyle,
        {0, 0, 1},
        24, methods_QCommonStyle,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCommonStyle,
    -1,
    -1,
    supers_QCommonStyle,
    0,
    init_type_QCommonStyle,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCommonStyle,
    0,
    0,
    0,
    release_QCommonStyle,
    cast_QCommonStyle,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QCommonStyle::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 407843 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 407847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 407850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 407853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 407856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 407859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 407862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 407865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 407868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 407871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 407874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 407877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 407880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 407883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 407886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 407889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 407892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 407895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
#include <qapplication.h>
#line 407898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 407901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 407904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 407907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 407910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 407913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 407916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 407919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 407922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 407925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 407928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 407931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 407934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 407937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 407940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQStyle : public QStyle
{
public:
    sipQStyle();
    virtual ~sipQStyle();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    int layoutSpacing(QSizePolicy::ControlType,QSizePolicy::ControlType,Qt::Orientation,const QStyleOption*,const QWidget*) const;
    QPixmap generatedIconPixmap(QIcon::Mode,const QPixmap&,const QStyleOption*) const;
    QIcon standardIcon(QStyle::StandardPixmap,const QStyleOption*,const QWidget*) const;
    QPixmap standardPixmap(QStyle::StandardPixmap,const QStyleOption*,const QWidget*) const;
    int styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*) const;
    QSize sizeFromContents(QStyle::ContentsType,const QStyleOption*,const QSize&,const QWidget*) const;
    int pixelMetric(QStyle::PixelMetric,const QStyleOption*,const QWidget*) const;
    QRect subControlRect(QStyle::ComplexControl,const QStyleOptionComplex*,QStyle::SubControl,const QWidget*) const;
    QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,const QPoint&,const QWidget*) const;
    void drawComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*) const;
    QRect subElementRect(QStyle::SubElement,const QStyleOption*,const QWidget*) const;
    void drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*) const;
    void drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*) const;
    QPalette standardPalette() const;
    void drawItemPixmap(QPainter*,const QRect&,int,const QPixmap&) const;
    void drawItemText(QPainter*,const QRect&,int,const QPalette&,bool,const QString&,QPalette::ColorRole) const;
    QRect itemPixmapRect(const QRect&,int,const QPixmap&) const;
    QRect itemTextRect(const QFontMetrics&,const QRect&,int,bool,const QString&) const;
    void polish(QPalette&);
    void unpolish(QApplication*);
    void polish(QApplication*);
    void unpolish(QWidget*);
    void polish(QWidget*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQStyle(const sipQStyle &);
    sipQStyle &operator = (const sipQStyle &);

    char sipPyMethods[30];
};

sipQStyle::sipQStyle(): QStyle(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQStyle::~sipQStyle()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQStyle::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QStyle);
}

int sipQStyle::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QStyle::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QStyle,_c,_id,_a);

    return _id;
}

void *sipQStyle::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QStyle, _clname, &sipCpp) ? sipCpp : QStyle::qt_metacast(_clname));
}

void sipQStyle::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QStyle::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyle::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QStyle::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyle::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QStyle::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyle::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QStyle::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyle::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QStyle::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQStyle::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QStyle::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQStyle::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QStyle::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQStyle::layoutSpacing(QSizePolicy::ControlType a0,QSizePolicy::ControlType a1,Qt::Orientation a2,const QStyleOption*a3,const QWidget*a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,sipName_QStyle,sipName_layoutSpacing);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_56(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QSizePolicy::ControlType,QSizePolicy::ControlType,Qt::Orientation,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_56(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

QPixmap sipQStyle::generatedIconPixmap(QIcon::Mode a0,const QPixmap& a1,const QStyleOption*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,sipName_QStyle,sipName_generatedIconPixmap);

    if (!sipMeth)
        return QPixmap();

    extern QPixmap sipVH_QtWidgets_57(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QIcon::Mode,const QPixmap&,const QStyleOption*);

    return sipVH_QtWidgets_57(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QIcon sipQStyle::standardIcon(QStyle::StandardPixmap a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,sipName_QStyle,sipName_standardIcon);

    if (!sipMeth)
        return QIcon();

    extern QIcon sipVH_QtWidgets_58(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::StandardPixmap,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_58(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QPixmap sipQStyle::standardPixmap(QStyle::StandardPixmap a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,sipName_QStyle,sipName_standardPixmap);

    if (!sipMeth)
        return QPixmap();

    extern QPixmap sipVH_QtWidgets_59(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::StandardPixmap,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_59(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

int sipQStyle::styleHint(QStyle::StyleHint a0,const QStyleOption*a1,const QWidget*a2,QStyleHintReturn*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,sipName_QStyle,sipName_styleHint);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_60(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*);

    return sipVH_QtWidgets_60(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QSize sipQStyle::sizeFromContents(QStyle::ContentsType a0,const QStyleOption*a1,const QSize& a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,sipName_QStyle,sipName_sizeFromContents);

    if (!sipMeth)
        return QSize();

    extern QSize sipVH_QtWidgets_61(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ContentsType,const QStyleOption*,const QSize&,const QWidget*);

    return sipVH_QtWidgets_61(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

int sipQStyle::pixelMetric(QStyle::PixelMetric a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,sipName_QStyle,sipName_pixelMetric);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtWidgets_62(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::PixelMetric,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_62(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QRect sipQStyle::subControlRect(QStyle::ComplexControl a0,const QStyleOptionComplex*a1,QStyle::SubControl a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,sipName_QStyle,sipName_subControlRect);

    if (!sipMeth)
        return QRect();

    extern QRect sipVH_QtWidgets_63(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ComplexControl,const QStyleOptionComplex*,QStyle::SubControl,const QWidget*);

    return sipVH_QtWidgets_63(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QStyle::SubControl sipQStyle::hitTestComplexControl(QStyle::ComplexControl a0,const QStyleOptionComplex*a1,const QPoint& a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,sipName_QStyle,sipName_hitTestComplexControl);

    if (!sipMeth)
        return (QStyle::SubControl)0;

    extern QStyle::SubControl sipVH_QtWidgets_64(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ComplexControl,const QStyleOptionComplex*,const QPoint&,const QWidget*);

    return sipVH_QtWidgets_64(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQStyle::drawComplexControl(QStyle::ComplexControl a0,const QStyleOptionComplex*a1,QPainter*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,sipName_QStyle,sipName_drawComplexControl);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*);

    sipVH_QtWidgets_65(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QRect sipQStyle::subElementRect(QStyle::SubElement a0,const QStyleOption*a1,const QWidget*a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,sipName_QStyle,sipName_subElementRect);

    if (!sipMeth)
        return QRect();

    extern QRect sipVH_QtWidgets_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::SubElement,const QStyleOption*,const QWidget*);

    return sipVH_QtWidgets_66(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQStyle::drawControl(QStyle::ControlElement a0,const QStyleOption*a1,QPainter*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,sipName_QStyle,sipName_drawControl);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*);

    sipVH_QtWidgets_67(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQStyle::drawPrimitive(QStyle::PrimitiveElement a0,const QStyleOption*a1,QPainter*a2,const QWidget*a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,sipName_QStyle,sipName_drawPrimitive);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*);

    sipVH_QtWidgets_68(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

QPalette sipQStyle::standardPalette() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_standardPalette);

    if (!sipMeth)
        return QStyle::standardPalette();

    extern QPalette sipVH_QtWidgets_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_69(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQStyle::drawItemPixmap(QPainter*a0,const QRect& a1,int a2,const QPixmap& a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_drawItemPixmap);

    if (!sipMeth)
    {
        QStyle::drawItemPixmap(a0,a1,a2,a3);
        return;
    }

    extern void sipVH_QtWidgets_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,int,const QPixmap&);

    sipVH_QtWidgets_70(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQStyle::drawItemText(QPainter*a0,const QRect& a1,int a2,const QPalette& a3,bool a4,const QString& a5,QPalette::ColorRole a6) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_drawItemText);

    if (!sipMeth)
    {
        QStyle::drawItemText(a0,a1,a2,a3,a4,a5,a6);
        return;
    }

    extern void sipVH_QtWidgets_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,int,const QPalette&,bool,const QString&,QPalette::ColorRole);

    sipVH_QtWidgets_71(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4, a5, a6);
}

QRect sipQStyle::itemPixmapRect(const QRect& a0,int a1,const QPixmap& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_itemPixmapRect);

    if (!sipMeth)
        return QStyle::itemPixmapRect(a0,a1,a2);

    extern QRect sipVH_QtWidgets_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,int,const QPixmap&);

    return sipVH_QtWidgets_72(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QRect sipQStyle::itemTextRect(const QFontMetrics& a0,const QRect& a1,int a2,bool a3,const QString& a4) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_itemTextRect);

    if (!sipMeth)
        return QStyle::itemTextRect(a0,a1,a2,a3,a4);

    extern QRect sipVH_QtWidgets_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QFontMetrics&,const QRect&,int,bool,const QString&);

    return sipVH_QtWidgets_73(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

void sipQStyle::polish(QPalette& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
        QStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPalette&);

    sipVH_QtWidgets_74(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyle::unpolish(QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
        QStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QApplication*);

    sipVH_QtWidgets_75(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyle::polish(QApplication*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
        QStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QApplication*);

    sipVH_QtWidgets_75(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyle::unpolish(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_unpolish);

    if (!sipMeth)
    {
        QStyle::unpolish(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQStyle::polish(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_polish);

    if (!sipMeth)
    {
        QStyle::polish(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQStyle::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQStyle::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQStyle::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQStyle::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQStyle::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQStyle::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQStyle::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQStyle::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQStyle::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QStyle_sender, "QStyle.sender() -> QObject");

extern "C" {static PyObject *meth_QStyle_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStyle, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 408617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_sender, doc_QStyle_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_receivers, "QStyle.receivers(signal) -> int");

extern "C" {static PyObject *meth_QStyle_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QStyle, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 408676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_receivers, doc_QStyle_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_timerEvent, "QStyle.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QStyle_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_timerEvent, doc_QStyle_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_childEvent, "QStyle.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QStyle_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_childEvent, doc_QStyle_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_customEvent, "QStyle.customEvent(QEvent)");

extern "C" {static PyObject *meth_QStyle_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_customEvent, doc_QStyle_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_connectNotify, "QStyle.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStyle_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStyle, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_connectNotify, doc_QStyle_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_disconnectNotify, "QStyle.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QStyle_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStyle, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_disconnectNotify, doc_QStyle_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_senderSignalIndex, "QStyle.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QStyle_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QStyle, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_senderSignalIndex, doc_QStyle_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_isSignalConnected, "QStyle.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QStyle_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQStyle *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QStyle, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_isSignalConnected, doc_QStyle_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_polish, "QStyle.polish(QWidget)\n"
    "QStyle.polish(QApplication)\n"
    "QStyle.polish(QPalette) -> QPalette");

extern "C" {static PyObject *meth_QStyle_polish(PyObject *, PyObject *);}
static PyObject *meth_QStyle_polish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QWidget, &a0))
        {
            (sipSelfWasArg ? sipCpp->QStyle::polish(a0) : sipCpp->polish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QApplication* a0;
        QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QApplication, &a0))
        {
            (sipSelfWasArg ? sipCpp->QStyle::polish(a0) : sipCpp->polish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPalette* a0;
        QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QStyle, &sipCpp, sipType_QPalette, &a0))
        {
            (sipSelfWasArg ? sipCpp->QStyle::polish(*a0) : sipCpp->polish(*a0));

            return sipConvertFromType(a0,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_polish, doc_QStyle_polish);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_unpolish, "QStyle.unpolish(QWidget)\n"
    "QStyle.unpolish(QApplication)");

extern "C" {static PyObject *meth_QStyle_unpolish(PyObject *, PyObject *);}
static PyObject *meth_QStyle_unpolish(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QWidget, &a0))
        {
            (sipSelfWasArg ? sipCpp->QStyle::unpolish(a0) : sipCpp->unpolish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QApplication* a0;
        QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QApplication, &a0))
        {
            (sipSelfWasArg ? sipCpp->QStyle::unpolish(a0) : sipCpp->unpolish(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_unpolish, doc_QStyle_unpolish);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_itemTextRect, "QStyle.itemTextRect(QFontMetrics, QRect, int, bool, str) -> QRect");

extern "C" {static PyObject *meth_QStyle_itemTextRect(PyObject *, PyObject *);}
static PyObject *meth_QStyle_itemTextRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFontMetrics* a0;
        const QRect* a1;
        int a2;
        bool a3;
        const QString* a4;
        int a4State = 0;
        const QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9ibJ1", &sipSelf, sipType_QStyle, &sipCpp, sipType_QFontMetrics, &a0, sipType_QRect, &a1, &a2, &a3, sipType_QString,&a4, &a4State))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QStyle::itemTextRect(*a0,*a1,a2,a3,*a4) : sipCpp->itemTextRect(*a0,*a1,a2,a3,*a4)));
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_itemTextRect, doc_QStyle_itemTextRect);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_itemPixmapRect, "QStyle.itemPixmapRect(QRect, int, QPixmap) -> QRect");

extern "C" {static PyObject *meth_QStyle_itemPixmapRect(PyObject *, PyObject *);}
static PyObject *meth_QStyle_itemPixmapRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        int a1;
        const QPixmap* a2;
        const QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iJ9", &sipSelf, sipType_QStyle, &sipCpp, sipType_QRect, &a0, &a1, sipType_QPixmap, &a2))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QStyle::itemPixmapRect(*a0,a1,*a2) : sipCpp->itemPixmapRect(*a0,a1,*a2)));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_itemPixmapRect, doc_QStyle_itemPixmapRect);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_drawItemText, "QStyle.drawItemText(QPainter, QRect, int, QPalette, bool, str, QPalette.ColorRole textRole=QPalette.NoRole)");

extern "C" {static PyObject *meth_QStyle_drawItemText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_drawItemText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRect* a1;
        int a2;
        const QPalette* a3;
        bool a4;
        const QString* a5;
        int a5State = 0;
        QPalette::ColorRole a6 = QPalette::NoRole;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_textRole,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J9iJ9bJ1|E", &sipSelf, sipType_QStyle, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, &a2, sipType_QPalette, &a3, &a4, sipType_QString,&a5, &a5State, sipType_QPalette_ColorRole, &a6))
        {
            (sipSelfWasArg ? sipCpp->QStyle::drawItemText(a0,*a1,a2,*a3,a4,*a5,a6) : sipCpp->drawItemText(a0,*a1,a2,*a3,a4,*a5,a6));
            sipReleaseType(const_cast<QString *>(a5),sipType_QString,a5State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_drawItemText, doc_QStyle_drawItemText);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_drawItemPixmap, "QStyle.drawItemPixmap(QPainter, QRect, int, QPixmap)");

extern "C" {static PyObject *meth_QStyle_drawItemPixmap(PyObject *, PyObject *);}
static PyObject *meth_QStyle_drawItemPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRect* a1;
        int a2;
        const QPixmap* a3;
        const QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9iJ9", &sipSelf, sipType_QStyle, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, &a2, sipType_QPixmap, &a3))
        {
            (sipSelfWasArg ? sipCpp->QStyle::drawItemPixmap(a0,*a1,a2,*a3) : sipCpp->drawItemPixmap(a0,*a1,a2,*a3));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_drawItemPixmap, doc_QStyle_drawItemPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_standardPalette, "QStyle.standardPalette() -> QPalette");

extern "C" {static PyObject *meth_QStyle_standardPalette(PyObject *, PyObject *);}
static PyObject *meth_QStyle_standardPalette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStyle, &sipCpp))
        {
            QPalette*sipRes;

            sipRes = new QPalette((sipSelfWasArg ? sipCpp->QStyle::standardPalette() : sipCpp->standardPalette()));

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_standardPalette, doc_QStyle_standardPalette);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_drawPrimitive, "QStyle.drawPrimitive(QStyle.PrimitiveElement, QStyleOption, QPainter, QWidget widget=None)");

extern "C" {static PyObject *meth_QStyle_drawPrimitive(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_drawPrimitive(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::PrimitiveElement a0;
        const QStyleOption* a1;
        QPainter* a2;
        const QWidget* a3 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J8|J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_PrimitiveElement, &a0, sipType_QStyleOption, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_drawPrimitive);
                return NULL;
            }

            sipCpp->drawPrimitive(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_drawPrimitive, doc_QStyle_drawPrimitive);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_drawControl, "QStyle.drawControl(QStyle.ControlElement, QStyleOption, QPainter, QWidget widget=None)");

extern "C" {static PyObject *meth_QStyle_drawControl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_drawControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::ControlElement a0;
        const QStyleOption* a1;
        QPainter* a2;
        const QWidget* a3 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J8|J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_ControlElement, &a0, sipType_QStyleOption, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_drawControl);
                return NULL;
            }

            sipCpp->drawControl(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_drawControl, doc_QStyle_drawControl);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_subElementRect, "QStyle.subElementRect(QStyle.SubElement, QStyleOption, QWidget widget=None) -> QRect");

extern "C" {static PyObject *meth_QStyle_subElementRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_subElementRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::SubElement a0;
        const QStyleOption* a1;
        const QWidget* a2 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8|J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_SubElement, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            QRect*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_subElementRect);
                return NULL;
            }

            sipRes = new QRect(sipCpp->subElementRect(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_subElementRect, doc_QStyle_subElementRect);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_drawComplexControl, "QStyle.drawComplexControl(QStyle.ComplexControl, QStyleOptionComplex, QPainter, QWidget widget=None)");

extern "C" {static PyObject *meth_QStyle_drawComplexControl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_drawComplexControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        QPainter* a2;
        const QWidget* a3 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J8|J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QPainter, &a2, sipType_QWidget, &a3))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_drawComplexControl);
                return NULL;
            }

            sipCpp->drawComplexControl(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_drawComplexControl, doc_QStyle_drawComplexControl);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_hitTestComplexControl, "QStyle.hitTestComplexControl(QStyle.ComplexControl, QStyleOptionComplex, QPoint, QWidget widget=None) -> QStyle.SubControl");

extern "C" {static PyObject *meth_QStyle_hitTestComplexControl(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_hitTestComplexControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        const QPoint* a2;
        const QWidget* a3 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J9|J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QPoint, &a2, sipType_QWidget, &a3))
        {
            QStyle::SubControl sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_hitTestComplexControl);
                return NULL;
            }

            sipRes = sipCpp->hitTestComplexControl(a0,a1,*a2,a3);

            return sipConvertFromEnum(sipRes,sipType_QStyle_SubControl);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_hitTestComplexControl, doc_QStyle_hitTestComplexControl);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_subControlRect, "QStyle.subControlRect(QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, QWidget widget=None) -> QRect");

extern "C" {static PyObject *meth_QStyle_subControlRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_subControlRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::ComplexControl a0;
        const QStyleOptionComplex* a1;
        QStyle::SubControl a2;
        const QWidget* a3 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8E|J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_ComplexControl, &a0, sipType_QStyleOptionComplex, &a1, sipType_QStyle_SubControl, &a2, sipType_QWidget, &a3))
        {
            QRect*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_subControlRect);
                return NULL;
            }

            sipRes = new QRect(sipCpp->subControlRect(a0,a1,a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_subControlRect, doc_QStyle_subControlRect);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_pixelMetric, "QStyle.pixelMetric(QStyle.PixelMetric, QStyleOption option=None, QWidget widget=None) -> int");

extern "C" {static PyObject *meth_QStyle_pixelMetric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_pixelMetric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::PixelMetric a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_PixelMetric, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_pixelMetric);
                return NULL;
            }

            sipRes = sipCpp->pixelMetric(a0,a1,a2);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_pixelMetric, doc_QStyle_pixelMetric);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_sizeFromContents, "QStyle.sizeFromContents(QStyle.ContentsType, QStyleOption, QSize, QWidget widget=None) -> QSize");

extern "C" {static PyObject *meth_QStyle_sizeFromContents(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_sizeFromContents(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::ContentsType a0;
        const QStyleOption* a1;
        const QSize* a2;
        const QWidget* a3 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEJ8J9|J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_ContentsType, &a0, sipType_QStyleOption, &a1, sipType_QSize, &a2, sipType_QWidget, &a3))
        {
            QSize*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_sizeFromContents);
                return NULL;
            }

            sipRes = new QSize(sipCpp->sizeFromContents(a0,a1,*a2,a3));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_sizeFromContents, doc_QStyle_sizeFromContents);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_styleHint, "QStyle.styleHint(QStyle.StyleHint, QStyleOption option=None, QWidget widget=None, QStyleHintReturn returnData=None) -> int");

extern "C" {static PyObject *meth_QStyle_styleHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_styleHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::StyleHint a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        QStyleHintReturn* a3 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
            sipName_returnData,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_StyleHint, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2, sipType_QStyleHintReturn, &a3))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_styleHint);
                return NULL;
            }

            sipRes = sipCpp->styleHint(a0,a1,a2,a3);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_styleHint, doc_QStyle_styleHint);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_standardPixmap, "QStyle.standardPixmap(QStyle.StandardPixmap, QStyleOption option=None, QWidget widget=None) -> QPixmap");

extern "C" {static PyObject *meth_QStyle_standardPixmap(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_standardPixmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::StandardPixmap a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_StandardPixmap, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            QPixmap*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_standardPixmap);
                return NULL;
            }

            sipRes = new QPixmap(sipCpp->standardPixmap(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_standardPixmap, doc_QStyle_standardPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_standardIcon, "QStyle.standardIcon(QStyle.StandardPixmap, QStyleOption option=None, QWidget widget=None) -> QIcon");

extern "C" {static PyObject *meth_QStyle_standardIcon(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_standardIcon(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QStyle::StandardPixmap a0;
        const QStyleOption* a1 = 0;
        const QWidget* a2 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QStyle_StandardPixmap, &a0, sipType_QStyleOption, &a1, sipType_QWidget, &a2))
        {
            QIcon*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_standardIcon);
                return NULL;
            }

            sipRes = new QIcon(sipCpp->standardIcon(a0,a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_standardIcon, doc_QStyle_standardIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_generatedIconPixmap, "QStyle.generatedIconPixmap(QIcon.Mode, QPixmap, QStyleOption) -> QPixmap");

extern "C" {static PyObject *meth_QStyle_generatedIconPixmap(PyObject *, PyObject *);}
static PyObject *meth_QStyle_generatedIconPixmap(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QIcon::Mode a0;
        const QPixmap* a1;
        const QStyleOption* a2;
        const QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QIcon_Mode, &a0, sipType_QPixmap, &a1, sipType_QStyleOption, &a2))
        {
            QPixmap*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_generatedIconPixmap);
                return NULL;
            }

            sipRes = new QPixmap(sipCpp->generatedIconPixmap(a0,*a1,a2));

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_generatedIconPixmap, doc_QStyle_generatedIconPixmap);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_visualRect, "QStyle.visualRect(Qt.LayoutDirection, QRect, QRect) -> QRect");

extern "C" {static PyObject *meth_QStyle_visualRect(PyObject *, PyObject *);}
static PyObject *meth_QStyle_visualRect(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::LayoutDirection a0;
        const QRect* a1;
        const QRect* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ9J9", sipType_Qt_LayoutDirection, &a0, sipType_QRect, &a1, sipType_QRect, &a2))
        {
            QRect*sipRes;

            sipRes = new QRect(QStyle::visualRect(a0,*a1,*a2));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_visualRect, doc_QStyle_visualRect);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_visualPos, "QStyle.visualPos(Qt.LayoutDirection, QRect, QPoint) -> QPoint");

extern "C" {static PyObject *meth_QStyle_visualPos(PyObject *, PyObject *);}
static PyObject *meth_QStyle_visualPos(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::LayoutDirection a0;
        const QRect* a1;
        const QPoint* a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ9J9", sipType_Qt_LayoutDirection, &a0, sipType_QRect, &a1, sipType_QPoint, &a2))
        {
            QPoint*sipRes;

            sipRes = new QPoint(QStyle::visualPos(a0,*a1,*a2));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_visualPos, doc_QStyle_visualPos);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_sliderPositionFromValue, "QStyle.sliderPositionFromValue(int, int, int, int, bool upsideDown=False) -> int");

extern "C" {static PyObject *meth_QStyle_sliderPositionFromValue(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_sliderPositionFromValue(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        bool a4 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_upsideDown,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "iiii|b", &a0, &a1, &a2, &a3, &a4))
        {
            int sipRes;

            sipRes = QStyle::sliderPositionFromValue(a0,a1,a2,a3,a4);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_sliderPositionFromValue, doc_QStyle_sliderPositionFromValue);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_sliderValueFromPosition, "QStyle.sliderValueFromPosition(int, int, int, int, bool upsideDown=False) -> int");

extern "C" {static PyObject *meth_QStyle_sliderValueFromPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_sliderValueFromPosition(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        bool a4 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            NULL,
            sipName_upsideDown,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "iiii|b", &a0, &a1, &a2, &a3, &a4))
        {
            int sipRes;

            sipRes = QStyle::sliderValueFromPosition(a0,a1,a2,a3,a4);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_sliderValueFromPosition, doc_QStyle_sliderValueFromPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_visualAlignment, "QStyle.visualAlignment(Qt.LayoutDirection, Qt.Alignment) -> Qt.Alignment");

extern "C" {static PyObject *meth_QStyle_visualAlignment(PyObject *, PyObject *);}
static PyObject *meth_QStyle_visualAlignment(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::LayoutDirection a0;
        Qt::Alignment* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ1", sipType_Qt_LayoutDirection, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(QStyle::visualAlignment(a0,*a1));
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_visualAlignment, doc_QStyle_visualAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_alignedRect, "QStyle.alignedRect(Qt.LayoutDirection, Qt.Alignment, QSize, QRect) -> QRect");

extern "C" {static PyObject *meth_QStyle_alignedRect(PyObject *, PyObject *);}
static PyObject *meth_QStyle_alignedRect(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::LayoutDirection a0;
        Qt::Alignment* a1;
        int a1State = 0;
        const QSize* a2;
        const QRect* a3;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ1J9J9", sipType_Qt_LayoutDirection, &a0, sipType_Qt_Alignment, &a1, &a1State, sipType_QSize, &a2, sipType_QRect, &a3))
        {
            QRect*sipRes;

            sipRes = new QRect(QStyle::alignedRect(a0,*a1,*a2,*a3));
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_alignedRect, doc_QStyle_alignedRect);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_layoutSpacing, "QStyle.layoutSpacing(QSizePolicy.ControlType, QSizePolicy.ControlType, Qt.Orientation, QStyleOption option=None, QWidget widget=None) -> int");

extern "C" {static PyObject *meth_QStyle_layoutSpacing(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_layoutSpacing(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QSizePolicy::ControlType a0;
        QSizePolicy::ControlType a1;
        Qt::Orientation a2;
        const QStyleOption* a3 = 0;
        const QWidget* a4 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BEEE|J8J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QSizePolicy_ControlType, &a0, sipType_QSizePolicy_ControlType, &a1, sipType_Qt_Orientation, &a2, sipType_QStyleOption, &a3, sipType_QWidget, &a4))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QStyle, sipName_layoutSpacing);
                return NULL;
            }

            sipRes = sipCpp->layoutSpacing(a0,a1,a2,a3,a4);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_layoutSpacing, doc_QStyle_layoutSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_combinedLayoutSpacing, "QStyle.combinedLayoutSpacing(QSizePolicy.ControlTypes, QSizePolicy.ControlTypes, Qt.Orientation, QStyleOption option=None, QWidget widget=None) -> int");

extern "C" {static PyObject *meth_QStyle_combinedLayoutSpacing(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QStyle_combinedLayoutSpacing(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy::ControlTypes* a0;
        int a0State = 0;
        QSizePolicy::ControlTypes* a1;
        int a1State = 0;
        Qt::Orientation a2;
        QStyleOption* a3 = 0;
        QWidget* a4 = 0;
        const QStyle *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_option,
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1E|J8J8", &sipSelf, sipType_QStyle, &sipCpp, sipType_QSizePolicy_ControlTypes, &a0, &a0State, sipType_QSizePolicy_ControlTypes, &a1, &a1State, sipType_Qt_Orientation, &a2, sipType_QStyleOption, &a3, sipType_QWidget, &a4))
        {
            int sipRes;

            sipRes = sipCpp->combinedLayoutSpacing(*a0,*a1,a2,a3,a4);
            sipReleaseType(a0,sipType_QSizePolicy_ControlTypes,a0State);
            sipReleaseType(a1,sipType_QSizePolicy_ControlTypes,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_combinedLayoutSpacing, doc_QStyle_combinedLayoutSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QStyle_proxy, "QStyle.proxy() -> QStyle");

extern "C" {static PyObject *meth_QStyle_proxy(PyObject *, PyObject *);}
static PyObject *meth_QStyle_proxy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStyle *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QStyle, &sipCpp))
        {
            const QStyle*sipRes;

            sipRes = sipCpp->proxy();

            return sipConvertFromType(const_cast<QStyle *>(sipRes),sipType_QStyle,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QStyle, sipName_proxy, doc_QStyle_proxy);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QStyle(void *, const sipTypeDef *);}
static void *cast_QStyle(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QStyle)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QStyle *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QStyle(void *, int);}
static void release_QStyle(void *sipCppV,int)
{
    QStyle *sipCpp = reinterpret_cast<QStyle *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QStyle(sipSimpleWrapper *);}
static void dealloc_QStyle(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQStyle *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QStyle(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QStyle(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QStyle(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQStyle *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQStyle();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QStyle[] = {{162, 0, 1}};


static PyMethodDef methods_QStyle[] = {
    {SIP_MLNAME_CAST(sipName_alignedRect), meth_QStyle_alignedRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_alignedRect)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QStyle_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_combinedLayoutSpacing), (PyCFunction)meth_QStyle_combinedLayoutSpacing, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_combinedLayoutSpacing)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QStyle_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QStyle_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QStyle_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawComplexControl), (PyCFunction)meth_QStyle_drawComplexControl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_drawComplexControl)},
    {SIP_MLNAME_CAST(sipName_drawControl), (PyCFunction)meth_QStyle_drawControl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_drawControl)},
    {SIP_MLNAME_CAST(sipName_drawItemPixmap), meth_QStyle_drawItemPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_drawItemPixmap)},
    {SIP_MLNAME_CAST(sipName_drawItemText), (PyCFunction)meth_QStyle_drawItemText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_drawItemText)},
    {SIP_MLNAME_CAST(sipName_drawPrimitive), (PyCFunction)meth_QStyle_drawPrimitive, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_drawPrimitive)},
    {SIP_MLNAME_CAST(sipName_generatedIconPixmap), meth_QStyle_generatedIconPixmap, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_generatedIconPixmap)},
    {SIP_MLNAME_CAST(sipName_hitTestComplexControl), (PyCFunction)meth_QStyle_hitTestComplexControl, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_hitTestComplexControl)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QStyle_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemPixmapRect), meth_QStyle_itemPixmapRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_itemPixmapRect)},
    {SIP_MLNAME_CAST(sipName_itemTextRect), meth_QStyle_itemTextRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_itemTextRect)},
    {SIP_MLNAME_CAST(sipName_layoutSpacing), (PyCFunction)meth_QStyle_layoutSpacing, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_layoutSpacing)},
    {SIP_MLNAME_CAST(sipName_pixelMetric), (PyCFunction)meth_QStyle_pixelMetric, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_pixelMetric)},
    {SIP_MLNAME_CAST(sipName_polish), meth_QStyle_polish, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_polish)},
    {SIP_MLNAME_CAST(sipName_proxy), meth_QStyle_proxy, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_proxy)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QStyle_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QStyle_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QStyle_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeFromContents), (PyCFunction)meth_QStyle_sizeFromContents, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_sizeFromContents)},
    {SIP_MLNAME_CAST(sipName_sliderPositionFromValue), (PyCFunction)meth_QStyle_sliderPositionFromValue, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_sliderPositionFromValue)},
    {SIP_MLNAME_CAST(sipName_sliderValueFromPosition), (PyCFunction)meth_QStyle_sliderValueFromPosition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_sliderValueFromPosition)},
    {SIP_MLNAME_CAST(sipName_standardIcon), (PyCFunction)meth_QStyle_standardIcon, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_standardIcon)},
    {SIP_MLNAME_CAST(sipName_standardPalette), meth_QStyle_standardPalette, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_standardPalette)},
    {SIP_MLNAME_CAST(sipName_standardPixmap), (PyCFunction)meth_QStyle_standardPixmap, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_standardPixmap)},
    {SIP_MLNAME_CAST(sipName_styleHint), (PyCFunction)meth_QStyle_styleHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_styleHint)},
    {SIP_MLNAME_CAST(sipName_subControlRect), (PyCFunction)meth_QStyle_subControlRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_subControlRect)},
    {SIP_MLNAME_CAST(sipName_subElementRect), (PyCFunction)meth_QStyle_subElementRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QStyle_subElementRect)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QStyle_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_unpolish), meth_QStyle_unpolish, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_unpolish)},
    {SIP_MLNAME_CAST(sipName_visualAlignment), meth_QStyle_visualAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_visualAlignment)},
    {SIP_MLNAME_CAST(sipName_visualPos), meth_QStyle_visualPos, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_visualPos)},
    {SIP_MLNAME_CAST(sipName_visualRect), meth_QStyle_visualRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QStyle_visualRect)}
};

static sipEnumMemberDef enummembers_QStyle[] = {
    {sipName_CC_ComboBox, static_cast<int>(QStyle::CC_ComboBox), 284},
    {sipName_CC_CustomBase, static_cast<int>(QStyle::CC_CustomBase), 284},
    {sipName_CC_Dial, static_cast<int>(QStyle::CC_Dial), 284},
    {sipName_CC_GroupBox, static_cast<int>(QStyle::CC_GroupBox), 284},
    {sipName_CC_MdiControls, static_cast<int>(QStyle::CC_MdiControls), 284},
    {sipName_CC_ScrollBar, static_cast<int>(QStyle::CC_ScrollBar), 284},
    {sipName_CC_Slider, static_cast<int>(QStyle::CC_Slider), 284},
    {sipName_CC_SpinBox, static_cast<int>(QStyle::CC_SpinBox), 284},
    {sipName_CC_TitleBar, static_cast<int>(QStyle::CC_TitleBar), 284},
    {sipName_CC_ToolButton, static_cast<int>(QStyle::CC_ToolButton), 284},
    {sipName_CE_CheckBox, static_cast<int>(QStyle::CE_CheckBox), 286},
    {sipName_CE_CheckBoxLabel, static_cast<int>(QStyle::CE_CheckBoxLabel), 286},
    {sipName_CE_ColumnViewGrip, static_cast<int>(QStyle::CE_ColumnViewGrip), 286},
    {sipName_CE_ComboBoxLabel, static_cast<int>(QStyle::CE_ComboBoxLabel), 286},
    {sipName_CE_CustomBase, static_cast<int>(QStyle::CE_CustomBase), 286},
    {sipName_CE_DockWidgetTitle, static_cast<int>(QStyle::CE_DockWidgetTitle), 286},
    {sipName_CE_FocusFrame, static_cast<int>(QStyle::CE_FocusFrame), 286},
    {sipName_CE_Header, static_cast<int>(QStyle::CE_Header), 286},
    {sipName_CE_HeaderEmptyArea, static_cast<int>(QStyle::CE_HeaderEmptyArea), 286},
    {sipName_CE_HeaderLabel, static_cast<int>(QStyle::CE_HeaderLabel), 286},
    {sipName_CE_HeaderSection, static_cast<int>(QStyle::CE_HeaderSection), 286},
    {sipName_CE_ItemViewItem, static_cast<int>(QStyle::CE_ItemViewItem), 286},
    {sipName_CE_MenuBarEmptyArea, static_cast<int>(QStyle::CE_MenuBarEmptyArea), 286},
    {sipName_CE_MenuBarItem, static_cast<int>(QStyle::CE_MenuBarItem), 286},
    {sipName_CE_MenuEmptyArea, static_cast<int>(QStyle::CE_MenuEmptyArea), 286},
    {sipName_CE_MenuHMargin, static_cast<int>(QStyle::CE_MenuHMargin), 286},
    {sipName_CE_MenuItem, static_cast<int>(QStyle::CE_MenuItem), 286},
    {sipName_CE_MenuScroller, static_cast<int>(QStyle::CE_MenuScroller), 286},
    {sipName_CE_MenuTearoff, static_cast<int>(QStyle::CE_MenuTearoff), 286},
    {sipName_CE_MenuVMargin, static_cast<int>(QStyle::CE_MenuVMargin), 286},
    {sipName_CE_ProgressBar, static_cast<int>(QStyle::CE_ProgressBar), 286},
    {sipName_CE_ProgressBarContents, static_cast<int>(QStyle::CE_ProgressBarContents), 286},
    {sipName_CE_ProgressBarGroove, static_cast<int>(QStyle::CE_ProgressBarGroove), 286},
    {sipName_CE_ProgressBarLabel, static_cast<int>(QStyle::CE_ProgressBarLabel), 286},
    {sipName_CE_PushButton, static_cast<int>(QStyle::CE_PushButton), 286},
    {sipName_CE_PushButtonBevel, static_cast<int>(QStyle::CE_PushButtonBevel), 286},
    {sipName_CE_PushButtonLabel, static_cast<int>(QStyle::CE_PushButtonLabel), 286},
    {sipName_CE_RadioButton, static_cast<int>(QStyle::CE_RadioButton), 286},
    {sipName_CE_RadioButtonLabel, static_cast<int>(QStyle::CE_RadioButtonLabel), 286},
    {sipName_CE_RubberBand, static_cast<int>(QStyle::CE_RubberBand), 286},
    {sipName_CE_ScrollBarAddLine, static_cast<int>(QStyle::CE_ScrollBarAddLine), 286},
    {sipName_CE_ScrollBarAddPage, static_cast<int>(QStyle::CE_ScrollBarAddPage), 286},
    {sipName_CE_ScrollBarFirst, static_cast<int>(QStyle::CE_ScrollBarFirst), 286},
    {sipName_CE_ScrollBarLast, static_cast<int>(QStyle::CE_ScrollBarLast), 286},
    {sipName_CE_ScrollBarSlider, static_cast<int>(QStyle::CE_ScrollBarSlider), 286},
    {sipName_CE_ScrollBarSubLine, static_cast<int>(QStyle::CE_ScrollBarSubLine), 286},
    {sipName_CE_ScrollBarSubPage, static_cast<int>(QStyle::CE_ScrollBarSubPage), 286},
    {sipName_CE_ShapedFrame, static_cast<int>(QStyle::CE_ShapedFrame), 286},
    {sipName_CE_SizeGrip, static_cast<int>(QStyle::CE_SizeGrip), 286},
    {sipName_CE_Splitter, static_cast<int>(QStyle::CE_Splitter), 286},
    {sipName_CE_TabBarTab, static_cast<int>(QStyle::CE_TabBarTab), 286},
    {sipName_CE_TabBarTabLabel, static_cast<int>(QStyle::CE_TabBarTabLabel), 286},
    {sipName_CE_TabBarTabShape, static_cast<int>(QStyle::CE_TabBarTabShape), 286},
    {sipName_CE_ToolBar, static_cast<int>(QStyle::CE_ToolBar), 286},
    {sipName_CE_ToolBoxTab, static_cast<int>(QStyle::CE_ToolBoxTab), 286},
    {sipName_CE_ToolBoxTabLabel, static_cast<int>(QStyle::CE_ToolBoxTabLabel), 286},
    {sipName_CE_ToolBoxTabShape, static_cast<int>(QStyle::CE_ToolBoxTabShape), 286},
    {sipName_CE_ToolButtonLabel, static_cast<int>(QStyle::CE_ToolButtonLabel), 286},
    {sipName_CT_CheckBox, static_cast<int>(QStyle::CT_CheckBox), 285},
    {sipName_CT_ComboBox, static_cast<int>(QStyle::CT_ComboBox), 285},
    {sipName_CT_CustomBase, static_cast<int>(QStyle::CT_CustomBase), 285},
    {sipName_CT_DialogButtons, static_cast<int>(QStyle::CT_DialogButtons), 285},
    {sipName_CT_GroupBox, static_cast<int>(QStyle::CT_GroupBox), 285},
    {sipName_CT_HeaderSection, static_cast<int>(QStyle::CT_HeaderSection), 285},
    {sipName_CT_ItemViewItem, static_cast<int>(QStyle::CT_ItemViewItem), 285},
    {sipName_CT_LineEdit, static_cast<int>(QStyle::CT_LineEdit), 285},
    {sipName_CT_MdiControls, static_cast<int>(QStyle::CT_MdiControls), 285},
    {sipName_CT_Menu, static_cast<int>(QStyle::CT_Menu), 285},
    {sipName_CT_MenuBar, static_cast<int>(QStyle::CT_MenuBar), 285},
    {sipName_CT_MenuBarItem, static_cast<int>(QStyle::CT_MenuBarItem), 285},
    {sipName_CT_MenuItem, static_cast<int>(QStyle::CT_MenuItem), 285},
    {sipName_CT_ProgressBar, static_cast<int>(QStyle::CT_ProgressBar), 285},
    {sipName_CT_PushButton, static_cast<int>(QStyle::CT_PushButton), 285},
    {sipName_CT_RadioButton, static_cast<int>(QStyle::CT_RadioButton), 285},
    {sipName_CT_ScrollBar, static_cast<int>(QStyle::CT_ScrollBar), 285},
    {sipName_CT_SizeGrip, static_cast<int>(QStyle::CT_SizeGrip), 285},
    {sipName_CT_Slider, static_cast<int>(QStyle::CT_Slider), 285},
    {sipName_CT_SpinBox, static_cast<int>(QStyle::CT_SpinBox), 285},
    {sipName_CT_Splitter, static_cast<int>(QStyle::CT_Splitter), 285},
    {sipName_CT_TabBarTab, static_cast<int>(QStyle::CT_TabBarTab), 285},
    {sipName_CT_TabWidget, static_cast<int>(QStyle::CT_TabWidget), 285},
    {sipName_CT_ToolButton, static_cast<int>(QStyle::CT_ToolButton), 285},
    {sipName_PE_CustomBase, static_cast<int>(QStyle::PE_CustomBase), 288},
    {sipName_PE_Frame, static_cast<int>(QStyle::PE_Frame), 288},
    {sipName_PE_FrameButtonBevel, static_cast<int>(QStyle::PE_FrameButtonBevel), 288},
    {sipName_PE_FrameButtonTool, static_cast<int>(QStyle::PE_FrameButtonTool), 288},
    {sipName_PE_FrameDefaultButton, static_cast<int>(QStyle::PE_FrameDefaultButton), 288},
    {sipName_PE_FrameDockWidget, static_cast<int>(QStyle::PE_FrameDockWidget), 288},
    {sipName_PE_FrameFocusRect, static_cast<int>(QStyle::PE_FrameFocusRect), 288},
    {sipName_PE_FrameGroupBox, static_cast<int>(QStyle::PE_FrameGroupBox), 288},
    {sipName_PE_FrameLineEdit, static_cast<int>(QStyle::PE_FrameLineEdit), 288},
    {sipName_PE_FrameMenu, static_cast<int>(QStyle::PE_FrameMenu), 288},
    {sipName_PE_FrameStatusBar, static_cast<int>(QStyle::PE_FrameStatusBar), 288},
    {sipName_PE_FrameStatusBarItem, static_cast<int>(QStyle::PE_FrameStatusBarItem), 288},
    {sipName_PE_FrameTabBarBase, static_cast<int>(QStyle::PE_FrameTabBarBase), 288},
    {sipName_PE_FrameTabWidget, static_cast<int>(QStyle::PE_FrameTabWidget), 288},
    {sipName_PE_FrameWindow, static_cast<int>(QStyle::PE_FrameWindow), 288},
    {sipName_PE_IndicatorArrowDown, static_cast<int>(QStyle::PE_IndicatorArrowDown), 288},
    {sipName_PE_IndicatorArrowLeft, static_cast<int>(QStyle::PE_IndicatorArrowLeft), 288},
    {sipName_PE_IndicatorArrowRight, static_cast<int>(QStyle::PE_IndicatorArrowRight), 288},
    {sipName_PE_IndicatorArrowUp, static_cast<int>(QStyle::PE_IndicatorArrowUp), 288},
    {sipName_PE_IndicatorBranch, static_cast<int>(QStyle::PE_IndicatorBranch), 288},
    {sipName_PE_IndicatorButtonDropDown, static_cast<int>(QStyle::PE_IndicatorButtonDropDown), 288},
    {sipName_PE_IndicatorCheckBox, static_cast<int>(QStyle::PE_IndicatorCheckBox), 288},
    {sipName_PE_IndicatorColumnViewArrow, static_cast<int>(QStyle::PE_IndicatorColumnViewArrow), 288},
    {sipName_PE_IndicatorDockWidgetResizeHandle, static_cast<int>(QStyle::PE_IndicatorDockWidgetResizeHandle), 288},
    {sipName_PE_IndicatorHeaderArrow, static_cast<int>(QStyle::PE_IndicatorHeaderArrow), 288},
    {sipName_PE_IndicatorItemViewItemCheck, static_cast<int>(QStyle::PE_IndicatorItemViewItemCheck), 288},
    {sipName_PE_IndicatorItemViewItemDrop, static_cast<int>(QStyle::PE_IndicatorItemViewItemDrop), 288},
    {sipName_PE_IndicatorMenuCheckMark, static_cast<int>(QStyle::PE_IndicatorMenuCheckMark), 288},
    {sipName_PE_IndicatorProgressChunk, static_cast<int>(QStyle::PE_IndicatorProgressChunk), 288},
    {sipName_PE_IndicatorRadioButton, static_cast<int>(QStyle::PE_IndicatorRadioButton), 288},
    {sipName_PE_IndicatorSpinDown, static_cast<int>(QStyle::PE_IndicatorSpinDown), 288},
    {sipName_PE_IndicatorSpinMinus, static_cast<int>(QStyle::PE_IndicatorSpinMinus), 288},
    {sipName_PE_IndicatorSpinPlus, static_cast<int>(QStyle::PE_IndicatorSpinPlus), 288},
    {sipName_PE_IndicatorSpinUp, static_cast<int>(QStyle::PE_IndicatorSpinUp), 288},
    {sipName_PE_IndicatorTabClose, static_cast<int>(QStyle::PE_IndicatorTabClose), 288},
    {sipName_PE_IndicatorTabTear, static_cast<int>(QStyle::PE_IndicatorTabTear), 288},
    {sipName_PE_IndicatorToolBarHandle, static_cast<int>(QStyle::PE_IndicatorToolBarHandle), 288},
    {sipName_PE_IndicatorToolBarSeparator, static_cast<int>(QStyle::PE_IndicatorToolBarSeparator), 288},
    {sipName_PE_IndicatorViewItemCheck, static_cast<int>(QStyle::PE_IndicatorViewItemCheck), 288},
    {sipName_PE_PanelButtonBevel, static_cast<int>(QStyle::PE_PanelButtonBevel), 288},
    {sipName_PE_PanelButtonCommand, static_cast<int>(QStyle::PE_PanelButtonCommand), 288},
    {sipName_PE_PanelButtonTool, static_cast<int>(QStyle::PE_PanelButtonTool), 288},
    {sipName_PE_PanelItemViewItem, static_cast<int>(QStyle::PE_PanelItemViewItem), 288},
    {sipName_PE_PanelItemViewRow, static_cast<int>(QStyle::PE_PanelItemViewRow), 288},
    {sipName_PE_PanelLineEdit, static_cast<int>(QStyle::PE_PanelLineEdit), 288},
    {sipName_PE_PanelMenu, static_cast<int>(QStyle::PE_PanelMenu), 288},
    {sipName_PE_PanelMenuBar, static_cast<int>(QStyle::PE_PanelMenuBar), 288},
    {sipName_PE_PanelScrollAreaCorner, static_cast<int>(QStyle::PE_PanelScrollAreaCorner), 288},
    {sipName_PE_PanelStatusBar, static_cast<int>(QStyle::PE_PanelStatusBar), 288},
    {sipName_PE_PanelTipLabel, static_cast<int>(QStyle::PE_PanelTipLabel), 288},
    {sipName_PE_PanelToolBar, static_cast<int>(QStyle::PE_PanelToolBar), 288},
    {sipName_PE_Widget, static_cast<int>(QStyle::PE_Widget), 288},
    {sipName_PM_ButtonDefaultIndicator, static_cast<int>(QStyle::PM_ButtonDefaultIndicator), 287},
    {sipName_PM_ButtonIconSize, static_cast<int>(QStyle::PM_ButtonIconSize), 287},
    {sipName_PM_ButtonMargin, static_cast<int>(QStyle::PM_ButtonMargin), 287},
    {sipName_PM_ButtonShiftHorizontal, static_cast<int>(QStyle::PM_ButtonShiftHorizontal), 287},
    {sipName_PM_ButtonShiftVertical, static_cast<int>(QStyle::PM_ButtonShiftVertical), 287},
    {sipName_PM_CheckBoxLabelSpacing, static_cast<int>(QStyle::PM_CheckBoxLabelSpacing), 287},
    {sipName_PM_ComboBoxFrameWidth, static_cast<int>(QStyle::PM_ComboBoxFrameWidth), 287},
    {sipName_PM_CustomBase, static_cast<int>(QStyle::PM_CustomBase), 287},
    {sipName_PM_DefaultChildMargin, static_cast<int>(QStyle::PM_DefaultChildMargin), 287},
    {sipName_PM_DefaultFrameWidth, static_cast<int>(QStyle::PM_DefaultFrameWidth), 287},
    {sipName_PM_DefaultLayoutSpacing, static_cast<int>(QStyle::PM_DefaultLayoutSpacing), 287},
    {sipName_PM_DefaultTopLevelMargin, static_cast<int>(QStyle::PM_DefaultTopLevelMargin), 287},
    {sipName_PM_DialogButtonsButtonHeight, static_cast<int>(QStyle::PM_DialogButtonsButtonHeight), 287},
    {sipName_PM_DialogButtonsButtonWidth, static_cast<int>(QStyle::PM_DialogButtonsButtonWidth), 287},
    {sipName_PM_DialogButtonsSeparator, static_cast<int>(QStyle::PM_DialogButtonsSeparator), 287},
    {sipName_PM_DockWidgetFrameWidth, static_cast<int>(QStyle::PM_DockWidgetFrameWidth), 287},
    {sipName_PM_DockWidgetHandleExtent, static_cast<int>(QStyle::PM_DockWidgetHandleExtent), 287},
    {sipName_PM_DockWidgetSeparatorExtent, static_cast<int>(QStyle::PM_DockWidgetSeparatorExtent), 287},
    {sipName_PM_DockWidgetTitleBarButtonMargin, static_cast<int>(QStyle::PM_DockWidgetTitleBarButtonMargin), 287},
    {sipName_PM_DockWidgetTitleMargin, static_cast<int>(QStyle::PM_DockWidgetTitleMargin), 287},
    {sipName_PM_ExclusiveIndicatorHeight, static_cast<int>(QStyle::PM_ExclusiveIndicatorHeight), 287},
    {sipName_PM_ExclusiveIndicatorWidth, static_cast<int>(QStyle::PM_ExclusiveIndicatorWidth), 287},
    {sipName_PM_FocusFrameHMargin, static_cast<int>(QStyle::PM_FocusFrameHMargin), 287},
    {sipName_PM_FocusFrameVMargin, static_cast<int>(QStyle::PM_FocusFrameVMargin), 287},
    {sipName_PM_HeaderGripMargin, static_cast<int>(QStyle::PM_HeaderGripMargin), 287},
    {sipName_PM_HeaderMargin, static_cast<int>(QStyle::PM_HeaderMargin), 287},
    {sipName_PM_HeaderMarkSize, static_cast<int>(QStyle::PM_HeaderMarkSize), 287},
    {sipName_PM_IconViewIconSize, static_cast<int>(QStyle::PM_IconViewIconSize), 287},
    {sipName_PM_IndicatorHeight, static_cast<int>(QStyle::PM_IndicatorHeight), 287},
    {sipName_PM_IndicatorWidth, static_cast<int>(QStyle::PM_IndicatorWidth), 287},
    {sipName_PM_LargeIconSize, static_cast<int>(QStyle::PM_LargeIconSize), 287},
    {sipName_PM_LayoutBottomMargin, static_cast<int>(QStyle::PM_LayoutBottomMargin), 287},
    {sipName_PM_LayoutHorizontalSpacing, static_cast<int>(QStyle::PM_LayoutHorizontalSpacing), 287},
    {sipName_PM_LayoutLeftMargin, static_cast<int>(QStyle::PM_LayoutLeftMargin), 287},
    {sipName_PM_LayoutRightMargin, static_cast<int>(QStyle::PM_LayoutRightMargin), 287},
    {sipName_PM_LayoutTopMargin, static_cast<int>(QStyle::PM_LayoutTopMargin), 287},
    {sipName_PM_LayoutVerticalSpacing, static_cast<int>(QStyle::PM_LayoutVerticalSpacing), 287},
    {sipName_PM_ListViewIconSize, static_cast<int>(QStyle::PM_ListViewIconSize), 287},
    {sipName_PM_MDIFrameWidth, static_cast<int>(QStyle::PM_MDIFrameWidth), 287},
    {sipName_PM_MDIMinimizedWidth, static_cast<int>(QStyle::PM_MDIMinimizedWidth), 287},
    {sipName_PM_MaximumDragDistance, static_cast<int>(QStyle::PM_MaximumDragDistance), 287},
    {sipName_PM_MdiSubWindowFrameWidth, static_cast<int>(QStyle::PM_MdiSubWindowFrameWidth), 287},
    {sipName_PM_MdiSubWindowMinimizedWidth, static_cast<int>(QStyle::PM_MdiSubWindowMinimizedWidth), 287},
    {sipName_PM_MenuBarHMargin, static_cast<int>(QStyle::PM_MenuBarHMargin), 287},
    {sipName_PM_MenuBarItemSpacing, static_cast<int>(QStyle::PM_MenuBarItemSpacing), 287},
    {sipName_PM_MenuBarPanelWidth, static_cast<int>(QStyle::PM_MenuBarPanelWidth), 287},
    {sipName_PM_MenuBarVMargin, static_cast<int>(QStyle::PM_MenuBarVMargin), 287},
    {sipName_PM_MenuButtonIndicator, static_cast<int>(QStyle::PM_MenuButtonIndicator), 287},
    {sipName_PM_MenuDesktopFrameWidth, static_cast<int>(QStyle::PM_MenuDesktopFrameWidth), 287},
    {sipName_PM_MenuHMargin, static_cast<int>(QStyle::PM_MenuHMargin), 287},
    {sipName_PM_MenuPanelWidth, static_cast<int>(QStyle::PM_MenuPanelWidth), 287},
    {sipName_PM_MenuScrollerHeight, static_cast<int>(QStyle::PM_MenuScrollerHeight), 287},
    {sipName_PM_MenuTearoffHeight, static_cast<int>(QStyle::PM_MenuTearoffHeight), 287},
    {sipName_PM_MenuVMargin, static_cast<int>(QStyle::PM_MenuVMargin), 287},
    {sipName_PM_MessageBoxIconSize, static_cast<int>(QStyle::PM_MessageBoxIconSize), 287},
    {sipName_PM_ProgressBarChunkWidth, static_cast<int>(QStyle::PM_ProgressBarChunkWidth), 287},
    {sipName_PM_RadioButtonLabelSpacing, static_cast<int>(QStyle::PM_RadioButtonLabelSpacing), 287},
    {sipName_PM_ScrollBarExtent, static_cast<int>(QStyle::PM_ScrollBarExtent), 287},
    {sipName_PM_ScrollBarSliderMin, static_cast<int>(QStyle::PM_ScrollBarSliderMin), 287},
    {sipName_PM_ScrollView_ScrollBarOverlap, static_cast<int>(QStyle::PM_ScrollView_ScrollBarOverlap), 287},
    {sipName_PM_ScrollView_ScrollBarSpacing, static_cast<int>(QStyle::PM_ScrollView_ScrollBarSpacing), 287},
    {sipName_PM_SizeGripSize, static_cast<int>(QStyle::PM_SizeGripSize), 287},
    {sipName_PM_SliderControlThickness, static_cast<int>(QStyle::PM_SliderControlThickness), 287},
    {sipName_PM_SliderLength, static_cast<int>(QStyle::PM_SliderLength), 287},
    {sipName_PM_SliderSpaceAvailable, static_cast<int>(QStyle::PM_SliderSpaceAvailable), 287},
    {sipName_PM_SliderThickness, static_cast<int>(QStyle::PM_SliderThickness), 287},
    {sipName_PM_SliderTickmarkOffset, static_cast<int>(QStyle::PM_SliderTickmarkOffset), 287},
    {sipName_PM_SmallIconSize, static_cast<int>(QStyle::PM_SmallIconSize), 287},
    {sipName_PM_SpinBoxFrameWidth, static_cast<int>(QStyle::PM_SpinBoxFrameWidth), 287},
    {sipName_PM_SpinBoxSliderHeight, static_cast<int>(QStyle::PM_SpinBoxSliderHeight), 287},
    {sipName_PM_SplitterWidth, static_cast<int>(QStyle::PM_SplitterWidth), 287},
    {sipName_PM_SubMenuOverlap, static_cast<int>(QStyle::PM_SubMenuOverlap), 287},
    {sipName_PM_TabBarBaseHeight, static_cast<int>(QStyle::PM_TabBarBaseHeight), 287},
    {sipName_PM_TabBarBaseOverlap, static_cast<int>(QStyle::PM_TabBarBaseOverlap), 287},
    {sipName_PM_TabBarIconSize, static_cast<int>(QStyle::PM_TabBarIconSize), 287},
    {sipName_PM_TabBarScrollButtonWidth, static_cast<int>(QStyle::PM_TabBarScrollButtonWidth), 287},
    {sipName_PM_TabBarTabHSpace, static_cast<int>(QStyle::PM_TabBarTabHSpace), 287},
    {sipName_PM_TabBarTabOverlap, static_cast<int>(QStyle::PM_TabBarTabOverlap), 287},
    {sipName_PM_TabBarTabShiftHorizontal, static_cast<int>(QStyle::PM_TabBarTabShiftHorizontal), 287},
    {sipName_PM_TabBarTabShiftVertical, static_cast<int>(QStyle::PM_TabBarTabShiftVertical), 287},
    {sipName_PM_TabBarTabVSpace, static_cast<int>(QStyle::PM_TabBarTabVSpace), 287},
    {sipName_PM_TabBar_ScrollButtonOverlap, static_cast<int>(QStyle::PM_TabBar_ScrollButtonOverlap), 287},
    {sipName_PM_TabCloseIndicatorHeight, static_cast<int>(QStyle::PM_TabCloseIndicatorHeight), 287},
    {sipName_PM_TabCloseIndicatorWidth, static_cast<int>(QStyle::PM_TabCloseIndicatorWidth), 287},
    {sipName_PM_TextCursorWidth, static_cast<int>(QStyle::PM_TextCursorWidth), 287},
    {sipName_PM_TitleBarHeight, static_cast<int>(QStyle::PM_TitleBarHeight), 287},
    {sipName_PM_ToolBarExtensionExtent, static_cast<int>(QStyle::PM_ToolBarExtensionExtent), 287},
    {sipName_PM_ToolBarFrameWidth, static_cast<int>(QStyle::PM_ToolBarFrameWidth), 287},
    {sipName_PM_ToolBarHandleExtent, static_cast<int>(QStyle::PM_ToolBarHandleExtent), 287},
    {sipName_PM_ToolBarIconSize, static_cast<int>(QStyle::PM_ToolBarIconSize), 287},
    {sipName_PM_ToolBarItemMargin, static_cast<int>(QStyle::PM_ToolBarItemMargin), 287},
    {sipName_PM_ToolBarItemSpacing, static_cast<int>(QStyle::PM_ToolBarItemSpacing), 287},
    {sipName_PM_ToolBarSeparatorExtent, static_cast<int>(QStyle::PM_ToolBarSeparatorExtent), 287},
    {sipName_PM_ToolTipLabelFrameWidth, static_cast<int>(QStyle::PM_ToolTipLabelFrameWidth), 287},
    {sipName_PM_TreeViewIndentation, static_cast<int>(QStyle::PM_TreeViewIndentation), 287},
    {sipName_RSIP_OnMouseClick, static_cast<int>(QStyle::RSIP_OnMouseClick), 289},
    {sipName_RSIP_OnMouseClickAndAlreadyFocused, static_cast<int>(QStyle::RSIP_OnMouseClickAndAlreadyFocused), 289},
    {sipName_SC_All, static_cast<int>(QStyle::SC_All), 294},
    {sipName_SC_ComboBoxArrow, static_cast<int>(QStyle::SC_ComboBoxArrow), 294},
    {sipName_SC_ComboBoxEditField, static_cast<int>(QStyle::SC_ComboBoxEditField), 294},
    {sipName_SC_ComboBoxFrame, static_cast<int>(QStyle::SC_ComboBoxFrame), 294},
    {sipName_SC_ComboBoxListBoxPopup, static_cast<int>(QStyle::SC_ComboBoxListBoxPopup), 294},
    {sipName_SC_CustomBase, static_cast<int>(QStyle::SC_CustomBase), 294},
    {sipName_SC_DialGroove, static_cast<int>(QStyle::SC_DialGroove), 294},
    {sipName_SC_DialHandle, static_cast<int>(QStyle::SC_DialHandle), 294},
    {sipName_SC_DialTickmarks, static_cast<int>(QStyle::SC_DialTickmarks), 294},
    {sipName_SC_GroupBoxCheckBox, static_cast<int>(QStyle::SC_GroupBoxCheckBox), 294},
    {sipName_SC_GroupBoxContents, static_cast<int>(QStyle::SC_GroupBoxContents), 294},
    {sipName_SC_GroupBoxFrame, static_cast<int>(QStyle::SC_GroupBoxFrame), 294},
    {sipName_SC_GroupBoxLabel, static_cast<int>(QStyle::SC_GroupBoxLabel), 294},
    {sipName_SC_MdiCloseButton, static_cast<int>(QStyle::SC_MdiCloseButton), 294},
    {sipName_SC_MdiMinButton, static_cast<int>(QStyle::SC_MdiMinButton), 294},
    {sipName_SC_MdiNormalButton, static_cast<int>(QStyle::SC_MdiNormalButton), 294},
    {sipName_SC_None, static_cast<int>(QStyle::SC_None), 294},
    {sipName_SC_ScrollBarAddLine, static_cast<int>(QStyle::SC_ScrollBarAddLine), 294},
    {sipName_SC_ScrollBarAddPage, static_cast<int>(QStyle::SC_ScrollBarAddPage), 294},
    {sipName_SC_ScrollBarFirst, static_cast<int>(QStyle::SC_ScrollBarFirst), 294},
    {sipName_SC_ScrollBarGroove, static_cast<int>(QStyle::SC_ScrollBarGroove), 294},
    {sipName_SC_ScrollBarLast, static_cast<int>(QStyle::SC_ScrollBarLast), 294},
    {sipName_SC_ScrollBarSlider, static_cast<int>(QStyle::SC_ScrollBarSlider), 294},
    {sipName_SC_ScrollBarSubLine, static_cast<int>(QStyle::SC_ScrollBarSubLine), 294},
    {sipName_SC_ScrollBarSubPage, static_cast<int>(QStyle::SC_ScrollBarSubPage), 294},
    {sipName_SC_SliderGroove, static_cast<int>(QStyle::SC_SliderGroove), 294},
    {sipName_SC_SliderHandle, static_cast<int>(QStyle::SC_SliderHandle), 294},
    {sipName_SC_SliderTickmarks, static_cast<int>(QStyle::SC_SliderTickmarks), 294},
    {sipName_SC_SpinBoxDown, static_cast<int>(QStyle::SC_SpinBoxDown), 294},
    {sipName_SC_SpinBoxEditField, static_cast<int>(QStyle::SC_SpinBoxEditField), 294},
    {sipName_SC_SpinBoxFrame, static_cast<int>(QStyle::SC_SpinBoxFrame), 294},
    {sipName_SC_SpinBoxUp, static_cast<int>(QStyle::SC_SpinBoxUp), 294},
    {sipName_SC_TitleBarCloseButton, static_cast<int>(QStyle::SC_TitleBarCloseButton), 294},
    {sipName_SC_TitleBarContextHelpButton, static_cast<int>(QStyle::SC_TitleBarContextHelpButton), 294},
    {sipName_SC_TitleBarLabel, static_cast<int>(QStyle::SC_TitleBarLabel), 294},
    {sipName_SC_TitleBarMaxButton, static_cast<int>(QStyle::SC_TitleBarMaxButton), 294},
    {sipName_SC_TitleBarMinButton, static_cast<int>(QStyle::SC_TitleBarMinButton), 294},
    {sipName_SC_TitleBarNormalButton, static_cast<int>(QStyle::SC_TitleBarNormalButton), 294},
    {sipName_SC_TitleBarShadeButton, static_cast<int>(QStyle::SC_TitleBarShadeButton), 294},
    {sipName_SC_TitleBarSysMenu, static_cast<int>(QStyle::SC_TitleBarSysMenu), 294},
    {sipName_SC_TitleBarUnshadeButton, static_cast<int>(QStyle::SC_TitleBarUnshadeButton), 294},
    {sipName_SC_ToolButton, static_cast<int>(QStyle::SC_ToolButton), 294},
    {sipName_SC_ToolButtonMenu, static_cast<int>(QStyle::SC_ToolButtonMenu), 294},
    {sipName_SE_CheckBoxClickRect, static_cast<int>(QStyle::SE_CheckBoxClickRect), 296},
    {sipName_SE_CheckBoxContents, static_cast<int>(QStyle::SE_CheckBoxContents), 296},
    {sipName_SE_CheckBoxFocusRect, static_cast<int>(QStyle::SE_CheckBoxFocusRect), 296},
    {sipName_SE_CheckBoxIndicator, static_cast<int>(QStyle::SE_CheckBoxIndicator), 296},
    {sipName_SE_CheckBoxLayoutItem, static_cast<int>(QStyle::SE_CheckBoxLayoutItem), 296},
    {sipName_SE_ComboBoxFocusRect, static_cast<int>(QStyle::SE_ComboBoxFocusRect), 296},
    {sipName_SE_ComboBoxLayoutItem, static_cast<int>(QStyle::SE_ComboBoxLayoutItem), 296},
    {sipName_SE_CustomBase, static_cast<int>(QStyle::SE_CustomBase), 296},
    {sipName_SE_DateTimeEditLayoutItem, static_cast<int>(QStyle::SE_DateTimeEditLayoutItem), 296},
    {sipName_SE_DialogButtonBoxLayoutItem, static_cast<int>(QStyle::SE_DialogButtonBoxLayoutItem), 296},
    {sipName_SE_DockWidgetCloseButton, static_cast<int>(QStyle::SE_DockWidgetCloseButton), 296},
    {sipName_SE_DockWidgetFloatButton, static_cast<int>(QStyle::SE_DockWidgetFloatButton), 296},
    {sipName_SE_DockWidgetIcon, static_cast<int>(QStyle::SE_DockWidgetIcon), 296},
    {sipName_SE_DockWidgetTitleBarText, static_cast<int>(QStyle::SE_DockWidgetTitleBarText), 296},
    {sipName_SE_FrameContents, static_cast<int>(QStyle::SE_FrameContents), 296},
    {sipName_SE_FrameLayoutItem, static_cast<int>(QStyle::SE_FrameLayoutItem), 296},
    {sipName_SE_GroupBoxLayoutItem, static_cast<int>(QStyle::SE_GroupBoxLayoutItem), 296},
    {sipName_SE_HeaderArrow, static_cast<int>(QStyle::SE_HeaderArrow), 296},
    {sipName_SE_HeaderLabel, static_cast<int>(QStyle::SE_HeaderLabel), 296},
    {sipName_SE_ItemViewItemCheckIndicator, static_cast<int>(QStyle::SE_ItemViewItemCheckIndicator), 296},
    {sipName_SE_ItemViewItemDecoration, static_cast<int>(QStyle::SE_ItemViewItemDecoration), 296},
    {sipName_SE_ItemViewItemFocusRect, static_cast<int>(QStyle::SE_ItemViewItemFocusRect), 296},
    {sipName_SE_ItemViewItemText, static_cast<int>(QStyle::SE_ItemViewItemText), 296},
    {sipName_SE_LabelLayoutItem, static_cast<int>(QStyle::SE_LabelLayoutItem), 296},
    {sipName_SE_LineEditContents, static_cast<int>(QStyle::SE_LineEditContents), 296},
    {sipName_SE_ProgressBarContents, static_cast<int>(QStyle::SE_ProgressBarContents), 296},
    {sipName_SE_ProgressBarGroove, static_cast<int>(QStyle::SE_ProgressBarGroove), 296},
    {sipName_SE_ProgressBarLabel, static_cast<int>(QStyle::SE_ProgressBarLabel), 296},
    {sipName_SE_ProgressBarLayoutItem, static_cast<int>(QStyle::SE_ProgressBarLayoutItem), 296},
    {sipName_SE_PushButtonContents, static_cast<int>(QStyle::SE_PushButtonContents), 296},
    {sipName_SE_PushButtonFocusRect, static_cast<int>(QStyle::SE_PushButtonFocusRect), 296},
    {sipName_SE_PushButtonLayoutItem, static_cast<int>(QStyle::SE_PushButtonLayoutItem), 296},
    {sipName_SE_RadioButtonClickRect, static_cast<int>(QStyle::SE_RadioButtonClickRect), 296},
    {sipName_SE_RadioButtonContents, static_cast<int>(QStyle::SE_RadioButtonContents), 296},
    {sipName_SE_RadioButtonFocusRect, static_cast<int>(QStyle::SE_RadioButtonFocusRect), 296},
    {sipName_SE_RadioButtonIndicator, static_cast<int>(QStyle::SE_RadioButtonIndicator), 296},
    {sipName_SE_RadioButtonLayoutItem, static_cast<int>(QStyle::SE_RadioButtonLayoutItem), 296},
    {sipName_SE_ShapedFrameContents, static_cast<int>(QStyle::SE_ShapedFrameContents), 296},
    {sipName_SE_SliderFocusRect, static_cast<int>(QStyle::SE_SliderFocusRect), 296},
    {sipName_SE_SliderLayoutItem, static_cast<int>(QStyle::SE_SliderLayoutItem), 296},
    {sipName_SE_SpinBoxLayoutItem, static_cast<int>(QStyle::SE_SpinBoxLayoutItem), 296},
    {sipName_SE_TabBarTabLeftButton, static_cast<int>(QStyle::SE_TabBarTabLeftButton), 296},
    {sipName_SE_TabBarTabRightButton, static_cast<int>(QStyle::SE_TabBarTabRightButton), 296},
    {sipName_SE_TabBarTabText, static_cast<int>(QStyle::SE_TabBarTabText), 296},
    {sipName_SE_TabBarTearIndicator, static_cast<int>(QStyle::SE_TabBarTearIndicator), 296},
    {sipName_SE_TabWidgetLayoutItem, static_cast<int>(QStyle::SE_TabWidgetLayoutItem), 296},
    {sipName_SE_TabWidgetLeftCorner, static_cast<int>(QStyle::SE_TabWidgetLeftCorner), 296},
    {sipName_SE_TabWidgetRightCorner, static_cast<int>(QStyle::SE_TabWidgetRightCorner), 296},
    {sipName_SE_TabWidgetTabBar, static_cast<int>(QStyle::SE_TabWidgetTabBar), 296},
    {sipName_SE_TabWidgetTabContents, static_cast<int>(QStyle::SE_TabWidgetTabContents), 296},
    {sipName_SE_TabWidgetTabPane, static_cast<int>(QStyle::SE_TabWidgetTabPane), 296},
    {sipName_SE_ToolBarHandle, static_cast<int>(QStyle::SE_ToolBarHandle), 296},
    {sipName_SE_ToolBoxTabContents, static_cast<int>(QStyle::SE_ToolBoxTabContents), 296},
    {sipName_SE_ToolButtonLayoutItem, static_cast<int>(QStyle::SE_ToolButtonLayoutItem), 296},
    {sipName_SE_TreeViewDisclosureItem, static_cast<int>(QStyle::SE_TreeViewDisclosureItem), 296},
    {sipName_SE_ViewItemCheckIndicator, static_cast<int>(QStyle::SE_ViewItemCheckIndicator), 296},
    {sipName_SH_BlinkCursorWhenTextSelected, static_cast<int>(QStyle::SH_BlinkCursorWhenTextSelected), 293},
    {sipName_SH_Button_FocusPolicy, static_cast<int>(QStyle::SH_Button_FocusPolicy), 293},
    {sipName_SH_ComboBox_LayoutDirection, static_cast<int>(QStyle::SH_ComboBox_LayoutDirection), 293},
    {sipName_SH_ComboBox_ListMouseTracking, static_cast<int>(QStyle::SH_ComboBox_ListMouseTracking), 293},
    {sipName_SH_ComboBox_Popup, static_cast<int>(QStyle::SH_ComboBox_Popup), 293},
    {sipName_SH_ComboBox_PopupFrameStyle, static_cast<int>(QStyle::SH_ComboBox_PopupFrameStyle), 293},
    {sipName_SH_CustomBase, static_cast<int>(QStyle::SH_CustomBase), 293},
    {sipName_SH_Dial_BackgroundRole, static_cast<int>(QStyle::SH_Dial_BackgroundRole), 293},
    {sipName_SH_DialogButtonBox_ButtonsHaveIcons, static_cast<int>(QStyle::SH_DialogButtonBox_ButtonsHaveIcons), 293},
    {sipName_SH_DialogButtonLayout, static_cast<int>(QStyle::SH_DialogButtonLayout), 293},
    {sipName_SH_DialogButtons_DefaultButton, static_cast<int>(QStyle::SH_DialogButtons_DefaultButton), 293},
    {sipName_SH_DitherDisabledText, static_cast<int>(QStyle::SH_DitherDisabledText), 293},
    {sipName_SH_DockWidget_ButtonsHaveFrame, static_cast<int>(QStyle::SH_DockWidget_ButtonsHaveFrame), 293},
    {sipName_SH_DrawMenuBarSeparator, static_cast<int>(QStyle::SH_DrawMenuBarSeparator), 293},
    {sipName_SH_EtchDisabledText, static_cast<int>(QStyle::SH_EtchDisabledText), 293},
    {sipName_SH_FocusFrame_AboveWidget, static_cast<int>(QStyle::SH_FocusFrame_AboveWidget), 293},
    {sipName_SH_FocusFrame_Mask, static_cast<int>(QStyle::SH_FocusFrame_Mask), 293},
    {sipName_SH_FontDialog_SelectAssociatedText, static_cast<int>(QStyle::SH_FontDialog_SelectAssociatedText), 293},
    {sipName_SH_FormLayoutFieldGrowthPolicy, static_cast<int>(QStyle::SH_FormLayoutFieldGrowthPolicy), 293},
    {sipName_SH_FormLayoutFormAlignment, static_cast<int>(QStyle::SH_FormLayoutFormAlignment), 293},
    {sipName_SH_FormLayoutLabelAlignment, static_cast<int>(QStyle::SH_FormLayoutLabelAlignment), 293},
    {sipName_SH_FormLayoutWrapPolicy, static_cast<int>(QStyle::SH_FormLayoutWrapPolicy), 293},
    {sipName_SH_GroupBox_TextLabelColor, static_cast<int>(QStyle::SH_GroupBox_TextLabelColor), 293},
    {sipName_SH_GroupBox_TextLabelVerticalAlignment, static_cast<int>(QStyle::SH_GroupBox_TextLabelVerticalAlignment), 293},
    {sipName_SH_Header_ArrowAlignment, static_cast<int>(QStyle::SH_Header_ArrowAlignment), 293},
    {sipName_SH_ItemView_ActivateItemOnSingleClick, static_cast<int>(QStyle::SH_ItemView_ActivateItemOnSingleClick), 293},
    {sipName_SH_ItemView_ArrowKeysNavigateIntoChildren, static_cast<int>(QStyle::SH_ItemView_ArrowKeysNavigateIntoChildren), 293},
    {sipName_SH_ItemView_ChangeHighlightOnFocus, static_cast<int>(QStyle::SH_ItemView_ChangeHighlightOnFocus), 293},
    {sipName_SH_ItemView_DrawDelegateFrame, static_cast<int>(QStyle::SH_ItemView_DrawDelegateFrame), 293},
    {sipName_SH_ItemView_EllipsisLocation, static_cast<int>(QStyle::SH_ItemView_EllipsisLocation), 293},
    {sipName_SH_ItemView_MovementWithoutUpdatingSelection, static_cast<int>(QStyle::SH_ItemView_MovementWithoutUpdatingSelection), 293},
    {sipName_SH_ItemView_PaintAlternatingRowColorsForEmptyArea, static_cast<int>(QStyle::SH_ItemView_PaintAlternatingRowColorsForEmptyArea), 293},
    {sipName_SH_ItemView_ShowDecorationSelected, static_cast<int>(QStyle::SH_ItemView_ShowDecorationSelected), 293},
    {sipName_SH_LineEdit_PasswordCharacter, static_cast<int>(QStyle::SH_LineEdit_PasswordCharacter), 293},
    {sipName_SH_LineEdit_PasswordMaskDelay, static_cast<int>(QStyle::SH_LineEdit_PasswordMaskDelay), 293},
    {sipName_SH_ListViewExpand_SelectMouseType, static_cast<int>(QStyle::SH_ListViewExpand_SelectMouseType), 293},
    {sipName_SH_MainWindow_SpaceBelowMenuBar, static_cast<int>(QStyle::SH_MainWindow_SpaceBelowMenuBar), 293},
    {sipName_SH_MenuBar_AltKeyNavigation, static_cast<int>(QStyle::SH_MenuBar_AltKeyNavigation), 293},
    {sipName_SH_MenuBar_MouseTracking, static_cast<int>(QStyle::SH_MenuBar_MouseTracking), 293},
    {sipName_SH_Menu_AllowActiveAndDisabled, static_cast<int>(QStyle::SH_Menu_AllowActiveAndDisabled), 293},
    {sipName_SH_Menu_FadeOutOnHide, static_cast<int>(QStyle::SH_Menu_FadeOutOnHide), 293},
    {sipName_SH_Menu_FillScreenWithScroll, static_cast<int>(QStyle::SH_Menu_FillScreenWithScroll), 293},
    {sipName_SH_Menu_FlashTriggeredItem, static_cast<int>(QStyle::SH_Menu_FlashTriggeredItem), 293},
    {sipName_SH_Menu_KeyboardSearch, static_cast<int>(QStyle::SH_Menu_KeyboardSearch), 293},
    {sipName_SH_Menu_Mask, static_cast<int>(QStyle::SH_Menu_Mask), 293},
    {sipName_SH_Menu_MouseTracking, static_cast<int>(QStyle::SH_Menu_MouseTracking), 293},
    {sipName_SH_Menu_Scrollable, static_cast<int>(QStyle::SH_Menu_Scrollable), 293},
    {sipName_SH_Menu_SelectionWrap, static_cast<int>(QStyle::SH_Menu_SelectionWrap), 293},
    {sipName_SH_Menu_SloppySubMenus, static_cast<int>(QStyle::SH_Menu_SloppySubMenus), 293},
    {sipName_SH_Menu_SpaceActivatesItem, static_cast<int>(QStyle::SH_Menu_SpaceActivatesItem), 293},
    {sipName_SH_Menu_SubMenuPopupDelay, static_cast<int>(QStyle::SH_Menu_SubMenuPopupDelay), 293},
    {sipName_SH_Menu_SupportsSections, static_cast<int>(QStyle::SH_Menu_SupportsSections), 293},
    {sipName_SH_MessageBox_CenterButtons, static_cast<int>(QStyle::SH_MessageBox_CenterButtons), 293},
    {sipName_SH_MessageBox_TextInteractionFlags, static_cast<int>(QStyle::SH_MessageBox_TextInteractionFlags), 293},
    {sipName_SH_MessageBox_UseBorderForButtonSpacing, static_cast<int>(QStyle::SH_MessageBox_UseBorderForButtonSpacing), 293},
    {sipName_SH_PrintDialog_RightAlignButtons, static_cast<int>(QStyle::SH_PrintDialog_RightAlignButtons), 293},
    {sipName_SH_ProgressDialog_CenterCancelButton, static_cast<int>(QStyle::SH_ProgressDialog_CenterCancelButton), 293},
    {sipName_SH_ProgressDialog_TextLabelAlignment, static_cast<int>(QStyle::SH_ProgressDialog_TextLabelAlignment), 293},
    {sipName_SH_RequestSoftwareInputPanel, static_cast<int>(QStyle::SH_RequestSoftwareInputPanel), 293},
    {sipName_SH_RichText_FullWidthSelection, static_cast<int>(QStyle::SH_RichText_FullWidthSelection), 293},
    {sipName_SH_RubberBand_Mask, static_cast<int>(QStyle::SH_RubberBand_Mask), 293},
    {sipName_SH_ScrollBar_ContextMenu, static_cast<int>(QStyle::SH_ScrollBar_ContextMenu), 293},
    {sipName_SH_ScrollBar_LeftClickAbsolutePosition, static_cast<int>(QStyle::SH_ScrollBar_LeftClickAbsolutePosition), 293},
    {sipName_SH_ScrollBar_MiddleClickAbsolutePosition, static_cast<int>(QStyle::SH_ScrollBar_MiddleClickAbsolutePosition), 293},
    {sipName_SH_ScrollBar_RollBetweenButtons, static_cast<int>(QStyle::SH_ScrollBar_RollBetweenButtons), 293},
    {sipName_SH_ScrollBar_ScrollWhenPointerLeavesControl, static_cast<int>(QStyle::SH_ScrollBar_ScrollWhenPointerLeavesControl), 293},
    {sipName_SH_ScrollBar_StopMouseOverSlider, static_cast<int>(QStyle::SH_ScrollBar_StopMouseOverSlider), 293},
    {sipName_SH_ScrollBar_Transient, static_cast<int>(QStyle::SH_ScrollBar_Transient), 293},
    {sipName_SH_ScrollView_FrameOnlyAroundContents, static_cast<int>(QStyle::SH_ScrollView_FrameOnlyAroundContents), 293},
    {sipName_SH_Slider_AbsoluteSetButtons, static_cast<int>(QStyle::SH_Slider_AbsoluteSetButtons), 293},
    {sipName_SH_Slider_PageSetButtons, static_cast<int>(QStyle::SH_Slider_PageSetButtons), 293},
    {sipName_SH_Slider_SloppyKeyEvents, static_cast<int>(QStyle::SH_Slider_SloppyKeyEvents), 293},
    {sipName_SH_Slider_SnapToValue, static_cast<int>(QStyle::SH_Slider_SnapToValue), 293},
    {sipName_SH_Slider_StopMouseOverSlider, static_cast<int>(QStyle::SH_Slider_StopMouseOverSlider), 293},
    {sipName_SH_SpellCheckUnderlineStyle, static_cast<int>(QStyle::SH_SpellCheckUnderlineStyle), 293},
    {sipName_SH_SpinBox_AnimateButton, static_cast<int>(QStyle::SH_SpinBox_AnimateButton), 293},
    {sipName_SH_SpinBox_ClickAutoRepeatRate, static_cast<int>(QStyle::SH_SpinBox_ClickAutoRepeatRate), 293},
    {sipName_SH_SpinBox_ClickAutoRepeatThreshold, static_cast<int>(QStyle::SH_SpinBox_ClickAutoRepeatThreshold), 293},
    {sipName_SH_SpinBox_KeyPressAutoRepeatRate, static_cast<int>(QStyle::SH_SpinBox_KeyPressAutoRepeatRate), 293},
    {sipName_SH_SpinControls_DisableOnBounds, static_cast<int>(QStyle::SH_SpinControls_DisableOnBounds), 293},
    {sipName_SH_Splitter_OpaqueResize, static_cast<int>(QStyle::SH_Splitter_OpaqueResize), 293},
    {sipName_SH_TabBar_Alignment, static_cast<int>(QStyle::SH_TabBar_Alignment), 293},
    {sipName_SH_TabBar_ChangeCurrentDelay, static_cast<int>(QStyle::SH_TabBar_ChangeCurrentDelay), 293},
    {sipName_SH_TabBar_CloseButtonPosition, static_cast<int>(QStyle::SH_TabBar_CloseButtonPosition), 293},
    {sipName_SH_TabBar_ElideMode, static_cast<int>(QStyle::SH_TabBar_ElideMode), 293},
    {sipName_SH_TabBar_PreferNoArrows, static_cast<int>(QStyle::SH_TabBar_PreferNoArrows), 293},
    {sipName_SH_TabBar_SelectMouseType, static_cast<int>(QStyle::SH_TabBar_SelectMouseType), 293},
    {sipName_SH_TabWidget_DefaultTabPosition, static_cast<int>(QStyle::SH_TabWidget_DefaultTabPosition), 293},
    {sipName_SH_Table_GridLineColor, static_cast<int>(QStyle::SH_Table_GridLineColor), 293},
    {sipName_SH_TextControl_FocusIndicatorTextCharFormat, static_cast<int>(QStyle::SH_TextControl_FocusIndicatorTextCharFormat), 293},
    {sipName_SH_TitleBar_AutoRaise, static_cast<int>(QStyle::SH_TitleBar_AutoRaise), 293},
    {sipName_SH_TitleBar_ModifyNotification, static_cast<int>(QStyle::SH_TitleBar_ModifyNotification), 293},
    {sipName_SH_TitleBar_NoBorder, static_cast<int>(QStyle::SH_TitleBar_NoBorder), 293},
    {sipName_SH_ToolBar_Movable, static_cast<int>(QStyle::SH_ToolBar_Movable), 293},
    {sipName_SH_ToolBox_SelectedPageTitleBold, static_cast<int>(QStyle::SH_ToolBox_SelectedPageTitleBold), 293},
    {sipName_SH_ToolButtonStyle, static_cast<int>(QStyle::SH_ToolButtonStyle), 293},
    {sipName_SH_ToolButton_PopupDelay, static_cast<int>(QStyle::SH_ToolButton_PopupDelay), 293},
    {sipName_SH_ToolTipLabel_Opacity, static_cast<int>(QStyle::SH_ToolTipLabel_Opacity), 293},
    {sipName_SH_ToolTip_FallAsleepDelay, static_cast<int>(QStyle::SH_ToolTip_FallAsleepDelay), 293},
    {sipName_SH_ToolTip_Mask, static_cast<int>(QStyle::SH_ToolTip_Mask), 293},
    {sipName_SH_ToolTip_WakeUpDelay, static_cast<int>(QStyle::SH_ToolTip_WakeUpDelay), 293},
    {sipName_SH_UnderlineShortcut, static_cast<int>(QStyle::SH_UnderlineShortcut), 293},
    {sipName_SH_Widget_Animate, static_cast<int>(QStyle::SH_Widget_Animate), 293},
    {sipName_SH_Widget_ShareActivation, static_cast<int>(QStyle::SH_Widget_ShareActivation), 293},
    {sipName_SH_WindowFrame_Mask, static_cast<int>(QStyle::SH_WindowFrame_Mask), 293},
    {sipName_SH_WizardStyle, static_cast<int>(QStyle::SH_WizardStyle), 293},
    {sipName_SH_Workspace_FillSpaceOnMaximize, static_cast<int>(QStyle::SH_Workspace_FillSpaceOnMaximize), 293},
    {sipName_SP_ArrowBack, static_cast<int>(QStyle::SP_ArrowBack), 290},
    {sipName_SP_ArrowDown, static_cast<int>(QStyle::SP_ArrowDown), 290},
    {sipName_SP_ArrowForward, static_cast<int>(QStyle::SP_ArrowForward), 290},
    {sipName_SP_ArrowLeft, static_cast<int>(QStyle::SP_ArrowLeft), 290},
    {sipName_SP_ArrowRight, static_cast<int>(QStyle::SP_ArrowRight), 290},
    {sipName_SP_ArrowUp, static_cast<int>(QStyle::SP_ArrowUp), 290},
    {sipName_SP_BrowserReload, static_cast<int>(QStyle::SP_BrowserReload), 290},
    {sipName_SP_BrowserStop, static_cast<int>(QStyle::SP_BrowserStop), 290},
    {sipName_SP_CommandLink, static_cast<int>(QStyle::SP_CommandLink), 290},
    {sipName_SP_ComputerIcon, static_cast<int>(QStyle::SP_ComputerIcon), 290},
    {sipName_SP_CustomBase, static_cast<int>(QStyle::SP_CustomBase), 290},
    {sipName_SP_DesktopIcon, static_cast<int>(QStyle::SP_DesktopIcon), 290},
    {sipName_SP_DialogApplyButton, static_cast<int>(QStyle::SP_DialogApplyButton), 290},
    {sipName_SP_DialogCancelButton, static_cast<int>(QStyle::SP_DialogCancelButton), 290},
    {sipName_SP_DialogCloseButton, static_cast<int>(QStyle::SP_DialogCloseButton), 290},
    {sipName_SP_DialogDiscardButton, static_cast<int>(QStyle::SP_DialogDiscardButton), 290},
    {sipName_SP_DialogHelpButton, static_cast<int>(QStyle::SP_DialogHelpButton), 290},
    {sipName_SP_DialogNoButton, static_cast<int>(QStyle::SP_DialogNoButton), 290},
    {sipName_SP_DialogOkButton, static_cast<int>(QStyle::SP_DialogOkButton), 290},
    {sipName_SP_DialogOpenButton, static_cast<int>(QStyle::SP_DialogOpenButton), 290},
    {sipName_SP_DialogResetButton, static_cast<int>(QStyle::SP_DialogResetButton), 290},
    {sipName_SP_DialogSaveButton, static_cast<int>(QStyle::SP_DialogSaveButton), 290},
    {sipName_SP_DialogYesButton, static_cast<int>(QStyle::SP_DialogYesButton), 290},
    {sipName_SP_DirClosedIcon, static_cast<int>(QStyle::SP_DirClosedIcon), 290},
    {sipName_SP_DirHomeIcon, static_cast<int>(QStyle::SP_DirHomeIcon), 290},
    {sipName_SP_DirIcon, static_cast<int>(QStyle::SP_DirIcon), 290},
    {sipName_SP_DirLinkIcon, static_cast<int>(QStyle::SP_DirLinkIcon), 290},
    {sipName_SP_DirLinkOpenIcon, static_cast<int>(QStyle::SP_DirLinkOpenIcon), 290},
    {sipName_SP_DirOpenIcon, static_cast<int>(QStyle::SP_DirOpenIcon), 290},
    {sipName_SP_DockWidgetCloseButton, static_cast<int>(QStyle::SP_DockWidgetCloseButton), 290},
    {sipName_SP_DriveCDIcon, static_cast<int>(QStyle::SP_DriveCDIcon), 290},
    {sipName_SP_DriveDVDIcon, static_cast<int>(QStyle::SP_DriveDVDIcon), 290},
    {sipName_SP_DriveFDIcon, static_cast<int>(QStyle::SP_DriveFDIcon), 290},
    {sipName_SP_DriveHDIcon, static_cast<int>(QStyle::SP_DriveHDIcon), 290},
    {sipName_SP_DriveNetIcon, static_cast<int>(QStyle::SP_DriveNetIcon), 290},
    {sipName_SP_FileDialogBack, static_cast<int>(QStyle::SP_FileDialogBack), 290},
    {sipName_SP_FileDialogContentsView, static_cast<int>(QStyle::SP_FileDialogContentsView), 290},
    {sipName_SP_FileDialogDetailedView, static_cast<int>(QStyle::SP_FileDialogDetailedView), 290},
    {sipName_SP_FileDialogEnd, static_cast<int>(QStyle::SP_FileDialogEnd), 290},
    {sipName_SP_FileDialogInfoView, static_cast<int>(QStyle::SP_FileDialogInfoView), 290},
    {sipName_SP_FileDialogListView, static_cast<int>(QStyle::SP_FileDialogListView), 290},
    {sipName_SP_FileDialogNewFolder, static_cast<int>(QStyle::SP_FileDialogNewFolder), 290},
    {sipName_SP_FileDialogStart, static_cast<int>(QStyle::SP_FileDialogStart), 290},
    {sipName_SP_FileDialogToParent, static_cast<int>(QStyle::SP_FileDialogToParent), 290},
    {sipName_SP_FileIcon, static_cast<int>(QStyle::SP_FileIcon), 290},
    {sipName_SP_FileLinkIcon, static_cast<int>(QStyle::SP_FileLinkIcon), 290},
    {sipName_SP_LineEditClearButton, static_cast<int>(QStyle::SP_LineEditClearButton), 290},
    {sipName_SP_MediaPause, static_cast<int>(QStyle::SP_MediaPause), 290},
    {sipName_SP_MediaPlay, static_cast<int>(QStyle::SP_MediaPlay), 290},
    {sipName_SP_MediaSeekBackward, static_cast<int>(QStyle::SP_MediaSeekBackward), 290},
    {sipName_SP_MediaSeekForward, static_cast<int>(QStyle::SP_MediaSeekForward), 290},
    {sipName_SP_MediaSkipBackward, static_cast<int>(QStyle::SP_MediaSkipBackward), 290},
    {sipName_SP_MediaSkipForward, static_cast<int>(QStyle::SP_MediaSkipForward), 290},
    {sipName_SP_MediaStop, static_cast<int>(QStyle::SP_MediaStop), 290},
    {sipName_SP_MediaVolume, static_cast<int>(QStyle::SP_MediaVolume), 290},
    {sipName_SP_MediaVolumeMuted, static_cast<int>(QStyle::SP_MediaVolumeMuted), 290},
    {sipName_SP_MessageBoxCritical, static_cast<int>(QStyle::SP_MessageBoxCritical), 290},
    {sipName_SP_MessageBoxInformation, static_cast<int>(QStyle::SP_MessageBoxInformation), 290},
    {sipName_SP_MessageBoxQuestion, static_cast<int>(QStyle::SP_MessageBoxQuestion), 290},
    {sipName_SP_MessageBoxWarning, static_cast<int>(QStyle::SP_MessageBoxWarning), 290},
    {sipName_SP_TitleBarCloseButton, static_cast<int>(QStyle::SP_TitleBarCloseButton), 290},
    {sipName_SP_TitleBarContextHelpButton, static_cast<int>(QStyle::SP_TitleBarContextHelpButton), 290},
    {sipName_SP_TitleBarMaxButton, static_cast<int>(QStyle::SP_TitleBarMaxButton), 290},
    {sipName_SP_TitleBarMenuButton, static_cast<int>(QStyle::SP_TitleBarMenuButton), 290},
    {sipName_SP_TitleBarMinButton, static_cast<int>(QStyle::SP_TitleBarMinButton), 290},
    {sipName_SP_TitleBarNormalButton, static_cast<int>(QStyle::SP_TitleBarNormalButton), 290},
    {sipName_SP_TitleBarShadeButton, static_cast<int>(QStyle::SP_TitleBarShadeButton), 290},
    {sipName_SP_TitleBarUnshadeButton, static_cast<int>(QStyle::SP_TitleBarUnshadeButton), 290},
    {sipName_SP_ToolBarHorizontalExtensionButton, static_cast<int>(QStyle::SP_ToolBarHorizontalExtensionButton), 290},
    {sipName_SP_ToolBarVerticalExtensionButton, static_cast<int>(QStyle::SP_ToolBarVerticalExtensionButton), 290},
    {sipName_SP_TrashIcon, static_cast<int>(QStyle::SP_TrashIcon), 290},
    {sipName_SP_VistaShield, static_cast<int>(QStyle::SP_VistaShield), 290},
    {sipName_State_Active, static_cast<int>(QStyle::State_Active), 292},
    {sipName_State_AutoRaise, static_cast<int>(QStyle::State_AutoRaise), 292},
    {sipName_State_Bottom, static_cast<int>(QStyle::State_Bottom), 292},
    {sipName_State_Children, static_cast<int>(QStyle::State_Children), 292},
    {sipName_State_DownArrow, static_cast<int>(QStyle::State_DownArrow), 292},
    {sipName_State_Editing, static_cast<int>(QStyle::State_Editing), 292},
    {sipName_State_Enabled, static_cast<int>(QStyle::State_Enabled), 292},
    {sipName_State_FocusAtBorder, static_cast<int>(QStyle::State_FocusAtBorder), 292},
    {sipName_State_HasFocus, static_cast<int>(QStyle::State_HasFocus), 292},
    {sipName_State_Horizontal, static_cast<int>(QStyle::State_Horizontal), 292},
    {sipName_State_Item, static_cast<int>(QStyle::State_Item), 292},
    {sipName_State_KeyboardFocusChange, static_cast<int>(QStyle::State_KeyboardFocusChange), 292},
    {sipName_State_Mini, static_cast<int>(QStyle::State_Mini), 292},
    {sipName_State_MouseOver, static_cast<int>(QStyle::State_MouseOver), 292},
    {sipName_State_NoChange, static_cast<int>(QStyle::State_NoChange), 292},
    {sipName_State_None, static_cast<int>(QStyle::State_None), 292},
    {sipName_State_Off, static_cast<int>(QStyle::State_Off), 292},
    {sipName_State_On, static_cast<int>(QStyle::State_On), 292},
    {sipName_State_Open, static_cast<int>(QStyle::State_Open), 292},
    {sipName_State_Raised, static_cast<int>(QStyle::State_Raised), 292},
    {sipName_State_ReadOnly, static_cast<int>(QStyle::State_ReadOnly), 292},
    {sipName_State_Selected, static_cast<int>(QStyle::State_Selected), 292},
    {sipName_State_Sibling, static_cast<int>(QStyle::State_Sibling), 292},
    {sipName_State_Small, static_cast<int>(QStyle::State_Small), 292},
    {sipName_State_Sunken, static_cast<int>(QStyle::State_Sunken), 292},
    {sipName_State_Top, static_cast<int>(QStyle::State_Top), 292},
    {sipName_State_UpArrow, static_cast<int>(QStyle::State_UpArrow), 292},
    {sipName_State_Window, static_cast<int>(QStyle::State_Window), 292},
};

PyDoc_STRVAR(doc_QStyle, "\1QStyle()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QStyle = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QStyle,
        {0}
    },
    {
        sipNameNr_QStyle,
        {0, 0, 1},
        37, methods_QStyle,
        537, enummembers_QStyle,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QStyle,
    -1,
    -1,
    supers_QStyle,
    0,
    init_type_QStyle,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QStyle,
    0,
    0,
    0,
    release_QStyle,
    cast_QStyle,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QStyle::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcommandlinkbutton.sip"
#include <qcommandlinkbutton.h>
#line 410703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 410707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 410710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 410716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 410719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 410728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 410731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 410734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 410740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 410743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 410746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 410749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 410752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 410755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 410758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 410761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 410764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 410767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 410770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 410773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 410776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 410779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 410782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 410785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 410788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 410791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 410794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 410797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 410800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 410803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 410806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 410809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 410812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 410854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 410857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 410860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 410863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 410866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 410869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 410872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 410875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 410878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 410881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 410884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 410887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 410890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 410893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 410896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 410899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 410902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 410905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 410908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 410911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 410914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQCommandLinkButton : public QCommandLinkButton
{
public:
    sipQCommandLinkButton(QWidget*);
    sipQCommandLinkButton(const QString&,QWidget*);
    sipQCommandLinkButton(const QString&,const QString&,QWidget*);
    virtual ~sipQCommandLinkButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    bool sipProtectVirt_hitButton(bool,const QPoint&) const;
    void sipProtectVirt_checkStateSet(bool);
    void sipProtectVirt_nextCheckState(bool);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtect_initStyleOption(QStyleOptionButton*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    QSize sipProtectVirt_sizeHint(bool) const;
    int sipProtectVirt_heightForWidth(bool,int) const;
    QSize sipProtectVirt_minimumSizeHint(bool) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    void setVisible(bool);
    int devType() const;
    void timerEvent(QTimerEvent*);
    void changeEvent(QEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void nextCheckState();
    void checkStateSet();
    bool hitButton(const QPoint&) const;
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyPressEvent(QKeyEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    int heightForWidth(int) const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQCommandLinkButton(const sipQCommandLinkButton &);
    sipQCommandLinkButton &operator = (const sipQCommandLinkButton &);

    char sipPyMethods[49];
};

sipQCommandLinkButton::sipQCommandLinkButton(QWidget*a0): QCommandLinkButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCommandLinkButton::sipQCommandLinkButton(const QString& a0,QWidget*a1): QCommandLinkButton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCommandLinkButton::sipQCommandLinkButton(const QString& a0,const QString& a1,QWidget*a2): QCommandLinkButton(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCommandLinkButton::~sipQCommandLinkButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQCommandLinkButton::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCommandLinkButton);
}

int sipQCommandLinkButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QCommandLinkButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QCommandLinkButton,_c,_id,_a);

    return _id;
}

void *sipQCommandLinkButton::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QCommandLinkButton, _clname, &sipCpp) ? sipCpp : QCommandLinkButton::qt_metacast(_clname));
}

void sipQCommandLinkButton::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QCommandLinkButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QCommandLinkButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQCommandLinkButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QCommandLinkButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQCommandLinkButton::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QCommandLinkButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQCommandLinkButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QCommandLinkButton::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQCommandLinkButton::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QCommandLinkButton::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQCommandLinkButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QCommandLinkButton::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQCommandLinkButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QCommandLinkButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQCommandLinkButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QCommandLinkButton::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQCommandLinkButton::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QCommandLinkButton::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQCommandLinkButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QCommandLinkButton::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQCommandLinkButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QCommandLinkButton::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQCommandLinkButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QCommandLinkButton::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQCommandLinkButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        QCommandLinkButton::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQCommandLinkButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        QCommandLinkButton::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQCommandLinkButton::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return QCommandLinkButton::hitButton(a0);

    extern bool sipVH_QtWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_36(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCommandLinkButton::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QCommandLinkButton::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQCommandLinkButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QCommandLinkButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQCommandLinkButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QCommandLinkButton::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQCommandLinkButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QCommandLinkButton::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQCommandLinkButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QCommandLinkButton::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQCommandLinkButton::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQCommandLinkButton::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQCommandLinkButton::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQCommandLinkButton::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQCommandLinkButton::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQCommandLinkButton::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQCommandLinkButton::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQCommandLinkButton::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQCommandLinkButton::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQCommandLinkButton::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQCommandLinkButton::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQCommandLinkButton::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQCommandLinkButton::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQCommandLinkButton::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQCommandLinkButton::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQCommandLinkButton::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQCommandLinkButton::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQCommandLinkButton::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

bool sipQCommandLinkButton::sipProtectVirt_hitButton(bool sipSelfWasArg,const QPoint& a0) const
{
    return (sipSelfWasArg ? QAbstractButton::hitButton(a0) : hitButton(a0));
}

void sipQCommandLinkButton::sipProtectVirt_checkStateSet(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractButton::checkStateSet() : checkStateSet());
}

void sipQCommandLinkButton::sipProtectVirt_nextCheckState(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractButton::nextCheckState() : nextCheckState());
}

void sipQCommandLinkButton::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::changeEvent(a0) : changeEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::timerEvent(a0) : timerEvent(a0));
}

void sipQCommandLinkButton::sipProtect_initStyleOption(QStyleOptionButton*a0) const
{
    QPushButton::initStyleOption(a0);
}

void sipQCommandLinkButton::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QPushButton::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QPushButton::focusInEvent(a0) : focusInEvent(a0));
}

void sipQCommandLinkButton::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QPushButton::focusOutEvent(a0) : focusOutEvent(a0));
}

QSize sipQCommandLinkButton::sipProtectVirt_sizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QCommandLinkButton::sizeHint() : sizeHint());
}

int sipQCommandLinkButton::sipProtectVirt_heightForWidth(bool sipSelfWasArg,int a0) const
{
    return (sipSelfWasArg ? QCommandLinkButton::heightForWidth(a0) : heightForWidth(a0));
}

QSize sipQCommandLinkButton::sipProtectVirt_minimumSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QCommandLinkButton::minimumSizeHint() : minimumSizeHint());
}

bool sipQCommandLinkButton::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QCommandLinkButton::event(a0) : event(a0));
}

void sipQCommandLinkButton::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QCommandLinkButton::paintEvent(a0) : paintEvent(a0));
}


PyDoc_STRVAR(doc_QCommandLinkButton_sender, "QCommandLinkButton.sender() -> QObject");

extern "C" {static PyObject *meth_QCommandLinkButton_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 412240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_sender, doc_QCommandLinkButton_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_receivers, "QCommandLinkButton.receivers(signal) -> int");

extern "C" {static PyObject *meth_QCommandLinkButton_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QCommandLinkButton, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 412299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_receivers, doc_QCommandLinkButton_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_childEvent, "QCommandLinkButton.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_childEvent, doc_QCommandLinkButton_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_customEvent, "QCommandLinkButton.customEvent(QEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_customEvent, doc_QCommandLinkButton_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_connectNotify, "QCommandLinkButton.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCommandLinkButton_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_connectNotify, doc_QCommandLinkButton_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_disconnectNotify, "QCommandLinkButton.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCommandLinkButton_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_disconnectNotify, doc_QCommandLinkButton_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_senderSignalIndex, "QCommandLinkButton.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QCommandLinkButton_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_senderSignalIndex, doc_QCommandLinkButton_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_isSignalConnected, "QCommandLinkButton.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QCommandLinkButton_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_isSignalConnected, doc_QCommandLinkButton_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_mouseDoubleClickEvent, "QCommandLinkButton.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_mouseDoubleClickEvent, doc_QCommandLinkButton_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_wheelEvent, "QCommandLinkButton.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_wheelEvent, doc_QCommandLinkButton_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_enterEvent, "QCommandLinkButton.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_enterEvent, doc_QCommandLinkButton_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_leaveEvent, "QCommandLinkButton.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_leaveEvent, doc_QCommandLinkButton_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_moveEvent, "QCommandLinkButton.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_moveEvent, doc_QCommandLinkButton_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_resizeEvent, "QCommandLinkButton.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_resizeEvent, doc_QCommandLinkButton_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_closeEvent, "QCommandLinkButton.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_closeEvent, doc_QCommandLinkButton_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_contextMenuEvent, "QCommandLinkButton.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_contextMenuEvent, doc_QCommandLinkButton_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_tabletEvent, "QCommandLinkButton.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_tabletEvent, doc_QCommandLinkButton_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_actionEvent, "QCommandLinkButton.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_actionEvent, doc_QCommandLinkButton_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_dragEnterEvent, "QCommandLinkButton.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_dragEnterEvent, doc_QCommandLinkButton_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_dragMoveEvent, "QCommandLinkButton.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_dragMoveEvent, doc_QCommandLinkButton_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_dragLeaveEvent, "QCommandLinkButton.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_dragLeaveEvent, doc_QCommandLinkButton_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_dropEvent, "QCommandLinkButton.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_dropEvent, doc_QCommandLinkButton_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_showEvent, "QCommandLinkButton.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_showEvent, doc_QCommandLinkButton_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_hideEvent, "QCommandLinkButton.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_hideEvent, doc_QCommandLinkButton_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_metric, "QCommandLinkButton.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QCommandLinkButton_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_metric, doc_QCommandLinkButton_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_inputMethodEvent, "QCommandLinkButton.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_inputMethodEvent, doc_QCommandLinkButton_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_updateMicroFocus, "QCommandLinkButton.updateMicroFocus()");

extern "C" {static PyObject *meth_QCommandLinkButton_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_updateMicroFocus, doc_QCommandLinkButton_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_create, "QCommandLinkButton.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QCommandLinkButton_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQCommandLinkButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_create, doc_QCommandLinkButton_create);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_destroy, "QCommandLinkButton.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QCommandLinkButton_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQCommandLinkButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QCommandLinkButton, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_destroy, doc_QCommandLinkButton_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_focusNextPrevChild, "QCommandLinkButton.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QCommandLinkButton_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QCommandLinkButton, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_focusNextPrevChild, doc_QCommandLinkButton_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_focusNextChild, "QCommandLinkButton.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QCommandLinkButton_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_focusNextChild, doc_QCommandLinkButton_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_focusPreviousChild, "QCommandLinkButton.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QCommandLinkButton_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_focusPreviousChild, doc_QCommandLinkButton_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_nativeEvent, "QCommandLinkButton.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QCommandLinkButton_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_nativeEvent, doc_QCommandLinkButton_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_sharedPainter, "QCommandLinkButton.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QCommandLinkButton_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_sharedPainter, doc_QCommandLinkButton_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_initPainter, "QCommandLinkButton.initPainter(QPainter)");

extern "C" {static PyObject *meth_QCommandLinkButton_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_initPainter, doc_QCommandLinkButton_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_hitButton, "QCommandLinkButton.hitButton(QPoint) -> bool");

extern "C" {static PyObject *meth_QCommandLinkButton_hitButton(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_hitButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QPoint, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_hitButton(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_hitButton, doc_QCommandLinkButton_hitButton);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_checkStateSet, "QCommandLinkButton.checkStateSet()");

extern "C" {static PyObject *meth_QCommandLinkButton_checkStateSet(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_checkStateSet(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_checkStateSet(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_checkStateSet, doc_QCommandLinkButton_checkStateSet);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_nextCheckState, "QCommandLinkButton.nextCheckState()");

extern "C" {static PyObject *meth_QCommandLinkButton_nextCheckState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_nextCheckState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_nextCheckState(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_nextCheckState, doc_QCommandLinkButton_nextCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_keyReleaseEvent, "QCommandLinkButton.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_keyReleaseEvent, doc_QCommandLinkButton_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_mousePressEvent, "QCommandLinkButton.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_mousePressEvent, doc_QCommandLinkButton_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_mouseReleaseEvent, "QCommandLinkButton.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_mouseReleaseEvent, doc_QCommandLinkButton_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_mouseMoveEvent, "QCommandLinkButton.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_mouseMoveEvent, doc_QCommandLinkButton_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_changeEvent, "QCommandLinkButton.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_changeEvent, doc_QCommandLinkButton_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_timerEvent, "QCommandLinkButton.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_timerEvent, doc_QCommandLinkButton_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_initStyleOption, "QCommandLinkButton.initStyleOption(QStyleOptionButton)");

extern "C" {static PyObject *meth_QCommandLinkButton_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionButton* a0;
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QStyleOptionButton, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_initStyleOption, doc_QCommandLinkButton_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_keyPressEvent, "QCommandLinkButton.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_keyPressEvent, doc_QCommandLinkButton_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_focusInEvent, "QCommandLinkButton.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_focusInEvent, doc_QCommandLinkButton_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_focusOutEvent, "QCommandLinkButton.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_focusOutEvent, doc_QCommandLinkButton_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_description, "QCommandLinkButton.description() -> str");

extern "C" {static PyObject *meth_QCommandLinkButton_description(PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCommandLinkButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->description());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_description, doc_QCommandLinkButton_description);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_setDescription, "QCommandLinkButton.setDescription(str)");

extern "C" {static PyObject *meth_QCommandLinkButton_setDescription(PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_setDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QCommandLinkButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDescription(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_setDescription, doc_QCommandLinkButton_setDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_sizeHint, "QCommandLinkButton.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QCommandLinkButton_sizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_sizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_sizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_sizeHint, doc_QCommandLinkButton_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_heightForWidth, "QCommandLinkButton.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QCommandLinkButton_heightForWidth(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_heightForWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QCommandLinkButton, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_heightForWidth(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_heightForWidth, doc_QCommandLinkButton_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_minimumSizeHint, "QCommandLinkButton.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QCommandLinkButton_minimumSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCommandLinkButton, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_minimumSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_minimumSizeHint, doc_QCommandLinkButton_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_event, "QCommandLinkButton.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QCommandLinkButton_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_event, doc_QCommandLinkButton_event);

    return NULL;
}


PyDoc_STRVAR(doc_QCommandLinkButton_paintEvent, "QCommandLinkButton.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QCommandLinkButton_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCommandLinkButton_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQCommandLinkButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCommandLinkButton, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCommandLinkButton, sipName_paintEvent, doc_QCommandLinkButton_paintEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCommandLinkButton(void *, const sipTypeDef *);}
static void *cast_QCommandLinkButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QCommandLinkButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QPushButton)->ctd_cast((QPushButton *)(QCommandLinkButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCommandLinkButton(void *, int);}
static void release_QCommandLinkButton(void *sipCppV,int)
{
    QCommandLinkButton *sipCpp = reinterpret_cast<QCommandLinkButton *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QCommandLinkButton(sipSimpleWrapper *);}
static void dealloc_QCommandLinkButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQCommandLinkButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QCommandLinkButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QCommandLinkButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCommandLinkButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQCommandLinkButton *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQCommandLinkButton(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQCommandLinkButton(*a0,a1);
            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;
        QWidget* 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_QWidget, &a2, sipOwner))
        {
            sipCpp = new sipQCommandLinkButton(*a0,*a1,a2);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCommandLinkButton[] = {{251, 255, 1}};


static PyMethodDef methods_QCommandLinkButton[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QCommandLinkButton_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QCommandLinkButton_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_checkStateSet), (PyCFunction)meth_QCommandLinkButton_checkStateSet, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QCommandLinkButton_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QCommandLinkButton_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QCommandLinkButton_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QCommandLinkButton_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QCommandLinkButton_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QCommandLinkButton_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_description), meth_QCommandLinkButton_description, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLinkButton_description)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QCommandLinkButton_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QCommandLinkButton_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QCommandLinkButton_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QCommandLinkButton_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QCommandLinkButton_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QCommandLinkButton_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QCommandLinkButton_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QCommandLinkButton_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommandLinkButton_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QCommandLinkButton_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QCommandLinkButton_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QCommandLinkButton_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QCommandLinkButton_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QCommandLinkButton_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_heightForWidth), (PyCFunction)meth_QCommandLinkButton_heightForWidth, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommandLinkButton_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QCommandLinkButton_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hitButton), (PyCFunction)meth_QCommandLinkButton_hitButton, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QCommandLinkButton_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QCommandLinkButton_initStyleOption, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QCommandLinkButton_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QCommandLinkButton_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QCommandLinkButton_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QCommandLinkButton_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QCommandLinkButton_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QCommandLinkButton_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), (PyCFunction)meth_QCommandLinkButton_minimumSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommandLinkButton_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QCommandLinkButton_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QCommandLinkButton_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QCommandLinkButton_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QCommandLinkButton_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QCommandLinkButton_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QCommandLinkButton_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nextCheckState), (PyCFunction)meth_QCommandLinkButton_nextCheckState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QCommandLinkButton_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommandLinkButton_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QCommandLinkButton_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QCommandLinkButton_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QCommandLinkButton_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QCommandLinkButton_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDescription), meth_QCommandLinkButton_setDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QCommandLinkButton_setDescription)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QCommandLinkButton_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QCommandLinkButton_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), (PyCFunction)meth_QCommandLinkButton_sizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCommandLinkButton_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QCommandLinkButton_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QCommandLinkButton_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QCommandLinkButton_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QCommandLinkButton_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QCommandLinkButton, "\1QCommandLinkButton(QWidget parent=None)\n"
    "QCommandLinkButton(str, QWidget parent=None)\n"
    "QCommandLinkButton(str, str, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QCommandLinkButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCommandLinkButton,
        {0}
    },
    {
        sipNameNr_QCommandLinkButton,
        {0, 0, 1},
        55, methods_QCommandLinkButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCommandLinkButton,
    -1,
    -1,
    supers_QCommandLinkButton,
    0,
    init_type_QCommandLinkButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCommandLinkButton,
    0,
    0,
    0,
    release_QCommandLinkButton,
    cast_QCommandLinkButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QCommandLinkButton::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qpushbutton.sip"
#include <qpushbutton.h>
#line 414059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 414063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 414066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 414069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 414081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 414084 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 414087 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 414090 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 414093 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414096 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 414099 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 414102 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 414105 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 414108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 414111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 414114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 414117 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 414120 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 414123 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 414126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 414129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 414132 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 414135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 414138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 414141 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 414144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 414147 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 414150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 414153 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 414156 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 414159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 414162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 414165 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 414168 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414171 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414174 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414180 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414183 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414186 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414189 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414192 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414195 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414198 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414201 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414204 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414207 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 414210 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 414213 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 414216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 414219 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 414222 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 414225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 414228 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 414231 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 414234 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 414237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 414240 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 414243 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 414246 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 414249 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 414252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 414255 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 414258 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 414261 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 414264 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 414267 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 414270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQPushButton : public QPushButton
{
public:
    sipQPushButton(QWidget*);
    sipQPushButton(const QString&,QWidget*);
    sipQPushButton(const QIcon&,const QString&,QWidget*);
    virtual ~sipQPushButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    bool sipProtectVirt_hitButton(bool,const QPoint&) const;
    void sipProtectVirt_checkStateSet(bool);
    void sipProtectVirt_nextCheckState(bool);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtect_initStyleOption(QStyleOptionButton*) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void timerEvent(QTimerEvent*);
    void changeEvent(QEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void nextCheckState();
    void checkStateSet();
    bool hitButton(const QPoint&) const;
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyPressEvent(QKeyEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQPushButton(const sipQPushButton &);
    sipQPushButton &operator = (const sipQPushButton &);

    char sipPyMethods[49];
};

sipQPushButton::sipQPushButton(QWidget*a0): QPushButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPushButton::sipQPushButton(const QString& a0,QWidget*a1): QPushButton(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPushButton::sipQPushButton(const QIcon& a0,const QString& a1,QWidget*a2): QPushButton(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQPushButton::~sipQPushButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQPushButton::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QPushButton);
}

int sipQPushButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QPushButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QPushButton,_c,_id,_a);

    return _id;
}

void *sipQPushButton::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QPushButton, _clname, &sipCpp) ? sipCpp : QPushButton::qt_metacast(_clname));
}

void sipQPushButton::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QPushButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QPushButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QPushButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QPushButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQPushButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QPushButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQPushButton::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QPushButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQPushButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QPushButton::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQPushButton::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QPushButton::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQPushButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QPushButton::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQPushButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QPushButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQPushButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QPushButton::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QPushButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQPushButton::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QPushButton::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QPushButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QPushButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QPushButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QPushButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QPushButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QPushButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QPushButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QPushButton::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QPushButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QPushButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QPushButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QPushButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QPushButton::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QPushButton::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QPushButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QPushButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQPushButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QPushButton::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQPushButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QPushButton::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QPushButton::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQPushButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QPushButton::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQPushButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QPushButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QPushButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QPushButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QPushButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QPushButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QPushButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        QPushButton::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQPushButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        QPushButton::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQPushButton::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return QPushButton::hitButton(a0);

    extern bool sipVH_QtWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_36(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QPushButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QPushButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QPushButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQPushButton::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QPushButton::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQPushButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QPushButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQPushButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QPushButton::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQPushButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QPushButton::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQPushButton::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQPushButton::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQPushButton::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQPushButton::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQPushButton::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQPushButton::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQPushButton::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQPushButton::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQPushButton::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQPushButton::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQPushButton::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQPushButton::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQPushButton::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQPushButton::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQPushButton::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQPushButton::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQPushButton::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQPushButton::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQPushButton::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQPushButton::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQPushButton::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQPushButton::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQPushButton::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQPushButton::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQPushButton::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQPushButton::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQPushButton::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQPushButton::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQPushButton::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQPushButton::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQPushButton::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQPushButton::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQPushButton::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQPushButton::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQPushButton::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

bool sipQPushButton::sipProtectVirt_hitButton(bool sipSelfWasArg,const QPoint& a0) const
{
    return (sipSelfWasArg ? QAbstractButton::hitButton(a0) : hitButton(a0));
}

void sipQPushButton::sipProtectVirt_checkStateSet(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractButton::checkStateSet() : checkStateSet());
}

void sipQPushButton::sipProtectVirt_nextCheckState(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractButton::nextCheckState() : nextCheckState());
}

void sipQPushButton::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQPushButton::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQPushButton::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQPushButton::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQPushButton::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::changeEvent(a0) : changeEvent(a0));
}

void sipQPushButton::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::timerEvent(a0) : timerEvent(a0));
}

void sipQPushButton::sipProtect_initStyleOption(QStyleOptionButton*a0) const
{
    QPushButton::initStyleOption(a0);
}

bool sipQPushButton::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QPushButton::event(a0) : event(a0));
}

void sipQPushButton::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QPushButton::paintEvent(a0) : paintEvent(a0));
}

void sipQPushButton::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QPushButton::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQPushButton::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QPushButton::focusInEvent(a0) : focusInEvent(a0));
}

void sipQPushButton::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QPushButton::focusOutEvent(a0) : focusOutEvent(a0));
}


PyDoc_STRVAR(doc_QPushButton_sender, "QPushButton.sender() -> QObject");

extern "C" {static PyObject *meth_QPushButton_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 415578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_sender, doc_QPushButton_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_receivers, "QPushButton.receivers(signal) -> int");

extern "C" {static PyObject *meth_QPushButton_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QPushButton, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 415637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_receivers, doc_QPushButton_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_childEvent, "QPushButton.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QPushButton_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_childEvent, doc_QPushButton_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_customEvent, "QPushButton.customEvent(QEvent)");

extern "C" {static PyObject *meth_QPushButton_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_customEvent, doc_QPushButton_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_connectNotify, "QPushButton.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPushButton_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_connectNotify, doc_QPushButton_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_disconnectNotify, "QPushButton.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QPushButton_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_disconnectNotify, doc_QPushButton_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_senderSignalIndex, "QPushButton.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QPushButton_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_senderSignalIndex, doc_QPushButton_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_isSignalConnected, "QPushButton.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QPushButton_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_isSignalConnected, doc_QPushButton_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_mouseDoubleClickEvent, "QPushButton.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QPushButton_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_mouseDoubleClickEvent, doc_QPushButton_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_wheelEvent, "QPushButton.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QPushButton_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_wheelEvent, doc_QPushButton_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_enterEvent, "QPushButton.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QPushButton_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_enterEvent, doc_QPushButton_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_leaveEvent, "QPushButton.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QPushButton_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_leaveEvent, doc_QPushButton_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_moveEvent, "QPushButton.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QPushButton_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_moveEvent, doc_QPushButton_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_resizeEvent, "QPushButton.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QPushButton_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_resizeEvent, doc_QPushButton_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_closeEvent, "QPushButton.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QPushButton_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_closeEvent, doc_QPushButton_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_contextMenuEvent, "QPushButton.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QPushButton_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_contextMenuEvent, doc_QPushButton_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_tabletEvent, "QPushButton.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QPushButton_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_tabletEvent, doc_QPushButton_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_actionEvent, "QPushButton.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QPushButton_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_actionEvent, doc_QPushButton_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_dragEnterEvent, "QPushButton.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QPushButton_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_dragEnterEvent, doc_QPushButton_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_dragMoveEvent, "QPushButton.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QPushButton_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_dragMoveEvent, doc_QPushButton_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_dragLeaveEvent, "QPushButton.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QPushButton_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_dragLeaveEvent, doc_QPushButton_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_dropEvent, "QPushButton.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QPushButton_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_dropEvent, doc_QPushButton_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_showEvent, "QPushButton.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QPushButton_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_showEvent, doc_QPushButton_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_hideEvent, "QPushButton.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QPushButton_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_hideEvent, doc_QPushButton_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_metric, "QPushButton.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QPushButton_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_metric, doc_QPushButton_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_inputMethodEvent, "QPushButton.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QPushButton_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_inputMethodEvent, doc_QPushButton_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_updateMicroFocus, "QPushButton.updateMicroFocus()");

extern "C" {static PyObject *meth_QPushButton_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_updateMicroFocus, doc_QPushButton_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_create, "QPushButton.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QPushButton_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQPushButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QPushButton, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_create, doc_QPushButton_create);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_destroy, "QPushButton.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QPushButton_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQPushButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QPushButton, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_destroy, doc_QPushButton_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_focusNextPrevChild, "QPushButton.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QPushButton_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QPushButton, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_focusNextPrevChild, doc_QPushButton_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_focusNextChild, "QPushButton.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QPushButton_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_focusNextChild, doc_QPushButton_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_focusPreviousChild, "QPushButton.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QPushButton_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_focusPreviousChild, doc_QPushButton_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_nativeEvent, "QPushButton.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QPushButton_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_nativeEvent, doc_QPushButton_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_sharedPainter, "QPushButton.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QPushButton_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_sharedPainter, doc_QPushButton_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_initPainter, "QPushButton.initPainter(QPainter)");

extern "C" {static PyObject *meth_QPushButton_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_initPainter, doc_QPushButton_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_hitButton, "QPushButton.hitButton(QPoint) -> bool");

extern "C" {static PyObject *meth_QPushButton_hitButton(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_hitButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QPoint, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_hitButton(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_hitButton, doc_QPushButton_hitButton);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_checkStateSet, "QPushButton.checkStateSet()");

extern "C" {static PyObject *meth_QPushButton_checkStateSet(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_checkStateSet(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_checkStateSet(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_checkStateSet, doc_QPushButton_checkStateSet);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_nextCheckState, "QPushButton.nextCheckState()");

extern "C" {static PyObject *meth_QPushButton_nextCheckState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_nextCheckState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_nextCheckState(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_nextCheckState, doc_QPushButton_nextCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_keyReleaseEvent, "QPushButton.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QPushButton_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_keyReleaseEvent, doc_QPushButton_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_mousePressEvent, "QPushButton.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QPushButton_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_mousePressEvent, doc_QPushButton_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_mouseReleaseEvent, "QPushButton.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QPushButton_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_mouseReleaseEvent, doc_QPushButton_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_mouseMoveEvent, "QPushButton.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QPushButton_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_mouseMoveEvent, doc_QPushButton_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_changeEvent, "QPushButton.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QPushButton_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_changeEvent, doc_QPushButton_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_timerEvent, "QPushButton.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QPushButton_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_timerEvent, doc_QPushButton_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_sizeHint, "QPushButton.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QPushButton_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QPushButton::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_sizeHint, doc_QPushButton_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_minimumSizeHint, "QPushButton.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QPushButton_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QPushButton::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_minimumSizeHint, doc_QPushButton_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_autoDefault, "QPushButton.autoDefault() -> bool");

extern "C" {static PyObject *meth_QPushButton_autoDefault(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_autoDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoDefault();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_autoDefault, doc_QPushButton_autoDefault);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_setAutoDefault, "QPushButton.setAutoDefault(bool)");

extern "C" {static PyObject *meth_QPushButton_setAutoDefault(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_setAutoDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QPushButton, &sipCpp, &a0))
        {
            sipCpp->setAutoDefault(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_setAutoDefault, doc_QPushButton_setAutoDefault);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_isDefault, "QPushButton.isDefault() -> bool");

extern "C" {static PyObject *meth_QPushButton_isDefault(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_isDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDefault();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_isDefault, doc_QPushButton_isDefault);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_setDefault, "QPushButton.setDefault(bool)");

extern "C" {static PyObject *meth_QPushButton_setDefault(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_setDefault(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QPushButton, &sipCpp, &a0))
        {
            sipCpp->setDefault(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_setDefault, doc_QPushButton_setDefault);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_setMenu, "QPushButton.setMenu(QMenu)");

extern "C" {static PyObject *meth_QPushButton_setMenu(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_setMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        PyObject *a0Keep;
        QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QPushButton, &sipCpp, &a0Keep, sipType_QMenu, &a0))
        {
            sipCpp->setMenu(a0);

            sipKeepReference(sipSelf, -41, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_setMenu, doc_QPushButton_setMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_menu, "QPushButton.menu() -> QMenu");

extern "C" {static PyObject *meth_QPushButton_menu(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_menu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            QMenu*sipRes;

            sipRes = sipCpp->menu();

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_menu, doc_QPushButton_menu);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_setFlat, "QPushButton.setFlat(bool)");

extern "C" {static PyObject *meth_QPushButton_setFlat(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_setFlat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QPushButton, &sipCpp, &a0))
        {
            sipCpp->setFlat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_setFlat, doc_QPushButton_setFlat);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_isFlat, "QPushButton.isFlat() -> bool");

extern "C" {static PyObject *meth_QPushButton_isFlat(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_isFlat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFlat();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_isFlat, doc_QPushButton_isFlat);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_showMenu, "QPushButton.showMenu()");

extern "C" {static PyObject *meth_QPushButton_showMenu(PyObject *, PyObject *);}
static PyObject *meth_QPushButton_showMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPushButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QPushButton, &sipCpp))
        {
            sipCpp->showMenu();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_showMenu, doc_QPushButton_showMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_initStyleOption, "QPushButton.initStyleOption(QStyleOptionButton)");

extern "C" {static PyObject *meth_QPushButton_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionButton* a0;
        const sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QStyleOptionButton, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_initStyleOption, doc_QPushButton_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_event, "QPushButton.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QPushButton_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_event, doc_QPushButton_event);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_paintEvent, "QPushButton.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QPushButton_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_paintEvent, doc_QPushButton_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_keyPressEvent, "QPushButton.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QPushButton_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_keyPressEvent, doc_QPushButton_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_focusInEvent, "QPushButton.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QPushButton_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_focusInEvent, doc_QPushButton_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QPushButton_focusOutEvent, "QPushButton.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QPushButton_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QPushButton_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQPushButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QPushButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QPushButton, sipName_focusOutEvent, doc_QPushButton_focusOutEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QPushButton(void *, const sipTypeDef *);}
static void *cast_QPushButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QPushButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractButton)->ctd_cast((QAbstractButton *)(QPushButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QPushButton(void *, int);}
static void release_QPushButton(void *sipCppV,int)
{
    QPushButton *sipCpp = reinterpret_cast<QPushButton *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QPushButton(sipSimpleWrapper *);}
static void dealloc_QPushButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQPushButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QPushButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QPushButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QPushButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQPushButton *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQPushButton(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQPushButton(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QWidget* a2 = 0;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9J1|JH", sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_QWidget, &a2, sipOwner))
        {
            sipCpp = new sipQPushButton(*a0,*a1,a2);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QPushButton[] = {{0, 255, 1}};


static PyMethodDef methods_QPushButton[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QPushButton_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_autoDefault), meth_QPushButton_autoDefault, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_autoDefault)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QPushButton_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_checkStateSet), (PyCFunction)meth_QPushButton_checkStateSet, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QPushButton_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QPushButton_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QPushButton_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QPushButton_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QPushButton_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QPushButton_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QPushButton_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QPushButton_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QPushButton_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QPushButton_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QPushButton_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QPushButton_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QPushButton_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QPushButton_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPushButton_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QPushButton_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPushButton_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QPushButton_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QPushButton_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QPushButton_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPushButton_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QPushButton_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QPushButton_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hitButton), (PyCFunction)meth_QPushButton_hitButton, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QPushButton_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QPushButton_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPushButton_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QPushButton_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isDefault), meth_QPushButton_isDefault, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_isDefault)},
    {SIP_MLNAME_CAST(sipName_isFlat), meth_QPushButton_isFlat, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_isFlat)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QPushButton_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QPushButton_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPushButton_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QPushButton_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QPushButton_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_menu), meth_QPushButton_menu, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_menu)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QPushButton_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QPushButton_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QPushButton_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QPushButton_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QPushButton_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QPushButton_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QPushButton_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QPushButton_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nextCheckState), (PyCFunction)meth_QPushButton_nextCheckState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QPushButton_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QPushButton_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QPushButton_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QPushButton_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QPushButton_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QPushButton_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoDefault), meth_QPushButton_setAutoDefault, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_setAutoDefault)},
    {SIP_MLNAME_CAST(sipName_setDefault), meth_QPushButton_setDefault, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_setDefault)},
    {SIP_MLNAME_CAST(sipName_setFlat), meth_QPushButton_setFlat, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_setFlat)},
    {SIP_MLNAME_CAST(sipName_setMenu), meth_QPushButton_setMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_setMenu)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QPushButton_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QPushButton_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showMenu), meth_QPushButton_showMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_showMenu)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QPushButton_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QPushButton_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QPushButton_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QPushButton_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QPushButton_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QPushButton_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QPushButton, "\1QPushButton(QWidget parent=None)\n"
    "QPushButton(str, QWidget parent=None)\n"
    "QPushButton(QIcon, str, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QPushButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QPushButton,
        {0}
    },
    {
        sipNameNr_QPushButton,
        {0, 0, 1},
        61, methods_QPushButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QPushButton,
    -1,
    -1,
    supers_QPushButton,
    0,
    init_type_QPushButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QPushButton,
    0,
    0,
    0,
    release_QPushButton,
    cast_QPushButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QPushButton::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcombobox.sip"
#include <qcombobox.h>
#line 417561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 417565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 417568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 417571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 417601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 417607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 417610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcompleter.sip"
#include <qcompleter.h>
#line 417613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 417616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 417619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 417622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 417625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 417628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 417631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 417634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 417637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 417640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 417643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 417646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 417649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 417652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 417655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 417658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 417661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 417664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 417667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 417670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 417673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 417676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 417679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 417682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 417685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 417688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 417691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 417694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 417697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 417700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 417703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 417727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 417730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 417733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 417736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 417739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 417742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 417745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 417748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 417751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 417754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 417757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 417760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 417763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 417766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 417769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 417772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 417775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 417778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 417781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 417784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 417787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 417790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 417793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQComboBox : public QComboBox
{
public:
    sipQComboBox(QWidget*);
    virtual ~sipQComboBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_initStyleOption(QStyleOptionComboBox*) const;
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    void changeEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    bool event(QEvent*);
    void hidePopup();
    void showPopup();
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQComboBox(const sipQComboBox &);
    sipQComboBox &operator = (const sipQComboBox &);

    char sipPyMethods[48];
};

sipQComboBox::sipQComboBox(QWidget*a0): QComboBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQComboBox::~sipQComboBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQComboBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QComboBox);
}

int sipQComboBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QComboBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QComboBox,_c,_id,_a);

    return _id;
}

void *sipQComboBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QComboBox, _clname, &sipCpp) ? sipCpp : QComboBox::qt_metacast(_clname));
}

void sipQComboBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QComboBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QComboBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QComboBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QComboBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QComboBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQComboBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QComboBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQComboBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QComboBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQComboBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QComboBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQComboBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QComboBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQComboBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QComboBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQComboBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QComboBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQComboBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QComboBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QComboBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QComboBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QComboBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QComboBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QComboBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QComboBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QComboBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QComboBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QComboBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QComboBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QComboBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QComboBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQComboBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QComboBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQComboBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QComboBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QComboBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQComboBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QComboBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQComboBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QComboBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QComboBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QComboBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QComboBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QComboBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QComboBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QComboBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QComboBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QComboBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QComboBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QComboBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QComboBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QComboBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QComboBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QComboBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQComboBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QComboBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQComboBox::hidePopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_hidePopup);

    if (!sipMeth)
    {
        QComboBox::hidePopup();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQComboBox::showPopup()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_showPopup);

    if (!sipMeth)
    {
        QComboBox::showPopup();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQComboBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QComboBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQComboBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QComboBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQComboBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQComboBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQComboBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQComboBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQComboBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQComboBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQComboBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQComboBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQComboBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQComboBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQComboBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQComboBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQComboBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQComboBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQComboBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQComboBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQComboBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQComboBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQComboBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQComboBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQComboBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQComboBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQComboBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQComboBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQComboBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQComboBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQComboBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQComboBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQComboBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQComboBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQComboBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQComboBox::sipProtect_initStyleOption(QStyleOptionComboBox*a0) const
{
    QComboBox::initStyleOption(a0);
}

void sipQComboBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QComboBox::focusInEvent(a0) : focusInEvent(a0));
}

void sipQComboBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QComboBox::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQComboBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QComboBox::changeEvent(a0) : changeEvent(a0));
}

void sipQComboBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QComboBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQComboBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QComboBox::paintEvent(a0) : paintEvent(a0));
}

void sipQComboBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QComboBox::showEvent(a0) : showEvent(a0));
}

void sipQComboBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QComboBox::hideEvent(a0) : hideEvent(a0));
}

void sipQComboBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QComboBox::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQComboBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QComboBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQComboBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QComboBox::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQComboBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QComboBox::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQComboBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QComboBox::wheelEvent(a0) : wheelEvent(a0));
}

void sipQComboBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QComboBox::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQComboBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QComboBox::inputMethodEvent(a0) : inputMethodEvent(a0));
}


PyDoc_STRVAR(doc_QComboBox_sender, "QComboBox.sender() -> QObject");

extern "C" {static PyObject *meth_QComboBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 419049 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_sender, doc_QComboBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_receivers, "QComboBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QComboBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 419108 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_receivers, doc_QComboBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_timerEvent, "QComboBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QComboBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_timerEvent, doc_QComboBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_childEvent, "QComboBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QComboBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_childEvent, doc_QComboBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_customEvent, "QComboBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QComboBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_customEvent, doc_QComboBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_connectNotify, "QComboBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QComboBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_connectNotify, doc_QComboBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_disconnectNotify, "QComboBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QComboBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_disconnectNotify, doc_QComboBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_senderSignalIndex, "QComboBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QComboBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_senderSignalIndex, doc_QComboBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_isSignalConnected, "QComboBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QComboBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_isSignalConnected, doc_QComboBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_mouseDoubleClickEvent, "QComboBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QComboBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_mouseDoubleClickEvent, doc_QComboBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_mouseMoveEvent, "QComboBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QComboBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_mouseMoveEvent, doc_QComboBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_enterEvent, "QComboBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QComboBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_enterEvent, doc_QComboBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_leaveEvent, "QComboBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QComboBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_leaveEvent, doc_QComboBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_moveEvent, "QComboBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QComboBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_moveEvent, doc_QComboBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_closeEvent, "QComboBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QComboBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_closeEvent, doc_QComboBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_tabletEvent, "QComboBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QComboBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_tabletEvent, doc_QComboBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_actionEvent, "QComboBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QComboBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_actionEvent, doc_QComboBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_dragEnterEvent, "QComboBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QComboBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_dragEnterEvent, doc_QComboBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_dragMoveEvent, "QComboBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QComboBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_dragMoveEvent, doc_QComboBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_dragLeaveEvent, "QComboBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QComboBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_dragLeaveEvent, doc_QComboBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_dropEvent, "QComboBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QComboBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_dropEvent, doc_QComboBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_metric, "QComboBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QComboBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_metric, doc_QComboBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_updateMicroFocus, "QComboBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QComboBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_updateMicroFocus, doc_QComboBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_create, "QComboBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QComboBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQComboBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QComboBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_create, doc_QComboBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_destroy, "QComboBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QComboBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQComboBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QComboBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_destroy, doc_QComboBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_focusNextPrevChild, "QComboBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QComboBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_focusNextPrevChild, doc_QComboBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_focusNextChild, "QComboBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QComboBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_focusNextChild, doc_QComboBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_focusPreviousChild, "QComboBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QComboBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_focusPreviousChild, doc_QComboBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_nativeEvent, "QComboBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QComboBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_nativeEvent, doc_QComboBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_sharedPainter, "QComboBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QComboBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_sharedPainter, doc_QComboBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_initPainter, "QComboBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QComboBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_initPainter, doc_QComboBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_maxVisibleItems, "QComboBox.maxVisibleItems() -> int");

extern "C" {static PyObject *meth_QComboBox_maxVisibleItems(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_maxVisibleItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maxVisibleItems();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_maxVisibleItems, doc_QComboBox_maxVisibleItems);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setMaxVisibleItems, "QComboBox.setMaxVisibleItems(int)");

extern "C" {static PyObject *meth_QComboBox_setMaxVisibleItems(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setMaxVisibleItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->setMaxVisibleItems(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setMaxVisibleItems, doc_QComboBox_setMaxVisibleItems);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_count, "QComboBox.count() -> int");

extern "C" {static PyObject *meth_QComboBox_count(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_count, doc_QComboBox_count);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setMaxCount, "QComboBox.setMaxCount(int)");

extern "C" {static PyObject *meth_QComboBox_setMaxCount(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setMaxCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->setMaxCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setMaxCount, doc_QComboBox_setMaxCount);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_maxCount, "QComboBox.maxCount() -> int");

extern "C" {static PyObject *meth_QComboBox_maxCount(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_maxCount(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maxCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_maxCount, doc_QComboBox_maxCount);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_duplicatesEnabled, "QComboBox.duplicatesEnabled() -> bool");

extern "C" {static PyObject *meth_QComboBox_duplicatesEnabled(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_duplicatesEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->duplicatesEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_duplicatesEnabled, doc_QComboBox_duplicatesEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setDuplicatesEnabled, "QComboBox.setDuplicatesEnabled(bool)");

extern "C" {static PyObject *meth_QComboBox_setDuplicatesEnabled(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setDuplicatesEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->setDuplicatesEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setDuplicatesEnabled, doc_QComboBox_setDuplicatesEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setFrame, "QComboBox.setFrame(bool)");

extern "C" {static PyObject *meth_QComboBox_setFrame(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->setFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setFrame, doc_QComboBox_setFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_hasFrame, "QComboBox.hasFrame() -> bool");

extern "C" {static PyObject *meth_QComboBox_hasFrame(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_hasFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasFrame();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_hasFrame, doc_QComboBox_hasFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_findText, "QComboBox.findText(str, Qt.MatchFlags flags=Qt.MatchExactly|Qt.MatchCaseSensitive) -> int");

extern "C" {static PyObject *meth_QComboBox_findText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_findText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        Qt::MatchFlags a1def = Qt::MatchExactly|Qt::MatchCaseSensitive;
        Qt::MatchFlags* a1 = &a1def;
        int a1State = 0;
        const QComboBox *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QString,&a0, &a0State, sipType_Qt_MatchFlags, &a1, &a1State))
        {
            int sipRes;

            sipRes = sipCpp->findText(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_Qt_MatchFlags,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_findText, doc_QComboBox_findText);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_findData, "QComboBox.findData(QVariant, int role=Qt.UserRole, Qt.MatchFlags flags=Qt.MatchExactly|Qt.MatchCaseSensitive) -> int");

extern "C" {static PyObject *meth_QComboBox_findData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_findData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QVariant* a0;
        int a0State = 0;
        int a1 = Qt::UserRole;
        Qt::MatchFlags a2def = Qt::MatchExactly|Qt::MatchCaseSensitive;
        Qt::MatchFlags* a2 = &a2def;
        int a2State = 0;
        const QComboBox *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_role,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|iJ1", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QVariant, &a0, &a0State, &a1, sipType_Qt_MatchFlags, &a2, &a2State))
        {
            int sipRes;

            sipRes = sipCpp->findData(*a0,a1,*a2);
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);
            sipReleaseType(a2,sipType_Qt_MatchFlags,a2State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_findData, doc_QComboBox_findData);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_insertPolicy, "QComboBox.insertPolicy() -> QComboBox.InsertPolicy");

extern "C" {static PyObject *meth_QComboBox_insertPolicy(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_insertPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QComboBox::InsertPolicy sipRes;

            sipRes = sipCpp->insertPolicy();

            return sipConvertFromEnum(sipRes,sipType_QComboBox_InsertPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_insertPolicy, doc_QComboBox_insertPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setInsertPolicy, "QComboBox.setInsertPolicy(QComboBox.InsertPolicy)");

extern "C" {static PyObject *meth_QComboBox_setInsertPolicy(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setInsertPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QComboBox::InsertPolicy a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QComboBox_InsertPolicy, &a0))
        {
            sipCpp->setInsertPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setInsertPolicy, doc_QComboBox_setInsertPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_sizeAdjustPolicy, "QComboBox.sizeAdjustPolicy() -> QComboBox.SizeAdjustPolicy");

extern "C" {static PyObject *meth_QComboBox_sizeAdjustPolicy(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_sizeAdjustPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QComboBox::SizeAdjustPolicy sipRes;

            sipRes = sipCpp->sizeAdjustPolicy();

            return sipConvertFromEnum(sipRes,sipType_QComboBox_SizeAdjustPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_sizeAdjustPolicy, doc_QComboBox_sizeAdjustPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setSizeAdjustPolicy, "QComboBox.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy)");

extern "C" {static PyObject *meth_QComboBox_setSizeAdjustPolicy(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setSizeAdjustPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QComboBox::SizeAdjustPolicy a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QComboBox_SizeAdjustPolicy, &a0))
        {
            sipCpp->setSizeAdjustPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setSizeAdjustPolicy, doc_QComboBox_setSizeAdjustPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_minimumContentsLength, "QComboBox.minimumContentsLength() -> int");

extern "C" {static PyObject *meth_QComboBox_minimumContentsLength(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_minimumContentsLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minimumContentsLength();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_minimumContentsLength, doc_QComboBox_minimumContentsLength);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setMinimumContentsLength, "QComboBox.setMinimumContentsLength(int)");

extern "C" {static PyObject *meth_QComboBox_setMinimumContentsLength(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setMinimumContentsLength(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->setMinimumContentsLength(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setMinimumContentsLength, doc_QComboBox_setMinimumContentsLength);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_iconSize, "QComboBox.iconSize() -> QSize");

extern "C" {static PyObject *meth_QComboBox_iconSize(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->iconSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_iconSize, doc_QComboBox_iconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setIconSize, "QComboBox.setIconSize(QSize)");

extern "C" {static PyObject *meth_QComboBox_setIconSize(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setIconSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setIconSize, doc_QComboBox_setIconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_isEditable, "QComboBox.isEditable() -> bool");

extern "C" {static PyObject *meth_QComboBox_isEditable(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_isEditable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEditable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_isEditable, doc_QComboBox_isEditable);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setEditable, "QComboBox.setEditable(bool)");

extern "C" {static PyObject *meth_QComboBox_setEditable(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setEditable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->setEditable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setEditable, doc_QComboBox_setEditable);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setLineEdit, "QComboBox.setLineEdit(QLineEdit)");

extern "C" {static PyObject *meth_QComboBox_setLineEdit(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setLineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit* a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QLineEdit, &a0))
        {
            sipCpp->setLineEdit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setLineEdit, doc_QComboBox_setLineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_lineEdit, "QComboBox.lineEdit() -> QLineEdit");

extern "C" {static PyObject *meth_QComboBox_lineEdit(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_lineEdit(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QLineEdit*sipRes;

            sipRes = sipCpp->lineEdit();

            return sipConvertFromType(sipRes,sipType_QLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_lineEdit, doc_QComboBox_lineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setValidator, "QComboBox.setValidator(QValidator)");

extern "C" {static PyObject *meth_QComboBox_setValidator(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setValidator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QValidator* a0;
        PyObject *a0Keep;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QComboBox, &sipCpp, &a0Keep, sipType_QValidator, &a0))
        {
            sipCpp->setValidator(a0);

            sipKeepReference(sipSelf, -11, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setValidator, doc_QComboBox_setValidator);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_validator, "QComboBox.validator() -> QValidator");

extern "C" {static PyObject *meth_QComboBox_validator(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_validator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            const QValidator*sipRes;

            sipRes = sipCpp->validator();

            return sipConvertFromType(const_cast<QValidator *>(sipRes),sipType_QValidator,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_validator, doc_QComboBox_validator);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_itemDelegate, "QComboBox.itemDelegate() -> QAbstractItemDelegate");

extern "C" {static PyObject *meth_QComboBox_itemDelegate(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_itemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QAbstractItemDelegate*sipRes;

            sipRes = sipCpp->itemDelegate();

            return sipConvertFromType(sipRes,sipType_QAbstractItemDelegate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_itemDelegate, doc_QComboBox_itemDelegate);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setItemDelegate, "QComboBox.setItemDelegate(QAbstractItemDelegate)");

extern "C" {static PyObject *meth_QComboBox_setItemDelegate(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setItemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemDelegate* a0;
        PyObject *a0Keep;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QComboBox, &sipCpp, &a0Keep, sipType_QAbstractItemDelegate, &a0))
        {
            sipCpp->setItemDelegate(a0);

            sipKeepReference(sipSelf, -12, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setItemDelegate, doc_QComboBox_setItemDelegate);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_model, "QComboBox.model() -> QAbstractItemModel");

extern "C" {static PyObject *meth_QComboBox_model(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QAbstractItemModel*sipRes;

            sipRes = sipCpp->model();

            return sipConvertFromType(sipRes,sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_model, doc_QComboBox_model);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setModel, "QComboBox.setModel(QAbstractItemModel)");

extern "C" {static PyObject *meth_QComboBox_setModel(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemModel* a0;
        PyObject *a0Keep;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QComboBox, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            sipCpp->setModel(a0);

            sipKeepReference(sipSelf, -13, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setModel, doc_QComboBox_setModel);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_rootModelIndex, "QComboBox.rootModelIndex() -> QModelIndex");

extern "C" {static PyObject *meth_QComboBox_rootModelIndex(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_rootModelIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->rootModelIndex());

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_rootModelIndex, doc_QComboBox_rootModelIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setRootModelIndex, "QComboBox.setRootModelIndex(QModelIndex)");

extern "C" {static PyObject *meth_QComboBox_setRootModelIndex(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setRootModelIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->setRootModelIndex(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setRootModelIndex, doc_QComboBox_setRootModelIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_modelColumn, "QComboBox.modelColumn() -> int");

extern "C" {static PyObject *meth_QComboBox_modelColumn(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_modelColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->modelColumn();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_modelColumn, doc_QComboBox_modelColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setModelColumn, "QComboBox.setModelColumn(int)");

extern "C" {static PyObject *meth_QComboBox_setModelColumn(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setModelColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->setModelColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setModelColumn, doc_QComboBox_setModelColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_currentIndex, "QComboBox.currentIndex() -> int");

extern "C" {static PyObject *meth_QComboBox_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->currentIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_currentIndex, doc_QComboBox_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setCurrentIndex, "QComboBox.setCurrentIndex(int)");

extern "C" {static PyObject *meth_QComboBox_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->setCurrentIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setCurrentIndex, doc_QComboBox_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_currentText, "QComboBox.currentText() -> str");

extern "C" {static PyObject *meth_QComboBox_currentText(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_currentText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->currentText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_currentText, doc_QComboBox_currentText);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_itemText, "QComboBox.itemText(int) -> str");

extern "C" {static PyObject *meth_QComboBox_itemText(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_itemText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->itemText(a0));

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_itemText, doc_QComboBox_itemText);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_itemIcon, "QComboBox.itemIcon(int) -> QIcon");

extern "C" {static PyObject *meth_QComboBox_itemIcon(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_itemIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->itemIcon(a0));

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_itemIcon, doc_QComboBox_itemIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_itemData, "QComboBox.itemData(int, int role=Qt.UserRole) -> QVariant");

extern "C" {static PyObject *meth_QComboBox_itemData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_itemData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = Qt::UserRole;
        const QComboBox *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|i", &sipSelf, sipType_QComboBox, &sipCpp, &a0, &a1))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->itemData(a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_itemData, doc_QComboBox_itemData);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_addItems, "QComboBox.addItems(list-of-str)");

extern "C" {static PyObject *meth_QComboBox_addItems(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_addItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QStringList* a0;
        int a0State = 0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QStringList,&a0, &a0State))
        {
            sipCpp->addItems(*a0);
            sipReleaseType(const_cast<QStringList *>(a0),sipType_QStringList,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_addItems, doc_QComboBox_addItems);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_addItem, "QComboBox.addItem(str, QVariant userData=None)\n"
    "QComboBox.addItem(QIcon, str, QVariant userData=None)");

extern "C" {static PyObject *meth_QComboBox_addItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_addItem(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;
        QComboBox *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_userData,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QString,&a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            sipCpp->addItem(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QVariant *>(a1),sipType_QVariant,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        const QVariant& a2def = QVariant();
        const QVariant* a2 = &a2def;
        int a2State = 0;
        QComboBox *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_userData,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J1|J1", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_QVariant, &a2, &a2State))
        {
            sipCpp->addItem(*a0,*a1,*a2);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            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_QComboBox, sipName_addItem, doc_QComboBox_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_insertItem, "QComboBox.insertItem(int, str, QVariant userData=None)\n"
    "QComboBox.insertItem(int, QIcon, str, QVariant userData=None)");

extern "C" {static PyObject *meth_QComboBox_insertItem(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_insertItem(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        const QVariant& a2def = QVariant();
        const QVariant* a2 = &a2def;
        int a2State = 0;
        QComboBox *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_userData,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiJ1|J1", &sipSelf, sipType_QComboBox, &sipCpp, &a0, sipType_QString,&a1, &a1State, sipType_QVariant, &a2, &a2State))
        {
            sipCpp->insertItem(a0,*a1,*a2);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QVariant *>(a2),sipType_QVariant,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        const QIcon* a1;
        const QString* a2;
        int a2State = 0;
        const QVariant& a3def = QVariant();
        const QVariant* a3 = &a3def;
        int a3State = 0;
        QComboBox *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            NULL,
            sipName_userData,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiJ9J1|J1", &sipSelf, sipType_QComboBox, &sipCpp, &a0, sipType_QIcon, &a1, sipType_QString,&a2, &a2State, sipType_QVariant, &a3, &a3State))
        {
            sipCpp->insertItem(a0,*a1,*a2,*a3);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QVariant *>(a3),sipType_QVariant,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_insertItem, doc_QComboBox_insertItem);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_insertItems, "QComboBox.insertItems(int, list-of-str)");

extern "C" {static PyObject *meth_QComboBox_insertItems(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_insertItems(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QStringList* a1;
        int a1State = 0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QComboBox, &sipCpp, &a0, sipType_QStringList,&a1, &a1State))
        {
            sipCpp->insertItems(a0,*a1);
            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_QComboBox, sipName_insertItems, doc_QComboBox_insertItems);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_removeItem, "QComboBox.removeItem(int)");

extern "C" {static PyObject *meth_QComboBox_removeItem(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_removeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->removeItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_removeItem, doc_QComboBox_removeItem);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setItemText, "QComboBox.setItemText(int, str)");

extern "C" {static PyObject *meth_QComboBox_setItemText(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setItemText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QString* a1;
        int a1State = 0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ1", &sipSelf, sipType_QComboBox, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setItemText(a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setItemText, doc_QComboBox_setItemText);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setItemIcon, "QComboBox.setItemIcon(int, QIcon)");

extern "C" {static PyObject *meth_QComboBox_setItemIcon(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setItemIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QIcon* a1;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_QComboBox, &sipCpp, &a0, sipType_QIcon, &a1))
        {
            sipCpp->setItemIcon(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setItemIcon, doc_QComboBox_setItemIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setItemData, "QComboBox.setItemData(int, QVariant, int role=Qt.UserRole)");

extern "C" {static PyObject *meth_QComboBox_setItemData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setItemData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QVariant* a1;
        int a1State = 0;
        int a2 = Qt::UserRole;
        QComboBox *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiJ1|i", &sipSelf, sipType_QComboBox, &sipCpp, &a0, sipType_QVariant, &a1, &a1State, &a2))
        {
            sipCpp->setItemData(a0,*a1,a2);
            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_QComboBox, sipName_setItemData, doc_QComboBox_setItemData);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_view, "QComboBox.view() -> QAbstractItemView");

extern "C" {static PyObject *meth_QComboBox_view(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_view(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QAbstractItemView*sipRes;

            sipRes = sipCpp->view();

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_view, doc_QComboBox_view);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setView, "QComboBox.setView(QAbstractItemView)");

extern "C" {static PyObject *meth_QComboBox_setView(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setView(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView* a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QAbstractItemView, &a0))
        {
            sipCpp->setView(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setView, doc_QComboBox_setView);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_sizeHint, "QComboBox.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QComboBox_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QComboBox::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_sizeHint, doc_QComboBox_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_minimumSizeHint, "QComboBox.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QComboBox_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QComboBox::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_minimumSizeHint, doc_QComboBox_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_showPopup, "QComboBox.showPopup()");

extern "C" {static PyObject *meth_QComboBox_showPopup(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_showPopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QComboBox::showPopup() : sipCpp->showPopup());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_showPopup, doc_QComboBox_showPopup);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_hidePopup, "QComboBox.hidePopup()");

extern "C" {static PyObject *meth_QComboBox_hidePopup(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_hidePopup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QComboBox::hidePopup() : sipCpp->hidePopup());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_hidePopup, doc_QComboBox_hidePopup);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_event, "QComboBox.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QComboBox_event(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QComboBox::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_event, doc_QComboBox_event);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setCompleter, "QComboBox.setCompleter(QCompleter)");

extern "C" {static PyObject *meth_QComboBox_setCompleter(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setCompleter(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCompleter* a0;
        PyObject *a0Keep;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QComboBox, &sipCpp, &a0Keep, sipType_QCompleter, &a0))
        {
            sipCpp->setCompleter(a0);

            sipKeepReference(sipSelf, -14, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setCompleter, doc_QComboBox_setCompleter);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_completer, "QComboBox.completer() -> QCompleter");

extern "C" {static PyObject *meth_QComboBox_completer(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_completer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            QCompleter*sipRes;

            sipRes = sipCpp->completer();

            return sipConvertFromType(sipRes,sipType_QCompleter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_completer, doc_QComboBox_completer);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_insertSeparator, "QComboBox.insertSeparator(int)");

extern "C" {static PyObject *meth_QComboBox_insertSeparator(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_insertSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            sipCpp->insertSeparator(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_insertSeparator, doc_QComboBox_insertSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_clear, "QComboBox.clear()");

extern "C" {static PyObject *meth_QComboBox_clear(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            sipCpp->clear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_clear, doc_QComboBox_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_clearEditText, "QComboBox.clearEditText()");

extern "C" {static PyObject *meth_QComboBox_clearEditText(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_clearEditText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QComboBox, &sipCpp))
        {
            sipCpp->clearEditText();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_clearEditText, doc_QComboBox_clearEditText);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setEditText, "QComboBox.setEditText(str)");

extern "C" {static PyObject *meth_QComboBox_setEditText(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setEditText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setEditText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setEditText, doc_QComboBox_setEditText);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_setCurrentText, "QComboBox.setCurrentText(str)");

extern "C" {static PyObject *meth_QComboBox_setCurrentText(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_setCurrentText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCurrentText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_setCurrentText, doc_QComboBox_setCurrentText);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_initStyleOption, "QComboBox.initStyleOption(QStyleOptionComboBox)");

extern "C" {static PyObject *meth_QComboBox_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionComboBox* a0;
        const sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QStyleOptionComboBox, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_initStyleOption, doc_QComboBox_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_focusInEvent, "QComboBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QComboBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_focusInEvent, doc_QComboBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_focusOutEvent, "QComboBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QComboBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_focusOutEvent, doc_QComboBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_changeEvent, "QComboBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QComboBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_changeEvent, doc_QComboBox_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_resizeEvent, "QComboBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QComboBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_resizeEvent, doc_QComboBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_paintEvent, "QComboBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QComboBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_paintEvent, doc_QComboBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_showEvent, "QComboBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QComboBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_showEvent, doc_QComboBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_hideEvent, "QComboBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QComboBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_hideEvent, doc_QComboBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_mousePressEvent, "QComboBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QComboBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_mousePressEvent, doc_QComboBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_mouseReleaseEvent, "QComboBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QComboBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_mouseReleaseEvent, doc_QComboBox_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_keyPressEvent, "QComboBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QComboBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_keyPressEvent, doc_QComboBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_keyReleaseEvent, "QComboBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QComboBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_keyReleaseEvent, doc_QComboBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_wheelEvent, "QComboBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QComboBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_wheelEvent, doc_QComboBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_contextMenuEvent, "QComboBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QComboBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_contextMenuEvent, doc_QComboBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_inputMethodEvent, "QComboBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QComboBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQComboBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QComboBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_inputMethodEvent, doc_QComboBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_inputMethodQuery, "QComboBox.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QComboBox_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QComboBox_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const QComboBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QComboBox, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QComboBox::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_inputMethodQuery, doc_QComboBox_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QComboBox_currentData, "QComboBox.currentData(int role=Qt.UserRole) -> QVariant");

extern "C" {static PyObject *meth_QComboBox_currentData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QComboBox_currentData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = Qt::UserRole;
        const QComboBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_role,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QComboBox, &sipCpp, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->currentData(a0));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QComboBox, sipName_currentData, doc_QComboBox_currentData);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QComboBox___len__(PyObject *);}
static SIP_SSIZE_T slot_QComboBox___len__(PyObject *sipSelf)
{
    QComboBox *sipCpp = reinterpret_cast<QComboBox *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QComboBox));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 422252 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QComboBox(void *, const sipTypeDef *);}
static void *cast_QComboBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QComboBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QComboBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QComboBox(void *, int);}
static void release_QComboBox(void *sipCppV,int)
{
    QComboBox *sipCpp = reinterpret_cast<QComboBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QComboBox(sipSimpleWrapper *);}
static void dealloc_QComboBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQComboBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QComboBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QComboBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QComboBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQComboBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQComboBox(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QComboBox[] = {{454, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QComboBox[] = {
    {(void *)slot_QComboBox___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QComboBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QComboBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), (PyCFunction)meth_QComboBox_addItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_addItem)},
    {SIP_MLNAME_CAST(sipName_addItems), meth_QComboBox_addItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_addItems)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QComboBox_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QComboBox_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QComboBox_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_clear)},
    {SIP_MLNAME_CAST(sipName_clearEditText), meth_QComboBox_clearEditText, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_clearEditText)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QComboBox_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_completer), meth_QComboBox_completer, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_completer)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QComboBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QComboBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_count), meth_QComboBox_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_count)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QComboBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentData), (PyCFunction)meth_QComboBox_currentData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_currentData)},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QComboBox_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_currentIndex)},
    {SIP_MLNAME_CAST(sipName_currentText), meth_QComboBox_currentText, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_currentText)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QComboBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QComboBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QComboBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QComboBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QComboBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QComboBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QComboBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_duplicatesEnabled), meth_QComboBox_duplicatesEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_duplicatesEnabled)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QComboBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_QComboBox_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_event)},
    {SIP_MLNAME_CAST(sipName_findData), (PyCFunction)meth_QComboBox_findData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_findData)},
    {SIP_MLNAME_CAST(sipName_findText), (PyCFunction)meth_QComboBox_findText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_findText)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QComboBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QComboBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QComboBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QComboBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QComboBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hasFrame), meth_QComboBox_hasFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_hasFrame)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QComboBox_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_hideEvent)},
    {SIP_MLNAME_CAST(sipName_hidePopup), meth_QComboBox_hidePopup, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_hidePopup)},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_QComboBox_iconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_iconSize)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QComboBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QComboBox_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QComboBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QComboBox_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_insertItem), (PyCFunction)meth_QComboBox_insertItem, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_insertItem)},
    {SIP_MLNAME_CAST(sipName_insertItems), meth_QComboBox_insertItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_insertItems)},
    {SIP_MLNAME_CAST(sipName_insertPolicy), meth_QComboBox_insertPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_insertPolicy)},
    {SIP_MLNAME_CAST(sipName_insertSeparator), meth_QComboBox_insertSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_insertSeparator)},
    {SIP_MLNAME_CAST(sipName_isEditable), meth_QComboBox_isEditable, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_isEditable)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QComboBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemData), (PyCFunction)meth_QComboBox_itemData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_itemData)},
    {SIP_MLNAME_CAST(sipName_itemDelegate), meth_QComboBox_itemDelegate, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_itemDelegate)},
    {SIP_MLNAME_CAST(sipName_itemIcon), meth_QComboBox_itemIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_itemIcon)},
    {SIP_MLNAME_CAST(sipName_itemText), meth_QComboBox_itemText, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_itemText)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QComboBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QComboBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QComboBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEdit), meth_QComboBox_lineEdit, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_lineEdit)},
    {SIP_MLNAME_CAST(sipName_maxCount), meth_QComboBox_maxCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_maxCount)},
    {SIP_MLNAME_CAST(sipName_maxVisibleItems), meth_QComboBox_maxVisibleItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_maxVisibleItems)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QComboBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumContentsLength), meth_QComboBox_minimumContentsLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_minimumContentsLength)},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QComboBox_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_model), meth_QComboBox_model, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_model)},
    {SIP_MLNAME_CAST(sipName_modelColumn), meth_QComboBox_modelColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_modelColumn)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QComboBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QComboBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QComboBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QComboBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QComboBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QComboBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QComboBox_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QComboBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_QComboBox_removeItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_removeItem)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QComboBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_rootModelIndex), meth_QComboBox_rootModelIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_rootModelIndex)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QComboBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QComboBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCompleter), meth_QComboBox_setCompleter, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setCompleter)},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QComboBox_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setCurrentText), meth_QComboBox_setCurrentText, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setCurrentText)},
    {SIP_MLNAME_CAST(sipName_setDuplicatesEnabled), meth_QComboBox_setDuplicatesEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setDuplicatesEnabled)},
    {SIP_MLNAME_CAST(sipName_setEditText), meth_QComboBox_setEditText, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setEditText)},
    {SIP_MLNAME_CAST(sipName_setEditable), meth_QComboBox_setEditable, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setEditable)},
    {SIP_MLNAME_CAST(sipName_setFrame), meth_QComboBox_setFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setFrame)},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_QComboBox_setIconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setIconSize)},
    {SIP_MLNAME_CAST(sipName_setInsertPolicy), meth_QComboBox_setInsertPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setInsertPolicy)},
    {SIP_MLNAME_CAST(sipName_setItemData), (PyCFunction)meth_QComboBox_setItemData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_setItemData)},
    {SIP_MLNAME_CAST(sipName_setItemDelegate), meth_QComboBox_setItemDelegate, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setItemDelegate)},
    {SIP_MLNAME_CAST(sipName_setItemIcon), meth_QComboBox_setItemIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setItemIcon)},
    {SIP_MLNAME_CAST(sipName_setItemText), meth_QComboBox_setItemText, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setItemText)},
    {SIP_MLNAME_CAST(sipName_setLineEdit), meth_QComboBox_setLineEdit, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setLineEdit)},
    {SIP_MLNAME_CAST(sipName_setMaxCount), meth_QComboBox_setMaxCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setMaxCount)},
    {SIP_MLNAME_CAST(sipName_setMaxVisibleItems), meth_QComboBox_setMaxVisibleItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setMaxVisibleItems)},
    {SIP_MLNAME_CAST(sipName_setMinimumContentsLength), meth_QComboBox_setMinimumContentsLength, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setMinimumContentsLength)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QComboBox_setModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setModel)},
    {SIP_MLNAME_CAST(sipName_setModelColumn), meth_QComboBox_setModelColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setModelColumn)},
    {SIP_MLNAME_CAST(sipName_setRootModelIndex), meth_QComboBox_setRootModelIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setRootModelIndex)},
    {SIP_MLNAME_CAST(sipName_setSizeAdjustPolicy), meth_QComboBox_setSizeAdjustPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setSizeAdjustPolicy)},
    {SIP_MLNAME_CAST(sipName_setValidator), meth_QComboBox_setValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setValidator)},
    {SIP_MLNAME_CAST(sipName_setView), meth_QComboBox_setView, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_setView)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QComboBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QComboBox_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_showEvent)},
    {SIP_MLNAME_CAST(sipName_showPopup), meth_QComboBox_showPopup, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_showPopup)},
    {SIP_MLNAME_CAST(sipName_sizeAdjustPolicy), meth_QComboBox_sizeAdjustPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_sizeAdjustPolicy)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QComboBox_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QComboBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QComboBox_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QComboBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validator), meth_QComboBox_validator, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_validator)},
    {SIP_MLNAME_CAST(sipName_view), meth_QComboBox_view, METH_VARARGS, SIP_MLDOC_CAST(doc_QComboBox_view)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QComboBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QComboBox_wheelEvent)}
};

static sipEnumMemberDef enummembers_QComboBox[] = {
    {sipName_AdjustToContents, static_cast<int>(QComboBox::AdjustToContents), 46},
    {sipName_AdjustToContentsOnFirstShow, static_cast<int>(QComboBox::AdjustToContentsOnFirstShow), 46},
    {sipName_AdjustToMinimumContentsLength, static_cast<int>(QComboBox::AdjustToMinimumContentsLength), 46},
    {sipName_AdjustToMinimumContentsLengthWithIcon, static_cast<int>(QComboBox::AdjustToMinimumContentsLengthWithIcon), 46},
    {sipName_InsertAfterCurrent, static_cast<int>(QComboBox::InsertAfterCurrent), 45},
    {sipName_InsertAlphabetically, static_cast<int>(QComboBox::InsertAlphabetically), 45},
    {sipName_InsertAtBottom, static_cast<int>(QComboBox::InsertAtBottom), 45},
    {sipName_InsertAtCurrent, static_cast<int>(QComboBox::InsertAtCurrent), 45},
    {sipName_InsertAtTop, static_cast<int>(QComboBox::InsertAtTop), 45},
    {sipName_InsertBeforeCurrent, static_cast<int>(QComboBox::InsertBeforeCurrent), 45},
    {sipName_NoInsert, static_cast<int>(QComboBox::NoInsert), 45},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QComboBox[] = {
    {"highlighted(int)", "\1QComboBox.highlighted[int]", 0, 0},
    {"highlighted(QString)", "\1QComboBox.highlighted[str]", 0, 0},
    {"currentTextChanged(QString)", "\1QComboBox.currentTextChanged[str]", 0, 0},
    {"currentIndexChanged(int)", "\1QComboBox.currentIndexChanged[int]", 0, 0},
    {"currentIndexChanged(QString)", "\1QComboBox.currentIndexChanged[str]", 0, 0},
    {"activated(int)", "\1QComboBox.activated[int]", 0, 0},
    {"activated(QString)", "\1QComboBox.activated[str]", 0, 0},
    {"editTextChanged(QString)", "\1QComboBox.editTextChanged[str]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QComboBox, "\1QComboBox(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QComboBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QComboBox,
        {0}
    },
    {
        sipNameNr_QComboBox,
        {0, 0, 1},
        109, methods_QComboBox,
        11, enummembers_QComboBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QComboBox,
    -1,
    -1,
    supers_QComboBox,
    slots_QComboBox,
    init_type_QComboBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QComboBox,
    0,
    0,
    0,
    release_QComboBox,
    cast_QComboBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QComboBox::staticMetaObject,
    0,
    signals_QComboBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcolumnview.sip"
#include <qcolumnview.h>
#line 422541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 422545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 422548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 422551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 422554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 422557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 422560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 422566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 422569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 422572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 422575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 422578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 422581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 629 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 422584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 422587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 422593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 422596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 422599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 422623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 422626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 422629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 422632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 422635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 422638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 422641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 422644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 422647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 422650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 422653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 422656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 422668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 422671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 422674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 422677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 422680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 422683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 422686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 422689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 422692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 422695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 422698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 422701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 422704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 422707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 422710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 422713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 422716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 422719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 422722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 422740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 422743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 422746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 422749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 422752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 422755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 422758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 422761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 422764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 422767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 422770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 422773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 422776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 422779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 422782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 422785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 422788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 422791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 422794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 422797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 422800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQColumnView : public QColumnView
{
public:
    sipQColumnView(QWidget*);
    virtual ~sipQColumnView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_dataChanged(bool,const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_updateGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QSize sipProtectVirt_viewportSizeHint(bool) const;
    QAbstractItemView* sipProtectVirt_createColumn(bool,const QModelIndex&);
    void sipProtect_initializeColumn(QAbstractItemView*) const;
    bool sipProtectVirt_isIndexHidden(bool,const QModelIndex&) const;
    QModelIndex sipProtectVirt_moveCursor(bool,int,Qt::KeyboardModifiers);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_setSelection(bool,const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtectVirt_visualRegionForSelection(bool,const QItemSelection&) const;
    int sipProtectVirt_horizontalOffset(bool) const;
    int sipProtectVirt_verticalOffset(bool) const;
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    void paintEvent(QPaintEvent*);
    QSize minimumSizeHint() const;
    QSize viewportSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void timerEvent(QTimerEvent*);
    void keyPressEvent(QKeyEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool viewportEvent(QEvent*);
    bool event(QEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    QModelIndexList selectedIndexes() const;
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateGeometries();
    void updateEditorGeometries();
    void updateEditorData();
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void reset();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    void keyboardSearch(const QString&);
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void rowsInserted(const QModelIndex&,int,int);
    void scrollContentsBy(int,int);
    int verticalOffset() const;
    int horizontalOffset() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    void resizeEvent(QResizeEvent*);
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    bool isIndexHidden(const QModelIndex&) const;
    QAbstractItemView* createColumn(const QModelIndex&);
    void selectAll();
    void setRootIndex(const QModelIndex&);
    void setSelectionModel(QItemSelectionModel*);
    void setModel(QAbstractItemModel*);
    QRect visualRect(const QModelIndex&) const;
    QSize sizeHint() const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QModelIndex indexAt(const QPoint&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQColumnView(const sipQColumnView &);
    sipQColumnView &operator = (const sipQColumnView &);

    char sipPyMethods[88];
};

sipQColumnView::sipQColumnView(QWidget*a0): QColumnView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQColumnView::~sipQColumnView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQColumnView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QColumnView);
}

int sipQColumnView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QColumnView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QColumnView,_c,_id,_a);

    return _id;
}

void *sipQColumnView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QColumnView, _clname, &sipCpp) ? sipCpp : QColumnView::qt_metacast(_clname));
}

void sipQColumnView::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QColumnView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QColumnView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QColumnView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QColumnView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QColumnView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQColumnView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QColumnView::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQColumnView::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QColumnView::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQColumnView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QColumnView::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQColumnView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QColumnView::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QColumnView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QColumnView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QColumnView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QColumnView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QColumnView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QColumnView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QColumnView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QColumnView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QColumnView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQColumnView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QColumnView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQColumnView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QColumnView::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QColumnView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQColumnView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QColumnView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColumnView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QColumnView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QColumnView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQColumnView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QColumnView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QColumnView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QColumnView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QColumnView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQColumnView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[28]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QColumnView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQColumnView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QColumnView::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColumnView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QColumnView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQColumnView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QColumnView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQColumnView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QColumnView::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QColumnView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QColumnView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QColumnView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QColumnView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QColumnView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QColumnView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QColumnView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QColumnView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QColumnView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QColumnView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QColumnView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QColumnView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQColumnView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QColumnView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQColumnView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QColumnView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQColumnView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QColumnView::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColumnView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QColumnView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQColumnView::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QColumnView::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQColumnView::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QColumnView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QModelIndexList sipQColumnView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QColumnView::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColumnView::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QColumnView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QColumnView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QColumnView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QColumnView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QColumnView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[57],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QColumnView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[58],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QColumnView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[59],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QColumnView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColumnView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QColumnView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColumnView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QColumnView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColumnView::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QColumnView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QColumnView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQColumnView::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QColumnView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQColumnView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QColumnView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQColumnView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[66]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QColumnView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQColumnView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[67]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QColumnView::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QColumnView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QColumnView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QColumnView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQColumnView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QColumnView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

int sipQColumnView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[72]),sipPySelf,NULL,sipName_verticalOffset);

    if (!sipMeth)
        return QColumnView::verticalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQColumnView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[73]),sipPySelf,NULL,sipName_horizontalOffset);

    if (!sipMeth)
        return QColumnView::horizontalOffset();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQColumnView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[74]),sipPySelf,NULL,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QColumnView::visualRegionForSelection(a0);

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_setSelection);

    if (!sipMeth)
    {
        QColumnView::setSelection(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQColumnView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QColumnView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndex sipQColumnView::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_moveCursor);

    if (!sipMeth)
        return QColumnView::moveCursor(a0,a1);

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

bool sipQColumnView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[78]),sipPySelf,NULL,sipName_isIndexHidden);

    if (!sipMeth)
        return QColumnView::isIndexHidden(a0);

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QAbstractItemView* sipQColumnView::createColumn(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[79],sipPySelf,NULL,sipName_createColumn);

    if (!sipMeth)
        return QColumnView::createColumn(a0);

    extern QAbstractItemView* sipVH_QtWidgets_142(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_142(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[80],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QColumnView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColumnView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[81],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QColumnView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QColumnView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColumnView::setModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[83],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
        QColumnView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtCore_40)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtCore_40)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[40]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRect sipQColumnView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[84]),sipPySelf,NULL,sipName_visualRect);

    if (!sipMeth)
        return QColumnView::visualRect(a0);

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQColumnView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[85]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QColumnView::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColumnView::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_scrollTo);

    if (!sipMeth)
    {
        QColumnView::scrollTo(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QModelIndex sipQColumnView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[87]),sipPySelf,NULL,sipName_indexAt);

    if (!sipMeth)
        return QColumnView::indexAt(a0);

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQColumnView::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQColumnView::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQColumnView::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQColumnView::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQColumnView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQColumnView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQColumnView::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQColumnView::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQColumnView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQColumnView::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQColumnView::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQColumnView::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQColumnView::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQColumnView::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQColumnView::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQColumnView::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQColumnView::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQColumnView::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQColumnView::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQColumnView::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQColumnView::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQColumnView::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQColumnView::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQColumnView::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQColumnView::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQColumnView::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQColumnView::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQColumnView::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQColumnView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQColumnView::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQColumnView::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::paintEvent(a0) : paintEvent(a0));
}

void sipQColumnView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQColumnView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQColumnView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

bool sipQColumnView::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQColumnView::sipProtectVirt_dataChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    (sipSelfWasArg ? QAbstractItemView::dataChanged(a0,a1,a2) : dataChanged(a0,a1,a2));
}

void sipQColumnView::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QAbstractItemView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

void sipQColumnView::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QAbstractItemView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQColumnView::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQColumnView::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQColumnView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateGeometries() : updateGeometries());
}

void sipQColumnView::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQColumnView::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

void sipQColumnView::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQColumnView::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQColumnView::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQColumnView::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQColumnView::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QModelIndexList sipQColumnView::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectedIndexes() : selectedIndexes());
}

QItemSelectionModel::SelectionFlags sipQColumnView::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

void sipQColumnView::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QAbstractItemView::startDrag(a0) : startDrag(a0));
}

QStyleOptionViewItem sipQColumnView::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::viewOptions() : viewOptions());
}

int sipQColumnView::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQColumnView::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQColumnView::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQColumnView::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQColumnView::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQColumnView::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQColumnView::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

bool sipQColumnView::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::event(a0) : event(a0));
}

bool sipQColumnView::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQColumnView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQColumnView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQColumnView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQColumnView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQColumnView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQColumnView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQColumnView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQColumnView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dropEvent(a0) : dropEvent(a0));
}

void sipQColumnView::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQColumnView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQColumnView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQColumnView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::timerEvent(a0) : timerEvent(a0));
}

int sipQColumnView::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQColumnView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQColumnView::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QSize sipQColumnView::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::viewportSizeHint() : viewportSizeHint());
}

QAbstractItemView* sipQColumnView::sipProtectVirt_createColumn(bool sipSelfWasArg,const QModelIndex& a0)
{
    return (sipSelfWasArg ? QColumnView::createColumn(a0) : createColumn(a0));
}

void sipQColumnView::sipProtect_initializeColumn(QAbstractItemView*a0) const
{
    QColumnView::initializeColumn(a0);
}

bool sipQColumnView::sipProtectVirt_isIndexHidden(bool sipSelfWasArg,const QModelIndex& a0) const
{
    return (sipSelfWasArg ? QColumnView::isIndexHidden(a0) : isIndexHidden(a0));
}

QModelIndex sipQColumnView::sipProtectVirt_moveCursor(bool sipSelfWasArg,int a0,Qt::KeyboardModifiers a1)
{
    return (sipSelfWasArg ? QColumnView::moveCursor((QAbstractItemView::CursorAction)a0,a1) : moveCursor((QAbstractItemView::CursorAction)a0,a1));
}

void sipQColumnView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QColumnView::resizeEvent(a0) : resizeEvent(a0));
}

void sipQColumnView::sipProtectVirt_setSelection(bool sipSelfWasArg,const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    (sipSelfWasArg ? QColumnView::setSelection(a0,a1) : setSelection(a0,a1));
}

QRegion sipQColumnView::sipProtectVirt_visualRegionForSelection(bool sipSelfWasArg,const QItemSelection& a0) const
{
    return (sipSelfWasArg ? QColumnView::visualRegionForSelection(a0) : visualRegionForSelection(a0));
}

int sipQColumnView::sipProtectVirt_horizontalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QColumnView::horizontalOffset() : horizontalOffset());
}

int sipQColumnView::sipProtectVirt_verticalOffset(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QColumnView::verticalOffset() : verticalOffset());
}

void sipQColumnView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QColumnView::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

void sipQColumnView::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QColumnView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipQColumnView::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QColumnView::currentChanged(a0,a1) : currentChanged(a0,a1));
}


PyDoc_STRVAR(doc_QColumnView_sender, "QColumnView.sender() -> QObject");

extern "C" {static PyObject *meth_QColumnView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 425059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_sender, doc_QColumnView_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_receivers, "QColumnView.receivers(signal) -> int");

extern "C" {static PyObject *meth_QColumnView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QColumnView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 425118 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_receivers, doc_QColumnView_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_childEvent, "QColumnView.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QColumnView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_childEvent, doc_QColumnView_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_customEvent, "QColumnView.customEvent(QEvent)");

extern "C" {static PyObject *meth_QColumnView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_customEvent, doc_QColumnView_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_connectNotify, "QColumnView.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QColumnView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_connectNotify, doc_QColumnView_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_disconnectNotify, "QColumnView.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QColumnView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_disconnectNotify, doc_QColumnView_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_senderSignalIndex, "QColumnView.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QColumnView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_senderSignalIndex, doc_QColumnView_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_isSignalConnected, "QColumnView.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QColumnView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_isSignalConnected, doc_QColumnView_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_keyReleaseEvent, "QColumnView.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QColumnView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_keyReleaseEvent, doc_QColumnView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_enterEvent, "QColumnView.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QColumnView_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_enterEvent, doc_QColumnView_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_leaveEvent, "QColumnView.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QColumnView_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_leaveEvent, doc_QColumnView_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_moveEvent, "QColumnView.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QColumnView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_moveEvent, doc_QColumnView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_closeEvent, "QColumnView.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QColumnView_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_closeEvent, doc_QColumnView_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_tabletEvent, "QColumnView.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QColumnView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_tabletEvent, doc_QColumnView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_actionEvent, "QColumnView.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QColumnView_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_actionEvent, doc_QColumnView_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_showEvent, "QColumnView.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QColumnView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_showEvent, doc_QColumnView_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_hideEvent, "QColumnView.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QColumnView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_hideEvent, doc_QColumnView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_metric, "QColumnView.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QColumnView_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_metric, doc_QColumnView_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_updateMicroFocus, "QColumnView.updateMicroFocus()");

extern "C" {static PyObject *meth_QColumnView_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_updateMicroFocus, doc_QColumnView_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_create, "QColumnView.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QColumnView_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQColumnView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QColumnView, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_create, doc_QColumnView_create);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_destroy, "QColumnView.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QColumnView_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQColumnView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QColumnView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_destroy, doc_QColumnView_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_focusNextChild, "QColumnView.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QColumnView_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_focusNextChild, doc_QColumnView_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_focusPreviousChild, "QColumnView.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QColumnView_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_focusPreviousChild, doc_QColumnView_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_nativeEvent, "QColumnView.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QColumnView_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_nativeEvent, doc_QColumnView_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_sharedPainter, "QColumnView.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QColumnView_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_sharedPainter, doc_QColumnView_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_initPainter, "QColumnView.initPainter(QPainter)");

extern "C" {static PyObject *meth_QColumnView_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_initPainter, doc_QColumnView_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_changeEvent, "QColumnView.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QColumnView_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_changeEvent, doc_QColumnView_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_drawFrame, "QColumnView.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QColumnView_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_drawFrame, doc_QColumnView_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setViewportMargins, "QColumnView.setViewportMargins(int, int, int, int)\n"
    "QColumnView.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QColumnView_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QColumnView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setViewportMargins, doc_QColumnView_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_paintEvent, "QColumnView.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QColumnView_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_paintEvent, doc_QColumnView_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_wheelEvent, "QColumnView.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QColumnView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_wheelEvent, doc_QColumnView_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_contextMenuEvent, "QColumnView.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QColumnView_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_contextMenuEvent, doc_QColumnView_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_eventFilter, "QColumnView.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QColumnView_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_eventFilter, doc_QColumnView_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_edit, "QColumnView.edit(QModelIndex)\n"
    "QColumnView.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QColumnView_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_edit, doc_QColumnView_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_dataChanged, "QColumnView.dataChanged(QModelIndex, QModelIndex, list-of-int roles=[])");

extern "C" {static PyObject *meth_QColumnView_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const QVector<int>& a2def = QVector<int>();
        const QVector<int>* a2 = &a2def;
        int a2State = 0;
        sipQColumnView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_roles,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|J1", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1,*a2);
            sipReleaseType(const_cast<QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_dataChanged, doc_QColumnView_dataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_rowsAboutToBeRemoved, "QColumnView.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QColumnView_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_rowsAboutToBeRemoved, doc_QColumnView_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_selectionChanged, "QColumnView.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QColumnView_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_selectionChanged, doc_QColumnView_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_updateEditorData, "QColumnView.updateEditorData()");

extern "C" {static PyObject *meth_QColumnView_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_updateEditorData, doc_QColumnView_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_updateEditorGeometries, "QColumnView.updateEditorGeometries()");

extern "C" {static PyObject *meth_QColumnView_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_updateEditorGeometries, doc_QColumnView_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_updateGeometries, "QColumnView.updateGeometries()");

extern "C" {static PyObject *meth_QColumnView_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_updateGeometries, doc_QColumnView_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_verticalScrollbarAction, "QColumnView.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QColumnView_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QColumnView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_verticalScrollbarAction, doc_QColumnView_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_horizontalScrollbarAction, "QColumnView.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QColumnView_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QColumnView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_horizontalScrollbarAction, doc_QColumnView_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_verticalScrollbarValueChanged, "QColumnView.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QColumnView_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QColumnView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_verticalScrollbarValueChanged, doc_QColumnView_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_horizontalScrollbarValueChanged, "QColumnView.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QColumnView_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QColumnView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_horizontalScrollbarValueChanged, doc_QColumnView_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_closeEditor, "QColumnView.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QColumnView_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_closeEditor, doc_QColumnView_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_commitData, "QColumnView.commitData(QWidget)");

extern "C" {static PyObject *meth_QColumnView_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_commitData, doc_QColumnView_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_editorDestroyed, "QColumnView.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QColumnView_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_editorDestroyed, doc_QColumnView_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_selectedIndexes, "QColumnView.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QColumnView_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_selectedIndexes, doc_QColumnView_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_selectionCommand, "QColumnView.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QColumnView_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQColumnView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_selectionCommand, doc_QColumnView_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_startDrag, "QColumnView.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QColumnView_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QColumnView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QColumnView, sipName_startDrag, doc_QColumnView_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_viewOptions, "QColumnView.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QColumnView_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_viewOptions, doc_QColumnView_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_state, "QColumnView.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QColumnView_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_state, doc_QColumnView_state);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setState, "QColumnView.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QColumnView_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setState, doc_QColumnView_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_scheduleDelayedItemsLayout, "QColumnView.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QColumnView_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_scheduleDelayedItemsLayout, doc_QColumnView_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_executeDelayedItemsLayout, "QColumnView.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QColumnView_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_executeDelayedItemsLayout, doc_QColumnView_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_scrollDirtyRegion, "QColumnView.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QColumnView_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QColumnView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_scrollDirtyRegion, doc_QColumnView_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setDirtyRegion, "QColumnView.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QColumnView_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setDirtyRegion, doc_QColumnView_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_dirtyRegionOffset, "QColumnView.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QColumnView_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_dirtyRegionOffset, doc_QColumnView_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_event, "QColumnView.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QColumnView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_event, doc_QColumnView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_viewportEvent, "QColumnView.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QColumnView_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_viewportEvent, doc_QColumnView_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_mousePressEvent, "QColumnView.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QColumnView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_mousePressEvent, doc_QColumnView_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_mouseMoveEvent, "QColumnView.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QColumnView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_mouseMoveEvent, doc_QColumnView_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_mouseReleaseEvent, "QColumnView.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QColumnView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_mouseReleaseEvent, doc_QColumnView_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_mouseDoubleClickEvent, "QColumnView.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QColumnView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_mouseDoubleClickEvent, doc_QColumnView_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_dragEnterEvent, "QColumnView.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QColumnView_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_dragEnterEvent, doc_QColumnView_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_dragMoveEvent, "QColumnView.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QColumnView_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_dragMoveEvent, doc_QColumnView_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_dragLeaveEvent, "QColumnView.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QColumnView_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_dragLeaveEvent, doc_QColumnView_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_dropEvent, "QColumnView.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QColumnView_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_dropEvent, doc_QColumnView_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_focusInEvent, "QColumnView.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QColumnView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_focusInEvent, doc_QColumnView_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_focusOutEvent, "QColumnView.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QColumnView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_focusOutEvent, doc_QColumnView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_keyPressEvent, "QColumnView.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QColumnView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_keyPressEvent, doc_QColumnView_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_timerEvent, "QColumnView.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QColumnView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_timerEvent, doc_QColumnView_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_dropIndicatorPosition, "QColumnView.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QColumnView_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_dropIndicatorPosition, doc_QColumnView_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_focusNextPrevChild, "QColumnView.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QColumnView_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QColumnView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_focusNextPrevChild, doc_QColumnView_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_inputMethodEvent, "QColumnView.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QColumnView_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_inputMethodEvent, doc_QColumnView_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_viewportSizeHint, "QColumnView.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QColumnView_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_viewportSizeHint, doc_QColumnView_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_columnWidths, "QColumnView.columnWidths() -> list-of-int");

extern "C" {static PyObject *meth_QColumnView_columnWidths(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_columnWidths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            QList<int>*sipRes;

            sipRes = new QList<int>(sipCpp->columnWidths());

            return sipConvertFromNewType(sipRes,sipType_QList_1800,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_columnWidths, doc_QColumnView_columnWidths);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_previewWidget, "QColumnView.previewWidget() -> QWidget");

extern "C" {static PyObject *meth_QColumnView_previewWidget(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_previewWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->previewWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_previewWidget, doc_QColumnView_previewWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_resizeGripsVisible, "QColumnView.resizeGripsVisible() -> bool");

extern "C" {static PyObject *meth_QColumnView_resizeGripsVisible(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_resizeGripsVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->resizeGripsVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_resizeGripsVisible, doc_QColumnView_resizeGripsVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setColumnWidths, "QColumnView.setColumnWidths(list-of-int)");

extern "C" {static PyObject *meth_QColumnView_setColumnWidths(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setColumnWidths(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<int>* a0;
        int a0State = 0;
        QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QList_1800,&a0, &a0State))
        {
            sipCpp->setColumnWidths(*a0);
            sipReleaseType(const_cast<QList<int> *>(a0),sipType_QList_1800,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setColumnWidths, doc_QColumnView_setColumnWidths);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setPreviewWidget, "QColumnView.setPreviewWidget(QWidget)");

extern "C" {static PyObject *meth_QColumnView_setPreviewWidget(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setPreviewWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setPreviewWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setPreviewWidget, doc_QColumnView_setPreviewWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setResizeGripsVisible, "QColumnView.setResizeGripsVisible(bool)");

extern "C" {static PyObject *meth_QColumnView_setResizeGripsVisible(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setResizeGripsVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QColumnView, &sipCpp, &a0))
        {
            sipCpp->setResizeGripsVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setResizeGripsVisible, doc_QColumnView_setResizeGripsVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_indexAt, "QColumnView.indexAt(QPoint) -> QModelIndex");

extern "C" {static PyObject *meth_QColumnView_indexAt(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_indexAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QPoint, &a0))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex((sipSelfWasArg ? sipCpp->QColumnView::indexAt(*a0) : sipCpp->indexAt(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_indexAt, doc_QColumnView_indexAt);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_scrollTo, "QColumnView.scrollTo(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible)");

extern "C" {static PyObject *meth_QColumnView_scrollTo(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_scrollTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QAbstractItemView::ScrollHint a1 = QAbstractItemView::EnsureVisible;
        QColumnView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            (sipSelfWasArg ? sipCpp->QColumnView::scrollTo(*a0,a1) : sipCpp->scrollTo(*a0,a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_scrollTo, doc_QColumnView_scrollTo);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_sizeHint, "QColumnView.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QColumnView_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QColumnView::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_sizeHint, doc_QColumnView_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_visualRect, "QColumnView.visualRect(QModelIndex) -> QRect");

extern "C" {static PyObject *meth_QColumnView_visualRect(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_visualRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QColumnView::visualRect(*a0) : sipCpp->visualRect(*a0)));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_visualRect, doc_QColumnView_visualRect);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setModel, "QColumnView.setModel(QAbstractItemModel)");

extern "C" {static PyObject *meth_QColumnView_setModel(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        PyObject *a0Keep;
        QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QColumnView, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QColumnView::setModel(a0) : sipCpp->setModel(a0));

            sipKeepReference(sipSelf, -9, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setModel, doc_QColumnView_setModel);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setSelectionModel, "QColumnView.setSelectionModel(QItemSelectionModel)");

extern "C" {static PyObject *meth_QColumnView_setSelectionModel(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setSelectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QItemSelectionModel* a0;
        PyObject *a0Keep;
        QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QColumnView, &sipCpp, &a0Keep, sipType_QItemSelectionModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QColumnView::setSelectionModel(a0) : sipCpp->setSelectionModel(a0));

            sipKeepReference(sipSelf, -10, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setSelectionModel, doc_QColumnView_setSelectionModel);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setRootIndex, "QColumnView.setRootIndex(QModelIndex)");

extern "C" {static PyObject *meth_QColumnView_setRootIndex(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setRootIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0))
        {
            (sipSelfWasArg ? sipCpp->QColumnView::setRootIndex(*a0) : sipCpp->setRootIndex(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setRootIndex, doc_QColumnView_setRootIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_selectAll, "QColumnView.selectAll()");

extern "C" {static PyObject *meth_QColumnView_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QColumnView_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QColumnView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QColumnView::selectAll() : sipCpp->selectAll());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_selectAll, doc_QColumnView_selectAll);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_createColumn, "QColumnView.createColumn(QModelIndex) -> QAbstractItemView");

extern "C" {static PyObject *meth_QColumnView_createColumn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_createColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QAbstractItemView*sipRes;

            sipRes = sipCpp->sipProtectVirt_createColumn(sipSelfWasArg,*a0);

            return sipConvertFromType(sipRes,sipType_QAbstractItemView,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_createColumn, doc_QColumnView_createColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_initializeColumn, "QColumnView.initializeColumn(QAbstractItemView)");

extern "C" {static PyObject *meth_QColumnView_initializeColumn(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_initializeColumn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView* a0;
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QAbstractItemView, &a0))
        {
            sipCpp->sipProtect_initializeColumn(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_initializeColumn, doc_QColumnView_initializeColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_isIndexHidden, "QColumnView.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QColumnView_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_isIndexHidden(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_isIndexHidden, doc_QColumnView_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_moveCursor, "QColumnView.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QColumnView_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->sipProtectVirt_moveCursor(sipSelfWasArg,a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_moveCursor, doc_QColumnView_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_resizeEvent, "QColumnView.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QColumnView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_resizeEvent, doc_QColumnView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_setSelection, "QColumnView.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QColumnView_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            sipCpp->sipProtectVirt_setSelection(sipSelfWasArg,*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_setSelection, doc_QColumnView_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_visualRegionForSelection, "QColumnView.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QColumnView_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->sipProtectVirt_visualRegionForSelection(sipSelfWasArg,*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_visualRegionForSelection, doc_QColumnView_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_horizontalOffset, "QColumnView.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QColumnView_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_horizontalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_horizontalOffset, doc_QColumnView_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_verticalOffset, "QColumnView.verticalOffset() -> int");

extern "C" {static PyObject *meth_QColumnView_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColumnView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_verticalOffset(sipSelfWasArg);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_verticalOffset, doc_QColumnView_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_scrollContentsBy, "QColumnView.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QColumnView_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QColumnView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_scrollContentsBy, doc_QColumnView_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_rowsInserted, "QColumnView.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QColumnView_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_rowsInserted, doc_QColumnView_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QColumnView_currentChanged, "QColumnView.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QColumnView_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColumnView_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQColumnView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QColumnView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColumnView, sipName_currentChanged, doc_QColumnView_currentChanged);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QColumnView(void *, const sipTypeDef *);}
static void *cast_QColumnView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QColumnView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractItemView)->ctd_cast((QAbstractItemView *)(QColumnView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QColumnView(void *, int);}
static void release_QColumnView(void *sipCppV,int)
{
    QColumnView *sipCpp = reinterpret_cast<QColumnView *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QColumnView(sipSimpleWrapper *);}
static void dealloc_QColumnView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQColumnView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QColumnView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QColumnView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QColumnView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQColumnView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQColumnView(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QColumnView[] = {{4, 255, 1}};


static PyMethodDef methods_QColumnView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QColumnView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QColumnView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QColumnView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QColumnView_closeEditor, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QColumnView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_columnWidths), meth_QColumnView_columnWidths, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_columnWidths)},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QColumnView_commitData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QColumnView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QColumnView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QColumnView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createColumn), (PyCFunction)meth_QColumnView_createColumn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_createColumn)},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QColumnView_currentChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_currentChanged)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QColumnView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_QColumnView_dataChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QColumnView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QColumnView_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QColumnView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QColumnView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QColumnView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QColumnView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QColumnView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QColumnView_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QColumnView_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QColumnView_edit, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QColumnView_editorDestroyed, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QColumnView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QColumnView_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QColumnView_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QColumnView_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QColumnView_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QColumnView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QColumnView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QColumnView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QColumnView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QColumnView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QColumnView_horizontalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_horizontalOffset)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QColumnView_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QColumnView_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_indexAt), meth_QColumnView_indexAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_indexAt)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QColumnView_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initializeColumn), (PyCFunction)meth_QColumnView_initializeColumn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_initializeColumn)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QColumnView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QColumnView_isIndexHidden, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_isIndexHidden)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QColumnView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QColumnView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QColumnView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QColumnView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QColumnView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QColumnView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QColumnView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QColumnView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QColumnView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QColumnView_moveCursor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_moveCursor)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QColumnView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QColumnView_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QColumnView_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_previewWidget), meth_QColumnView_previewWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_previewWidget)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QColumnView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QColumnView_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_resizeGripsVisible), meth_QColumnView_resizeGripsVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_resizeGripsVisible)},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QColumnView_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QColumnView_rowsInserted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_rowsInserted)},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QColumnView_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QColumnView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QColumnView_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollTo), (PyCFunction)meth_QColumnView_scrollTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_scrollTo)},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_QColumnView_selectAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_selectAll)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QColumnView_selectedIndexes, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QColumnView_selectionChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QColumnView_selectionCommand, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QColumnView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QColumnView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setColumnWidths), meth_QColumnView_setColumnWidths, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_setColumnWidths)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QColumnView_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QColumnView_setModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_setModel)},
    {SIP_MLNAME_CAST(sipName_setPreviewWidget), meth_QColumnView_setPreviewWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_setPreviewWidget)},
    {SIP_MLNAME_CAST(sipName_setResizeGripsVisible), meth_QColumnView_setResizeGripsVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_setResizeGripsVisible)},
    {SIP_MLNAME_CAST(sipName_setRootIndex), meth_QColumnView_setRootIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_setRootIndex)},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QColumnView_setSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_setSelection)},
    {SIP_MLNAME_CAST(sipName_setSelectionModel), meth_QColumnView_setSelectionModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_setSelectionModel)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QColumnView_setState, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QColumnView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QColumnView_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QColumnView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QColumnView_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_sizeHint)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QColumnView_startDrag, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QColumnView_state, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QColumnView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QColumnView_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QColumnView_updateEditorData, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QColumnView_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QColumnView_updateGeometries, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QColumnView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QColumnView_verticalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_verticalOffset)},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QColumnView_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QColumnView_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QColumnView_viewOptions, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QColumnView_viewportEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QColumnView_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_visualRect), meth_QColumnView_visualRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QColumnView_visualRect)},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QColumnView_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColumnView_visualRegionForSelection)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QColumnView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QColumnView[] = {
    {"updatePreviewWidget(QModelIndex)", "\1QColumnView.updatePreviewWidget[QModelIndex]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QColumnView, "\1QColumnView(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QColumnView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QColumnView,
        {0}
    },
    {
        sipNameNr_QColumnView,
        {0, 0, 1},
        102, methods_QColumnView,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QColumnView,
    -1,
    -1,
    supers_QColumnView,
    0,
    init_type_QColumnView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QColumnView,
    0,
    0,
    0,
    release_QColumnView,
    cast_QColumnView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QColumnView::staticMetaObject,
    0,
    signals_QColumnView,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 428270 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 428274 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QColorDialog_ColorDialogOptions___bool__(PyObject *);}
static int slot_QColorDialog_ColorDialogOptions___bool__(PyObject *sipSelf)
{
    QColorDialog::ColorDialogOptions *sipCpp = reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QColorDialog_ColorDialogOptions));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QColorDialog::ColorDialogOptions::Int() != 0);
#line 428292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___ne__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QColorDialog::ColorDialogOptions *sipCpp = reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QColorDialog_ColorDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QColorDialog::ColorDialogOptions::Int() != a0->operator QColorDialog::ColorDialogOptions::Int());
#line 428322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QColorDialog::ColorDialogOptions *>(a0),sipType_QColorDialog_ColorDialogOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QColorDialog_ColorDialogOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___eq__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QColorDialog::ColorDialogOptions *sipCpp = reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QColorDialog_ColorDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QColorDialog::ColorDialogOptions::Int() == a0->operator QColorDialog::ColorDialogOptions::Int());
#line 428358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QColorDialog::ColorDialogOptions *>(a0),sipType_QColorDialog_ColorDialogOptions,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QColorDialog_ColorDialogOptions,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___invert__(PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___invert__(PyObject *sipSelf)
{
    QColorDialog::ColorDialogOptions *sipCpp = reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QColorDialog_ColorDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            QColorDialog::ColorDialogOptions*sipRes;

            sipRes = new QColorDialog::ColorDialogOptions(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QColorDialog_ColorDialogOptions,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___and__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State, &a1))
        {
            QColorDialog::ColorDialogOptions*sipRes;

            sipRes = new QColorDialog::ColorDialogOptions((*a0 & a1));
            sipReleaseType(a0,sipType_QColorDialog_ColorDialogOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QColorDialog_ColorDialogOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___xor__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;
        QColorDialog::ColorDialogOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State, sipType_QColorDialog_ColorDialogOptions, &a1, &a1State))
        {
            QColorDialog::ColorDialogOptions*sipRes;

            sipRes = new QColorDialog::ColorDialogOptions((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QColorDialog_ColorDialogOptions,a0State);
            sipReleaseType(a1,sipType_QColorDialog_ColorDialogOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QColorDialog_ColorDialogOptions,NULL);
        }
    }

    {
        QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State, &a1))
        {
            QColorDialog::ColorDialogOptions*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QColorDialog::ColorDialogOptions(*a0 ^ a1);
#line 428461 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QColorDialog_ColorDialogOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QColorDialog_ColorDialogOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___or__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;
        QColorDialog::ColorDialogOptions* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State, sipType_QColorDialog_ColorDialogOptions, &a1, &a1State))
        {
            QColorDialog::ColorDialogOptions*sipRes;

            sipRes = new QColorDialog::ColorDialogOptions((*a0 | *a1));
            sipReleaseType(a0,sipType_QColorDialog_ColorDialogOptions,a0State);
            sipReleaseType(a1,sipType_QColorDialog_ColorDialogOptions,a1State);

            return sipConvertFromNewType(sipRes,sipType_QColorDialog_ColorDialogOptions,NULL);
        }
    }

    {
        QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State, &a1))
        {
            QColorDialog::ColorDialogOptions*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QColorDialog::ColorDialogOptions(*a0 | a1);
#line 428511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QColorDialog_ColorDialogOptions,a0State);

            return sipConvertFromNewType(sipRes,sipType_QColorDialog_ColorDialogOptions,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___int__(PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___int__(PyObject *sipSelf)
{
    QColorDialog::ColorDialogOptions *sipCpp = reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QColorDialog_ColorDialogOptions));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QColorDialog_ColorDialogOptions___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QColorDialog_ColorDialogOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QColorDialog::ColorDialogOptions *sipCpp = reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QColorDialog_ColorDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State))
        {
            sipCpp->QColorDialog::ColorDialogOptions::operator^=(*a0);
            sipReleaseType(a0,sipType_QColorDialog_ColorDialogOptions,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_QColorDialog_ColorDialogOptions___ior__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QColorDialog_ColorDialogOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QColorDialog::ColorDialogOptions *sipCpp = reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QColorDialog_ColorDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State))
        {
            sipCpp->QColorDialog::ColorDialogOptions::operator|=(*a0);
            sipReleaseType(a0,sipType_QColorDialog_ColorDialogOptions,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_QColorDialog_ColorDialogOptions___iand__(PyObject *,PyObject *);}
static PyObject *slot_QColorDialog_ColorDialogOptions___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QColorDialog_ColorDialogOptions)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QColorDialog::ColorDialogOptions *sipCpp = reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QColorDialog_ColorDialogOptions));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QColorDialog::ColorDialogOptions::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QColorDialog_ColorDialogOptions(void *, const sipTypeDef *);}
static void *cast_QColorDialog_ColorDialogOptions(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QColorDialog_ColorDialogOptions)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QColorDialog_ColorDialogOptions(void *, int);}
static void release_QColorDialog_ColorDialogOptions(void *sipCppV,int)
{
    delete reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipCppV);
}


extern "C" {static void assign_QColorDialog_ColorDialogOptions(void *, SIP_SSIZE_T, const void *);}
static void assign_QColorDialog_ColorDialogOptions(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QColorDialog::ColorDialogOptions *>(sipSrc);
}


extern "C" {static void *array_QColorDialog_ColorDialogOptions(SIP_SSIZE_T);}
static void *array_QColorDialog_ColorDialogOptions(SIP_SSIZE_T sipNrElem)
{
    return new QColorDialog::ColorDialogOptions[sipNrElem];
}


extern "C" {static void *copy_QColorDialog_ColorDialogOptions(const void *, SIP_SSIZE_T);}
static void *copy_QColorDialog_ColorDialogOptions(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QColorDialog::ColorDialogOptions(reinterpret_cast<const QColorDialog::ColorDialogOptions *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QColorDialog_ColorDialogOptions(sipSimpleWrapper *);}
static void dealloc_QColorDialog_ColorDialogOptions(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QColorDialog_ColorDialogOptions(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QColorDialog_ColorDialogOptions(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QColorDialog_ColorDialogOptions(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QColorDialog::ColorDialogOptions *sipCpp = 0;

    {
        const QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QColorDialog_ColorDialogOptions, &a0, &a0State))
        {
            sipCpp = new QColorDialog::ColorDialogOptions(*a0);
            sipReleaseType(const_cast<QColorDialog::ColorDialogOptions *>(a0),sipType_QColorDialog_ColorDialogOptions,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QColorDialog::ColorDialogOptions(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QColorDialog::ColorDialogOptions();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QColorDialog_ColorDialogOptions(PyObject *, void **, int *, PyObject *);}
static int convertTo_QColorDialog_ColorDialogOptions(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QColorDialog::ColorDialogOptions **sipCppPtr = reinterpret_cast<QColorDialog::ColorDialogOptions **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QColorDialog::ColorDialogOptions is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QColorDialog_ColorDialogOption)) ||
            sipCanConvertToType(sipPy, sipType_QColorDialog_ColorDialogOptions, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QColorDialog_ColorDialogOption)))
{
    *sipCppPtr = new QColorDialog::ColorDialogOptions(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QColorDialog::ColorDialogOptions *>(sipConvertToType(sipPy, sipType_QColorDialog_ColorDialogOptions, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 428788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QColorDialog_ColorDialogOptions[] = {
    {(void *)slot_QColorDialog_ColorDialogOptions___bool__, bool_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___ne__, ne_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___eq__, eq_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___invert__, invert_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___and__, and_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___xor__, xor_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___or__, or_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___int__, int_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___ixor__, ixor_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___ior__, ior_slot},
    {(void *)slot_QColorDialog_ColorDialogOptions___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QColorDialog_ColorDialogOptions, "\1QColorDialog.ColorDialogOptions(QColorDialog.ColorDialogOptions)\n"
    "QColorDialog.ColorDialogOptions(int)\n"
    "QColorDialog.ColorDialogOptions()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QColorDialog_ColorDialogOptions = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QColorDialog__ColorDialogOptions,
        {0}
    },
    {
        sipNameNr_ColorDialogOptions,
        {40, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QColorDialog_ColorDialogOptions,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QColorDialog_ColorDialogOptions,
    init_type_QColorDialog_ColorDialogOptions,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QColorDialog_ColorDialogOptions,
    assign_QColorDialog_ColorDialogOptions,
    array_QColorDialog_ColorDialogOptions,
    copy_QColorDialog_ColorDialogOptions,
    release_QColorDialog_ColorDialogOptions,
    cast_QColorDialog_ColorDialogOptions,
    convertTo_QColorDialog_ColorDialogOptions,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 428870 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 428874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcolor.sip"
#include <qcolor.h>
#line 428877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcolordialog.sip"
#include <qcolordialog.h>
#line 428880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 428883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 428886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 428889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 428907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 428910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 428913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 428916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 428919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 428922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 428925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 428928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 428931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 428934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 428937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 428940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 428943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 428946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 428949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 428952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 428955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 428958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 428961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 428964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 428967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 428970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 428973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 428976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 428997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 429000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 429003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 429006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 429009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 429012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 429015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 429018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 429021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 429024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 429027 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 429030 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 429033 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 429036 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 429039 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 429042 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 429045 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 429048 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 429051 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 429054 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 429057 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 429060 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 429063 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 429066 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 429069 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 429072 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 429075 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 429078 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQColorDialog : public QColorDialog
{
public:
    sipQColorDialog(QWidget*);
    sipQColorDialog(const QColor&,QWidget*);
    virtual ~sipQColorDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_done(bool,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void closeEvent(QCloseEvent*);
    void keyPressEvent(QKeyEvent*);
    void reject();
    void accept();
    int exec();
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    void open();
    void done(int);
    void changeEvent(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQColorDialog(const sipQColorDialog &);
    sipQColorDialog &operator = (const sipQColorDialog &);

    char sipPyMethods[51];
};

sipQColorDialog::sipQColorDialog(QWidget*a0): QColorDialog(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQColorDialog::sipQColorDialog(const QColor& a0,QWidget*a1): QColorDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQColorDialog::~sipQColorDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQColorDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QColorDialog);
}

int sipQColorDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QColorDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QColorDialog,_c,_id,_a);

    return _id;
}

void *sipQColorDialog::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QColorDialog, _clname, &sipCpp) ? sipCpp : QColorDialog::qt_metacast(_clname));
}

void sipQColorDialog::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QColorDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QColorDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QColorDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QColorDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QColorDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QColorDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQColorDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QColorDialog::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQColorDialog::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QColorDialog::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQColorDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QColorDialog::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQColorDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QColorDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQColorDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QColorDialog::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QColorDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQColorDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QColorDialog::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QColorDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QColorDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QColorDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QColorDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QColorDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QColorDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QColorDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QColorDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QColorDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QColorDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QColorDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QColorDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QColorDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QColorDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QColorDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QColorDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QColorDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QColorDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QColorDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQColorDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QColorDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQColorDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QColorDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQColorDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QColorDialog::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQColorDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QColorDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQColorDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QColorDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQColorDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QColorDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QColorDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QColorDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QColorDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QColorDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QColorDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColorDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QColorDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQColorDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return QColorDialog::exec();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQColorDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QColorDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQColorDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QColorDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColorDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QColorDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        QColorDialog::open();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQColorDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QColorDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQColorDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QColorDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQColorDialog::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQColorDialog::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQColorDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQColorDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQColorDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQColorDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQColorDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQColorDialog::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQColorDialog::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQColorDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQColorDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQColorDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQColorDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQColorDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQColorDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQColorDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQColorDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQColorDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQColorDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQColorDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQColorDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQColorDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQColorDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQColorDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQColorDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQColorDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQColorDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQColorDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQColorDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQColorDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQColorDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQColorDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQColorDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQColorDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQColorDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQColorDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQColorDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQColorDialog::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQColorDialog::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQColorDialog::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQColorDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQColorDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QDialog::closeEvent(a0) : closeEvent(a0));
}

void sipQColorDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipQColorDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipQColorDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQColorDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQColorDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QColorDialog::changeEvent(a0) : changeEvent(a0));
}

void sipQColorDialog::sipProtectVirt_done(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QColorDialog::done(a0) : done(a0));
}


PyDoc_STRVAR(doc_QColorDialog_sender, "QColorDialog.sender() -> QObject");

extern "C" {static PyObject *meth_QColorDialog_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 430406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_sender, doc_QColorDialog_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_receivers, "QColorDialog.receivers(signal) -> int");

extern "C" {static PyObject *meth_QColorDialog_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QColorDialog, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 430465 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_receivers, doc_QColorDialog_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_timerEvent, "QColorDialog.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QColorDialog_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_timerEvent, doc_QColorDialog_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_childEvent, "QColorDialog.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QColorDialog_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_childEvent, doc_QColorDialog_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_customEvent, "QColorDialog.customEvent(QEvent)");

extern "C" {static PyObject *meth_QColorDialog_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_customEvent, doc_QColorDialog_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_connectNotify, "QColorDialog.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QColorDialog_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_connectNotify, doc_QColorDialog_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_disconnectNotify, "QColorDialog.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QColorDialog_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_disconnectNotify, doc_QColorDialog_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_senderSignalIndex, "QColorDialog.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QColorDialog_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_senderSignalIndex, doc_QColorDialog_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_isSignalConnected, "QColorDialog.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QColorDialog_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_isSignalConnected, doc_QColorDialog_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_event, "QColorDialog.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QColorDialog_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_event, doc_QColorDialog_event);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_mousePressEvent, "QColorDialog.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QColorDialog_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_mousePressEvent, doc_QColorDialog_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_mouseReleaseEvent, "QColorDialog.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QColorDialog_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_mouseReleaseEvent, doc_QColorDialog_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_mouseDoubleClickEvent, "QColorDialog.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QColorDialog_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_mouseDoubleClickEvent, doc_QColorDialog_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_mouseMoveEvent, "QColorDialog.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QColorDialog_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_mouseMoveEvent, doc_QColorDialog_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_wheelEvent, "QColorDialog.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QColorDialog_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_wheelEvent, doc_QColorDialog_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_keyReleaseEvent, "QColorDialog.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QColorDialog_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_keyReleaseEvent, doc_QColorDialog_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_focusInEvent, "QColorDialog.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QColorDialog_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_focusInEvent, doc_QColorDialog_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_focusOutEvent, "QColorDialog.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QColorDialog_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_focusOutEvent, doc_QColorDialog_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_enterEvent, "QColorDialog.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QColorDialog_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_enterEvent, doc_QColorDialog_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_leaveEvent, "QColorDialog.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QColorDialog_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_leaveEvent, doc_QColorDialog_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_paintEvent, "QColorDialog.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QColorDialog_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_paintEvent, doc_QColorDialog_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_moveEvent, "QColorDialog.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QColorDialog_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_moveEvent, doc_QColorDialog_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_tabletEvent, "QColorDialog.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QColorDialog_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_tabletEvent, doc_QColorDialog_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_actionEvent, "QColorDialog.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QColorDialog_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_actionEvent, doc_QColorDialog_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_dragEnterEvent, "QColorDialog.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QColorDialog_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_dragEnterEvent, doc_QColorDialog_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_dragMoveEvent, "QColorDialog.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QColorDialog_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_dragMoveEvent, doc_QColorDialog_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_dragLeaveEvent, "QColorDialog.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QColorDialog_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_dragLeaveEvent, doc_QColorDialog_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_dropEvent, "QColorDialog.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QColorDialog_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_dropEvent, doc_QColorDialog_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_hideEvent, "QColorDialog.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QColorDialog_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_hideEvent, doc_QColorDialog_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_metric, "QColorDialog.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QColorDialog_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_metric, doc_QColorDialog_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_inputMethodEvent, "QColorDialog.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QColorDialog_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_inputMethodEvent, doc_QColorDialog_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_updateMicroFocus, "QColorDialog.updateMicroFocus()");

extern "C" {static PyObject *meth_QColorDialog_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_updateMicroFocus, doc_QColorDialog_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_create, "QColorDialog.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QColorDialog_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQColorDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_create, doc_QColorDialog_create);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_destroy, "QColorDialog.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QColorDialog_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQColorDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QColorDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_destroy, doc_QColorDialog_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_focusNextPrevChild, "QColorDialog.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QColorDialog_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QColorDialog, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_focusNextPrevChild, doc_QColorDialog_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_focusNextChild, "QColorDialog.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QColorDialog_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_focusNextChild, doc_QColorDialog_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_focusPreviousChild, "QColorDialog.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QColorDialog_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_focusPreviousChild, doc_QColorDialog_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_nativeEvent, "QColorDialog.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QColorDialog_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_nativeEvent, doc_QColorDialog_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_sharedPainter, "QColorDialog.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QColorDialog_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_sharedPainter, doc_QColorDialog_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_initPainter, "QColorDialog.initPainter(QPainter)");

extern "C" {static PyObject *meth_QColorDialog_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_initPainter, doc_QColorDialog_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_keyPressEvent, "QColorDialog.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QColorDialog_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_keyPressEvent, doc_QColorDialog_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_closeEvent, "QColorDialog.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QColorDialog_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_closeEvent, doc_QColorDialog_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_showEvent, "QColorDialog.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QColorDialog_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_showEvent, doc_QColorDialog_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_resizeEvent, "QColorDialog.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QColorDialog_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_resizeEvent, doc_QColorDialog_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_contextMenuEvent, "QColorDialog.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QColorDialog_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_contextMenuEvent, doc_QColorDialog_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_eventFilter, "QColorDialog.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QColorDialog_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_eventFilter, doc_QColorDialog_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_getColor, "QColorDialog.getColor(QColor initial=Qt.white, QWidget parent=None, str title=QString(), QColorDialog.ColorDialogOptions options=0) -> QColor");

extern "C" {static PyObject *meth_QColorDialog_getColor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_getColor(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor& a0def = Qt::white;
        const QColor* a0 = &a0def;
        int a0State = 0;
        QWidget* a1 = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        QColorDialog::ColorDialogOptions a3def = 0;
        QColorDialog::ColorDialogOptions* a3 = &a3def;
        int a3State = 0;

        static const char *sipKwdList[] = {
            sipName_initial,
            sipName_parent,
            sipName_title,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J1J8J1J1", sipType_QColor, &a0, &a0State, sipType_QWidget, &a1, sipType_QString,&a2, &a2State, sipType_QColorDialog_ColorDialogOptions, &a3, &a3State))
        {
            QColor*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QColor(QColorDialog::getColor(*a0,a1,*a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(a3,sipType_QColorDialog_ColorDialogOptions,a3State);

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_getColor, doc_QColorDialog_getColor);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_customCount, "QColorDialog.customCount() -> int");

extern "C" {static PyObject *meth_QColorDialog_customCount(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_customCount(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = QColorDialog::customCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_customCount, doc_QColorDialog_customCount);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_customColor, "QColorDialog.customColor(int) -> QColor");

extern "C" {static PyObject *meth_QColorDialog_customColor(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_customColor(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QColor*sipRes;

            sipRes = new QColor(QColorDialog::customColor(a0));

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_customColor, doc_QColorDialog_customColor);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_setCustomColor, "QColorDialog.setCustomColor(int, QColor)");

extern "C" {static PyObject *meth_QColorDialog_setCustomColor(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_setCustomColor(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QColor* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1", &a0, sipType_QColor, &a1, &a1State))
        {
            QColorDialog::setCustomColor(a0,*a1);
            sipReleaseType(a1,sipType_QColor,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setCustomColor, doc_QColorDialog_setCustomColor);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_standardColor, "QColorDialog.standardColor(int) -> QColor");

extern "C" {static PyObject *meth_QColorDialog_standardColor(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_standardColor(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QColor*sipRes;

            sipRes = new QColor(QColorDialog::standardColor(a0));

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_standardColor, doc_QColorDialog_standardColor);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_setStandardColor, "QColorDialog.setStandardColor(int, QColor)");

extern "C" {static PyObject *meth_QColorDialog_setStandardColor(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_setStandardColor(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QColor* a1;
        int a1State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "iJ1", &a0, sipType_QColor, &a1, &a1State))
        {
            QColorDialog::setStandardColor(a0,*a1);
            sipReleaseType(a1,sipType_QColor,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setStandardColor, doc_QColorDialog_setStandardColor);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_changeEvent, "QColorDialog.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QColorDialog_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_changeEvent, doc_QColorDialog_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_done, "QColorDialog.done(int)");

extern "C" {static PyObject *meth_QColorDialog_done(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_done(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQColorDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QColorDialog, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_done(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_done, doc_QColorDialog_done);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_setCurrentColor, "QColorDialog.setCurrentColor(QColor)");

extern "C" {static PyObject *meth_QColorDialog_setCurrentColor(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_setCurrentColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColor* a0;
        int a0State = 0;
        QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QColor, &a0, &a0State))
        {
            sipCpp->setCurrentColor(*a0);
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setCurrentColor, doc_QColorDialog_setCurrentColor);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_currentColor, "QColorDialog.currentColor() -> QColor");

extern "C" {static PyObject *meth_QColorDialog_currentColor(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_currentColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            QColor*sipRes;

            sipRes = new QColor(sipCpp->currentColor());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_currentColor, doc_QColorDialog_currentColor);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_selectedColor, "QColorDialog.selectedColor() -> QColor");

extern "C" {static PyObject *meth_QColorDialog_selectedColor(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_selectedColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            QColor*sipRes;

            sipRes = new QColor(sipCpp->selectedColor());

            return sipConvertFromNewType(sipRes,sipType_QColor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_selectedColor, doc_QColorDialog_selectedColor);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_setOption, "QColorDialog.setOption(QColorDialog.ColorDialogOption, bool on=True)");

extern "C" {static PyObject *meth_QColorDialog_setOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_setOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QColorDialog::ColorDialogOption a0;
        bool a1 = 1;
        QColorDialog *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QColorDialog_ColorDialogOption, &a0, &a1))
        {
            sipCpp->setOption(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setOption, doc_QColorDialog_setOption);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_testOption, "QColorDialog.testOption(QColorDialog.ColorDialogOption) -> bool");

extern "C" {static PyObject *meth_QColorDialog_testOption(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_testOption(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QColorDialog::ColorDialogOption a0;
        const QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QColorDialog_ColorDialogOption, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testOption(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_testOption, doc_QColorDialog_testOption);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_setOptions, "QColorDialog.setOptions(QColorDialog.ColorDialogOptions)");

extern "C" {static PyObject *meth_QColorDialog_setOptions(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_setOptions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QColorDialog::ColorDialogOptions* a0;
        int a0State = 0;
        QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QColorDialog, &sipCpp, sipType_QColorDialog_ColorDialogOptions, &a0, &a0State))
        {
            sipCpp->setOptions(*a0);
            sipReleaseType(a0,sipType_QColorDialog_ColorDialogOptions,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setOptions, doc_QColorDialog_setOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_options, "QColorDialog.options() -> QColorDialog.ColorDialogOptions");

extern "C" {static PyObject *meth_QColorDialog_options(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_options(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            QColorDialog::ColorDialogOptions*sipRes;

            sipRes = new QColorDialog::ColorDialogOptions(sipCpp->options());

            return sipConvertFromNewType(sipRes,sipType_QColorDialog_ColorDialogOptions,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_options, doc_QColorDialog_options);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_open, "QColorDialog.open()\n"
    "QColorDialog.open(slot)");

extern "C" {static PyObject *meth_QColorDialog_open(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QColorDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QColorDialog::open() : sipCpp->open());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        PyObject * a0;
        QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BP0", &sipSelf, sipType_QColorDialog, &sipCpp, &a0))
        {
            sipErrorState sipError = sipErrorNone;

#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcolordialog.sip"
        QObject *receiver;
        QByteArray slot_signature;
        
        if ((sipError = pyqt5_qtwidgets_get_connection_parts(a0, sipCpp, "()", false, &receiver, slot_signature)) == sipErrorNone)
        {
            sipCpp->open(receiver, slot_signature.constData());
        }
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 432220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.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_QColorDialog, sipName_open, doc_QColorDialog_open);

    return NULL;
}


PyDoc_STRVAR(doc_QColorDialog_setVisible, "QColorDialog.setVisible(bool)");

extern "C" {static PyObject *meth_QColorDialog_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QColorDialog_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QColorDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QColorDialog, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QColorDialog::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QColorDialog, sipName_setVisible, doc_QColorDialog_setVisible);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QColorDialog(void *, const sipTypeDef *);}
static void *cast_QColorDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QColorDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDialog)->ctd_cast((QDialog *)(QColorDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QColorDialog(void *, int);}
static void release_QColorDialog(void *sipCppV,int)
{
    QColorDialog *sipCpp = reinterpret_cast<QColorDialog *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QColorDialog(sipSimpleWrapper *);}
static void dealloc_QColorDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQColorDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QColorDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QColorDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QColorDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQColorDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQColorDialog(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QColor* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QColor, &a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQColorDialog(*a0,a1);
            sipReleaseType(const_cast<QColor *>(a0),sipType_QColor,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QColorDialog[] = {{60, 255, 1}};


static PyMethodDef methods_QColorDialog[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QColorDialog_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QColorDialog_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColorDialog_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QColorDialog_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QColorDialog_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QColorDialog_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QColorDialog_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QColorDialog_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentColor), meth_QColorDialog_currentColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_currentColor)},
    {SIP_MLNAME_CAST(sipName_customColor), meth_QColorDialog_customColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_customColor)},
    {SIP_MLNAME_CAST(sipName_customCount), meth_QColorDialog_customCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_customCount)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QColorDialog_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QColorDialog_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QColorDialog_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_done), (PyCFunction)meth_QColorDialog_done, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColorDialog_done)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QColorDialog_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QColorDialog_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QColorDialog_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QColorDialog_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QColorDialog_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QColorDialog_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QColorDialog_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QColorDialog_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QColorDialog_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QColorDialog_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QColorDialog_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QColorDialog_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_getColor), (PyCFunction)meth_QColorDialog_getColor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColorDialog_getColor)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QColorDialog_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QColorDialog_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QColorDialog_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QColorDialog_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QColorDialog_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QColorDialog_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QColorDialog_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QColorDialog_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QColorDialog_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QColorDialog_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QColorDialog_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QColorDialog_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QColorDialog_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QColorDialog_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_QColorDialog_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_open)},
    {SIP_MLNAME_CAST(sipName_options), meth_QColorDialog_options, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_options)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QColorDialog_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QColorDialog_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QColorDialog_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_selectedColor), meth_QColorDialog_selectedColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_selectedColor)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QColorDialog_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QColorDialog_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentColor), meth_QColorDialog_setCurrentColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_setCurrentColor)},
    {SIP_MLNAME_CAST(sipName_setCustomColor), meth_QColorDialog_setCustomColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_setCustomColor)},
    {SIP_MLNAME_CAST(sipName_setOption), (PyCFunction)meth_QColorDialog_setOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QColorDialog_setOption)},
    {SIP_MLNAME_CAST(sipName_setOptions), meth_QColorDialog_setOptions, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_setOptions)},
    {SIP_MLNAME_CAST(sipName_setStandardColor), meth_QColorDialog_setStandardColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_setStandardColor)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QColorDialog_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_setVisible)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QColorDialog_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QColorDialog_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_standardColor), meth_QColorDialog_standardColor, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_standardColor)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QColorDialog_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_testOption), meth_QColorDialog_testOption, METH_VARARGS, SIP_MLDOC_CAST(doc_QColorDialog_testOption)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QColorDialog_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QColorDialog_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QColorDialog_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QColorDialog[] = {
    {sipName_DontUseNativeDialog, static_cast<int>(QColorDialog::DontUseNativeDialog), 41},
    {sipName_NoButtons, static_cast<int>(QColorDialog::NoButtons), 41},
    {sipName_ShowAlphaChannel, static_cast<int>(QColorDialog::ShowAlphaChannel), 41},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QColorDialog[] = {
    {"currentColorChanged(QColor)", "\1QColorDialog.currentColorChanged[QColor]", 0, 0},
    {"colorSelected(QColor)", "\1QColorDialog.colorSelected[QColor]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QColorDialog, "\1QColorDialog(QWidget parent=None)\n"
    "QColorDialog(QColor, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QColorDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QColorDialog,
        {0}
    },
    {
        sipNameNr_QColorDialog,
        {0, 0, 1},
        63, methods_QColorDialog,
        3, enummembers_QColorDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QColorDialog,
    -1,
    -1,
    supers_QColorDialog,
    0,
    init_type_QColorDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QColorDialog,
    0,
    0,
    0,
    release_QColorDialog,
    cast_QColorDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QColorDialog::staticMetaObject,
    0,
    signals_QColorDialog,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdialog.sip"
#include <qdialog.h>
#line 432504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 432508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 432511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 432514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 432517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 432535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 432538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 432541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 432544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 432547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 432550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 432553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 432556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 432559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 432562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 432565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 432568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 432571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 432574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 432577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 432580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 432583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 432586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 432589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 432592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 432595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 432598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 432601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 432604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 432643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 432646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 432649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 432652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 432655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 432658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 432661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 432664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 432667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 432670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 432673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 432676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 432679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 432682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 432685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 432688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 432691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 432694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 432697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 432700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 432703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 432706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQDialog : public QDialog
{
public:
    sipQDialog(QWidget*,Qt::WindowFlags);
    virtual ~sipQDialog();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    int devType() const;
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void resizeEvent(QResizeEvent*);
    void showEvent(QShowEvent*);
    void closeEvent(QCloseEvent*);
    void keyPressEvent(QKeyEvent*);
    void open();
    void reject();
    void accept();
    void done(int);
    int exec();
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQDialog(const sipQDialog &);
    sipQDialog &operator = (const sipQDialog &);

    char sipPyMethods[51];
};

sipQDialog::sipQDialog(QWidget*a0,Qt::WindowFlags a1): QDialog(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQDialog::~sipQDialog()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQDialog::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QDialog);
}

int sipQDialog::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QDialog::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QDialog,_c,_id,_a);

    return _id;
}

void *sipQDialog::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QDialog, _clname, &sipCpp) ? sipCpp : QDialog::qt_metacast(_clname));
}

void sipQDialog::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QDialog::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QDialog::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QDialog::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QDialog::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QDialog::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QDialog::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQDialog::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QDialog::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDialog::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QDialog::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQDialog::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QDialog::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDialog::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QDialog::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQDialog::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QDialog::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QDialog::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDialog::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QDialog::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QDialog::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QDialog::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QDialog::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QDialog::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QDialog::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QDialog::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QDialog::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QDialog::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QDialog::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QDialog::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QDialog::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QDialog::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QDialog::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QDialog::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QDialog::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QDialog::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QDialog::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QDialog::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QDialog::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QDialog::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQDialog::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QDialog::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQDialog::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QDialog::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQDialog::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QDialog::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDialog::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QDialog::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQDialog::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QDialog::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQDialog::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QDialog::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QDialog::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QDialog::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QDialog::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QDialog::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQDialog::open()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_open);

    if (!sipMeth)
    {
        QDialog::open();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDialog::reject()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_reject);

    if (!sipMeth)
    {
        QDialog::reject();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDialog::accept()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_accept);

    if (!sipMeth)
    {
        QDialog::accept();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDialog::done(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_done);

    if (!sipMeth)
    {
        QDialog::done(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQDialog::exec()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_exec_);

    if (!sipMeth)
        return QDialog::exec();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDialog::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QDialog::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQDialog::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QDialog::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQDialog::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QDialog::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQDialog::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQDialog::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQDialog::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQDialog::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQDialog::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQDialog::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQDialog::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQDialog::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQDialog::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQDialog::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQDialog::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQDialog::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQDialog::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQDialog::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQDialog::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQDialog::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQDialog::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQDialog::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQDialog::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQDialog::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQDialog::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQDialog::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQDialog::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQDialog::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQDialog::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQDialog::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQDialog::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQDialog::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQDialog::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQDialog::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQDialog::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQDialog::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQDialog::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQDialog::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQDialog::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQDialog::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQDialog::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQDialog::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQDialog::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQDialog::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQDialog::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQDialog::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QDialog::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQDialog::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QDialog::closeEvent(a0) : closeEvent(a0));
}

void sipQDialog::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QDialog::showEvent(a0) : showEvent(a0));
}

void sipQDialog::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QDialog::resizeEvent(a0) : resizeEvent(a0));
}

void sipQDialog::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QDialog::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQDialog::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QDialog::eventFilter(a0,a1) : eventFilter(a0,a1));
}


PyDoc_STRVAR(doc_QDialog_sender, "QDialog.sender() -> QObject");

extern "C" {static PyObject *meth_QDialog_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 434022 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_sender, doc_QDialog_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_receivers, "QDialog.receivers(signal) -> int");

extern "C" {static PyObject *meth_QDialog_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QDialog, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 434081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_receivers, doc_QDialog_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_timerEvent, "QDialog.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QDialog_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_timerEvent, doc_QDialog_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_childEvent, "QDialog.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QDialog_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_childEvent, doc_QDialog_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_customEvent, "QDialog.customEvent(QEvent)");

extern "C" {static PyObject *meth_QDialog_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_customEvent, doc_QDialog_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_connectNotify, "QDialog.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDialog_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_connectNotify, doc_QDialog_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_disconnectNotify, "QDialog.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QDialog_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_disconnectNotify, doc_QDialog_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_senderSignalIndex, "QDialog.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QDialog_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_senderSignalIndex, doc_QDialog_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_isSignalConnected, "QDialog.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QDialog_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QDialog, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_isSignalConnected, doc_QDialog_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_event, "QDialog.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QDialog_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_event, doc_QDialog_event);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_mousePressEvent, "QDialog.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDialog_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_mousePressEvent, doc_QDialog_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_mouseReleaseEvent, "QDialog.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDialog_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_mouseReleaseEvent, doc_QDialog_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_mouseDoubleClickEvent, "QDialog.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDialog_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_mouseDoubleClickEvent, doc_QDialog_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_mouseMoveEvent, "QDialog.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QDialog_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_mouseMoveEvent, doc_QDialog_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_wheelEvent, "QDialog.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QDialog_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_wheelEvent, doc_QDialog_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_keyReleaseEvent, "QDialog.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDialog_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_keyReleaseEvent, doc_QDialog_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_focusInEvent, "QDialog.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDialog_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_focusInEvent, doc_QDialog_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_focusOutEvent, "QDialog.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QDialog_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_focusOutEvent, doc_QDialog_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_enterEvent, "QDialog.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QDialog_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_enterEvent, doc_QDialog_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_leaveEvent, "QDialog.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QDialog_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_leaveEvent, doc_QDialog_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_paintEvent, "QDialog.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QDialog_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_paintEvent, doc_QDialog_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_moveEvent, "QDialog.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QDialog_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_moveEvent, doc_QDialog_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_tabletEvent, "QDialog.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QDialog_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_tabletEvent, doc_QDialog_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_actionEvent, "QDialog.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QDialog_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_actionEvent, doc_QDialog_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_dragEnterEvent, "QDialog.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QDialog_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_dragEnterEvent, doc_QDialog_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_dragMoveEvent, "QDialog.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QDialog_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_dragMoveEvent, doc_QDialog_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_dragLeaveEvent, "QDialog.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QDialog_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_dragLeaveEvent, doc_QDialog_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_dropEvent, "QDialog.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QDialog_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_dropEvent, doc_QDialog_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_hideEvent, "QDialog.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QDialog_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_hideEvent, doc_QDialog_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_changeEvent, "QDialog.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QDialog_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_changeEvent, doc_QDialog_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_metric, "QDialog.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QDialog_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QDialog, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_metric, doc_QDialog_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_inputMethodEvent, "QDialog.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QDialog_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_inputMethodEvent, doc_QDialog_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_updateMicroFocus, "QDialog.updateMicroFocus()");

extern "C" {static PyObject *meth_QDialog_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_updateMicroFocus, doc_QDialog_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_create, "QDialog.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QDialog_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QDialog, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_create, doc_QDialog_create);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_destroy, "QDialog.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QDialog_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQDialog *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QDialog, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_destroy, doc_QDialog_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_focusNextPrevChild, "QDialog.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QDialog_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QDialog, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_focusNextPrevChild, doc_QDialog_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_focusNextChild, "QDialog.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QDialog_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_focusNextChild, doc_QDialog_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_focusPreviousChild, "QDialog.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QDialog_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_focusPreviousChild, doc_QDialog_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_nativeEvent, "QDialog.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QDialog_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QDialog, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_nativeEvent, doc_QDialog_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_sharedPainter, "QDialog.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QDialog_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_sharedPainter, doc_QDialog_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_initPainter, "QDialog.initPainter(QPainter)");

extern "C" {static PyObject *meth_QDialog_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_initPainter, doc_QDialog_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_result, "QDialog.result() -> int");

extern "C" {static PyObject *meth_QDialog_result(PyObject *, PyObject *);}
static PyObject *meth_QDialog_result(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->result();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_result, doc_QDialog_result);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_setVisible, "QDialog.setVisible(bool)");

extern "C" {static PyObject *meth_QDialog_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QDialog_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDialog, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QDialog::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_setVisible, doc_QDialog_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_sizeHint, "QDialog.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QDialog_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QDialog_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QDialog::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_sizeHint, doc_QDialog_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_minimumSizeHint, "QDialog.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QDialog_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QDialog_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QDialog::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_minimumSizeHint, doc_QDialog_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_setSizeGripEnabled, "QDialog.setSizeGripEnabled(bool)");

extern "C" {static PyObject *meth_QDialog_setSizeGripEnabled(PyObject *, PyObject *);}
static PyObject *meth_QDialog_setSizeGripEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDialog, &sipCpp, &a0))
        {
            sipCpp->setSizeGripEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_setSizeGripEnabled, doc_QDialog_setSizeGripEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_isSizeGripEnabled, "QDialog.isSizeGripEnabled() -> bool");

extern "C" {static PyObject *meth_QDialog_isSizeGripEnabled(PyObject *, PyObject *);}
static PyObject *meth_QDialog_isSizeGripEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSizeGripEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_isSizeGripEnabled, doc_QDialog_isSizeGripEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_setModal, "QDialog.setModal(bool)");

extern "C" {static PyObject *meth_QDialog_setModal(PyObject *, PyObject *);}
static PyObject *meth_QDialog_setModal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QDialog, &sipCpp, &a0))
        {
            sipCpp->setModal(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_setModal, doc_QDialog_setModal);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_setResult, "QDialog.setResult(int)");

extern "C" {static PyObject *meth_QDialog_setResult(PyObject *, PyObject *);}
static PyObject *meth_QDialog_setResult(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDialog, &sipCpp, &a0))
        {
            sipCpp->setResult(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_setResult, doc_QDialog_setResult);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_exec_, "QDialog.exec_() -> int");

extern "C" {static PyObject *meth_QDialog_exec_(PyObject *, PyObject *);}
static PyObject *meth_QDialog_exec_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            int sipRes = 0;

            sipCallHook("__pyQtPreEventLoopHook__");

#line 49 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdialog.sip"
        // Transfer ownership back to Python (a modal dialog will probably have the
        // main window as it's parent).  This means the Qt dialog will be deleted when
        // the Python wrapper is garbage collected.  Although this is a little
        // inconsistent, it saves having to code it explicitly to avoid the memory
        // leak.
        sipTransferBack(sipSelf);
        
        Py_BEGIN_ALLOW_THREADS
        sipRes = sipSelfWasArg ? sipCpp->QDialog::exec()
                               : sipCpp->exec();
        Py_END_ALLOW_THREADS
#line 435460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


            sipCallHook("__pyQtPostEventLoopHook__");
            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_exec_, doc_QDialog_exec_);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_done, "QDialog.done(int)");

extern "C" {static PyObject *meth_QDialog_done(PyObject *, PyObject *);}
static PyObject *meth_QDialog_done(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDialog, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QDialog::done(a0) : sipCpp->done(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_done, doc_QDialog_done);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_accept, "QDialog.accept()");

extern "C" {static PyObject *meth_QDialog_accept(PyObject *, PyObject *);}
static PyObject *meth_QDialog_accept(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QDialog::accept() : sipCpp->accept());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_accept, doc_QDialog_accept);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_reject, "QDialog.reject()");

extern "C" {static PyObject *meth_QDialog_reject(PyObject *, PyObject *);}
static PyObject *meth_QDialog_reject(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QDialog::reject() : sipCpp->reject());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_reject, doc_QDialog_reject);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_open, "QDialog.open()");

extern "C" {static PyObject *meth_QDialog_open(PyObject *, PyObject *);}
static PyObject *meth_QDialog_open(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDialog *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDialog, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QDialog::open() : sipCpp->open());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_open, doc_QDialog_open);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_keyPressEvent, "QDialog.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QDialog_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_keyPressEvent, doc_QDialog_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_closeEvent, "QDialog.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QDialog_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_closeEvent, doc_QDialog_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_showEvent, "QDialog.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QDialog_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_showEvent, doc_QDialog_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_resizeEvent, "QDialog.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QDialog_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_resizeEvent, doc_QDialog_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_contextMenuEvent, "QDialog.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QDialog_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_contextMenuEvent, doc_QDialog_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QDialog_eventFilter, "QDialog.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QDialog_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDialog_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQDialog *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QDialog, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDialog, sipName_eventFilter, doc_QDialog_eventFilter);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDialog(void *, const sipTypeDef *);}
static void *cast_QDialog(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDialog)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QDialog *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDialog(void *, int);}
static void release_QDialog(void *sipCppV,int)
{
    QDialog *sipCpp = reinterpret_cast<QDialog *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QDialog(sipSimpleWrapper *);}
static void dealloc_QDialog(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQDialog *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QDialog(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QDialog(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDialog(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQDialog *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQDialog(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDialog[] = {{454, 255, 1}};


static PyMethodDef methods_QDialog[] = {
    {SIP_MLNAME_CAST(sipName_accept), meth_QDialog_accept, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_accept)},
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QDialog_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QDialog_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QDialog_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QDialog_closeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDialog_closeEvent)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QDialog_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QDialog_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDialog_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QDialog_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QDialog_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QDialog_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QDialog_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_done), meth_QDialog_done, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_done)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QDialog_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QDialog_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QDialog_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QDialog_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QDialog_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QDialog_event, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QDialog_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDialog_eventFilter)},
    {SIP_MLNAME_CAST(sipName_exec_), meth_QDialog_exec_, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_exec_)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QDialog_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QDialog_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QDialog_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QDialog_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QDialog_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QDialog_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QDialog_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QDialog_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QDialog_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSizeGripEnabled), meth_QDialog_isSizeGripEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_isSizeGripEnabled)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QDialog_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDialog_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QDialog_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QDialog_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QDialog_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QDialog_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QDialog_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QDialog_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QDialog_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QDialog_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QDialog_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QDialog_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_open), meth_QDialog_open, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_open)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QDialog_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QDialog_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reject), meth_QDialog_reject, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_reject)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QDialog_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDialog_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_result), meth_QDialog_result, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_result)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QDialog_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QDialog_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setModal), meth_QDialog_setModal, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_setModal)},
    {SIP_MLNAME_CAST(sipName_setResult), meth_QDialog_setResult, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_setResult)},
    {SIP_MLNAME_CAST(sipName_setSizeGripEnabled), meth_QDialog_setSizeGripEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_setSizeGripEnabled)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QDialog_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_setVisible)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QDialog_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QDialog_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDialog_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QDialog_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QDialog_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QDialog_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QDialog_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QDialog_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QDialog_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QDialog[] = {
    {sipName_Accepted, static_cast<int>(QDialog::Accepted), 61},
    {sipName_Rejected, static_cast<int>(QDialog::Rejected), 61},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QDialog[] = {
    {"rejected()", "\1QDialog.rejected", 0, 0},
    {"finished(int)", "\1QDialog.finished[int]", 0, 0},
    {"accepted()", "\1QDialog.accepted", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QDialog, "\1QDialog(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QDialog = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QDialog,
        {0}
    },
    {
        sipNameNr_QDialog,
        {0, 0, 1},
        60, methods_QDialog,
        2, enummembers_QDialog,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDialog,
    -1,
    -1,
    supers_QDialog,
    0,
    init_type_QDialog,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDialog,
    0,
    0,
    0,
    release_QDialog,
    cast_QDialog,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QDialog::staticMetaObject,
    0,
    signals_QDialog,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcheckbox.sip"
#include <qcheckbox.h>
#line 435968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 435972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 435975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 435978 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435981 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 435984 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 435987 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 435990 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 435993 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 435996 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 435999 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436002 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 436008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 436011 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 436014 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 436017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 436020 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 436023 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 436026 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 436029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 436032 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 436035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 436038 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 436041 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 436044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 436047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 436050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 436053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 436056 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 436059 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 436062 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 436065 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 436068 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 436071 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 436074 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436077 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436080 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436083 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436086 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436092 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436095 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436098 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436101 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436104 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436107 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436110 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436113 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 436116 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 436119 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 436122 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 436125 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 436128 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 436131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 436134 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 436137 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 436140 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 436143 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 436146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 436149 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 436152 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 436155 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 436158 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 436161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 436164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 436167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 436170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 436173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 436176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQCheckBox : public QCheckBox
{
public:
    sipQCheckBox(QWidget*);
    sipQCheckBox(const QString&,QWidget*);
    virtual ~sipQCheckBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    bool sipProtectVirt_hitButton(bool,const QPoint&) const;
    void sipProtectVirt_checkStateSet(bool);
    void sipProtectVirt_nextCheckState(bool);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtect_initStyleOption(QStyleOptionButton*) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void timerEvent(QTimerEvent*);
    void changeEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    void nextCheckState();
    void checkStateSet();
    bool hitButton(const QPoint&) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQCheckBox(const sipQCheckBox &);
    sipQCheckBox &operator = (const sipQCheckBox &);

    char sipPyMethods[49];
};

sipQCheckBox::sipQCheckBox(QWidget*a0): QCheckBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCheckBox::sipQCheckBox(const QString& a0,QWidget*a1): QCheckBox(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCheckBox::~sipQCheckBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQCheckBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCheckBox);
}

int sipQCheckBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QCheckBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QCheckBox,_c,_id,_a);

    return _id;
}

void *sipQCheckBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QCheckBox, _clname, &sipCpp) ? sipCpp : QCheckBox::qt_metacast(_clname));
}

void sipQCheckBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QCheckBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QCheckBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QCheckBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QCheckBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQCheckBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QCheckBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQCheckBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QCheckBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQCheckBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QCheckBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQCheckBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QCheckBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQCheckBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QCheckBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQCheckBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QCheckBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQCheckBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QCheckBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QCheckBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQCheckBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QCheckBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QCheckBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QCheckBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QCheckBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QCheckBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QCheckBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QCheckBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QCheckBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QCheckBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QCheckBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QCheckBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QCheckBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QCheckBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QCheckBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QCheckBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QCheckBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QCheckBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQCheckBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QCheckBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQCheckBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QCheckBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QCheckBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQCheckBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QCheckBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQCheckBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QCheckBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QCheckBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QCheckBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QCheckBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QCheckBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QCheckBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QCheckBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QCheckBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QCheckBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QCheckBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQCheckBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QCheckBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCheckBox::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        QCheckBox::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQCheckBox::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        QCheckBox::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQCheckBox::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return QCheckBox::hitButton(a0);

    extern bool sipVH_QtWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_36(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQCheckBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QCheckBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQCheckBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QCheckBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQCheckBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQCheckBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQCheckBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQCheckBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQCheckBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQCheckBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQCheckBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQCheckBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQCheckBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQCheckBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQCheckBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQCheckBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQCheckBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQCheckBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQCheckBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQCheckBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQCheckBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQCheckBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQCheckBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQCheckBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQCheckBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQCheckBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQCheckBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQCheckBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQCheckBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQCheckBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQCheckBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQCheckBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQCheckBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQCheckBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQCheckBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQCheckBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQCheckBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQCheckBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQCheckBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQCheckBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQCheckBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQCheckBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQCheckBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQCheckBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::focusInEvent(a0) : focusInEvent(a0));
}

void sipQCheckBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQCheckBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::changeEvent(a0) : changeEvent(a0));
}

void sipQCheckBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::timerEvent(a0) : timerEvent(a0));
}

bool sipQCheckBox::sipProtectVirt_hitButton(bool sipSelfWasArg,const QPoint& a0) const
{
    return (sipSelfWasArg ? QCheckBox::hitButton(a0) : hitButton(a0));
}

void sipQCheckBox::sipProtectVirt_checkStateSet(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QCheckBox::checkStateSet() : checkStateSet());
}

void sipQCheckBox::sipProtectVirt_nextCheckState(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QCheckBox::nextCheckState() : nextCheckState());
}

bool sipQCheckBox::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QCheckBox::event(a0) : event(a0));
}

void sipQCheckBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QCheckBox::paintEvent(a0) : paintEvent(a0));
}

void sipQCheckBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QCheckBox::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQCheckBox::sipProtect_initStyleOption(QStyleOptionButton*a0) const
{
    QCheckBox::initStyleOption(a0);
}


PyDoc_STRVAR(doc_QCheckBox_sender, "QCheckBox.sender() -> QObject");

extern "C" {static PyObject *meth_QCheckBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 437478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_sender, doc_QCheckBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_receivers, "QCheckBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QCheckBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QCheckBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 437537 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_receivers, doc_QCheckBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_childEvent, "QCheckBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QCheckBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_childEvent, doc_QCheckBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_customEvent, "QCheckBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QCheckBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_customEvent, doc_QCheckBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_connectNotify, "QCheckBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCheckBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_connectNotify, doc_QCheckBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_disconnectNotify, "QCheckBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCheckBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_disconnectNotify, doc_QCheckBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_senderSignalIndex, "QCheckBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QCheckBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_senderSignalIndex, doc_QCheckBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_isSignalConnected, "QCheckBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QCheckBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_isSignalConnected, doc_QCheckBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_mouseDoubleClickEvent, "QCheckBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCheckBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_mouseDoubleClickEvent, doc_QCheckBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_wheelEvent, "QCheckBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QCheckBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_wheelEvent, doc_QCheckBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_enterEvent, "QCheckBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QCheckBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_enterEvent, doc_QCheckBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_leaveEvent, "QCheckBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QCheckBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_leaveEvent, doc_QCheckBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_moveEvent, "QCheckBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QCheckBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_moveEvent, doc_QCheckBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_resizeEvent, "QCheckBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QCheckBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_resizeEvent, doc_QCheckBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_closeEvent, "QCheckBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QCheckBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_closeEvent, doc_QCheckBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_contextMenuEvent, "QCheckBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QCheckBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_contextMenuEvent, doc_QCheckBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_tabletEvent, "QCheckBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QCheckBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_tabletEvent, doc_QCheckBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_actionEvent, "QCheckBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QCheckBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_actionEvent, doc_QCheckBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_dragEnterEvent, "QCheckBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QCheckBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_dragEnterEvent, doc_QCheckBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_dragMoveEvent, "QCheckBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QCheckBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_dragMoveEvent, doc_QCheckBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_dragLeaveEvent, "QCheckBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QCheckBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_dragLeaveEvent, doc_QCheckBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_dropEvent, "QCheckBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QCheckBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_dropEvent, doc_QCheckBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_showEvent, "QCheckBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QCheckBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_showEvent, doc_QCheckBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_hideEvent, "QCheckBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QCheckBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_hideEvent, doc_QCheckBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_metric, "QCheckBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QCheckBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_metric, doc_QCheckBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_inputMethodEvent, "QCheckBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QCheckBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_inputMethodEvent, doc_QCheckBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_updateMicroFocus, "QCheckBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QCheckBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_updateMicroFocus, doc_QCheckBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_create, "QCheckBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QCheckBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQCheckBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_create, doc_QCheckBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_destroy, "QCheckBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QCheckBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQCheckBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QCheckBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_destroy, doc_QCheckBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_focusNextPrevChild, "QCheckBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QCheckBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QCheckBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_focusNextPrevChild, doc_QCheckBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_focusNextChild, "QCheckBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QCheckBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_focusNextChild, doc_QCheckBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_focusPreviousChild, "QCheckBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QCheckBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_focusPreviousChild, doc_QCheckBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_nativeEvent, "QCheckBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QCheckBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_nativeEvent, doc_QCheckBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_sharedPainter, "QCheckBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QCheckBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_sharedPainter, doc_QCheckBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_initPainter, "QCheckBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QCheckBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_initPainter, doc_QCheckBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_keyPressEvent, "QCheckBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QCheckBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_keyPressEvent, doc_QCheckBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_keyReleaseEvent, "QCheckBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QCheckBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_keyReleaseEvent, doc_QCheckBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_mousePressEvent, "QCheckBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCheckBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_mousePressEvent, doc_QCheckBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_mouseReleaseEvent, "QCheckBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCheckBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_mouseReleaseEvent, doc_QCheckBox_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_focusInEvent, "QCheckBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QCheckBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_focusInEvent, doc_QCheckBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_focusOutEvent, "QCheckBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QCheckBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_focusOutEvent, doc_QCheckBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_changeEvent, "QCheckBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QCheckBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_changeEvent, doc_QCheckBox_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_timerEvent, "QCheckBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QCheckBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_timerEvent, doc_QCheckBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_sizeHint, "QCheckBox.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QCheckBox_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QCheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QCheckBox::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_sizeHint, doc_QCheckBox_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_setTristate, "QCheckBox.setTristate(bool on=True)");

extern "C" {static PyObject *meth_QCheckBox_setTristate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_setTristate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        QCheckBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|b", &sipSelf, sipType_QCheckBox, &sipCpp, &a0))
        {
            sipCpp->setTristate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_setTristate, doc_QCheckBox_setTristate);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_isTristate, "QCheckBox.isTristate() -> bool");

extern "C" {static PyObject *meth_QCheckBox_isTristate(PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_isTristate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isTristate();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_isTristate, doc_QCheckBox_isTristate);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_checkState, "QCheckBox.checkState() -> Qt.CheckState");

extern "C" {static PyObject *meth_QCheckBox_checkState(PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_checkState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            Qt::CheckState sipRes;

            sipRes = sipCpp->checkState();

            return sipConvertFromEnum(sipRes,sipType_Qt_CheckState);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_checkState, doc_QCheckBox_checkState);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_setCheckState, "QCheckBox.setCheckState(Qt.CheckState)");

extern "C" {static PyObject *meth_QCheckBox_setCheckState(PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_setCheckState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::CheckState a0;
        QCheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_Qt_CheckState, &a0))
        {
            sipCpp->setCheckState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_setCheckState, doc_QCheckBox_setCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_minimumSizeHint, "QCheckBox.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QCheckBox_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QCheckBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QCheckBox::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_minimumSizeHint, doc_QCheckBox_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_hitButton, "QCheckBox.hitButton(QPoint) -> bool");

extern "C" {static PyObject *meth_QCheckBox_hitButton(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_hitButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QPoint, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_hitButton(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_hitButton, doc_QCheckBox_hitButton);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_checkStateSet, "QCheckBox.checkStateSet()");

extern "C" {static PyObject *meth_QCheckBox_checkStateSet(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_checkStateSet(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            sipCpp->sipProtectVirt_checkStateSet(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_checkStateSet, doc_QCheckBox_checkStateSet);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_nextCheckState, "QCheckBox.nextCheckState()");

extern "C" {static PyObject *meth_QCheckBox_nextCheckState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_nextCheckState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCheckBox, &sipCpp))
        {
            sipCpp->sipProtectVirt_nextCheckState(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_nextCheckState, doc_QCheckBox_nextCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_event, "QCheckBox.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QCheckBox_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_event, doc_QCheckBox_event);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_paintEvent, "QCheckBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QCheckBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_paintEvent, doc_QCheckBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_mouseMoveEvent, "QCheckBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCheckBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_mouseMoveEvent, doc_QCheckBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCheckBox_initStyleOption, "QCheckBox.initStyleOption(QStyleOptionButton)");

extern "C" {static PyObject *meth_QCheckBox_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCheckBox_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionButton* a0;
        const sipQCheckBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCheckBox, &sipCpp, sipType_QStyleOptionButton, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCheckBox, sipName_initStyleOption, doc_QCheckBox_initStyleOption);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCheckBox(void *, const sipTypeDef *);}
static void *cast_QCheckBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QCheckBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractButton)->ctd_cast((QAbstractButton *)(QCheckBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCheckBox(void *, int);}
static void release_QCheckBox(void *sipCppV,int)
{
    QCheckBox *sipCpp = reinterpret_cast<QCheckBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QCheckBox(sipSimpleWrapper *);}
static void dealloc_QCheckBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQCheckBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QCheckBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QCheckBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCheckBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQCheckBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQCheckBox(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1|JH", sipType_QString,&a0, &a0State, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQCheckBox(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCheckBox[] = {{0, 255, 1}};


static PyMethodDef methods_QCheckBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QCheckBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QCheckBox_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_checkState), meth_QCheckBox_checkState, METH_VARARGS, SIP_MLDOC_CAST(doc_QCheckBox_checkState)},
    {SIP_MLNAME_CAST(sipName_checkStateSet), (PyCFunction)meth_QCheckBox_checkStateSet, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCheckBox_checkStateSet)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QCheckBox_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QCheckBox_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QCheckBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QCheckBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QCheckBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QCheckBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QCheckBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QCheckBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QCheckBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QCheckBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QCheckBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QCheckBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QCheckBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QCheckBox_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCheckBox_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QCheckBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QCheckBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QCheckBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QCheckBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QCheckBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QCheckBox_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hitButton), (PyCFunction)meth_QCheckBox_hitButton, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCheckBox_hitButton)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QCheckBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QCheckBox_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCheckBox_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QCheckBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QCheckBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isTristate), meth_QCheckBox_isTristate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCheckBox_isTristate)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QCheckBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QCheckBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QCheckBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QCheckBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QCheckBox_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCheckBox_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QCheckBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QCheckBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCheckBox_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QCheckBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QCheckBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QCheckBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QCheckBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nextCheckState), (PyCFunction)meth_QCheckBox_nextCheckState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCheckBox_nextCheckState)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QCheckBox_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCheckBox_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QCheckBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QCheckBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QCheckBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QCheckBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCheckState), meth_QCheckBox_setCheckState, METH_VARARGS, SIP_MLDOC_CAST(doc_QCheckBox_setCheckState)},
    {SIP_MLNAME_CAST(sipName_setTristate), (PyCFunction)meth_QCheckBox_setTristate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCheckBox_setTristate)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QCheckBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QCheckBox_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QCheckBox_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCheckBox_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QCheckBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QCheckBox_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QCheckBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QCheckBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCheckBox[] = {
    {"stateChanged(int)", "\1QCheckBox.stateChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QCheckBox, "\1QCheckBox(QWidget parent=None)\n"
    "QCheckBox(str, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QCheckBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCheckBox,
        {0}
    },
    {
        sipNameNr_QCheckBox,
        {0, 0, 1},
        56, methods_QCheckBox,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCheckBox,
    -1,
    -1,
    supers_QCheckBox,
    0,
    init_type_QCheckBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCheckBox,
    0,
    0,
    0,
    release_QCheckBox,
    cast_QCheckBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QCheckBox::staticMetaObject,
    0,
    signals_QCheckBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qcalendarwidget.sip"
#include <qcalendarwidget.h>
#line 439306 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 439310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 439313 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 439316 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 439319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 439331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 439334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 253 "sip/QtGui/qtextformat.sip"
#include <qtextformat.h>
#line 439337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 439340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 439343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 439346 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 439349 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 439352 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 439355 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 439358 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 439361 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 439364 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 439367 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 439370 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 439373 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 439376 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 439379 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 439382 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 439385 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 439388 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 439391 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 439394 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 439397 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 439400 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 439403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 439406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 439409 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439412 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439415 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439418 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439421 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439424 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439427 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439430 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439433 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439436 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439442 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439445 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439448 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439451 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 439454 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 439457 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 439460 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 439463 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 439466 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 439469 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 439472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 439475 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 439478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 439481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 439484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 439487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 439490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 439493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 439496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 439499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 439502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 439505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 439508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 439511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 439514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 439517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQCalendarWidget : public QCalendarWidget
{
public:
    sipQCalendarWidget(QWidget*);
    virtual ~sipQCalendarWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_updateCell(const QDate&);
    void sipProtect_updateCells();
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_paintCell(bool,QPainter*,const QRect&,const QDate&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void paintCell(QPainter*,const QRect&,const QDate&) const;
    void keyPressEvent(QKeyEvent*);
    void resizeEvent(QResizeEvent*);
    void mousePressEvent(QMouseEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQCalendarWidget(const sipQCalendarWidget &);
    sipQCalendarWidget &operator = (const sipQCalendarWidget &);

    char sipPyMethods[47];
};

sipQCalendarWidget::sipQCalendarWidget(QWidget*a0): QCalendarWidget(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQCalendarWidget::~sipQCalendarWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQCalendarWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QCalendarWidget);
}

int sipQCalendarWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QCalendarWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QCalendarWidget,_c,_id,_a);

    return _id;
}

void *sipQCalendarWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QCalendarWidget, _clname, &sipCpp) ? sipCpp : QCalendarWidget::qt_metacast(_clname));
}

void sipQCalendarWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QCalendarWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QCalendarWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QCalendarWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QCalendarWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QCalendarWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QCalendarWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQCalendarWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QCalendarWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQCalendarWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QCalendarWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQCalendarWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QCalendarWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQCalendarWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QCalendarWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQCalendarWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QCalendarWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QCalendarWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQCalendarWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QCalendarWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QCalendarWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QCalendarWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QCalendarWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QCalendarWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QCalendarWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QCalendarWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QCalendarWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QCalendarWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QCalendarWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QCalendarWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QCalendarWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QCalendarWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QCalendarWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QCalendarWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QCalendarWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QCalendarWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QCalendarWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QCalendarWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QCalendarWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QCalendarWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QCalendarWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QCalendarWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQCalendarWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QCalendarWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQCalendarWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QCalendarWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QCalendarWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQCalendarWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QCalendarWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQCalendarWidget::paintCell(QPainter*a0,const QRect& a1,const QDate& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_paintCell);

    if (!sipMeth)
    {
        QCalendarWidget::paintCell(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_143(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QRect&,const QDate&);

    sipVH_QtWidgets_143(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQCalendarWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QCalendarWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QCalendarWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQCalendarWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QCalendarWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQCalendarWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QCalendarWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQCalendarWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QCalendarWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQCalendarWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QCalendarWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQCalendarWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QCalendarWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQCalendarWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQCalendarWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQCalendarWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQCalendarWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQCalendarWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQCalendarWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQCalendarWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQCalendarWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQCalendarWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQCalendarWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQCalendarWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQCalendarWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQCalendarWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQCalendarWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQCalendarWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQCalendarWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQCalendarWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQCalendarWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQCalendarWidget::sipProtect_updateCell(const QDate& a0)
{
    QCalendarWidget::updateCell(a0);
}

void sipQCalendarWidget::sipProtect_updateCells()
{
    QCalendarWidget::updateCells();
}

bool sipQCalendarWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QCalendarWidget::event(a0) : event(a0));
}

bool sipQCalendarWidget::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QCalendarWidget::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQCalendarWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QCalendarWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QCalendarWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QCalendarWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQCalendarWidget::sipProtectVirt_paintCell(bool sipSelfWasArg,QPainter*a0,const QRect& a1,const QDate& a2) const
{
    (sipSelfWasArg ? QCalendarWidget::paintCell(a0,a1,a2) : paintCell(a0,a1,a2));
}


PyDoc_STRVAR(doc_QCalendarWidget_sender, "QCalendarWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QCalendarWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 440778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_sender, doc_QCalendarWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_receivers, "QCalendarWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QCalendarWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QCalendarWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 440837 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_receivers, doc_QCalendarWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_timerEvent, "QCalendarWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_timerEvent, doc_QCalendarWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_childEvent, "QCalendarWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_childEvent, doc_QCalendarWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_customEvent, "QCalendarWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_customEvent, doc_QCalendarWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_connectNotify, "QCalendarWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCalendarWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_connectNotify, doc_QCalendarWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_disconnectNotify, "QCalendarWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QCalendarWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_disconnectNotify, doc_QCalendarWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_senderSignalIndex, "QCalendarWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QCalendarWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_senderSignalIndex, doc_QCalendarWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_isSignalConnected, "QCalendarWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QCalendarWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_isSignalConnected, doc_QCalendarWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_mouseReleaseEvent, "QCalendarWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_mouseReleaseEvent, doc_QCalendarWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_mouseDoubleClickEvent, "QCalendarWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_mouseDoubleClickEvent, doc_QCalendarWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_mouseMoveEvent, "QCalendarWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_mouseMoveEvent, doc_QCalendarWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_wheelEvent, "QCalendarWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_wheelEvent, doc_QCalendarWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_keyReleaseEvent, "QCalendarWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_keyReleaseEvent, doc_QCalendarWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_focusInEvent, "QCalendarWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_focusInEvent, doc_QCalendarWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_focusOutEvent, "QCalendarWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_focusOutEvent, doc_QCalendarWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_enterEvent, "QCalendarWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_enterEvent, doc_QCalendarWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_leaveEvent, "QCalendarWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_leaveEvent, doc_QCalendarWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_paintEvent, "QCalendarWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_paintEvent, doc_QCalendarWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_moveEvent, "QCalendarWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_moveEvent, doc_QCalendarWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_closeEvent, "QCalendarWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_closeEvent, doc_QCalendarWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_contextMenuEvent, "QCalendarWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_contextMenuEvent, doc_QCalendarWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_tabletEvent, "QCalendarWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_tabletEvent, doc_QCalendarWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_actionEvent, "QCalendarWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_actionEvent, doc_QCalendarWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_dragEnterEvent, "QCalendarWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_dragEnterEvent, doc_QCalendarWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_dragMoveEvent, "QCalendarWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_dragMoveEvent, doc_QCalendarWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_dragLeaveEvent, "QCalendarWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_dragLeaveEvent, doc_QCalendarWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_dropEvent, "QCalendarWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_dropEvent, doc_QCalendarWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_showEvent, "QCalendarWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_showEvent, doc_QCalendarWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_hideEvent, "QCalendarWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_hideEvent, doc_QCalendarWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_changeEvent, "QCalendarWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_changeEvent, doc_QCalendarWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_metric, "QCalendarWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QCalendarWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_metric, doc_QCalendarWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_inputMethodEvent, "QCalendarWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_inputMethodEvent, doc_QCalendarWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_updateMicroFocus, "QCalendarWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QCalendarWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_updateMicroFocus, doc_QCalendarWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_create, "QCalendarWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QCalendarWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQCalendarWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_create, doc_QCalendarWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_destroy, "QCalendarWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QCalendarWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQCalendarWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QCalendarWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_destroy, doc_QCalendarWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_focusNextPrevChild, "QCalendarWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QCalendarWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QCalendarWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_focusNextPrevChild, doc_QCalendarWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_focusNextChild, "QCalendarWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QCalendarWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_focusNextChild, doc_QCalendarWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_focusPreviousChild, "QCalendarWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QCalendarWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_focusPreviousChild, doc_QCalendarWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_nativeEvent, "QCalendarWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QCalendarWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_nativeEvent, doc_QCalendarWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_sharedPainter, "QCalendarWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QCalendarWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_sharedPainter, doc_QCalendarWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_initPainter, "QCalendarWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QCalendarWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_initPainter, doc_QCalendarWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_sizeHint, "QCalendarWidget.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QCalendarWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QCalendarWidget::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_sizeHint, doc_QCalendarWidget_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_minimumSizeHint, "QCalendarWidget.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QCalendarWidget_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QCalendarWidget::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_minimumSizeHint, doc_QCalendarWidget_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_selectedDate, "QCalendarWidget.selectedDate() -> QDate");

extern "C" {static PyObject *meth_QCalendarWidget_selectedDate(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_selectedDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QDate*sipRes;

            sipRes = new QDate(sipCpp->selectedDate());

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_selectedDate, doc_QCalendarWidget_selectedDate);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_yearShown, "QCalendarWidget.yearShown() -> int");

extern "C" {static PyObject *meth_QCalendarWidget_yearShown(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_yearShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->yearShown();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_yearShown, doc_QCalendarWidget_yearShown);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_monthShown, "QCalendarWidget.monthShown() -> int");

extern "C" {static PyObject *meth_QCalendarWidget_monthShown(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_monthShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->monthShown();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_monthShown, doc_QCalendarWidget_monthShown);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_minimumDate, "QCalendarWidget.minimumDate() -> QDate");

extern "C" {static PyObject *meth_QCalendarWidget_minimumDate(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_minimumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QDate*sipRes;

            sipRes = new QDate(sipCpp->minimumDate());

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_minimumDate, doc_QCalendarWidget_minimumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setMinimumDate, "QCalendarWidget.setMinimumDate(QDate)");

extern "C" {static PyObject *meth_QCalendarWidget_setMinimumDate(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setMinimumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            sipCpp->setMinimumDate(*a0);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setMinimumDate, doc_QCalendarWidget_setMinimumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_maximumDate, "QCalendarWidget.maximumDate() -> QDate");

extern "C" {static PyObject *meth_QCalendarWidget_maximumDate(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_maximumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QDate*sipRes;

            sipRes = new QDate(sipCpp->maximumDate());

            return sipConvertFromNewType(sipRes,sipType_QDate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_maximumDate, doc_QCalendarWidget_maximumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setMaximumDate, "QCalendarWidget.setMaximumDate(QDate)");

extern "C" {static PyObject *meth_QCalendarWidget_setMaximumDate(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setMaximumDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            sipCpp->setMaximumDate(*a0);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setMaximumDate, doc_QCalendarWidget_setMaximumDate);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_firstDayOfWeek, "QCalendarWidget.firstDayOfWeek() -> Qt.DayOfWeek");

extern "C" {static PyObject *meth_QCalendarWidget_firstDayOfWeek(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_firstDayOfWeek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            Qt::DayOfWeek sipRes;

            sipRes = sipCpp->firstDayOfWeek();

            return sipConvertFromEnum(sipRes,sipType_Qt_DayOfWeek);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_firstDayOfWeek, doc_QCalendarWidget_firstDayOfWeek);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setFirstDayOfWeek, "QCalendarWidget.setFirstDayOfWeek(Qt.DayOfWeek)");

extern "C" {static PyObject *meth_QCalendarWidget_setFirstDayOfWeek(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setFirstDayOfWeek(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DayOfWeek a0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_Qt_DayOfWeek, &a0))
        {
            sipCpp->setFirstDayOfWeek(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setFirstDayOfWeek, doc_QCalendarWidget_setFirstDayOfWeek);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_isGridVisible, "QCalendarWidget.isGridVisible() -> bool");

extern "C" {static PyObject *meth_QCalendarWidget_isGridVisible(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_isGridVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isGridVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_isGridVisible, doc_QCalendarWidget_isGridVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setGridVisible, "QCalendarWidget.setGridVisible(bool)");

extern "C" {static PyObject *meth_QCalendarWidget_setGridVisible(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setGridVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QCalendarWidget, &sipCpp, &a0))
        {
            sipCpp->setGridVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setGridVisible, doc_QCalendarWidget_setGridVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_selectionMode, "QCalendarWidget.selectionMode() -> QCalendarWidget.SelectionMode");

extern "C" {static PyObject *meth_QCalendarWidget_selectionMode(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_selectionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QCalendarWidget::SelectionMode sipRes;

            sipRes = sipCpp->selectionMode();

            return sipConvertFromEnum(sipRes,sipType_QCalendarWidget_SelectionMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_selectionMode, doc_QCalendarWidget_selectionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setSelectionMode, "QCalendarWidget.setSelectionMode(QCalendarWidget.SelectionMode)");

extern "C" {static PyObject *meth_QCalendarWidget_setSelectionMode(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setSelectionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget::SelectionMode a0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QCalendarWidget_SelectionMode, &a0))
        {
            sipCpp->setSelectionMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setSelectionMode, doc_QCalendarWidget_setSelectionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_horizontalHeaderFormat, "QCalendarWidget.horizontalHeaderFormat() -> QCalendarWidget.HorizontalHeaderFormat");

extern "C" {static PyObject *meth_QCalendarWidget_horizontalHeaderFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_horizontalHeaderFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QCalendarWidget::HorizontalHeaderFormat sipRes;

            sipRes = sipCpp->horizontalHeaderFormat();

            return sipConvertFromEnum(sipRes,sipType_QCalendarWidget_HorizontalHeaderFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_horizontalHeaderFormat, doc_QCalendarWidget_horizontalHeaderFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setHorizontalHeaderFormat, "QCalendarWidget.setHorizontalHeaderFormat(QCalendarWidget.HorizontalHeaderFormat)");

extern "C" {static PyObject *meth_QCalendarWidget_setHorizontalHeaderFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setHorizontalHeaderFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget::HorizontalHeaderFormat a0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QCalendarWidget_HorizontalHeaderFormat, &a0))
        {
            sipCpp->setHorizontalHeaderFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setHorizontalHeaderFormat, doc_QCalendarWidget_setHorizontalHeaderFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_verticalHeaderFormat, "QCalendarWidget.verticalHeaderFormat() -> QCalendarWidget.VerticalHeaderFormat");

extern "C" {static PyObject *meth_QCalendarWidget_verticalHeaderFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_verticalHeaderFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QCalendarWidget::VerticalHeaderFormat sipRes;

            sipRes = sipCpp->verticalHeaderFormat();

            return sipConvertFromEnum(sipRes,sipType_QCalendarWidget_VerticalHeaderFormat);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_verticalHeaderFormat, doc_QCalendarWidget_verticalHeaderFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setVerticalHeaderFormat, "QCalendarWidget.setVerticalHeaderFormat(QCalendarWidget.VerticalHeaderFormat)");

extern "C" {static PyObject *meth_QCalendarWidget_setVerticalHeaderFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setVerticalHeaderFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget::VerticalHeaderFormat a0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QCalendarWidget_VerticalHeaderFormat, &a0))
        {
            sipCpp->setVerticalHeaderFormat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setVerticalHeaderFormat, doc_QCalendarWidget_setVerticalHeaderFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_headerTextFormat, "QCalendarWidget.headerTextFormat() -> QTextCharFormat");

extern "C" {static PyObject *meth_QCalendarWidget_headerTextFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_headerTextFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QTextCharFormat*sipRes;

            sipRes = new QTextCharFormat(sipCpp->headerTextFormat());

            return sipConvertFromNewType(sipRes,sipType_QTextCharFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_headerTextFormat, doc_QCalendarWidget_headerTextFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setHeaderTextFormat, "QCalendarWidget.setHeaderTextFormat(QTextCharFormat)");

extern "C" {static PyObject *meth_QCalendarWidget_setHeaderTextFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setHeaderTextFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QTextCharFormat* a0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QTextCharFormat, &a0))
        {
            sipCpp->setHeaderTextFormat(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setHeaderTextFormat, doc_QCalendarWidget_setHeaderTextFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_weekdayTextFormat, "QCalendarWidget.weekdayTextFormat(Qt.DayOfWeek) -> QTextCharFormat");

extern "C" {static PyObject *meth_QCalendarWidget_weekdayTextFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_weekdayTextFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DayOfWeek a0;
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_Qt_DayOfWeek, &a0))
        {
            QTextCharFormat*sipRes;

            sipRes = new QTextCharFormat(sipCpp->weekdayTextFormat(a0));

            return sipConvertFromNewType(sipRes,sipType_QTextCharFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_weekdayTextFormat, doc_QCalendarWidget_weekdayTextFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setWeekdayTextFormat, "QCalendarWidget.setWeekdayTextFormat(Qt.DayOfWeek, QTextCharFormat)");

extern "C" {static PyObject *meth_QCalendarWidget_setWeekdayTextFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setWeekdayTextFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DayOfWeek a0;
        const QTextCharFormat* a1;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ9", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_Qt_DayOfWeek, &a0, sipType_QTextCharFormat, &a1))
        {
            sipCpp->setWeekdayTextFormat(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setWeekdayTextFormat, doc_QCalendarWidget_setWeekdayTextFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_dateTextFormat, "QCalendarWidget.dateTextFormat() -> dict-of-QDate-QTextCharFormat\n"
    "QCalendarWidget.dateTextFormat(QDate) -> QTextCharFormat");

extern "C" {static PyObject *meth_QCalendarWidget_dateTextFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_dateTextFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            QMap<QDate,QTextCharFormat>*sipRes;

            sipRes = new QMap<QDate,QTextCharFormat>(sipCpp->dateTextFormat());

            return sipConvertFromNewType(sipRes,sipType_QMap_0100QDate_0100QTextCharFormat,NULL);
        }
    }

    {
        const QDate* a0;
        int a0State = 0;
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            QTextCharFormat*sipRes;

            sipRes = new QTextCharFormat(sipCpp->dateTextFormat(*a0));
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            return sipConvertFromNewType(sipRes,sipType_QTextCharFormat,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_dateTextFormat, doc_QCalendarWidget_dateTextFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setDateTextFormat, "QCalendarWidget.setDateTextFormat(QDate, QTextCharFormat)");

extern "C" {static PyObject *meth_QCalendarWidget_setDateTextFormat(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setDateTextFormat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        const QTextCharFormat* a1;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDate, &a0, &a0State, sipType_QTextCharFormat, &a1))
        {
            sipCpp->setDateTextFormat(*a0,*a1);
            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_QCalendarWidget, sipName_setDateTextFormat, doc_QCalendarWidget_setDateTextFormat);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_updateCell, "QCalendarWidget.updateCell(QDate)");

extern "C" {static PyObject *meth_QCalendarWidget_updateCell(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_updateCell(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            sipCpp->sipProtect_updateCell(*a0);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_updateCell, doc_QCalendarWidget_updateCell);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_updateCells, "QCalendarWidget.updateCells()");

extern "C" {static PyObject *meth_QCalendarWidget_updateCells(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_updateCells(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateCells();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_updateCells, doc_QCalendarWidget_updateCells);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_event, "QCalendarWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QCalendarWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_event, doc_QCalendarWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_eventFilter, "QCalendarWidget.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QCalendarWidget_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_eventFilter, doc_QCalendarWidget_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_mousePressEvent, "QCalendarWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_mousePressEvent, doc_QCalendarWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_resizeEvent, "QCalendarWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_resizeEvent, doc_QCalendarWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_keyPressEvent, "QCalendarWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QCalendarWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_keyPressEvent, doc_QCalendarWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_paintCell, "QCalendarWidget.paintCell(QPainter, QRect, QDate)");

extern "C" {static PyObject *meth_QCalendarWidget_paintCell(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_paintCell(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const QRect* a1;
        const QDate* a2;
        int a2State = 0;
        const sipQCalendarWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J9J1", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1, sipType_QDate, &a2, &a2State))
        {
            sipCpp->sipProtectVirt_paintCell(sipSelfWasArg,a0,*a1,*a2);
            sipReleaseType(const_cast<QDate *>(a2),sipType_QDate,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_paintCell, doc_QCalendarWidget_paintCell);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setCurrentPage, "QCalendarWidget.setCurrentPage(int, int)");

extern "C" {static PyObject *meth_QCalendarWidget_setCurrentPage(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setCurrentPage(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QCalendarWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setCurrentPage(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setCurrentPage, doc_QCalendarWidget_setCurrentPage);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setDateRange, "QCalendarWidget.setDateRange(QDate, QDate)");

extern "C" {static PyObject *meth_QCalendarWidget_setDateRange(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setDateRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        const QDate* a1;
        int a1State = 0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDate, &a0, &a0State, sipType_QDate, &a1, &a1State))
        {
            sipCpp->setDateRange(*a0,*a1);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);
            sipReleaseType(const_cast<QDate *>(a1),sipType_QDate,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setDateRange, doc_QCalendarWidget_setDateRange);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setSelectedDate, "QCalendarWidget.setSelectedDate(QDate)");

extern "C" {static PyObject *meth_QCalendarWidget_setSelectedDate(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setSelectedDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QDate* a0;
        int a0State = 0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QCalendarWidget, &sipCpp, sipType_QDate, &a0, &a0State))
        {
            sipCpp->setSelectedDate(*a0);
            sipReleaseType(const_cast<QDate *>(a0),sipType_QDate,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setSelectedDate, doc_QCalendarWidget_setSelectedDate);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_showNextMonth, "QCalendarWidget.showNextMonth()");

extern "C" {static PyObject *meth_QCalendarWidget_showNextMonth(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_showNextMonth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            sipCpp->showNextMonth();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_showNextMonth, doc_QCalendarWidget_showNextMonth);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_showNextYear, "QCalendarWidget.showNextYear()");

extern "C" {static PyObject *meth_QCalendarWidget_showNextYear(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_showNextYear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            sipCpp->showNextYear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_showNextYear, doc_QCalendarWidget_showNextYear);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_showPreviousMonth, "QCalendarWidget.showPreviousMonth()");

extern "C" {static PyObject *meth_QCalendarWidget_showPreviousMonth(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_showPreviousMonth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            sipCpp->showPreviousMonth();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_showPreviousMonth, doc_QCalendarWidget_showPreviousMonth);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_showPreviousYear, "QCalendarWidget.showPreviousYear()");

extern "C" {static PyObject *meth_QCalendarWidget_showPreviousYear(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_showPreviousYear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            sipCpp->showPreviousYear();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_showPreviousYear, doc_QCalendarWidget_showPreviousYear);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_showSelectedDate, "QCalendarWidget.showSelectedDate()");

extern "C" {static PyObject *meth_QCalendarWidget_showSelectedDate(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_showSelectedDate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            sipCpp->showSelectedDate();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_showSelectedDate, doc_QCalendarWidget_showSelectedDate);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_showToday, "QCalendarWidget.showToday()");

extern "C" {static PyObject *meth_QCalendarWidget_showToday(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_showToday(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            sipCpp->showToday();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_showToday, doc_QCalendarWidget_showToday);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_isNavigationBarVisible, "QCalendarWidget.isNavigationBarVisible() -> bool");

extern "C" {static PyObject *meth_QCalendarWidget_isNavigationBarVisible(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_isNavigationBarVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isNavigationBarVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_isNavigationBarVisible, doc_QCalendarWidget_isNavigationBarVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_isDateEditEnabled, "QCalendarWidget.isDateEditEnabled() -> bool");

extern "C" {static PyObject *meth_QCalendarWidget_isDateEditEnabled(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_isDateEditEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDateEditEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_isDateEditEnabled, doc_QCalendarWidget_isDateEditEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setDateEditEnabled, "QCalendarWidget.setDateEditEnabled(bool)");

extern "C" {static PyObject *meth_QCalendarWidget_setDateEditEnabled(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setDateEditEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QCalendarWidget, &sipCpp, &a0))
        {
            sipCpp->setDateEditEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setDateEditEnabled, doc_QCalendarWidget_setDateEditEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_dateEditAcceptDelay, "QCalendarWidget.dateEditAcceptDelay() -> int");

extern "C" {static PyObject *meth_QCalendarWidget_dateEditAcceptDelay(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_dateEditAcceptDelay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QCalendarWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->dateEditAcceptDelay();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_dateEditAcceptDelay, doc_QCalendarWidget_dateEditAcceptDelay);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setDateEditAcceptDelay, "QCalendarWidget.setDateEditAcceptDelay(int)");

extern "C" {static PyObject *meth_QCalendarWidget_setDateEditAcceptDelay(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setDateEditAcceptDelay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QCalendarWidget, &sipCpp, &a0))
        {
            sipCpp->setDateEditAcceptDelay(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setDateEditAcceptDelay, doc_QCalendarWidget_setDateEditAcceptDelay);

    return NULL;
}


PyDoc_STRVAR(doc_QCalendarWidget_setNavigationBarVisible, "QCalendarWidget.setNavigationBarVisible(bool)");

extern "C" {static PyObject *meth_QCalendarWidget_setNavigationBarVisible(PyObject *, PyObject *);}
static PyObject *meth_QCalendarWidget_setNavigationBarVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QCalendarWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QCalendarWidget, &sipCpp, &a0))
        {
            sipCpp->setNavigationBarVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QCalendarWidget, sipName_setNavigationBarVisible, doc_QCalendarWidget_setNavigationBarVisible);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QCalendarWidget(void *, const sipTypeDef *);}
static void *cast_QCalendarWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QCalendarWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QCalendarWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QCalendarWidget(void *, int);}
static void release_QCalendarWidget(void *sipCppV,int)
{
    QCalendarWidget *sipCpp = reinterpret_cast<QCalendarWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QCalendarWidget(sipSimpleWrapper *);}
static void dealloc_QCalendarWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQCalendarWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QCalendarWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QCalendarWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QCalendarWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQCalendarWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQCalendarWidget(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QCalendarWidget[] = {{454, 255, 1}};


static PyMethodDef methods_QCalendarWidget[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QCalendarWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QCalendarWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QCalendarWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QCalendarWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QCalendarWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QCalendarWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QCalendarWidget_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QCalendarWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dateEditAcceptDelay), meth_QCalendarWidget_dateEditAcceptDelay, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_dateEditAcceptDelay)},
    {SIP_MLNAME_CAST(sipName_dateTextFormat), meth_QCalendarWidget_dateTextFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_dateTextFormat)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QCalendarWidget_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QCalendarWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QCalendarWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QCalendarWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QCalendarWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QCalendarWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QCalendarWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QCalendarWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCalendarWidget_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QCalendarWidget_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCalendarWidget_eventFilter)},
    {SIP_MLNAME_CAST(sipName_firstDayOfWeek), meth_QCalendarWidget_firstDayOfWeek, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_firstDayOfWeek)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QCalendarWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QCalendarWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QCalendarWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QCalendarWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QCalendarWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_headerTextFormat), meth_QCalendarWidget_headerTextFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_headerTextFormat)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QCalendarWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalHeaderFormat), meth_QCalendarWidget_horizontalHeaderFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_horizontalHeaderFormat)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QCalendarWidget_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QCalendarWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isDateEditEnabled), meth_QCalendarWidget_isDateEditEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_isDateEditEnabled)},
    {SIP_MLNAME_CAST(sipName_isGridVisible), meth_QCalendarWidget_isGridVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_isGridVisible)},
    {SIP_MLNAME_CAST(sipName_isNavigationBarVisible), meth_QCalendarWidget_isNavigationBarVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_isNavigationBarVisible)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QCalendarWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QCalendarWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCalendarWidget_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QCalendarWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QCalendarWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumDate), meth_QCalendarWidget_maximumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_maximumDate)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QCalendarWidget_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumDate), meth_QCalendarWidget_minimumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_minimumDate)},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QCalendarWidget_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_monthShown), meth_QCalendarWidget_monthShown, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_monthShown)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QCalendarWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QCalendarWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QCalendarWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCalendarWidget_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QCalendarWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QCalendarWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QCalendarWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintCell), (PyCFunction)meth_QCalendarWidget_paintCell, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCalendarWidget_paintCell)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QCalendarWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QCalendarWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QCalendarWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCalendarWidget_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_selectedDate), meth_QCalendarWidget_selectedDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_selectedDate)},
    {SIP_MLNAME_CAST(sipName_selectionMode), meth_QCalendarWidget_selectionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_selectionMode)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QCalendarWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QCalendarWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCurrentPage), meth_QCalendarWidget_setCurrentPage, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setCurrentPage)},
    {SIP_MLNAME_CAST(sipName_setDateEditAcceptDelay), meth_QCalendarWidget_setDateEditAcceptDelay, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setDateEditAcceptDelay)},
    {SIP_MLNAME_CAST(sipName_setDateEditEnabled), meth_QCalendarWidget_setDateEditEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setDateEditEnabled)},
    {SIP_MLNAME_CAST(sipName_setDateRange), meth_QCalendarWidget_setDateRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setDateRange)},
    {SIP_MLNAME_CAST(sipName_setDateTextFormat), meth_QCalendarWidget_setDateTextFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setDateTextFormat)},
    {SIP_MLNAME_CAST(sipName_setFirstDayOfWeek), meth_QCalendarWidget_setFirstDayOfWeek, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setFirstDayOfWeek)},
    {SIP_MLNAME_CAST(sipName_setGridVisible), meth_QCalendarWidget_setGridVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setGridVisible)},
    {SIP_MLNAME_CAST(sipName_setHeaderTextFormat), meth_QCalendarWidget_setHeaderTextFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setHeaderTextFormat)},
    {SIP_MLNAME_CAST(sipName_setHorizontalHeaderFormat), meth_QCalendarWidget_setHorizontalHeaderFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setHorizontalHeaderFormat)},
    {SIP_MLNAME_CAST(sipName_setMaximumDate), meth_QCalendarWidget_setMaximumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setMaximumDate)},
    {SIP_MLNAME_CAST(sipName_setMinimumDate), meth_QCalendarWidget_setMinimumDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setMinimumDate)},
    {SIP_MLNAME_CAST(sipName_setNavigationBarVisible), meth_QCalendarWidget_setNavigationBarVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setNavigationBarVisible)},
    {SIP_MLNAME_CAST(sipName_setSelectedDate), meth_QCalendarWidget_setSelectedDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setSelectedDate)},
    {SIP_MLNAME_CAST(sipName_setSelectionMode), meth_QCalendarWidget_setSelectionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setSelectionMode)},
    {SIP_MLNAME_CAST(sipName_setVerticalHeaderFormat), meth_QCalendarWidget_setVerticalHeaderFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setVerticalHeaderFormat)},
    {SIP_MLNAME_CAST(sipName_setWeekdayTextFormat), meth_QCalendarWidget_setWeekdayTextFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_setWeekdayTextFormat)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QCalendarWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QCalendarWidget_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showNextMonth), meth_QCalendarWidget_showNextMonth, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_showNextMonth)},
    {SIP_MLNAME_CAST(sipName_showNextYear), meth_QCalendarWidget_showNextYear, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_showNextYear)},
    {SIP_MLNAME_CAST(sipName_showPreviousMonth), meth_QCalendarWidget_showPreviousMonth, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_showPreviousMonth)},
    {SIP_MLNAME_CAST(sipName_showPreviousYear), meth_QCalendarWidget_showPreviousYear, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_showPreviousYear)},
    {SIP_MLNAME_CAST(sipName_showSelectedDate), meth_QCalendarWidget_showSelectedDate, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_showSelectedDate)},
    {SIP_MLNAME_CAST(sipName_showToday), meth_QCalendarWidget_showToday, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_showToday)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QCalendarWidget_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QCalendarWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QCalendarWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateCell), (PyCFunction)meth_QCalendarWidget_updateCell, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCalendarWidget_updateCell)},
    {SIP_MLNAME_CAST(sipName_updateCells), (PyCFunction)meth_QCalendarWidget_updateCells, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QCalendarWidget_updateCells)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QCalendarWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalHeaderFormat), meth_QCalendarWidget_verticalHeaderFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_verticalHeaderFormat)},
    {SIP_MLNAME_CAST(sipName_weekdayTextFormat), meth_QCalendarWidget_weekdayTextFormat, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_weekdayTextFormat)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QCalendarWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_yearShown), meth_QCalendarWidget_yearShown, METH_VARARGS, SIP_MLDOC_CAST(doc_QCalendarWidget_yearShown)}
};

static sipEnumMemberDef enummembers_QCalendarWidget[] = {
    {sipName_ISOWeekNumbers, static_cast<int>(QCalendarWidget::ISOWeekNumbers), 38},
    {sipName_LongDayNames, static_cast<int>(QCalendarWidget::LongDayNames), 36},
    {sipName_NoHorizontalHeader, static_cast<int>(QCalendarWidget::NoHorizontalHeader), 36},
    {sipName_NoSelection, static_cast<int>(QCalendarWidget::NoSelection), 37},
    {sipName_NoVerticalHeader, static_cast<int>(QCalendarWidget::NoVerticalHeader), 38},
    {sipName_ShortDayNames, static_cast<int>(QCalendarWidget::ShortDayNames), 36},
    {sipName_SingleLetterDayNames, static_cast<int>(QCalendarWidget::SingleLetterDayNames), 36},
    {sipName_SingleSelection, static_cast<int>(QCalendarWidget::SingleSelection), 37},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QCalendarWidget[] = {
    {"selectionChanged()", "\1QCalendarWidget.selectionChanged", 0, 0},
    {"currentPageChanged(int,int)", "\1QCalendarWidget.currentPageChanged[int, int]", 0, 0},
    {"clicked(QDate)", "\1QCalendarWidget.clicked[QDate]", 0, 0},
    {"activated(QDate)", "\1QCalendarWidget.activated[QDate]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QCalendarWidget, "\1QCalendarWidget(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QCalendarWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QCalendarWidget,
        {0}
    },
    {
        sipNameNr_QCalendarWidget,
        {0, 0, 1},
        90, methods_QCalendarWidget,
        8, enummembers_QCalendarWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QCalendarWidget,
    -1,
    -1,
    supers_QCalendarWidget,
    0,
    init_type_QCalendarWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QCalendarWidget,
    0,
    0,
    0,
    release_QCalendarWidget,
    cast_QCalendarWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QCalendarWidget::staticMetaObject,
    0,
    signals_QCalendarWidget,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 443581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 443585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 443588 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 443591 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 443594 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 443597 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 443600 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 443603 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 443606 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 443609 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 443612 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 443615 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 443618 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 443621 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 443624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 443627 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 443630 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 443633 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 443636 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQButtonGroup : public QButtonGroup
{
public:
    sipQButtonGroup(QObject*);
    virtual ~sipQButtonGroup();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQButtonGroup(const sipQButtonGroup &);
    sipQButtonGroup &operator = (const sipQButtonGroup &);

    char sipPyMethods[7];
};

sipQButtonGroup::sipQButtonGroup(QObject*a0): QButtonGroup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQButtonGroup::~sipQButtonGroup()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQButtonGroup::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QButtonGroup);
}

int sipQButtonGroup::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QButtonGroup::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QButtonGroup,_c,_id,_a);

    return _id;
}

void *sipQButtonGroup::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QButtonGroup, _clname, &sipCpp) ? sipCpp : QButtonGroup::qt_metacast(_clname));
}

void sipQButtonGroup::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QButtonGroup::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQButtonGroup::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QButtonGroup::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQButtonGroup::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QButtonGroup::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQButtonGroup::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QButtonGroup::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQButtonGroup::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QButtonGroup::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQButtonGroup::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QButtonGroup::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQButtonGroup::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QButtonGroup::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQButtonGroup::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQButtonGroup::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQButtonGroup::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQButtonGroup::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQButtonGroup::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQButtonGroup::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQButtonGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQButtonGroup::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQButtonGroup::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QButtonGroup_sender, "QButtonGroup.sender() -> QObject");

extern "C" {static PyObject *meth_QButtonGroup_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQButtonGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QButtonGroup, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 443924 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_sender, doc_QButtonGroup_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_receivers, "QButtonGroup.receivers(signal) -> int");

extern "C" {static PyObject *meth_QButtonGroup_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQButtonGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QButtonGroup, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 443983 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_receivers, doc_QButtonGroup_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_timerEvent, "QButtonGroup.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QButtonGroup_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQButtonGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_timerEvent, doc_QButtonGroup_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_childEvent, "QButtonGroup.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QButtonGroup_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQButtonGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_childEvent, doc_QButtonGroup_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_customEvent, "QButtonGroup.customEvent(QEvent)");

extern "C" {static PyObject *meth_QButtonGroup_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQButtonGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_customEvent, doc_QButtonGroup_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_connectNotify, "QButtonGroup.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QButtonGroup_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQButtonGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_connectNotify, doc_QButtonGroup_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_disconnectNotify, "QButtonGroup.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QButtonGroup_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQButtonGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_disconnectNotify, doc_QButtonGroup_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_senderSignalIndex, "QButtonGroup.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QButtonGroup_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQButtonGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QButtonGroup, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_senderSignalIndex, doc_QButtonGroup_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_isSignalConnected, "QButtonGroup.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QButtonGroup_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQButtonGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_isSignalConnected, doc_QButtonGroup_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_setExclusive, "QButtonGroup.setExclusive(bool)");

extern "C" {static PyObject *meth_QButtonGroup_setExclusive(PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_setExclusive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QButtonGroup, &sipCpp, &a0))
        {
            sipCpp->setExclusive(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_setExclusive, doc_QButtonGroup_setExclusive);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_exclusive, "QButtonGroup.exclusive() -> bool");

extern "C" {static PyObject *meth_QButtonGroup_exclusive(PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_exclusive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QButtonGroup, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->exclusive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_exclusive, doc_QButtonGroup_exclusive);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_addButton, "QButtonGroup.addButton(QAbstractButton, int id=-1)");

extern "C" {static PyObject *meth_QButtonGroup_addButton(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_addButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        int a1 = -1;
        QButtonGroup *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_id,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|i", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QAbstractButton, &a0, &a1))
        {
            sipCpp->addButton(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_addButton, doc_QButtonGroup_addButton);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_removeButton, "QButtonGroup.removeButton(QAbstractButton)");

extern "C" {static PyObject *meth_QButtonGroup_removeButton(PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_removeButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        QButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QAbstractButton, &a0))
        {
            sipCpp->removeButton(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_removeButton, doc_QButtonGroup_removeButton);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_buttons, "QButtonGroup.buttons() -> list-of-QAbstractButton");

extern "C" {static PyObject *meth_QButtonGroup_buttons(PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_buttons(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QButtonGroup, &sipCpp))
        {
            QList<QAbstractButton*>*sipRes;

            sipRes = new QList<QAbstractButton*>(sipCpp->buttons());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAbstractButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_buttons, doc_QButtonGroup_buttons);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_button, "QButtonGroup.button(int) -> QAbstractButton");

extern "C" {static PyObject *meth_QButtonGroup_button(PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_button(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QButtonGroup, &sipCpp, &a0))
        {
            QAbstractButton*sipRes;

            sipRes = sipCpp->button(a0);

            return sipConvertFromType(sipRes,sipType_QAbstractButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_button, doc_QButtonGroup_button);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_checkedButton, "QButtonGroup.checkedButton() -> QAbstractButton");

extern "C" {static PyObject *meth_QButtonGroup_checkedButton(PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_checkedButton(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QButtonGroup, &sipCpp))
        {
            QAbstractButton*sipRes;

            sipRes = sipCpp->checkedButton();

            return sipConvertFromType(sipRes,sipType_QAbstractButton,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_checkedButton, doc_QButtonGroup_checkedButton);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_setId, "QButtonGroup.setId(QAbstractButton, int)");

extern "C" {static PyObject *meth_QButtonGroup_setId(PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_setId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        int a1;
        QButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QAbstractButton, &a0, &a1))
        {
            sipCpp->setId(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_setId, doc_QButtonGroup_setId);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_id, "QButtonGroup.id(QAbstractButton) -> int");

extern "C" {static PyObject *meth_QButtonGroup_id(PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_id(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton* a0;
        const QButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QButtonGroup, &sipCpp, sipType_QAbstractButton, &a0))
        {
            int sipRes;

            sipRes = sipCpp->id(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_id, doc_QButtonGroup_id);

    return NULL;
}


PyDoc_STRVAR(doc_QButtonGroup_checkedId, "QButtonGroup.checkedId() -> int");

extern "C" {static PyObject *meth_QButtonGroup_checkedId(PyObject *, PyObject *);}
static PyObject *meth_QButtonGroup_checkedId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QButtonGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QButtonGroup, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->checkedId();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QButtonGroup, sipName_checkedId, doc_QButtonGroup_checkedId);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QButtonGroup(void *, const sipTypeDef *);}
static void *cast_QButtonGroup(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QButtonGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QButtonGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QButtonGroup(void *, int);}
static void release_QButtonGroup(void *sipCppV,int)
{
    QButtonGroup *sipCpp = reinterpret_cast<QButtonGroup *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QButtonGroup(sipSimpleWrapper *);}
static void dealloc_QButtonGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQButtonGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QButtonGroup(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QButtonGroup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QButtonGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQButtonGroup *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQButtonGroup(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QButtonGroup[] = {{162, 0, 1}};


static PyMethodDef methods_QButtonGroup[] = {
    {SIP_MLNAME_CAST(sipName_addButton), (PyCFunction)meth_QButtonGroup_addButton, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QButtonGroup_addButton)},
    {SIP_MLNAME_CAST(sipName_button), meth_QButtonGroup_button, METH_VARARGS, SIP_MLDOC_CAST(doc_QButtonGroup_button)},
    {SIP_MLNAME_CAST(sipName_buttons), meth_QButtonGroup_buttons, METH_VARARGS, SIP_MLDOC_CAST(doc_QButtonGroup_buttons)},
    {SIP_MLNAME_CAST(sipName_checkedButton), meth_QButtonGroup_checkedButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QButtonGroup_checkedButton)},
    {SIP_MLNAME_CAST(sipName_checkedId), meth_QButtonGroup_checkedId, METH_VARARGS, SIP_MLDOC_CAST(doc_QButtonGroup_checkedId)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QButtonGroup_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QButtonGroup_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QButtonGroup_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QButtonGroup_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_exclusive), meth_QButtonGroup_exclusive, METH_VARARGS, SIP_MLDOC_CAST(doc_QButtonGroup_exclusive)},
    {SIP_MLNAME_CAST(sipName_id), meth_QButtonGroup_id, METH_VARARGS, SIP_MLDOC_CAST(doc_QButtonGroup_id)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QButtonGroup_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QButtonGroup_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeButton), meth_QButtonGroup_removeButton, METH_VARARGS, SIP_MLDOC_CAST(doc_QButtonGroup_removeButton)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QButtonGroup_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QButtonGroup_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setExclusive), meth_QButtonGroup_setExclusive, METH_VARARGS, SIP_MLDOC_CAST(doc_QButtonGroup_setExclusive)},
    {SIP_MLNAME_CAST(sipName_setId), meth_QButtonGroup_setId, METH_VARARGS, SIP_MLDOC_CAST(doc_QButtonGroup_setId)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QButtonGroup_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QButtonGroup[] = {
    {"buttonToggled(QAbstractButton*,bool)", "\1QButtonGroup.buttonToggled[QAbstractButton, bool]", 0, 0},
    {"buttonToggled(int,bool)", "\1QButtonGroup.buttonToggled[int, bool]", 0, 0},
    {"buttonReleased(QAbstractButton*)", "\1QButtonGroup.buttonReleased[QAbstractButton]", 0, 0},
    {"buttonReleased(int)", "\1QButtonGroup.buttonReleased[int]", 0, 0},
    {"buttonPressed(QAbstractButton*)", "\1QButtonGroup.buttonPressed[QAbstractButton]", 0, 0},
    {"buttonPressed(int)", "\1QButtonGroup.buttonPressed[int]", 0, 0},
    {"buttonClicked(QAbstractButton*)", "\1QButtonGroup.buttonClicked[QAbstractButton]", 0, 0},
    {"buttonClicked(int)", "\1QButtonGroup.buttonClicked[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QButtonGroup, "\1QButtonGroup(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QButtonGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QButtonGroup,
        {0}
    },
    {
        sipNameNr_QButtonGroup,
        {0, 0, 1},
        19, methods_QButtonGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QButtonGroup,
    -1,
    -1,
    supers_QButtonGroup,
    0,
    init_type_QButtonGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QButtonGroup,
    0,
    0,
    0,
    release_QButtonGroup,
    cast_QButtonGroup,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QButtonGroup::staticMetaObject,
    0,
    signals_QButtonGroup,
    0
};

#line 144 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 444646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 444650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 444653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 444656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 444659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 444662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 444665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 444668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 444671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 444674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 444677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 444680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 444683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 444686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 444689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 444692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 444695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 444698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 444701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 444704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 444707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 444710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 444713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 444716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 444719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 444722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 444725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 444728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQVBoxLayout : public QVBoxLayout
{
public:
    sipQVBoxLayout();
    sipQVBoxLayout(QWidget*);
    virtual ~sipQVBoxLayout();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_widgetEvent(QEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtect_addChildLayout(QLayout*);
    void sipProtect_addChildWidget(QWidget*);
    QRect sipProtect_alignmentRect(const QRect&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSpacerItem* spacerItem();
    QWidget* widget();
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QSizePolicy::ControlTypes controlTypes() const;
    void childEvent(QChildEvent*);
    QLayout* layout();
    bool isEmpty() const;
    int indexOf(QWidget*) const;
    QRect geometry() const;
    void setGeometry(const QRect&);
    int count() const;
    QLayoutItem* takeAt(int);
    QLayoutItem* itemAt(int) const;
    void invalidate();
    Qt::Orientations expandingDirections() const;
    int minimumHeightForWidth(int) const;
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    QSize maximumSize() const;
    QSize minimumSize() const;
    QSize sizeHint() const;
    void addItem(QLayoutItem*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQVBoxLayout(const sipQVBoxLayout &);
    sipQVBoxLayout &operator = (const sipQVBoxLayout &);

    char sipPyMethods[27];
};

sipQVBoxLayout::sipQVBoxLayout(): QVBoxLayout(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQVBoxLayout::sipQVBoxLayout(QWidget*a0): QVBoxLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQVBoxLayout::~sipQVBoxLayout()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQVBoxLayout::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QVBoxLayout);
}

int sipQVBoxLayout::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QVBoxLayout::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QVBoxLayout,_c,_id,_a);

    return _id;
}

void *sipQVBoxLayout::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QVBoxLayout, _clname, &sipCpp) ? sipCpp : QVBoxLayout::qt_metacast(_clname));
}

QSpacerItem* sipQVBoxLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QVBoxLayout::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQVBoxLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QVBoxLayout::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQVBoxLayout::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QVBoxLayout::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QVBoxLayout::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QVBoxLayout::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QVBoxLayout::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQVBoxLayout::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QVBoxLayout::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQVBoxLayout::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QVBoxLayout::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizePolicy::ControlTypes sipQVBoxLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QVBoxLayout::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQVBoxLayout::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QVBoxLayout::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayout* sipQVBoxLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QVBoxLayout::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQVBoxLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return QVBoxLayout::isEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQVBoxLayout::indexOf(QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return QVBoxLayout::indexOf(a0);

    extern int sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_QtWidgets_96(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRect sipQVBoxLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return QVBoxLayout::geometry();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQVBoxLayout::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QVBoxLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQVBoxLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return QVBoxLayout::count();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QLayoutItem* sipQVBoxLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return QVBoxLayout::takeAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_76(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQVBoxLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return QVBoxLayout::itemAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_77(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQVBoxLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QVBoxLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::Orientations sipQVBoxLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return QVBoxLayout::expandingDirections();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQVBoxLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QVBoxLayout::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQVBoxLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QVBoxLayout::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQVBoxLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QVBoxLayout::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQVBoxLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return QVBoxLayout::maximumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQVBoxLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return QVBoxLayout::minimumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQVBoxLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QVBoxLayout::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQVBoxLayout::addItem(QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
        QVBoxLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLayoutItem*);

    sipVH_QtWidgets_78(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQVBoxLayout::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQVBoxLayout::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQVBoxLayout::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQVBoxLayout::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQVBoxLayout::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQVBoxLayout::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQVBoxLayout::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQVBoxLayout::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQVBoxLayout::sipProtect_widgetEvent(QEvent*a0)
{
    QLayout::widgetEvent(a0);
}

void sipQVBoxLayout::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QLayout::childEvent(a0) : childEvent(a0));
}

void sipQVBoxLayout::sipProtect_addChildLayout(QLayout*a0)
{
    QLayout::addChildLayout(a0);
}

void sipQVBoxLayout::sipProtect_addChildWidget(QWidget*a0)
{
    QLayout::addChildWidget(a0);
}

QRect sipQVBoxLayout::sipProtect_alignmentRect(const QRect& a0) const
{
    return QLayout::alignmentRect(a0);
}


PyDoc_STRVAR(doc_QVBoxLayout_sender, "QVBoxLayout.sender() -> QObject");

extern "C" {static PyObject *meth_QVBoxLayout_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVBoxLayout, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 445375 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_sender, doc_QVBoxLayout_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_receivers, "QVBoxLayout.receivers(signal) -> int");

extern "C" {static PyObject *meth_QVBoxLayout_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QVBoxLayout, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 445434 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_receivers, doc_QVBoxLayout_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_timerEvent, "QVBoxLayout.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QVBoxLayout_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVBoxLayout, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_timerEvent, doc_QVBoxLayout_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_customEvent, "QVBoxLayout.customEvent(QEvent)");

extern "C" {static PyObject *meth_QVBoxLayout_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVBoxLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_customEvent, doc_QVBoxLayout_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_connectNotify, "QVBoxLayout.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QVBoxLayout_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVBoxLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_connectNotify, doc_QVBoxLayout_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_disconnectNotify, "QVBoxLayout.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QVBoxLayout_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVBoxLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_disconnectNotify, doc_QVBoxLayout_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_senderSignalIndex, "QVBoxLayout.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QVBoxLayout_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QVBoxLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_senderSignalIndex, doc_QVBoxLayout_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_isSignalConnected, "QVBoxLayout.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QVBoxLayout_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVBoxLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_isSignalConnected, doc_QVBoxLayout_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_widgetEvent, "QVBoxLayout.widgetEvent(QEvent)");

extern "C" {static PyObject *meth_QVBoxLayout_widgetEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_widgetEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QEvent* a0;
        sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVBoxLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtect_widgetEvent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_widgetEvent, doc_QVBoxLayout_widgetEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_childEvent, "QVBoxLayout.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QVBoxLayout_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QVBoxLayout, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_childEvent, doc_QVBoxLayout_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_addChildLayout, "QVBoxLayout.addChildLayout(QLayout)");

extern "C" {static PyObject *meth_QVBoxLayout_addChildLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_addChildLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QVBoxLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->sipProtect_addChildLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_addChildLayout, doc_QVBoxLayout_addChildLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_addChildWidget, "QVBoxLayout.addChildWidget(QWidget)");

extern "C" {static PyObject *meth_QVBoxLayout_addChildWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_addChildWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B@J8", &sipSelf, sipType_QVBoxLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipCpp->addChildWidget(a0);
        #else
        sipCpp->sipProtect_addChildWidget(a0);
        #endif
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows
            // addChildWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 445744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_addChildWidget, doc_QVBoxLayout_addChildWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QVBoxLayout_alignmentRect, "QVBoxLayout.alignmentRect(QRect) -> QRect");

extern "C" {static PyObject *meth_QVBoxLayout_alignmentRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QVBoxLayout_alignmentRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        const sipQVBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QVBoxLayout, &sipCpp, sipType_QRect, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_alignmentRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QVBoxLayout, sipName_alignmentRect, doc_QVBoxLayout_alignmentRect);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QVBoxLayout(void *, const sipTypeDef *);}
static void *cast_QVBoxLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QVBoxLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QBoxLayout)->ctd_cast((QBoxLayout *)(QVBoxLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QVBoxLayout(void *, int);}
static void release_QVBoxLayout(void *sipCppV,int)
{
    QVBoxLayout *sipCpp = reinterpret_cast<QVBoxLayout *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QVBoxLayout(sipSimpleWrapper *);}
static void dealloc_QVBoxLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQVBoxLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QVBoxLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QVBoxLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QVBoxLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQVBoxLayout *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQVBoxLayout();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQVBoxLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QVBoxLayout[] = {{32, 255, 1}};


static PyMethodDef methods_QVBoxLayout[] = {
    {SIP_MLNAME_CAST(sipName_addChildLayout), (PyCFunction)meth_QVBoxLayout_addChildLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addChildWidget), (PyCFunction)meth_QVBoxLayout_addChildWidget, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alignmentRect), (PyCFunction)meth_QVBoxLayout_alignmentRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QVBoxLayout_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QVBoxLayout_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QVBoxLayout_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QVBoxLayout_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QVBoxLayout_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QVBoxLayout_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QVBoxLayout_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QVBoxLayout_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QVBoxLayout_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widgetEvent), (PyCFunction)meth_QVBoxLayout_widgetEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QVBoxLayout, "\1QVBoxLayout()\n"
    "QVBoxLayout(QWidget)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QVBoxLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QVBoxLayout,
        {0}
    },
    {
        sipNameNr_QVBoxLayout,
        {0, 0, 1},
        13, methods_QVBoxLayout,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QVBoxLayout,
    -1,
    -1,
    supers_QVBoxLayout,
    0,
    init_type_QVBoxLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QVBoxLayout,
    0,
    0,
    0,
    release_QVBoxLayout,
    cast_QVBoxLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QVBoxLayout::staticMetaObject,
    0,
    0,
    0
};

#line 129 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 445942 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 445946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 445949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 445952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 445955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 445958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 445961 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 445964 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 445967 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 445970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 445973 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 445976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 445979 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 445982 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 445985 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 445988 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 445991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 445994 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 445997 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 446000 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 446003 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 446006 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 446009 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 446012 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 446015 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 446018 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 446021 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 446024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQHBoxLayout : public QHBoxLayout
{
public:
    sipQHBoxLayout();
    sipQHBoxLayout(QWidget*);
    virtual ~sipQHBoxLayout();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_widgetEvent(QEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtect_addChildLayout(QLayout*);
    void sipProtect_addChildWidget(QWidget*);
    QRect sipProtect_alignmentRect(const QRect&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSpacerItem* spacerItem();
    QWidget* widget();
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QSizePolicy::ControlTypes controlTypes() const;
    void childEvent(QChildEvent*);
    QLayout* layout();
    bool isEmpty() const;
    int indexOf(QWidget*) const;
    QRect geometry() const;
    void setGeometry(const QRect&);
    int count() const;
    QLayoutItem* takeAt(int);
    QLayoutItem* itemAt(int) const;
    void invalidate();
    Qt::Orientations expandingDirections() const;
    int minimumHeightForWidth(int) const;
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    QSize maximumSize() const;
    QSize minimumSize() const;
    QSize sizeHint() const;
    void addItem(QLayoutItem*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQHBoxLayout(const sipQHBoxLayout &);
    sipQHBoxLayout &operator = (const sipQHBoxLayout &);

    char sipPyMethods[27];
};

sipQHBoxLayout::sipQHBoxLayout(): QHBoxLayout(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQHBoxLayout::sipQHBoxLayout(QWidget*a0): QHBoxLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQHBoxLayout::~sipQHBoxLayout()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQHBoxLayout::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QHBoxLayout);
}

int sipQHBoxLayout::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QHBoxLayout::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QHBoxLayout,_c,_id,_a);

    return _id;
}

void *sipQHBoxLayout::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QHBoxLayout, _clname, &sipCpp) ? sipCpp : QHBoxLayout::qt_metacast(_clname));
}

QSpacerItem* sipQHBoxLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QHBoxLayout::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQHBoxLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QHBoxLayout::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHBoxLayout::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QHBoxLayout::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QHBoxLayout::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QHBoxLayout::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QHBoxLayout::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQHBoxLayout::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QHBoxLayout::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQHBoxLayout::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QHBoxLayout::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizePolicy::ControlTypes sipQHBoxLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QHBoxLayout::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHBoxLayout::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QHBoxLayout::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayout* sipQHBoxLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QHBoxLayout::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQHBoxLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return QHBoxLayout::isEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQHBoxLayout::indexOf(QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return QHBoxLayout::indexOf(a0);

    extern int sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_QtWidgets_96(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRect sipQHBoxLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return QHBoxLayout::geometry();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHBoxLayout::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QHBoxLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQHBoxLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return QHBoxLayout::count();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QLayoutItem* sipQHBoxLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return QHBoxLayout::takeAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_76(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQHBoxLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return QHBoxLayout::itemAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_77(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQHBoxLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QHBoxLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::Orientations sipQHBoxLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return QHBoxLayout::expandingDirections();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQHBoxLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QHBoxLayout::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQHBoxLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QHBoxLayout::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQHBoxLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QHBoxLayout::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQHBoxLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return QHBoxLayout::maximumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQHBoxLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return QHBoxLayout::minimumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQHBoxLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QHBoxLayout::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQHBoxLayout::addItem(QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
        QHBoxLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLayoutItem*);

    sipVH_QtWidgets_78(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQHBoxLayout::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQHBoxLayout::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQHBoxLayout::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQHBoxLayout::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQHBoxLayout::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQHBoxLayout::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQHBoxLayout::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQHBoxLayout::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQHBoxLayout::sipProtect_widgetEvent(QEvent*a0)
{
    QLayout::widgetEvent(a0);
}

void sipQHBoxLayout::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QLayout::childEvent(a0) : childEvent(a0));
}

void sipQHBoxLayout::sipProtect_addChildLayout(QLayout*a0)
{
    QLayout::addChildLayout(a0);
}

void sipQHBoxLayout::sipProtect_addChildWidget(QWidget*a0)
{
    QLayout::addChildWidget(a0);
}

QRect sipQHBoxLayout::sipProtect_alignmentRect(const QRect& a0) const
{
    return QLayout::alignmentRect(a0);
}


PyDoc_STRVAR(doc_QHBoxLayout_sender, "QHBoxLayout.sender() -> QObject");

extern "C" {static PyObject *meth_QHBoxLayout_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHBoxLayout, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 446671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_sender, doc_QHBoxLayout_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_receivers, "QHBoxLayout.receivers(signal) -> int");

extern "C" {static PyObject *meth_QHBoxLayout_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QHBoxLayout, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 446730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_receivers, doc_QHBoxLayout_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_timerEvent, "QHBoxLayout.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QHBoxLayout_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHBoxLayout, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_timerEvent, doc_QHBoxLayout_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_customEvent, "QHBoxLayout.customEvent(QEvent)");

extern "C" {static PyObject *meth_QHBoxLayout_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHBoxLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_customEvent, doc_QHBoxLayout_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_connectNotify, "QHBoxLayout.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QHBoxLayout_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHBoxLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_connectNotify, doc_QHBoxLayout_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_disconnectNotify, "QHBoxLayout.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QHBoxLayout_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHBoxLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_disconnectNotify, doc_QHBoxLayout_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_senderSignalIndex, "QHBoxLayout.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QHBoxLayout_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QHBoxLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_senderSignalIndex, doc_QHBoxLayout_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_isSignalConnected, "QHBoxLayout.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QHBoxLayout_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHBoxLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_isSignalConnected, doc_QHBoxLayout_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_widgetEvent, "QHBoxLayout.widgetEvent(QEvent)");

extern "C" {static PyObject *meth_QHBoxLayout_widgetEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_widgetEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QEvent* a0;
        sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHBoxLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtect_widgetEvent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_widgetEvent, doc_QHBoxLayout_widgetEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_childEvent, "QHBoxLayout.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QHBoxLayout_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QHBoxLayout, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_childEvent, doc_QHBoxLayout_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_addChildLayout, "QHBoxLayout.addChildLayout(QLayout)");

extern "C" {static PyObject *meth_QHBoxLayout_addChildLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_addChildLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QHBoxLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->sipProtect_addChildLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_addChildLayout, doc_QHBoxLayout_addChildLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_addChildWidget, "QHBoxLayout.addChildWidget(QWidget)");

extern "C" {static PyObject *meth_QHBoxLayout_addChildWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_addChildWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B@J8", &sipSelf, sipType_QHBoxLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipCpp->addChildWidget(a0);
        #else
        sipCpp->sipProtect_addChildWidget(a0);
        #endif
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows
            // addChildWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 447040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_addChildWidget, doc_QHBoxLayout_addChildWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QHBoxLayout_alignmentRect, "QHBoxLayout.alignmentRect(QRect) -> QRect");

extern "C" {static PyObject *meth_QHBoxLayout_alignmentRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QHBoxLayout_alignmentRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        const sipQHBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QHBoxLayout, &sipCpp, sipType_QRect, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_alignmentRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QHBoxLayout, sipName_alignmentRect, doc_QHBoxLayout_alignmentRect);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QHBoxLayout(void *, const sipTypeDef *);}
static void *cast_QHBoxLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QHBoxLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QBoxLayout)->ctd_cast((QBoxLayout *)(QHBoxLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QHBoxLayout(void *, int);}
static void release_QHBoxLayout(void *sipCppV,int)
{
    QHBoxLayout *sipCpp = reinterpret_cast<QHBoxLayout *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QHBoxLayout(sipSimpleWrapper *);}
static void dealloc_QHBoxLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQHBoxLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QHBoxLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QHBoxLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QHBoxLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQHBoxLayout *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQHBoxLayout();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQHBoxLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QHBoxLayout[] = {{32, 255, 1}};


static PyMethodDef methods_QHBoxLayout[] = {
    {SIP_MLNAME_CAST(sipName_addChildLayout), (PyCFunction)meth_QHBoxLayout_addChildLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addChildWidget), (PyCFunction)meth_QHBoxLayout_addChildWidget, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alignmentRect), (PyCFunction)meth_QHBoxLayout_alignmentRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QHBoxLayout_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QHBoxLayout_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QHBoxLayout_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QHBoxLayout_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QHBoxLayout_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QHBoxLayout_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QHBoxLayout_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QHBoxLayout_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QHBoxLayout_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widgetEvent), (PyCFunction)meth_QHBoxLayout_widgetEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QHBoxLayout, "\1QHBoxLayout()\n"
    "QHBoxLayout(QWidget)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QHBoxLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QHBoxLayout,
        {0}
    },
    {
        sipNameNr_QHBoxLayout,
        {0, 0, 1},
        13, methods_QHBoxLayout,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QHBoxLayout,
    -1,
    -1,
    supers_QHBoxLayout,
    0,
    init_type_QHBoxLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QHBoxLayout,
    0,
    0,
    0,
    release_QHBoxLayout,
    cast_QHBoxLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QHBoxLayout::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qboxlayout.sip"
#include <qboxlayout.h>
#line 447238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 447242 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 447245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 447248 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 447251 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 447254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 447257 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 447260 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 447263 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 447266 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 447269 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 447272 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 447275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 447278 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 447281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 447284 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 447287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 447290 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 447293 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 447296 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 447299 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 447302 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 447305 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 447308 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 447311 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 447314 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 447317 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQBoxLayout : public QBoxLayout
{
public:
    sipQBoxLayout(QBoxLayout::Direction,QWidget*);
    virtual ~sipQBoxLayout();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_widgetEvent(QEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtect_addChildLayout(QLayout*);
    void sipProtect_addChildWidget(QWidget*);
    QRect sipProtect_alignmentRect(const QRect&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSpacerItem* spacerItem();
    QWidget* widget();
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QSizePolicy::ControlTypes controlTypes() const;
    void childEvent(QChildEvent*);
    QLayout* layout();
    bool isEmpty() const;
    int indexOf(QWidget*) const;
    QRect geometry() const;
    void setGeometry(const QRect&);
    int count() const;
    QLayoutItem* takeAt(int);
    QLayoutItem* itemAt(int) const;
    void invalidate();
    Qt::Orientations expandingDirections() const;
    int minimumHeightForWidth(int) const;
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    QSize maximumSize() const;
    QSize minimumSize() const;
    QSize sizeHint() const;
    void addItem(QLayoutItem*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQBoxLayout(const sipQBoxLayout &);
    sipQBoxLayout &operator = (const sipQBoxLayout &);

    char sipPyMethods[27];
};

sipQBoxLayout::sipQBoxLayout(QBoxLayout::Direction a0,QWidget*a1): QBoxLayout(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQBoxLayout::~sipQBoxLayout()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQBoxLayout::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QBoxLayout);
}

int sipQBoxLayout::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QBoxLayout::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QBoxLayout,_c,_id,_a);

    return _id;
}

void *sipQBoxLayout::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QBoxLayout, _clname, &sipCpp) ? sipCpp : QBoxLayout::qt_metacast(_clname));
}

QSpacerItem* sipQBoxLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QBoxLayout::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQBoxLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QBoxLayout::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQBoxLayout::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QBoxLayout::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQBoxLayout::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QBoxLayout::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQBoxLayout::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QBoxLayout::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQBoxLayout::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QBoxLayout::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQBoxLayout::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QBoxLayout::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQBoxLayout::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QBoxLayout::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizePolicy::ControlTypes sipQBoxLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QBoxLayout::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQBoxLayout::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QBoxLayout::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayout* sipQBoxLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QBoxLayout::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQBoxLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return QBoxLayout::isEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQBoxLayout::indexOf(QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return QBoxLayout::indexOf(a0);

    extern int sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_QtWidgets_96(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRect sipQBoxLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return QBoxLayout::geometry();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQBoxLayout::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QBoxLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQBoxLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_count);

    if (!sipMeth)
        return QBoxLayout::count();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QLayoutItem* sipQBoxLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_takeAt);

    if (!sipMeth)
        return QBoxLayout::takeAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_76(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQBoxLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_itemAt);

    if (!sipMeth)
        return QBoxLayout::itemAt(a0);

    extern QLayoutItem* sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_77(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQBoxLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QBoxLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::Orientations sipQBoxLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return QBoxLayout::expandingDirections();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQBoxLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QBoxLayout::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQBoxLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QBoxLayout::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQBoxLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QBoxLayout::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQBoxLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return QBoxLayout::maximumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQBoxLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return QBoxLayout::minimumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQBoxLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QBoxLayout::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQBoxLayout::addItem(QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_addItem);

    if (!sipMeth)
    {
        QBoxLayout::addItem(a0);
        return;
    }

    extern void sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLayoutItem*);

    sipVH_QtWidgets_78(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQBoxLayout::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQBoxLayout::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQBoxLayout::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQBoxLayout::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQBoxLayout::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQBoxLayout::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQBoxLayout::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQBoxLayout::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQBoxLayout::sipProtect_widgetEvent(QEvent*a0)
{
    QLayout::widgetEvent(a0);
}

void sipQBoxLayout::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QLayout::childEvent(a0) : childEvent(a0));
}

void sipQBoxLayout::sipProtect_addChildLayout(QLayout*a0)
{
    QLayout::addChildLayout(a0);
}

void sipQBoxLayout::sipProtect_addChildWidget(QWidget*a0)
{
    QLayout::addChildWidget(a0);
}

QRect sipQBoxLayout::sipProtect_alignmentRect(const QRect& a0) const
{
    return QLayout::alignmentRect(a0);
}


PyDoc_STRVAR(doc_QBoxLayout_sender, "QBoxLayout.sender() -> QObject");

extern "C" {static PyObject *meth_QBoxLayout_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 447958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_sender, doc_QBoxLayout_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_receivers, "QBoxLayout.receivers(signal) -> int");

extern "C" {static PyObject *meth_QBoxLayout_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 448017 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_receivers, doc_QBoxLayout_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_timerEvent, "QBoxLayout.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QBoxLayout_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_timerEvent, doc_QBoxLayout_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_customEvent, "QBoxLayout.customEvent(QEvent)");

extern "C" {static PyObject *meth_QBoxLayout_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_customEvent, doc_QBoxLayout_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_connectNotify, "QBoxLayout.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QBoxLayout_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_connectNotify, doc_QBoxLayout_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_disconnectNotify, "QBoxLayout.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QBoxLayout_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_disconnectNotify, doc_QBoxLayout_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_senderSignalIndex, "QBoxLayout.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QBoxLayout_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_senderSignalIndex, doc_QBoxLayout_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_isSignalConnected, "QBoxLayout.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QBoxLayout_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_isSignalConnected, doc_QBoxLayout_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_widgetEvent, "QBoxLayout.widgetEvent(QEvent)");

extern "C" {static PyObject *meth_QBoxLayout_widgetEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_widgetEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QEvent* a0;
        sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtect_widgetEvent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_widgetEvent, doc_QBoxLayout_widgetEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_childEvent, "QBoxLayout.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QBoxLayout_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_childEvent, doc_QBoxLayout_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_addChildLayout, "QBoxLayout.addChildLayout(QLayout)");

extern "C" {static PyObject *meth_QBoxLayout_addChildLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_addChildLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->sipProtect_addChildLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_addChildLayout, doc_QBoxLayout_addChildLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_addChildWidget, "QBoxLayout.addChildWidget(QWidget)");

extern "C" {static PyObject *meth_QBoxLayout_addChildWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_addChildWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B@J8", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipCpp->addChildWidget(a0);
        #else
        sipCpp->sipProtect_addChildWidget(a0);
        #endif
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows
            // addChildWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 448327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_addChildWidget, doc_QBoxLayout_addChildWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_alignmentRect, "QBoxLayout.alignmentRect(QRect) -> QRect");

extern "C" {static PyObject *meth_QBoxLayout_alignmentRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_alignmentRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        const sipQBoxLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QRect, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_alignmentRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_alignmentRect, doc_QBoxLayout_alignmentRect);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_direction, "QBoxLayout.direction() -> QBoxLayout.Direction");

extern "C" {static PyObject *meth_QBoxLayout_direction(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_direction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            QBoxLayout::Direction sipRes;

            sipRes = sipCpp->direction();

            return sipConvertFromEnum(sipRes,sipType_QBoxLayout_Direction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_direction, doc_QBoxLayout_direction);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_setDirection, "QBoxLayout.setDirection(QBoxLayout.Direction)");

extern "C" {static PyObject *meth_QBoxLayout_setDirection(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_setDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QBoxLayout::Direction a0;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QBoxLayout_Direction, &a0))
        {
            sipCpp->setDirection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_setDirection, doc_QBoxLayout_setDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_addSpacing, "QBoxLayout.addSpacing(int)");

extern "C" {static PyObject *meth_QBoxLayout_addSpacing(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_addSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            sipCpp->addSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_addSpacing, doc_QBoxLayout_addSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_addStretch, "QBoxLayout.addStretch(int stretch=0)");

extern "C" {static PyObject *meth_QBoxLayout_addStretch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_addStretch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 0;
        QBoxLayout *sipCpp;

        static const char *sipKwdList[] = {
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            sipCpp->addStretch(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_addStretch, doc_QBoxLayout_addStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_addWidget, "QBoxLayout.addWidget(QWidget, int stretch=0, Qt.Alignment alignment=0)");

extern "C" {static PyObject *meth_QBoxLayout_addWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_addWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        int a1 = 0;
        Qt::Alignment a2def = 0;
        Qt::Alignment* a2 = &a2def;
        int a2State = 0;
        QBoxLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_stretch,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B@J8|iJ1", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0, &a1, sipType_Qt_Alignment, &a2, &a2State))
        {
#line 48 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qboxlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->addWidget(a0, a1, *a2);
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows addWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 448526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a2,sipType_Qt_Alignment,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_addWidget, doc_QBoxLayout_addWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_addLayout, "QBoxLayout.addLayout(QLayout, int stretch=0)");

extern "C" {static PyObject *meth_QBoxLayout_addLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_addLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        int a1 = 0;
        QBoxLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ:|i", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QLayout, &a0, &a1))
        {
            sipCpp->addLayout(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_addLayout, doc_QBoxLayout_addLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_addStrut, "QBoxLayout.addStrut(int)");

extern "C" {static PyObject *meth_QBoxLayout_addStrut(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_addStrut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            sipCpp->addStrut(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_addStrut, doc_QBoxLayout_addStrut);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_addItem, "QBoxLayout.addItem(QLayoutItem)");

extern "C" {static PyObject *meth_QBoxLayout_addItem(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayoutItem* a0;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QLayoutItem, &a0))
        {
            (sipSelfWasArg ? sipCpp->QBoxLayout::addItem(a0) : sipCpp->addItem(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_addItem, doc_QBoxLayout_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_insertSpacing, "QBoxLayout.insertSpacing(int, int)");

extern "C" {static PyObject *meth_QBoxLayout_insertSpacing(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_insertSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->insertSpacing(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_insertSpacing, doc_QBoxLayout_insertSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_insertStretch, "QBoxLayout.insertStretch(int, int stretch=0)");

extern "C" {static PyObject *meth_QBoxLayout_insertStretch(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_insertStretch(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1 = 0;
        QBoxLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|i", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->insertStretch(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_insertStretch, doc_QBoxLayout_insertStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_insertWidget, "QBoxLayout.insertWidget(int, QWidget, int stretch=0, Qt.Alignment alignment=0)");

extern "C" {static PyObject *meth_QBoxLayout_insertWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_insertWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget* a1;
        PyObject *a1Wrapper;
        int a2 = 0;
        Qt::Alignment a3def = 0;
        Qt::Alignment* a3 = &a3def;
        int a3State = 0;
        QBoxLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_stretch,
            sipName_alignment,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi@J8|iJ1", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0, &a1Wrapper, sipType_QWidget, &a1, &a2, sipType_Qt_Alignment, &a3, &a3State))
        {
#line 77 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qboxlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->insertWidget(a0, a1, a2, *a3);
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a1Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows insertWidget(QWidget()).
            sipTransferTo(a1Wrapper, sipSelf);
        }
#line 448737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a3,sipType_Qt_Alignment,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_insertWidget, doc_QBoxLayout_insertWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_insertLayout, "QBoxLayout.insertLayout(int, QLayout, int stretch=0)");

extern "C" {static PyObject *meth_QBoxLayout_insertLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_insertLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QLayout* a1;
        int a2 = 0;
        QBoxLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_stretch,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BiJ:|i", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0, sipType_QLayout, &a1, &a2))
        {
            sipCpp->insertLayout(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_insertLayout, doc_QBoxLayout_insertLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_setStretchFactor, "QBoxLayout.setStretchFactor(QWidget, int) -> bool\n"
    "QBoxLayout.setStretchFactor(QLayout, int) -> bool");

extern "C" {static PyObject *meth_QBoxLayout_setStretchFactor(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_setStretchFactor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        int a1;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QWidget, &a0, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->setStretchFactor(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QLayout* a0;
        int a1;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8i", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QLayout, &a0, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->setStretchFactor(a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_setStretchFactor, doc_QBoxLayout_setStretchFactor);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_sizeHint, "QBoxLayout.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QBoxLayout_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QBoxLayout::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_sizeHint, doc_QBoxLayout_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_minimumSize, "QBoxLayout.minimumSize() -> QSize");

extern "C" {static PyObject *meth_QBoxLayout_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QBoxLayout::minimumSize() : sipCpp->minimumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_minimumSize, doc_QBoxLayout_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_maximumSize, "QBoxLayout.maximumSize() -> QSize");

extern "C" {static PyObject *meth_QBoxLayout_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_maximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QBoxLayout::maximumSize() : sipCpp->maximumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_maximumSize, doc_QBoxLayout_maximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_hasHeightForWidth, "QBoxLayout.hasHeightForWidth() -> bool");

extern "C" {static PyObject *meth_QBoxLayout_hasHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_hasHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QBoxLayout::hasHeightForWidth() : sipCpp->hasHeightForWidth());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_hasHeightForWidth, doc_QBoxLayout_hasHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_heightForWidth, "QBoxLayout.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QBoxLayout_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QBoxLayout::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_heightForWidth, doc_QBoxLayout_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_minimumHeightForWidth, "QBoxLayout.minimumHeightForWidth(int) -> int");

extern "C" {static PyObject *meth_QBoxLayout_minimumHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_minimumHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QBoxLayout::minimumHeightForWidth(a0) : sipCpp->minimumHeightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_minimumHeightForWidth, doc_QBoxLayout_minimumHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_expandingDirections, "QBoxLayout.expandingDirections() -> Qt.Orientations");

extern "C" {static PyObject *meth_QBoxLayout_expandingDirections(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_expandingDirections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            Qt::Orientations*sipRes;

            sipRes = new Qt::Orientations((sipSelfWasArg ? sipCpp->QBoxLayout::expandingDirections() : sipCpp->expandingDirections()));

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_expandingDirections, doc_QBoxLayout_expandingDirections);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_invalidate, "QBoxLayout.invalidate()");

extern "C" {static PyObject *meth_QBoxLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QBoxLayout::invalidate() : sipCpp->invalidate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_invalidate, doc_QBoxLayout_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_itemAt, "QBoxLayout.itemAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QBoxLayout_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QBoxLayout::itemAt(a0) : sipCpp->itemAt(a0));

            return sipConvertFromType(sipRes,sipType_QLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_itemAt, doc_QBoxLayout_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_takeAt, "QBoxLayout.takeAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QBoxLayout_takeAt(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_takeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QBoxLayout::takeAt(a0) : sipCpp->takeAt(a0));

            return sipConvertFromType(sipRes,sipType_QLayoutItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_takeAt, doc_QBoxLayout_takeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_count, "QBoxLayout.count() -> int");

extern "C" {static PyObject *meth_QBoxLayout_count(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QBoxLayout::count() : sipCpp->count());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_count, doc_QBoxLayout_count);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_setGeometry, "QBoxLayout.setGeometry(QRect)");

extern "C" {static PyObject *meth_QBoxLayout_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QRect, &a0))
        {
            (sipSelfWasArg ? sipCpp->QBoxLayout::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_setGeometry, doc_QBoxLayout_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_spacing, "QBoxLayout.spacing() -> int");

extern "C" {static PyObject *meth_QBoxLayout_spacing(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_spacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBoxLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->spacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_spacing, doc_QBoxLayout_spacing);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_setSpacing, "QBoxLayout.setSpacing(int)");

extern "C" {static PyObject *meth_QBoxLayout_setSpacing(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_setSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            sipCpp->setSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_setSpacing, doc_QBoxLayout_setSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_addSpacerItem, "QBoxLayout.addSpacerItem(QSpacerItem)");

extern "C" {static PyObject *meth_QBoxLayout_addSpacerItem(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_addSpacerItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSpacerItem* a0;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QBoxLayout, &sipCpp, sipType_QSpacerItem, &a0))
        {
            sipCpp->addSpacerItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_addSpacerItem, doc_QBoxLayout_addSpacerItem);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_insertSpacerItem, "QBoxLayout.insertSpacerItem(int, QSpacerItem)");

extern "C" {static PyObject *meth_QBoxLayout_insertSpacerItem(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_insertSpacerItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QSpacerItem* a1;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ:", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0, sipType_QSpacerItem, &a1))
        {
            sipCpp->insertSpacerItem(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_insertSpacerItem, doc_QBoxLayout_insertSpacerItem);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_setStretch, "QBoxLayout.setStretch(int, int)");

extern "C" {static PyObject *meth_QBoxLayout_setStretch(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_setStretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0, &a1))
        {
            sipCpp->setStretch(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_setStretch, doc_QBoxLayout_setStretch);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_stretch, "QBoxLayout.stretch(int) -> int");

extern "C" {static PyObject *meth_QBoxLayout_stretch(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_stretch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->stretch(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QBoxLayout, sipName_stretch, doc_QBoxLayout_stretch);

    return NULL;
}


PyDoc_STRVAR(doc_QBoxLayout_insertItem, "QBoxLayout.insertItem(int, QLayoutItem)");

extern "C" {static PyObject *meth_QBoxLayout_insertItem(PyObject *, PyObject *);}
static PyObject *meth_QBoxLayout_insertItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QLayoutItem* a1;
        sipWrapper *sipOwner = 0;
        QBoxLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJH", &sipSelf, sipType_QBoxLayout, &sipCpp, &a0, sipType_QLayoutItem, &a1, &sipOwner))
        {
            sipCpp->insertItem(a0,a1);

            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_QBoxLayout, sipName_insertItem, doc_QBoxLayout_insertItem);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QBoxLayout(void *, const sipTypeDef *);}
static void *cast_QBoxLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QBoxLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QLayout)->ctd_cast((QLayout *)(QBoxLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QBoxLayout(void *, int);}
static void release_QBoxLayout(void *sipCppV,int)
{
    QBoxLayout *sipCpp = reinterpret_cast<QBoxLayout *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QBoxLayout(sipSimpleWrapper *);}
static void dealloc_QBoxLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQBoxLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QBoxLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QBoxLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QBoxLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQBoxLayout *sipCpp = 0;

    {
        QBoxLayout::Direction a0;
        QWidget* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "E|JH", sipType_QBoxLayout_Direction, &a0, sipType_QWidget, &a1, sipOwner))
        {
            sipCpp = new sipQBoxLayout(a0,a1);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QBoxLayout[] = {{186, 255, 1}};


static PyMethodDef methods_QBoxLayout[] = {
    {SIP_MLNAME_CAST(sipName_addChildLayout), (PyCFunction)meth_QBoxLayout_addChildLayout, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addChildWidget), (PyCFunction)meth_QBoxLayout_addChildWidget, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addItem), meth_QBoxLayout_addItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_addItem)},
    {SIP_MLNAME_CAST(sipName_addLayout), (PyCFunction)meth_QBoxLayout_addLayout, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBoxLayout_addLayout)},
    {SIP_MLNAME_CAST(sipName_addSpacerItem), meth_QBoxLayout_addSpacerItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_addSpacerItem)},
    {SIP_MLNAME_CAST(sipName_addSpacing), meth_QBoxLayout_addSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_addSpacing)},
    {SIP_MLNAME_CAST(sipName_addStretch), (PyCFunction)meth_QBoxLayout_addStretch, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBoxLayout_addStretch)},
    {SIP_MLNAME_CAST(sipName_addStrut), meth_QBoxLayout_addStrut, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_addStrut)},
    {SIP_MLNAME_CAST(sipName_addWidget), (PyCFunction)meth_QBoxLayout_addWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBoxLayout_addWidget)},
    {SIP_MLNAME_CAST(sipName_alignmentRect), (PyCFunction)meth_QBoxLayout_alignmentRect, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QBoxLayout_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QBoxLayout_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_count), meth_QBoxLayout_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_count)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QBoxLayout_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_direction), meth_QBoxLayout_direction, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_direction)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QBoxLayout_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_expandingDirections), meth_QBoxLayout_expandingDirections, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_expandingDirections)},
    {SIP_MLNAME_CAST(sipName_hasHeightForWidth), meth_QBoxLayout_hasHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_hasHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QBoxLayout_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_insertItem), meth_QBoxLayout_insertItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_insertItem)},
    {SIP_MLNAME_CAST(sipName_insertLayout), (PyCFunction)meth_QBoxLayout_insertLayout, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBoxLayout_insertLayout)},
    {SIP_MLNAME_CAST(sipName_insertSpacerItem), meth_QBoxLayout_insertSpacerItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_insertSpacerItem)},
    {SIP_MLNAME_CAST(sipName_insertSpacing), meth_QBoxLayout_insertSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_insertSpacing)},
    {SIP_MLNAME_CAST(sipName_insertStretch), (PyCFunction)meth_QBoxLayout_insertStretch, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBoxLayout_insertStretch)},
    {SIP_MLNAME_CAST(sipName_insertWidget), (PyCFunction)meth_QBoxLayout_insertWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QBoxLayout_insertWidget)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QBoxLayout_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_invalidate)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QBoxLayout_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QBoxLayout_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_itemAt)},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_QBoxLayout_maximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_maximumSize)},
    {SIP_MLNAME_CAST(sipName_minimumHeightForWidth), meth_QBoxLayout_minimumHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_minimumHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QBoxLayout_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_minimumSize)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QBoxLayout_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QBoxLayout_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QBoxLayout_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDirection), meth_QBoxLayout_setDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_setDirection)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QBoxLayout_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_QBoxLayout_setSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_setSpacing)},
    {SIP_MLNAME_CAST(sipName_setStretch), meth_QBoxLayout_setStretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_setStretch)},
    {SIP_MLNAME_CAST(sipName_setStretchFactor), meth_QBoxLayout_setStretchFactor, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_setStretchFactor)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QBoxLayout_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_sizeHint)},
    {SIP_MLNAME_CAST(sipName_spacing), meth_QBoxLayout_spacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_spacing)},
    {SIP_MLNAME_CAST(sipName_stretch), meth_QBoxLayout_stretch, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_stretch)},
    {SIP_MLNAME_CAST(sipName_takeAt), meth_QBoxLayout_takeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QBoxLayout_takeAt)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QBoxLayout_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_widgetEvent), (PyCFunction)meth_QBoxLayout_widgetEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QBoxLayout[] = {
    {sipName_BottomToTop, static_cast<int>(QBoxLayout::BottomToTop), 33},
    {sipName_Down, static_cast<int>(QBoxLayout::Down), 33},
    {sipName_LeftToRight, static_cast<int>(QBoxLayout::LeftToRight), 33},
    {sipName_RightToLeft, static_cast<int>(QBoxLayout::RightToLeft), 33},
    {sipName_TopToBottom, static_cast<int>(QBoxLayout::TopToBottom), 33},
    {sipName_Up, static_cast<int>(QBoxLayout::Up), 33},
};

PyDoc_STRVAR(doc_QBoxLayout, "\1QBoxLayout(QBoxLayout.Direction, QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QBoxLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QBoxLayout,
        {0}
    },
    {
        sipNameNr_QBoxLayout,
        {0, 0, 1},
        45, methods_QBoxLayout,
        6, enummembers_QBoxLayout,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QBoxLayout,
    -1,
    -1,
    supers_QBoxLayout,
    0,
    init_type_QBoxLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QBoxLayout,
    0,
    0,
    0,
    release_QBoxLayout,
    cast_QBoxLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QBoxLayout::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 449561 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 449565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 449568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 449571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 449574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 449577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 449580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 449583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 449586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 449589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 449592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 449595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 449598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 449601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 449604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 449607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 449610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 449613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 449616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 449619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 449622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 449625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 449628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 449631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 449634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayoutitem.sip"
#include <qlayoutitem.h>
#line 449637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQLayout : public QLayout
{
public:
    sipQLayout(QWidget*);
    sipQLayout();
    virtual ~sipQLayout();

    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_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtect_widgetEvent(QEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtect_addChildLayout(QLayout*);
    void sipProtect_addChildWidget(QWidget*);
    QRect sipProtect_alignmentRect(const QRect&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QSpacerItem* spacerItem();
    QWidget* widget();
    int minimumHeightForWidth(int) const;
    int heightForWidth(int) const;
    bool hasHeightForWidth() const;
    QSize sizeHint() const;
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    QSizePolicy::ControlTypes controlTypes() const;
    void childEvent(QChildEvent*);
    QLayout* layout();
    bool isEmpty() const;
    int count() const;
    int indexOf(QWidget*) const;
    QLayoutItem* takeAt(int);
    QLayoutItem* itemAt(int) const;
    void setGeometry(const QRect&);
    QSize maximumSize() const;
    QSize minimumSize() const;
    Qt::Orientations expandingDirections() const;
    void addItem(QLayoutItem*);
    QRect geometry() const;
    void invalidate();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQLayout(const sipQLayout &);
    sipQLayout &operator = (const sipQLayout &);

    char sipPyMethods[27];
};

sipQLayout::sipQLayout(QWidget*a0): QLayout(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLayout::sipQLayout(): QLayout(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQLayout::~sipQLayout()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQLayout::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QLayout);
}

int sipQLayout::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QLayout::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QLayout,_c,_id,_a);

    return _id;
}

void *sipQLayout::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QLayout, _clname, &sipCpp) ? sipCpp : QLayout::qt_metacast(_clname));
}

QSpacerItem* sipQLayout::spacerItem()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_spacerItem);

    if (!sipMeth)
        return QLayout::spacerItem();

    extern QSpacerItem* sipVH_QtWidgets_94(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_94(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QWidget* sipQLayout::widget()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_widget);

    if (!sipMeth)
        return QLayout::widget();

    extern QWidget* sipVH_QtWidgets_79(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_79(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQLayout::minimumHeightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,NULL,sipName_minimumHeightForWidth);

    if (!sipMeth)
        return QLayout::minimumHeightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQLayout::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QLayout::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQLayout::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QLayout::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQLayout::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,sipName_QLayout,sipName_sizeHint);

    if (!sipMeth)
        return QSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQLayout::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QLayout::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLayout::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QLayout::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLayout::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QLayout::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLayout::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QLayout::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQLayout::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QLayout::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQLayout::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QLayout::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSizePolicy::ControlTypes sipQLayout::controlTypes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_controlTypes);

    if (!sipMeth)
        return QLayout::controlTypes();

    extern QSizePolicy::ControlTypes sipVH_QtWidgets_92(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_92(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQLayout::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QLayout::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayout* sipQLayout::layout()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_layout);

    if (!sipMeth)
        return QLayout::layout();

    extern QLayout* sipVH_QtWidgets_95(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_95(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQLayout::isEmpty() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_isEmpty);

    if (!sipMeth)
        return QLayout::isEmpty();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQLayout::count() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,sipName_QLayout,sipName_count);

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQLayout::indexOf(QWidget*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_indexOf);

    if (!sipMeth)
        return QLayout::indexOf(a0);

    extern int sipVH_QtWidgets_96(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    return sipVH_QtWidgets_96(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQLayout::takeAt(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,sipName_QLayout,sipName_takeAt);

    if (!sipMeth)
        return 0;

    extern QLayoutItem* sipVH_QtWidgets_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_76(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QLayoutItem* sipQLayout::itemAt(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,sipName_QLayout,sipName_itemAt);

    if (!sipMeth)
        return 0;

    extern QLayoutItem* sipVH_QtWidgets_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_QtWidgets_77(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQLayout::setGeometry(const QRect& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setGeometry);

    if (!sipMeth)
    {
        QLayout::setGeometry(a0);
        return;
    }

    typedef void (*sipVH_QtGui_44)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&);

    ((sipVH_QtGui_44)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[44]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQLayout::maximumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_maximumSize);

    if (!sipMeth)
        return QLayout::maximumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQLayout::minimumSize() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_minimumSize);

    if (!sipMeth)
        return QLayout::minimumSize();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

Qt::Orientations sipQLayout::expandingDirections() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_expandingDirections);

    if (!sipMeth)
        return QLayout::expandingDirections();

    extern Qt::Orientations sipVH_QtWidgets_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_93(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQLayout::addItem(QLayoutItem*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,sipName_QLayout,sipName_addItem);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_78(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QLayoutItem*);

    sipVH_QtWidgets_78(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QRect sipQLayout::geometry() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_geometry);

    if (!sipMeth)
        return QLayout::geometry();

    typedef QRect (*sipVH_QtGui_53)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_53)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[53]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQLayout::invalidate()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_invalidate);

    if (!sipMeth)
    {
        QLayout::invalidate();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQLayout::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQLayout::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQLayout::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQLayout::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQLayout::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQLayout::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQLayout::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQLayout::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQLayout::sipProtect_widgetEvent(QEvent*a0)
{
    QLayout::widgetEvent(a0);
}

void sipQLayout::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QLayout::childEvent(a0) : childEvent(a0));
}

void sipQLayout::sipProtect_addChildLayout(QLayout*a0)
{
    QLayout::addChildLayout(a0);
}

void sipQLayout::sipProtect_addChildWidget(QWidget*a0)
{
    QLayout::addChildWidget(a0);
}

QRect sipQLayout::sipProtect_alignmentRect(const QRect& a0) const
{
    return QLayout::alignmentRect(a0);
}


PyDoc_STRVAR(doc_QLayout_sender, "QLayout.sender() -> QObject");

extern "C" {static PyObject *meth_QLayout_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 450281 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_sender, doc_QLayout_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_receivers, "QLayout.receivers(signal) -> int");

extern "C" {static PyObject *meth_QLayout_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QLayout, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 450340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_receivers, doc_QLayout_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_timerEvent, "QLayout.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QLayout_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLayout, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_timerEvent, doc_QLayout_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_customEvent, "QLayout.customEvent(QEvent)");

extern "C" {static PyObject *meth_QLayout_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_customEvent, doc_QLayout_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_connectNotify, "QLayout.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QLayout_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_connectNotify, doc_QLayout_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_disconnectNotify, "QLayout.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QLayout_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_disconnectNotify, doc_QLayout_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_senderSignalIndex, "QLayout.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QLayout_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_senderSignalIndex, doc_QLayout_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_isSignalConnected, "QLayout.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QLayout_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLayout, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_isSignalConnected, doc_QLayout_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_spacing, "QLayout.spacing() -> int");

extern "C" {static PyObject *meth_QLayout_spacing(PyObject *, PyObject *);}
static PyObject *meth_QLayout_spacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->spacing();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_spacing, doc_QLayout_spacing);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_setSpacing, "QLayout.setSpacing(int)");

extern "C" {static PyObject *meth_QLayout_setSpacing(PyObject *, PyObject *);}
static PyObject *meth_QLayout_setSpacing(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLayout, &sipCpp, &a0))
        {
            sipCpp->setSpacing(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_setSpacing, doc_QLayout_setSpacing);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_setAlignment, "QLayout.setAlignment(QWidget, Qt.Alignment) -> bool\n"
    "QLayout.setAlignment(QLayout, Qt.Alignment) -> bool\n"
    "QLayout.setAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QLayout_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QLayout_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        Qt::Alignment* a1;
        int a1State = 0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QLayout, &sipCpp, sipType_QWidget, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->setAlignment(a0,*a1);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        QLayout* a0;
        Qt::Alignment* a1;
        int a1State = 0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QLayout, &sipCpp, sipType_QLayout, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            bool sipRes;

            sipRes = sipCpp->setAlignment(a0,*a1);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QLayout, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_setAlignment, doc_QLayout_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_setSizeConstraint, "QLayout.setSizeConstraint(QLayout.SizeConstraint)");

extern "C" {static PyObject *meth_QLayout_setSizeConstraint(PyObject *, PyObject *);}
static PyObject *meth_QLayout_setSizeConstraint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout::SizeConstraint a0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QLayout, &sipCpp, sipType_QLayout_SizeConstraint, &a0))
        {
            sipCpp->setSizeConstraint(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_setSizeConstraint, doc_QLayout_setSizeConstraint);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_sizeConstraint, "QLayout.sizeConstraint() -> QLayout.SizeConstraint");

extern "C" {static PyObject *meth_QLayout_sizeConstraint(PyObject *, PyObject *);}
static PyObject *meth_QLayout_sizeConstraint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QLayout::SizeConstraint sipRes;

            sipRes = sipCpp->sizeConstraint();

            return sipConvertFromEnum(sipRes,sipType_QLayout_SizeConstraint);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_sizeConstraint, doc_QLayout_sizeConstraint);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_setMenuBar, "QLayout.setMenuBar(QWidget)");

extern "C" {static PyObject *meth_QLayout_setMenuBar(PyObject *, PyObject *);}
static PyObject *meth_QLayout_setMenuBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->setMenuBar(a0);
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (a0 && parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows setMenuBar(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 450736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_setMenuBar, doc_QLayout_setMenuBar);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_menuBar, "QLayout.menuBar() -> QWidget");

extern "C" {static PyObject *meth_QLayout_menuBar(PyObject *, PyObject *);}
static PyObject *meth_QLayout_menuBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->menuBar();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_menuBar, doc_QLayout_menuBar);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_parentWidget, "QLayout.parentWidget() -> QWidget");

extern "C" {static PyObject *meth_QLayout_parentWidget(PyObject *, PyObject *);}
static PyObject *meth_QLayout_parentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->parentWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_parentWidget, doc_QLayout_parentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_invalidate, "QLayout.invalidate()");

extern "C" {static PyObject *meth_QLayout_invalidate(PyObject *, PyObject *);}
static PyObject *meth_QLayout_invalidate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QLayout::invalidate() : sipCpp->invalidate());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_invalidate, doc_QLayout_invalidate);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_geometry, "QLayout.geometry() -> QRect");

extern "C" {static PyObject *meth_QLayout_geometry(PyObject *, PyObject *);}
static PyObject *meth_QLayout_geometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect((sipSelfWasArg ? sipCpp->QLayout::geometry() : sipCpp->geometry()));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_geometry, doc_QLayout_geometry);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_activate, "QLayout.activate() -> bool");

extern "C" {static PyObject *meth_QLayout_activate(PyObject *, PyObject *);}
static PyObject *meth_QLayout_activate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->activate();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_activate, doc_QLayout_activate);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_update, "QLayout.update()");

extern "C" {static PyObject *meth_QLayout_update(PyObject *, PyObject *);}
static PyObject *meth_QLayout_update(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            sipCpp->update();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_update, doc_QLayout_update);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_addWidget, "QLayout.addWidget(QWidget)");

extern "C" {static PyObject *meth_QLayout_addWidget(PyObject *, PyObject *);}
static PyObject *meth_QLayout_addWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 82 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->addWidget(a0);
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows addWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 450947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_addWidget, doc_QLayout_addWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_addItem, "QLayout.addItem(QLayoutItem)");

extern "C" {static PyObject *meth_QLayout_addItem(PyObject *, PyObject *);}
static PyObject *meth_QLayout_addItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QLayoutItem* a0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QLayout, &sipCpp, sipType_QLayoutItem, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayout, sipName_addItem);
                return NULL;
            }

            sipCpp->addItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_addItem, doc_QLayout_addItem);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_removeWidget, "QLayout.removeWidget(QWidget)");

extern "C" {static PyObject *meth_QLayout_removeWidget(PyObject *, PyObject *);}
static PyObject *meth_QLayout_removeWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QLayout, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->removeWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_removeWidget, doc_QLayout_removeWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_removeItem, "QLayout.removeItem(QLayoutItem)");

extern "C" {static PyObject *meth_QLayout_removeItem(PyObject *, PyObject *);}
static PyObject *meth_QLayout_removeItem(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLayoutItem* a0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QLayout, &sipCpp, sipType_QLayoutItem, &a0))
        {
            sipCpp->removeItem(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_removeItem, doc_QLayout_removeItem);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_expandingDirections, "QLayout.expandingDirections() -> Qt.Orientations");

extern "C" {static PyObject *meth_QLayout_expandingDirections(PyObject *, PyObject *);}
static PyObject *meth_QLayout_expandingDirections(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            Qt::Orientations*sipRes;

            sipRes = new Qt::Orientations((sipSelfWasArg ? sipCpp->QLayout::expandingDirections() : sipCpp->expandingDirections()));

            return sipConvertFromNewType(sipRes,sipType_Qt_Orientations,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_expandingDirections, doc_QLayout_expandingDirections);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_minimumSize, "QLayout.minimumSize() -> QSize");

extern "C" {static PyObject *meth_QLayout_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QLayout_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QLayout::minimumSize() : sipCpp->minimumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_minimumSize, doc_QLayout_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_maximumSize, "QLayout.maximumSize() -> QSize");

extern "C" {static PyObject *meth_QLayout_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_QLayout_maximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QLayout::maximumSize() : sipCpp->maximumSize()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_maximumSize, doc_QLayout_maximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_setGeometry, "QLayout.setGeometry(QRect)");

extern "C" {static PyObject *meth_QLayout_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QLayout_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QRect* a0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLayout, &sipCpp, sipType_QRect, &a0))
        {
            (sipSelfWasArg ? sipCpp->QLayout::setGeometry(*a0) : sipCpp->setGeometry(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_setGeometry, doc_QLayout_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_itemAt, "QLayout.itemAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QLayout_itemAt(PyObject *, PyObject *);}
static PyObject *meth_QLayout_itemAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayout, sipName_itemAt);
                return NULL;
            }

            sipRes = sipCpp->itemAt(a0);

            return sipConvertFromType(sipRes,sipType_QLayoutItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_itemAt, doc_QLayout_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_takeAt, "QLayout.takeAt(int) -> QLayoutItem");

extern "C" {static PyObject *meth_QLayout_takeAt(PyObject *, PyObject *);}
static PyObject *meth_QLayout_takeAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLayout, &sipCpp, &a0))
        {
            QLayoutItem*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayout, sipName_takeAt);
                return NULL;
            }

            sipRes = sipCpp->takeAt(a0);

            return sipConvertFromType(sipRes,sipType_QLayoutItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_takeAt, doc_QLayout_takeAt);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_indexOf, "QLayout.indexOf(QWidget) -> int");

extern "C" {static PyObject *meth_QLayout_indexOf(PyObject *, PyObject *);}
static PyObject *meth_QLayout_indexOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QLayout, &sipCpp, sipType_QWidget, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLayout::indexOf(a0) : sipCpp->indexOf(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_indexOf, doc_QLayout_indexOf);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_count, "QLayout.count() -> int");

extern "C" {static PyObject *meth_QLayout_count(PyObject *, PyObject *);}
static PyObject *meth_QLayout_count(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QLayout, sipName_count);
                return NULL;
            }

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_count, doc_QLayout_count);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_isEmpty, "QLayout.isEmpty() -> bool");

extern "C" {static PyObject *meth_QLayout_isEmpty(PyObject *, PyObject *);}
static PyObject *meth_QLayout_isEmpty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLayout::isEmpty() : sipCpp->isEmpty());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_isEmpty, doc_QLayout_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_totalHeightForWidth, "QLayout.totalHeightForWidth(int) -> int");

extern "C" {static PyObject *meth_QLayout_totalHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QLayout_totalHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QLayout, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = sipCpp->totalHeightForWidth(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_totalHeightForWidth, doc_QLayout_totalHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_totalMinimumSize, "QLayout.totalMinimumSize() -> QSize");

extern "C" {static PyObject *meth_QLayout_totalMinimumSize(PyObject *, PyObject *);}
static PyObject *meth_QLayout_totalMinimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->totalMinimumSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_totalMinimumSize, doc_QLayout_totalMinimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_totalMaximumSize, "QLayout.totalMaximumSize() -> QSize");

extern "C" {static PyObject *meth_QLayout_totalMaximumSize(PyObject *, PyObject *);}
static PyObject *meth_QLayout_totalMaximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->totalMaximumSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_totalMaximumSize, doc_QLayout_totalMaximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_totalSizeHint, "QLayout.totalSizeHint() -> QSize");

extern "C" {static PyObject *meth_QLayout_totalSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QLayout_totalSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->totalSizeHint());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_totalSizeHint, doc_QLayout_totalSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_layout, "QLayout.layout() -> QLayout");

extern "C" {static PyObject *meth_QLayout_layout(PyObject *, PyObject *);}
static PyObject *meth_QLayout_layout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QLayout*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QLayout::layout() : sipCpp->layout());

            return sipConvertFromType(sipRes,sipType_QLayout,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_layout, doc_QLayout_layout);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_setEnabled, "QLayout.setEnabled(bool)");

extern "C" {static PyObject *meth_QLayout_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_QLayout_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QLayout, &sipCpp, &a0))
        {
            sipCpp->setEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_setEnabled, doc_QLayout_setEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_isEnabled, "QLayout.isEnabled() -> bool");

extern "C" {static PyObject *meth_QLayout_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QLayout_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_isEnabled, doc_QLayout_isEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_closestAcceptableSize, "QLayout.closestAcceptableSize(QWidget, QSize) -> QSize");

extern "C" {static PyObject *meth_QLayout_closestAcceptableSize(PyObject *, PyObject *);}
static PyObject *meth_QLayout_closestAcceptableSize(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        const QSize* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J9", sipType_QWidget, &a0, sipType_QSize, &a1))
        {
            QSize*sipRes;

            sipRes = new QSize(QLayout::closestAcceptableSize(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_closestAcceptableSize, doc_QLayout_closestAcceptableSize);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_widgetEvent, "QLayout.widgetEvent(QEvent)");

extern "C" {static PyObject *meth_QLayout_widgetEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_widgetEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QEvent* a0;
        sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLayout, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtect_widgetEvent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_widgetEvent, doc_QLayout_widgetEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_childEvent, "QLayout.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QLayout_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QLayout, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_childEvent, doc_QLayout_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_addChildLayout, "QLayout.addChildLayout(QLayout)");

extern "C" {static PyObject *meth_QLayout_addChildLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_addChildLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QLayout, &sipCpp, sipType_QLayout, &a0))
        {
            sipCpp->sipProtect_addChildLayout(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_addChildLayout, doc_QLayout_addChildLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_addChildWidget, "QLayout.addChildWidget(QWidget)");

extern "C" {static PyObject *meth_QLayout_addChildWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_addChildWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Wrapper;
        sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B@J8", &sipSelf, sipType_QLayout, &sipCpp, &a0Wrapper, sipType_QWidget, &a0))
        {
#line 131 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
        Py_BEGIN_ALLOW_THREADS
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipCpp->addChildWidget(a0);
        #else
        sipCpp->sipProtect_addChildWidget(a0);
        #endif
        Py_END_ALLOW_THREADS
        
        // The layout's parent widget (if there is one) will now have ownership.
        QWidget *parent = sipCpp->parentWidget();
        
        if (parent)
        {
            PyObject *py_parent = sipGetPyObject(parent, sipType_QWidget);
        
            if (py_parent)
                sipTransferTo(a0Wrapper, py_parent);
        }
        else
        {
            // For now give the Python ownership to the layout.  This maintains
            // compatibility with previous versions and allows
            // addChildWidget(QWidget()).
            sipTransferTo(a0Wrapper, sipSelf);
        }
#line 451663 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_addChildWidget, doc_QLayout_addChildWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_alignmentRect, "QLayout.alignmentRect(QRect) -> QRect");

extern "C" {static PyObject *meth_QLayout_alignmentRect(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_alignmentRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        const sipQLayout *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QLayout, &sipCpp, sipType_QRect, &a0))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->sipProtect_alignmentRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_alignmentRect, doc_QLayout_alignmentRect);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_setContentsMargins, "QLayout.setContentsMargins(int, int, int, int)\n"
    "QLayout.setContentsMargins(QMargins)");

extern "C" {static PyObject *meth_QLayout_setContentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QLayout_setContentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QLayout, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setContentsMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QLayout, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->setContentsMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_setContentsMargins, doc_QLayout_setContentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_getContentsMargins, "QLayout.getContentsMargins() -> (int, int, int, int)");

extern "C" {static PyObject *meth_QLayout_getContentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QLayout_getContentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            sipCpp->getContentsMargins(&a0,&a1,&a2,&a3);

            return sipBuildResult(0,"(iiii)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_getContentsMargins, doc_QLayout_getContentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_contentsRect, "QLayout.contentsRect() -> QRect");

extern "C" {static PyObject *meth_QLayout_contentsRect(PyObject *, PyObject *);}
static PyObject *meth_QLayout_contentsRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->contentsRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_contentsRect, doc_QLayout_contentsRect);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_contentsMargins, "QLayout.contentsMargins() -> QMargins");

extern "C" {static PyObject *meth_QLayout_contentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QLayout_contentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QMargins*sipRes;

            sipRes = new QMargins(sipCpp->contentsMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_contentsMargins, doc_QLayout_contentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_controlTypes, "QLayout.controlTypes() -> QSizePolicy.ControlTypes");

extern "C" {static PyObject *meth_QLayout_controlTypes(PyObject *, PyObject *);}
static PyObject *meth_QLayout_controlTypes(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QLayout *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QLayout, &sipCpp))
        {
            QSizePolicy::ControlTypes*sipRes;

            sipRes = new QSizePolicy::ControlTypes((sipSelfWasArg ? sipCpp->QLayout::controlTypes() : sipCpp->controlTypes()));

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy_ControlTypes,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_controlTypes, doc_QLayout_controlTypes);

    return NULL;
}


PyDoc_STRVAR(doc_QLayout_replaceWidget, "QLayout.replaceWidget(QWidget, QWidget, Qt.FindChildOptions options=Qt.FindChildrenRecursively) -> QLayoutItem");

extern "C" {static PyObject *meth_QLayout_replaceWidget(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QLayout_replaceWidget(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QWidget* a1;
        Qt::FindChildOptions a2def = Qt::FindChildrenRecursively;
        Qt::FindChildOptions* a2 = &a2def;
        int a2State = 0;
        QLayout *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_options,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J:|J1", &sipSelf, sipType_QLayout, &sipCpp, sipType_QWidget, &a0, sipType_QWidget, &a1, sipType_Qt_FindChildOptions, &a2, &a2State))
        {
            QLayoutItem*sipRes;

            sipRes = sipCpp->replaceWidget(a0,a1,*a2);
            sipReleaseType(a2,sipType_Qt_FindChildOptions,a2State);

            return sipConvertFromType(sipRes,sipType_QLayoutItem,Py_None);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QLayout, sipName_replaceWidget, doc_QLayout_replaceWidget);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QLayout___len__(PyObject *);}
static SIP_SSIZE_T slot_QLayout___len__(PyObject *sipSelf)
{
    QLayout *sipCpp = reinterpret_cast<QLayout *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QLayout));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 451914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QLayout(void *, const sipTypeDef *);}
static void *cast_QLayout(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QLayout)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QLayout *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QLayoutItem)->ctd_cast((QLayoutItem *)(QLayout *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QLayout(void *, int);}
static void release_QLayout(void *sipCppV,int)
{
    QLayout *sipCpp = reinterpret_cast<QLayout *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QLayout(sipSimpleWrapper *);}
static void dealloc_QLayout(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQLayout *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QLayout(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QLayout(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QLayout(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQLayout *sipCpp = 0;

    {
        QWidget* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQLayout(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new sipQLayout();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QLayout[] = {{162, 0, 0}, {188, 255, 1}};


/* Define this type's Python slots. */
static sipPySlotDef slots_QLayout[] = {
    {(void *)slot_QLayout___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QLayout[] = {
    {SIP_MLNAME_CAST(sipName_activate), meth_QLayout_activate, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_activate)},
    {SIP_MLNAME_CAST(sipName_addChildLayout), (PyCFunction)meth_QLayout_addChildLayout, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLayout_addChildLayout)},
    {SIP_MLNAME_CAST(sipName_addChildWidget), (PyCFunction)meth_QLayout_addChildWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLayout_addChildWidget)},
    {SIP_MLNAME_CAST(sipName_addItem), meth_QLayout_addItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_addItem)},
    {SIP_MLNAME_CAST(sipName_addWidget), meth_QLayout_addWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_addWidget)},
    {SIP_MLNAME_CAST(sipName_alignmentRect), (PyCFunction)meth_QLayout_alignmentRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLayout_alignmentRect)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QLayout_childEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLayout_childEvent)},
    {SIP_MLNAME_CAST(sipName_closestAcceptableSize), meth_QLayout_closestAcceptableSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_closestAcceptableSize)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QLayout_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsMargins), meth_QLayout_contentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_contentsMargins)},
    {SIP_MLNAME_CAST(sipName_contentsRect), meth_QLayout_contentsRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_contentsRect)},
    {SIP_MLNAME_CAST(sipName_controlTypes), meth_QLayout_controlTypes, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_controlTypes)},
    {SIP_MLNAME_CAST(sipName_count), meth_QLayout_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_count)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QLayout_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QLayout_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_expandingDirections), meth_QLayout_expandingDirections, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_expandingDirections)},
    {SIP_MLNAME_CAST(sipName_geometry), meth_QLayout_geometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_geometry)},
    {SIP_MLNAME_CAST(sipName_getContentsMargins), meth_QLayout_getContentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_getContentsMargins)},
    {SIP_MLNAME_CAST(sipName_indexOf), meth_QLayout_indexOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_indexOf)},
    {SIP_MLNAME_CAST(sipName_invalidate), meth_QLayout_invalidate, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_invalidate)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QLayout_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_isEmpty)},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_QLayout_isEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_isEnabled)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QLayout_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QLayout_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_itemAt)},
    {SIP_MLNAME_CAST(sipName_layout), meth_QLayout_layout, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_layout)},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_QLayout_maximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_maximumSize)},
    {SIP_MLNAME_CAST(sipName_menuBar), meth_QLayout_menuBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_menuBar)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QLayout_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_minimumSize)},
    {SIP_MLNAME_CAST(sipName_parentWidget), meth_QLayout_parentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_parentWidget)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QLayout_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeItem), meth_QLayout_removeItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_removeItem)},
    {SIP_MLNAME_CAST(sipName_removeWidget), meth_QLayout_removeWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_removeWidget)},
    {SIP_MLNAME_CAST(sipName_replaceWidget), (PyCFunction)meth_QLayout_replaceWidget, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLayout_replaceWidget)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QLayout_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QLayout_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QLayout_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setContentsMargins), meth_QLayout_setContentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_setContentsMargins)},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_QLayout_setEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_setEnabled)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QLayout_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setMenuBar), meth_QLayout_setMenuBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_setMenuBar)},
    {SIP_MLNAME_CAST(sipName_setSizeConstraint), meth_QLayout_setSizeConstraint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_setSizeConstraint)},
    {SIP_MLNAME_CAST(sipName_setSpacing), meth_QLayout_setSpacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_setSpacing)},
    {SIP_MLNAME_CAST(sipName_sizeConstraint), meth_QLayout_sizeConstraint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_sizeConstraint)},
    {SIP_MLNAME_CAST(sipName_spacing), meth_QLayout_spacing, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_spacing)},
    {SIP_MLNAME_CAST(sipName_takeAt), meth_QLayout_takeAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_takeAt)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QLayout_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_totalHeightForWidth), meth_QLayout_totalHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_totalHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_totalMaximumSize), meth_QLayout_totalMaximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_totalMaximumSize)},
    {SIP_MLNAME_CAST(sipName_totalMinimumSize), meth_QLayout_totalMinimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_totalMinimumSize)},
    {SIP_MLNAME_CAST(sipName_totalSizeHint), meth_QLayout_totalSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_totalSizeHint)},
    {SIP_MLNAME_CAST(sipName_update), meth_QLayout_update, METH_VARARGS, SIP_MLDOC_CAST(doc_QLayout_update)},
    {SIP_MLNAME_CAST(sipName_widgetEvent), (PyCFunction)meth_QLayout_widgetEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QLayout_widgetEvent)}
};

static sipEnumMemberDef enummembers_QLayout[] = {
    {sipName_SetDefaultConstraint, static_cast<int>(QLayout::SetDefaultConstraint), 187},
    {sipName_SetFixedSize, static_cast<int>(QLayout::SetFixedSize), 187},
    {sipName_SetMaximumSize, static_cast<int>(QLayout::SetMaximumSize), 187},
    {sipName_SetMinAndMaxSize, static_cast<int>(QLayout::SetMinAndMaxSize), 187},
    {sipName_SetMinimumSize, static_cast<int>(QLayout::SetMinimumSize), 187},
    {sipName_SetNoConstraint, static_cast<int>(QLayout::SetNoConstraint), 187},
};

PyDoc_STRVAR(doc_QLayout, "\1QLayout(QWidget)\n"
    "QLayout()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QLayout = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QLayout,
        {0}
    },
    {
        sipNameNr_QLayout,
        {0, 0, 1},
        52, methods_QLayout,
        6, enummembers_QLayout,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QLayout,
    -1,
    -1,
    supers_QLayout,
    slots_QLayout,
    init_type_QLayout,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QLayout,
    0,
    0,
    0,
    release_QLayout,
    cast_QLayout,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QLayout::staticMetaObject,
    0,
    0,
    0
};

#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
#include <qapplication.h>
#line 452138 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 452142 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 452145 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 452148 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 452151 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 452157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 452160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qdesktopwidget.sip"
#include <qdesktopwidget.h>
#line 452163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 452166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 452169 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 452172 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 452175 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 452178 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 452181 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qscreen.sip"
#include <qscreen.h>
#line 452184 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 452187 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtGui/qsessionmanager.sip"
#include <qsessionmanager.h>
#line 452190 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452193 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452196 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qclipboard.sip"
#include <qclipboard.h>
#line 452199 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 452202 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 452205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 452208 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractnativeeventfilter.sip"
#include <qabstractnativeeventfilter.h>
#line 452211 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstracteventdispatcher.sip"
#include <qabstracteventdispatcher.h>
#line 452214 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qtranslator.sip"
#include <qtranslator.h>
#line 452217 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 34 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 452220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qeventloop.sip"
#include <qeventloop.h>
#line 452223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qcoreapplication.sip"
#include <qcoreapplication.h>
#line 452226 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 452229 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 452232 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 452235 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 452238 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 452241 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 452244 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 452247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 452250 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 452253 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 452256 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 452259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 452262 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQApplication : public QApplication
{
public:
    sipQApplication(int&,char**,int);
    virtual ~sipQApplication();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool notify(QObject*,QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQApplication(const sipQApplication &);
    sipQApplication &operator = (const sipQApplication &);

    char sipPyMethods[8];
};

sipQApplication::sipQApplication(int& a0,char**a1,int a2): QApplication(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQApplication::~sipQApplication()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQApplication::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QApplication);
}

int sipQApplication::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QApplication::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QApplication,_c,_id,_a);

    return _id;
}

void *sipQApplication::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QApplication, _clname, &sipCpp) ? sipCpp : QApplication::qt_metacast(_clname));
}

void sipQApplication::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QApplication::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQApplication::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QApplication::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQApplication::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QApplication::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQApplication::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QApplication::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQApplication::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QApplication::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQApplication::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QApplication::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQApplication::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QApplication::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQApplication::notify(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_notify);

    if (!sipMeth)
        return QApplication::notify(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QObject* sipQApplication::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQApplication::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQApplication::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQApplication::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQApplication::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQApplication::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQApplication::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQApplication::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQApplication::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQApplication::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QApplication::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QApplication_sender, "QApplication.sender() -> QObject");

extern "C" {static PyObject *meth_QApplication_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QApplication, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 452572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_sender, doc_QApplication_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_receivers, "QApplication.receivers(signal) -> int");

extern "C" {static PyObject *meth_QApplication_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QApplication, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 452631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_receivers, doc_QApplication_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_timerEvent, "QApplication.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QApplication_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QApplication, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_timerEvent, doc_QApplication_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_childEvent, "QApplication.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QApplication_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QApplication, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_childEvent, doc_QApplication_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_customEvent, "QApplication.customEvent(QEvent)");

extern "C" {static PyObject *meth_QApplication_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QApplication, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_customEvent, doc_QApplication_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_connectNotify, "QApplication.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QApplication_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QApplication, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_connectNotify, doc_QApplication_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_disconnectNotify, "QApplication.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QApplication_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QApplication, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_disconnectNotify, doc_QApplication_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_senderSignalIndex, "QApplication.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QApplication_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QApplication, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_senderSignalIndex, doc_QApplication_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_isSignalConnected, "QApplication.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QApplication_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QApplication, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_isSignalConnected, doc_QApplication_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_style, "QApplication.style() -> QStyle");

extern "C" {static PyObject *meth_QApplication_style(PyObject *, PyObject *);}
static PyObject *meth_QApplication_style(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QStyle*sipRes;

            sipRes = QApplication::style();

            return sipConvertFromType(sipRes,sipType_QStyle,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_style, doc_QApplication_style);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setStyle, "QApplication.setStyle(QStyle)\n"
    "QApplication.setStyle(str) -> QStyle");

extern "C" {static PyObject *meth_QApplication_setStyle(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setStyle(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J:", sipType_QStyle, &a0))
        {
            QApplication::setStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
            QStyle*sipRes;

            sipRes = QApplication::setStyle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QStyle,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setStyle, doc_QApplication_setStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_colorSpec, "QApplication.colorSpec() -> int");

extern "C" {static PyObject *meth_QApplication_colorSpec(PyObject *, PyObject *);}
static PyObject *meth_QApplication_colorSpec(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = QApplication::colorSpec();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_colorSpec, doc_QApplication_colorSpec);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setColorSpec, "QApplication.setColorSpec(int)");

extern "C" {static PyObject *meth_QApplication_setColorSpec(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setColorSpec(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QApplication::setColorSpec(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setColorSpec, doc_QApplication_setColorSpec);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_palette, "QApplication.palette() -> QPalette\n"
    "QApplication.palette(QWidget) -> QPalette\n"
    "QApplication.palette(str) -> QPalette");

extern "C" {static PyObject *meth_QApplication_palette(PyObject *, PyObject *);}
static PyObject *meth_QApplication_palette(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QPalette*sipRes;

            sipRes = new QPalette(QApplication::palette());

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    {
        const QWidget* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QWidget, &a0))
        {
            QPalette*sipRes;

            sipRes = new QPalette(QApplication::palette(a0));

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    {
        const char* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "s", &a0))
        {
            QPalette*sipRes;

            sipRes = new QPalette(QApplication::palette(a0));

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_palette, doc_QApplication_palette);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setPalette, "QApplication.setPalette(QPalette, str className=None)");

extern "C" {static PyObject *meth_QApplication_setPalette(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_setPalette(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QPalette* a0;
        const char* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_className,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9|s", sipType_QPalette, &a0, &a1))
        {
            QApplication::setPalette(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setPalette, doc_QApplication_setPalette);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_font, "QApplication.font() -> QFont\n"
    "QApplication.font(QWidget) -> QFont\n"
    "QApplication.font(str) -> QFont");

extern "C" {static PyObject *meth_QApplication_font(PyObject *, PyObject *);}
static PyObject *meth_QApplication_font(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QFont*sipRes;

            sipRes = new QFont(QApplication::font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    {
        const QWidget* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QWidget, &a0))
        {
            QFont*sipRes;

            sipRes = new QFont(QApplication::font(a0));

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    {
        const char* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "s", &a0))
        {
            QFont*sipRes;

            sipRes = new QFont(QApplication::font(a0));

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_font, doc_QApplication_font);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setFont, "QApplication.setFont(QFont, str className=None)");

extern "C" {static PyObject *meth_QApplication_setFont(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_setFont(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        const char* a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_className,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9|s", sipType_QFont, &a0, &a1))
        {
            QApplication::setFont(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setFont, doc_QApplication_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_fontMetrics, "QApplication.fontMetrics() -> QFontMetrics");

extern "C" {static PyObject *meth_QApplication_fontMetrics(PyObject *, PyObject *);}
static PyObject *meth_QApplication_fontMetrics(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QFontMetrics*sipRes;

            sipRes = new QFontMetrics(QApplication::fontMetrics());

            return sipConvertFromNewType(sipRes,sipType_QFontMetrics,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_fontMetrics, doc_QApplication_fontMetrics);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setWindowIcon, "QApplication.setWindowIcon(QIcon)");

extern "C" {static PyObject *meth_QApplication_setWindowIcon(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setWindowIcon(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QIcon, &a0))
        {
            QApplication::setWindowIcon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setWindowIcon, doc_QApplication_setWindowIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_windowIcon, "QApplication.windowIcon() -> QIcon");

extern "C" {static PyObject *meth_QApplication_windowIcon(PyObject *, PyObject *);}
static PyObject *meth_QApplication_windowIcon(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QIcon*sipRes;

            sipRes = new QIcon(QApplication::windowIcon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_windowIcon, doc_QApplication_windowIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_allWidgets, "QApplication.allWidgets() -> list-of-QWidget");

extern "C" {static PyObject *meth_QApplication_allWidgets(PyObject *, PyObject *);}
static PyObject *meth_QApplication_allWidgets(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWidgetList*sipRes;

            sipRes = new QWidgetList(QApplication::allWidgets());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_allWidgets, doc_QApplication_allWidgets);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_topLevelWidgets, "QApplication.topLevelWidgets() -> list-of-QWidget");

extern "C" {static PyObject *meth_QApplication_topLevelWidgets(PyObject *, PyObject *);}
static PyObject *meth_QApplication_topLevelWidgets(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWidgetList*sipRes;

            sipRes = new QWidgetList(QApplication::topLevelWidgets());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_topLevelWidgets, doc_QApplication_topLevelWidgets);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_desktop, "QApplication.desktop() -> QDesktopWidget");

extern "C" {static PyObject *meth_QApplication_desktop(PyObject *, PyObject *);}
static PyObject *meth_QApplication_desktop(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QDesktopWidget*sipRes;

            sipRes = QApplication::desktop();

            return sipConvertFromType(sipRes,sipType_QDesktopWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_desktop, doc_QApplication_desktop);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_activePopupWidget, "QApplication.activePopupWidget() -> QWidget");

extern "C" {static PyObject *meth_QApplication_activePopupWidget(PyObject *, PyObject *);}
static PyObject *meth_QApplication_activePopupWidget(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWidget*sipRes;

            sipRes = QApplication::activePopupWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_activePopupWidget, doc_QApplication_activePopupWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_activeModalWidget, "QApplication.activeModalWidget() -> QWidget");

extern "C" {static PyObject *meth_QApplication_activeModalWidget(PyObject *, PyObject *);}
static PyObject *meth_QApplication_activeModalWidget(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWidget*sipRes;

            sipRes = QApplication::activeModalWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_activeModalWidget, doc_QApplication_activeModalWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_focusWidget, "QApplication.focusWidget() -> QWidget");

extern "C" {static PyObject *meth_QApplication_focusWidget(PyObject *, PyObject *);}
static PyObject *meth_QApplication_focusWidget(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWidget*sipRes;

            sipRes = QApplication::focusWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_focusWidget, doc_QApplication_focusWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_activeWindow, "QApplication.activeWindow() -> QWidget");

extern "C" {static PyObject *meth_QApplication_activeWindow(PyObject *, PyObject *);}
static PyObject *meth_QApplication_activeWindow(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWidget*sipRes;

            sipRes = QApplication::activeWindow();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_activeWindow, doc_QApplication_activeWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setActiveWindow, "QApplication.setActiveWindow(QWidget)");

extern "C" {static PyObject *meth_QApplication_setActiveWindow(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setActiveWindow(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8", sipType_QWidget, &a0))
        {
            QApplication::setActiveWindow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setActiveWindow, doc_QApplication_setActiveWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_widgetAt, "QApplication.widgetAt(QPoint) -> QWidget\n"
    "QApplication.widgetAt(int, int) -> QWidget");

extern "C" {static PyObject *meth_QApplication_widgetAt(PyObject *, PyObject *);}
static PyObject *meth_QApplication_widgetAt(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QPoint, &a0))
        {
            QWidget*sipRes;

            sipRes = QApplication::widgetAt(*a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    {
        int a0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "ii", &a0, &a1))
        {
            QWidget*sipRes;

            sipRes = QApplication::widgetAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_widgetAt, doc_QApplication_widgetAt);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_topLevelAt, "QApplication.topLevelAt(QPoint) -> QWidget\n"
    "QApplication.topLevelAt(int, int) -> QWidget");

extern "C" {static PyObject *meth_QApplication_topLevelAt(PyObject *, PyObject *);}
static PyObject *meth_QApplication_topLevelAt(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QPoint, &a0))
        {
            QWidget*sipRes;

            sipRes = QApplication::topLevelAt(*a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    {
        int a0;
        int a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "ii", &a0, &a1))
        {
            QWidget*sipRes;

            sipRes = QApplication::topLevelAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_topLevelAt, doc_QApplication_topLevelAt);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_beep, "QApplication.beep()");

extern "C" {static PyObject *meth_QApplication_beep(PyObject *, PyObject *);}
static PyObject *meth_QApplication_beep(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QApplication::beep();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_beep, doc_QApplication_beep);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_alert, "QApplication.alert(QWidget, int msecs=0)");

extern "C" {static PyObject *meth_QApplication_alert(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_alert(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        int a1 = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J8|i", sipType_QWidget, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            QApplication::alert(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_QApplication, sipName_alert, doc_QApplication_alert);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setCursorFlashTime, "QApplication.setCursorFlashTime(int)");

extern "C" {static PyObject *meth_QApplication_setCursorFlashTime(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setCursorFlashTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QApplication::setCursorFlashTime(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setCursorFlashTime, doc_QApplication_setCursorFlashTime);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_cursorFlashTime, "QApplication.cursorFlashTime() -> int");

extern "C" {static PyObject *meth_QApplication_cursorFlashTime(PyObject *, PyObject *);}
static PyObject *meth_QApplication_cursorFlashTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = QApplication::cursorFlashTime();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_cursorFlashTime, doc_QApplication_cursorFlashTime);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setDoubleClickInterval, "QApplication.setDoubleClickInterval(int)");

extern "C" {static PyObject *meth_QApplication_setDoubleClickInterval(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setDoubleClickInterval(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QApplication::setDoubleClickInterval(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setDoubleClickInterval, doc_QApplication_setDoubleClickInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_doubleClickInterval, "QApplication.doubleClickInterval() -> int");

extern "C" {static PyObject *meth_QApplication_doubleClickInterval(PyObject *, PyObject *);}
static PyObject *meth_QApplication_doubleClickInterval(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = QApplication::doubleClickInterval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_doubleClickInterval, doc_QApplication_doubleClickInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setKeyboardInputInterval, "QApplication.setKeyboardInputInterval(int)");

extern "C" {static PyObject *meth_QApplication_setKeyboardInputInterval(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setKeyboardInputInterval(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QApplication::setKeyboardInputInterval(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setKeyboardInputInterval, doc_QApplication_setKeyboardInputInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_keyboardInputInterval, "QApplication.keyboardInputInterval() -> int");

extern "C" {static PyObject *meth_QApplication_keyboardInputInterval(PyObject *, PyObject *);}
static PyObject *meth_QApplication_keyboardInputInterval(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = QApplication::keyboardInputInterval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_keyboardInputInterval, doc_QApplication_keyboardInputInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setWheelScrollLines, "QApplication.setWheelScrollLines(int)");

extern "C" {static PyObject *meth_QApplication_setWheelScrollLines(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setWheelScrollLines(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QApplication::setWheelScrollLines(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setWheelScrollLines, doc_QApplication_setWheelScrollLines);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_wheelScrollLines, "QApplication.wheelScrollLines() -> int");

extern "C" {static PyObject *meth_QApplication_wheelScrollLines(PyObject *, PyObject *);}
static PyObject *meth_QApplication_wheelScrollLines(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = QApplication::wheelScrollLines();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_wheelScrollLines, doc_QApplication_wheelScrollLines);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setGlobalStrut, "QApplication.setGlobalStrut(QSize)");

extern "C" {static PyObject *meth_QApplication_setGlobalStrut(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setGlobalStrut(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QSize, &a0))
        {
            QApplication::setGlobalStrut(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setGlobalStrut, doc_QApplication_setGlobalStrut);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_globalStrut, "QApplication.globalStrut() -> QSize");

extern "C" {static PyObject *meth_QApplication_globalStrut(PyObject *, PyObject *);}
static PyObject *meth_QApplication_globalStrut(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QSize*sipRes;

            sipRes = new QSize(QApplication::globalStrut());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_globalStrut, doc_QApplication_globalStrut);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setStartDragTime, "QApplication.setStartDragTime(int)");

extern "C" {static PyObject *meth_QApplication_setStartDragTime(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setStartDragTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QApplication::setStartDragTime(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setStartDragTime, doc_QApplication_setStartDragTime);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_startDragTime, "QApplication.startDragTime() -> int");

extern "C" {static PyObject *meth_QApplication_startDragTime(PyObject *, PyObject *);}
static PyObject *meth_QApplication_startDragTime(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = QApplication::startDragTime();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_startDragTime, doc_QApplication_startDragTime);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setStartDragDistance, "QApplication.setStartDragDistance(int)");

extern "C" {static PyObject *meth_QApplication_setStartDragDistance(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setStartDragDistance(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
            QApplication::setStartDragDistance(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setStartDragDistance, doc_QApplication_setStartDragDistance);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_startDragDistance, "QApplication.startDragDistance() -> int");

extern "C" {static PyObject *meth_QApplication_startDragDistance(PyObject *, PyObject *);}
static PyObject *meth_QApplication_startDragDistance(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = QApplication::startDragDistance();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_startDragDistance, doc_QApplication_startDragDistance);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_isEffectEnabled, "QApplication.isEffectEnabled(Qt.UIEffect) -> bool");

extern "C" {static PyObject *meth_QApplication_isEffectEnabled(PyObject *, PyObject *);}
static PyObject *meth_QApplication_isEffectEnabled(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::UIEffect a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_Qt_UIEffect, &a0))
        {
            bool sipRes;

            sipRes = QApplication::isEffectEnabled(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_isEffectEnabled, doc_QApplication_isEffectEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setEffectEnabled, "QApplication.setEffectEnabled(Qt.UIEffect, bool enabled=True)");

extern "C" {static PyObject *meth_QApplication_setEffectEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_setEffectEnabled(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::UIEffect a0;
        bool a1 = 1;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "E|b", sipType_Qt_UIEffect, &a0, &a1))
        {
            QApplication::setEffectEnabled(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setEffectEnabled, doc_QApplication_setEffectEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_exec_, "QApplication.exec_() -> int");

extern "C" {static PyObject *meth_QApplication_exec_(PyObject *, PyObject *);}
static PyObject *meth_QApplication_exec_(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipCallHook("__pyQtPreEventLoopHook__");

            Py_BEGIN_ALLOW_THREADS
            sipRes = QApplication::exec();
            Py_END_ALLOW_THREADS


            sipCallHook("__pyQtPostEventLoopHook__");
            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_exec_, doc_QApplication_exec_);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_notify, "QApplication.notify(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QApplication_notify(PyObject *, PyObject *);}
static PyObject *meth_QApplication_notify(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        QApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QApplication, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QApplication::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_QApplication, sipName_notify, doc_QApplication_notify);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_autoSipEnabled, "QApplication.autoSipEnabled() -> bool");

extern "C" {static PyObject *meth_QApplication_autoSipEnabled(PyObject *, PyObject *);}
static PyObject *meth_QApplication_autoSipEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QApplication, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoSipEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_autoSipEnabled, doc_QApplication_autoSipEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_styleSheet, "QApplication.styleSheet() -> str");

extern "C" {static PyObject *meth_QApplication_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_QApplication_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QApplication, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->styleSheet());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_styleSheet, doc_QApplication_styleSheet);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_aboutQt, "QApplication.aboutQt()");

extern "C" {static PyObject *meth_QApplication_aboutQt(PyObject *, PyObject *);}
static PyObject *meth_QApplication_aboutQt(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QApplication::aboutQt();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_aboutQt, doc_QApplication_aboutQt);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_closeAllWindows, "QApplication.closeAllWindows()");

extern "C" {static PyObject *meth_QApplication_closeAllWindows(PyObject *, PyObject *);}
static PyObject *meth_QApplication_closeAllWindows(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QApplication::closeAllWindows();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_closeAllWindows, doc_QApplication_closeAllWindows);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setAutoSipEnabled, "QApplication.setAutoSipEnabled(bool)");

extern "C" {static PyObject *meth_QApplication_setAutoSipEnabled(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setAutoSipEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QApplication, &sipCpp, &a0))
        {
            sipCpp->setAutoSipEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setAutoSipEnabled, doc_QApplication_setAutoSipEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_setStyleSheet, "QApplication.setStyleSheet(str)");

extern "C" {static PyObject *meth_QApplication_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_QApplication_setStyleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QApplication *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QApplication, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setStyleSheet(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_setStyleSheet, doc_QApplication_setStyleSheet);

    return NULL;
}


PyDoc_STRVAR(doc_QApplication_event, "QApplication.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QApplication_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QApplication_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQApplication *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QApplication, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QApplication, sipName_event, doc_QApplication_event);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QApplication(void *, const sipTypeDef *);}
static void *cast_QApplication(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QApplication)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QGuiApplication)->ctd_cast((QGuiApplication *)(QApplication *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QApplication(void *, int);}
static void release_QApplication(void *sipCppV,int)
{
    QApplication *sipCpp = reinterpret_cast<QApplication *>(sipCppV);

#line 230 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
        // Make sure all top level widgets are not owned by Python and so won't be
        // destroyed by the garbage collector after QApplication is destroyed.
        QWidgetList tlw = QApplication::topLevelWidgets();
        
        for (int i = 0; i < tlw.count(); ++i)
        {
            PyObject *sw = sipGetPyObject(tlw.at(i), sipType_QWidget);
        
            if (sw)
                sipTransferTo(sw, 0);
        }
#line 454254 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QApplication(sipSimpleWrapper *);}
static void dealloc_QApplication(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQApplication *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QApplication(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QApplication(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QApplication(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQApplication *sipCpp = 0;

    {
        PyObject * a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "T", &PyList_Type, &a0))
        {
            int sipIsErr = 0;

#line 205 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qapplication.sip"
        // The Python interface is a list of argument strings that is modified.
        
        int argc;
        char **argv;
        
        // Convert the list.
        if ((argv = pyqt5_qtwidgets_from_argv_list(a0, argc)) == NULL)
            sipIsErr = 1;
        else
        {
            // Create it now the arguments are right.
            static int nargc;
            nargc = argc;
        
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQApplication(nargc, argv, QCoreApplication::ApplicationFlags);
            Py_END_ALLOW_THREADS
        
            // Now modify the original list.
            pyqt5_qtwidgets_update_argv_list(a0, argc, argv);
        }
#line 454310 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.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_QApplication[] = {{53, 1, 1}};


static PyMethodDef methods_QApplication[] = {
    {SIP_MLNAME_CAST(sipName_aboutQt), meth_QApplication_aboutQt, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_aboutQt)},
    {SIP_MLNAME_CAST(sipName_activeModalWidget), meth_QApplication_activeModalWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_activeModalWidget)},
    {SIP_MLNAME_CAST(sipName_activePopupWidget), meth_QApplication_activePopupWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_activePopupWidget)},
    {SIP_MLNAME_CAST(sipName_activeWindow), meth_QApplication_activeWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_activeWindow)},
    {SIP_MLNAME_CAST(sipName_alert), (PyCFunction)meth_QApplication_alert, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QApplication_alert)},
    {SIP_MLNAME_CAST(sipName_allWidgets), meth_QApplication_allWidgets, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_allWidgets)},
    {SIP_MLNAME_CAST(sipName_autoSipEnabled), meth_QApplication_autoSipEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_autoSipEnabled)},
    {SIP_MLNAME_CAST(sipName_beep), meth_QApplication_beep, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_beep)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QApplication_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeAllWindows), meth_QApplication_closeAllWindows, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_closeAllWindows)},
    {SIP_MLNAME_CAST(sipName_colorSpec), meth_QApplication_colorSpec, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_colorSpec)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QApplication_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_cursorFlashTime), meth_QApplication_cursorFlashTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_cursorFlashTime)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QApplication_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_desktop), meth_QApplication_desktop, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_desktop)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QApplication_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_doubleClickInterval), meth_QApplication_doubleClickInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_doubleClickInterval)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QApplication_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QApplication_event)},
    {SIP_MLNAME_CAST(sipName_exec_), meth_QApplication_exec_, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_exec_)},
    {SIP_MLNAME_CAST(sipName_focusWidget), meth_QApplication_focusWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_focusWidget)},
    {SIP_MLNAME_CAST(sipName_font), meth_QApplication_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_font)},
    {SIP_MLNAME_CAST(sipName_fontMetrics), meth_QApplication_fontMetrics, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_fontMetrics)},
    {SIP_MLNAME_CAST(sipName_globalStrut), meth_QApplication_globalStrut, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_globalStrut)},
    {SIP_MLNAME_CAST(sipName_isEffectEnabled), meth_QApplication_isEffectEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_isEffectEnabled)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QApplication_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyboardInputInterval), meth_QApplication_keyboardInputInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_keyboardInputInterval)},
    {SIP_MLNAME_CAST(sipName_notify), meth_QApplication_notify, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_notify)},
    {SIP_MLNAME_CAST(sipName_palette), meth_QApplication_palette, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_palette)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QApplication_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QApplication_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QApplication_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setActiveWindow), meth_QApplication_setActiveWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setActiveWindow)},
    {SIP_MLNAME_CAST(sipName_setAutoSipEnabled), meth_QApplication_setAutoSipEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setAutoSipEnabled)},
    {SIP_MLNAME_CAST(sipName_setColorSpec), meth_QApplication_setColorSpec, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setColorSpec)},
    {SIP_MLNAME_CAST(sipName_setCursorFlashTime), meth_QApplication_setCursorFlashTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setCursorFlashTime)},
    {SIP_MLNAME_CAST(sipName_setDoubleClickInterval), meth_QApplication_setDoubleClickInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setDoubleClickInterval)},
    {SIP_MLNAME_CAST(sipName_setEffectEnabled), (PyCFunction)meth_QApplication_setEffectEnabled, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QApplication_setEffectEnabled)},
    {SIP_MLNAME_CAST(sipName_setFont), (PyCFunction)meth_QApplication_setFont, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QApplication_setFont)},
    {SIP_MLNAME_CAST(sipName_setGlobalStrut), meth_QApplication_setGlobalStrut, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setGlobalStrut)},
    {SIP_MLNAME_CAST(sipName_setKeyboardInputInterval), meth_QApplication_setKeyboardInputInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setKeyboardInputInterval)},
    {SIP_MLNAME_CAST(sipName_setPalette), (PyCFunction)meth_QApplication_setPalette, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QApplication_setPalette)},
    {SIP_MLNAME_CAST(sipName_setStartDragDistance), meth_QApplication_setStartDragDistance, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setStartDragDistance)},
    {SIP_MLNAME_CAST(sipName_setStartDragTime), meth_QApplication_setStartDragTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setStartDragTime)},
    {SIP_MLNAME_CAST(sipName_setStyle), meth_QApplication_setStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setStyle)},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_QApplication_setStyleSheet, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setStyleSheet)},
    {SIP_MLNAME_CAST(sipName_setWheelScrollLines), meth_QApplication_setWheelScrollLines, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setWheelScrollLines)},
    {SIP_MLNAME_CAST(sipName_setWindowIcon), meth_QApplication_setWindowIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_setWindowIcon)},
    {SIP_MLNAME_CAST(sipName_startDragDistance), meth_QApplication_startDragDistance, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_startDragDistance)},
    {SIP_MLNAME_CAST(sipName_startDragTime), meth_QApplication_startDragTime, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_startDragTime)},
    {SIP_MLNAME_CAST(sipName_style), meth_QApplication_style, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_style)},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_QApplication_styleSheet, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_styleSheet)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QApplication_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_topLevelAt), meth_QApplication_topLevelAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_topLevelAt)},
    {SIP_MLNAME_CAST(sipName_topLevelWidgets), meth_QApplication_topLevelWidgets, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_topLevelWidgets)},
    {SIP_MLNAME_CAST(sipName_wheelScrollLines), meth_QApplication_wheelScrollLines, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_wheelScrollLines)},
    {SIP_MLNAME_CAST(sipName_widgetAt), meth_QApplication_widgetAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_widgetAt)},
    {SIP_MLNAME_CAST(sipName_windowIcon), meth_QApplication_windowIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QApplication_windowIcon)}
};

static sipEnumMemberDef enummembers_QApplication[] = {
    {sipName_CustomColor, static_cast<int>(QApplication::CustomColor), 31},
    {sipName_ManyColor, static_cast<int>(QApplication::ManyColor), 31},
    {sipName_NormalColor, static_cast<int>(QApplication::NormalColor), 31},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QApplication[] = {
    {"focusChanged(QWidget*,QWidget*)", "\1QApplication.focusChanged[QWidget, QWidget]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QApplication, "\1QApplication(list-of-str)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QApplication = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QApplication,
        {0}
    },
    {
        sipNameNr_QApplication,
        {0, 0, 1},
        57, methods_QApplication,
        3, enummembers_QApplication,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QApplication,
    -1,
    -1,
    supers_QApplication,
    0,
    init_type_QApplication,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QApplication,
    0,
    0,
    0,
    release_QApplication,
    cast_QApplication,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QApplication::staticMetaObject,
    0,
    signals_QApplication,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qactiongroup.sip"
#include <qactiongroup.h>
#line 454472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 454476 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 454479 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 454482 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 454485 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 454488 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 454491 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 454494 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 454497 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 454500 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 454503 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 454506 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 454509 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 454512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 454515 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 454518 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 454521 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 454524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 454527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 454530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQActionGroup : public QActionGroup
{
public:
    sipQActionGroup(QObject*);
    virtual ~sipQActionGroup();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQActionGroup(const sipQActionGroup &);
    sipQActionGroup &operator = (const sipQActionGroup &);

    char sipPyMethods[7];
};

sipQActionGroup::sipQActionGroup(QObject*a0): QActionGroup(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQActionGroup::~sipQActionGroup()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQActionGroup::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QActionGroup);
}

int sipQActionGroup::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QActionGroup::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QActionGroup,_c,_id,_a);

    return _id;
}

void *sipQActionGroup::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QActionGroup, _clname, &sipCpp) ? sipCpp : QActionGroup::qt_metacast(_clname));
}

void sipQActionGroup::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QActionGroup::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQActionGroup::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QActionGroup::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQActionGroup::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QActionGroup::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQActionGroup::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QActionGroup::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQActionGroup::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QActionGroup::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQActionGroup::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QActionGroup::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQActionGroup::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QActionGroup::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQActionGroup::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQActionGroup::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQActionGroup::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQActionGroup::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQActionGroup::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQActionGroup::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQActionGroup::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQActionGroup::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQActionGroup::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QActionGroup_sender, "QActionGroup.sender() -> QObject");

extern "C" {static PyObject *meth_QActionGroup_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQActionGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QActionGroup, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 454818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_sender, doc_QActionGroup_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_receivers, "QActionGroup.receivers(signal) -> int");

extern "C" {static PyObject *meth_QActionGroup_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQActionGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QActionGroup, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 454877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_receivers, doc_QActionGroup_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_timerEvent, "QActionGroup.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QActionGroup_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQActionGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_timerEvent, doc_QActionGroup_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_childEvent, "QActionGroup.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QActionGroup_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQActionGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_childEvent, doc_QActionGroup_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_customEvent, "QActionGroup.customEvent(QEvent)");

extern "C" {static PyObject *meth_QActionGroup_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQActionGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_customEvent, doc_QActionGroup_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_connectNotify, "QActionGroup.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QActionGroup_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQActionGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_connectNotify, doc_QActionGroup_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_disconnectNotify, "QActionGroup.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QActionGroup_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQActionGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_disconnectNotify, doc_QActionGroup_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_senderSignalIndex, "QActionGroup.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QActionGroup_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQActionGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QActionGroup, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_senderSignalIndex, doc_QActionGroup_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_isSignalConnected, "QActionGroup.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QActionGroup_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQActionGroup *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_isSignalConnected, doc_QActionGroup_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_addAction, "QActionGroup.addAction(QAction) -> QAction\n"
    "QActionGroup.addAction(str) -> QAction\n"
    "QActionGroup.addAction(QIcon, str) -> QAction");

extern "C" {static PyObject *meth_QActionGroup_addAction(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QAction, &a0))
        {
            QAction*sipRes;

            sipRes = sipCpp->addAction(a0);

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QAction*sipRes;

            sipRes = sipCpp->addAction(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J1", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QIcon, &a0, sipType_QString,&a1, &a1State))
        {
            QAction*sipRes;

            sipRes = sipCpp->addAction(*a0,*a1);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromType(sipRes,sipType_QAction,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_addAction, doc_QActionGroup_addAction);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_removeAction, "QActionGroup.removeAction(QAction)");

extern "C" {static PyObject *meth_QActionGroup_removeAction(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_removeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ<", &sipSelf, sipType_QActionGroup, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->removeAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_removeAction, doc_QActionGroup_removeAction);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_actions, "QActionGroup.actions() -> list-of-QAction");

extern "C" {static PyObject *meth_QActionGroup_actions(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_actions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QActionGroup, &sipCpp))
        {
            QList<QAction*>*sipRes;

            sipRes = new QList<QAction*>(sipCpp->actions());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_actions, doc_QActionGroup_actions);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_checkedAction, "QActionGroup.checkedAction() -> QAction");

extern "C" {static PyObject *meth_QActionGroup_checkedAction(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_checkedAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QActionGroup, &sipCpp))
        {
            QAction*sipRes;

            sipRes = sipCpp->checkedAction();

            return sipConvertFromType(sipRes,sipType_QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_checkedAction, doc_QActionGroup_checkedAction);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_isExclusive, "QActionGroup.isExclusive() -> bool");

extern "C" {static PyObject *meth_QActionGroup_isExclusive(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_isExclusive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QActionGroup, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isExclusive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_isExclusive, doc_QActionGroup_isExclusive);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_isEnabled, "QActionGroup.isEnabled() -> bool");

extern "C" {static PyObject *meth_QActionGroup_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QActionGroup, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_isEnabled, doc_QActionGroup_isEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_isVisible, "QActionGroup.isVisible() -> bool");

extern "C" {static PyObject *meth_QActionGroup_isVisible(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_isVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QActionGroup, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_isVisible, doc_QActionGroup_isVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_setEnabled, "QActionGroup.setEnabled(bool)");

extern "C" {static PyObject *meth_QActionGroup_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QActionGroup, &sipCpp, &a0))
        {
            sipCpp->setEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_setEnabled, doc_QActionGroup_setEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_setDisabled, "QActionGroup.setDisabled(bool)");

extern "C" {static PyObject *meth_QActionGroup_setDisabled(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_setDisabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QActionGroup, &sipCpp, &a0))
        {
            sipCpp->setDisabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_setDisabled, doc_QActionGroup_setDisabled);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_setVisible, "QActionGroup.setVisible(bool)");

extern "C" {static PyObject *meth_QActionGroup_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QActionGroup, &sipCpp, &a0))
        {
            sipCpp->setVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_setVisible, doc_QActionGroup_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QActionGroup_setExclusive, "QActionGroup.setExclusive(bool)");

extern "C" {static PyObject *meth_QActionGroup_setExclusive(PyObject *, PyObject *);}
static PyObject *meth_QActionGroup_setExclusive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QActionGroup *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QActionGroup, &sipCpp, &a0))
        {
            sipCpp->setExclusive(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QActionGroup, sipName_setExclusive, doc_QActionGroup_setExclusive);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QActionGroup(void *, const sipTypeDef *);}
static void *cast_QActionGroup(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QActionGroup)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QActionGroup *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QActionGroup(void *, int);}
static void release_QActionGroup(void *sipCppV,int)
{
    QActionGroup *sipCpp = reinterpret_cast<QActionGroup *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QActionGroup(sipSimpleWrapper *);}
static void dealloc_QActionGroup(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQActionGroup *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QActionGroup(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QActionGroup(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QActionGroup(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQActionGroup *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQActionGroup(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QActionGroup[] = {{162, 0, 1}};


static PyMethodDef methods_QActionGroup[] = {
    {SIP_MLNAME_CAST(sipName_actions), meth_QActionGroup_actions, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_actions)},
    {SIP_MLNAME_CAST(sipName_addAction), meth_QActionGroup_addAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_addAction)},
    {SIP_MLNAME_CAST(sipName_checkedAction), meth_QActionGroup_checkedAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_checkedAction)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QActionGroup_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QActionGroup_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QActionGroup_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QActionGroup_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_QActionGroup_isEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_isEnabled)},
    {SIP_MLNAME_CAST(sipName_isExclusive), meth_QActionGroup_isExclusive, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_isExclusive)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QActionGroup_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isVisible), meth_QActionGroup_isVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_isVisible)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QActionGroup_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_QActionGroup_removeAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_removeAction)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QActionGroup_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QActionGroup_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_QActionGroup_setDisabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_setDisabled)},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_QActionGroup_setEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_setEnabled)},
    {SIP_MLNAME_CAST(sipName_setExclusive), meth_QActionGroup_setExclusive, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_setExclusive)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QActionGroup_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QActionGroup_setVisible)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QActionGroup_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QActionGroup[] = {
    {"hovered(QAction*)", "\1QActionGroup.hovered[QAction]", 0, 0},
    {"triggered(QAction*)", "\1QActionGroup.triggered[QAction]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QActionGroup, "\1QActionGroup(QObject)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QActionGroup = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QActionGroup,
        {0}
    },
    {
        sipNameNr_QActionGroup,
        {0, 0, 1},
        20, methods_QActionGroup,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QActionGroup,
    -1,
    -1,
    supers_QActionGroup,
    0,
    init_type_QActionGroup,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QActionGroup,
    0,
    0,
    0,
    release_QActionGroup,
    cast_QActionGroup,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QActionGroup::staticMetaObject,
    0,
    signals_QActionGroup,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 455585 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 455589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 455592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 455595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 455598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicswidget.sip"
#include <qgraphicswidget.h>
#line 455601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 455604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 455607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 455610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 455613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 455616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 455619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 455622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 455625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qmenu.sip"
#include <qmenu.h>
#line 455628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qactiongroup.sip"
#include <qactiongroup.h>
#line 455631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 455634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 455637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 455640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 455643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 455646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 455649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 455652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 455655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 455658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 455661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 455664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQAction : public QAction
{
public:
    sipQAction(QObject*);
    sipQAction(const QString&,QObject*);
    sipQAction(const QIcon&,const QString&,QObject*);
    virtual ~sipQAction();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAction(const sipQAction &);
    sipQAction &operator = (const sipQAction &);

    char sipPyMethods[7];
};

sipQAction::sipQAction(QObject*a0): QAction(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAction::sipQAction(const QString& a0,QObject*a1): QAction(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAction::sipQAction(const QIcon& a0,const QString& a1,QObject*a2): QAction(a0,a1,a2), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAction::~sipQAction()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAction::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAction);
}

int sipQAction::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QAction::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QAction,_c,_id,_a);

    return _id;
}

void *sipQAction::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QAction, _clname, &sipCpp) ? sipCpp : QAction::qt_metacast(_clname));
}

void sipQAction::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAction::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAction::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAction::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAction::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAction::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAction::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAction::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAction::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAction::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAction::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAction::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAction::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAction::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQAction::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQAction::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQAction::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAction::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQAction::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQAction::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAction::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAction::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQAction::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQAction::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAction::event(a0) : event(a0));
}


PyDoc_STRVAR(doc_QAction_sender, "QAction.sender() -> QObject");

extern "C" {static PyObject *meth_QAction_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 455970 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_sender, doc_QAction_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_receivers, "QAction.receivers(signal) -> int");

extern "C" {static PyObject *meth_QAction_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAction, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 456029 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_receivers, doc_QAction_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_timerEvent, "QAction.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QAction_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAction, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_timerEvent, doc_QAction_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_childEvent, "QAction.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QAction_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAction, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_childEvent, doc_QAction_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_customEvent, "QAction.customEvent(QEvent)");

extern "C" {static PyObject *meth_QAction_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAction, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_customEvent, doc_QAction_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_connectNotify, "QAction.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAction_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAction, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_connectNotify, doc_QAction_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_disconnectNotify, "QAction.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAction_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAction, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_disconnectNotify, doc_QAction_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_senderSignalIndex, "QAction.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QAction_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_senderSignalIndex, doc_QAction_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_isSignalConnected, "QAction.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAction_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAction, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_isSignalConnected, doc_QAction_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setActionGroup, "QAction.setActionGroup(QActionGroup)");

extern "C" {static PyObject *meth_QAction_setActionGroup(PyObject *, PyObject *);}
static PyObject *meth_QAction_setActionGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QActionGroup* a0;
        PyObject *a0Keep;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QAction, &sipCpp, &a0Keep, sipType_QActionGroup, &a0))
        {
            sipCpp->setActionGroup(a0);

            sipKeepReference(sipSelf, -7, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setActionGroup, doc_QAction_setActionGroup);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_actionGroup, "QAction.actionGroup() -> QActionGroup");

extern "C" {static PyObject *meth_QAction_actionGroup(PyObject *, PyObject *);}
static PyObject *meth_QAction_actionGroup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QActionGroup*sipRes;

            sipRes = sipCpp->actionGroup();

            return sipConvertFromType(sipRes,sipType_QActionGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_actionGroup, doc_QAction_actionGroup);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setIcon, "QAction.setIcon(QIcon)");

extern "C" {static PyObject *meth_QAction_setIcon(PyObject *, PyObject *);}
static PyObject *meth_QAction_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAction, &sipCpp, sipType_QIcon, &a0))
        {
            sipCpp->setIcon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setIcon, doc_QAction_setIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_icon, "QAction.icon() -> QIcon");

extern "C" {static PyObject *meth_QAction_icon(PyObject *, PyObject *);}
static PyObject *meth_QAction_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->icon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_icon, doc_QAction_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setText, "QAction.setText(str)");

extern "C" {static PyObject *meth_QAction_setText(PyObject *, PyObject *);}
static PyObject *meth_QAction_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setText, doc_QAction_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_text, "QAction.text() -> str");

extern "C" {static PyObject *meth_QAction_text(PyObject *, PyObject *);}
static PyObject *meth_QAction_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_text, doc_QAction_text);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setIconText, "QAction.setIconText(str)");

extern "C" {static PyObject *meth_QAction_setIconText(PyObject *, PyObject *);}
static PyObject *meth_QAction_setIconText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setIconText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setIconText, doc_QAction_setIconText);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_iconText, "QAction.iconText() -> str");

extern "C" {static PyObject *meth_QAction_iconText(PyObject *, PyObject *);}
static PyObject *meth_QAction_iconText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->iconText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_iconText, doc_QAction_iconText);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setToolTip, "QAction.setToolTip(str)");

extern "C" {static PyObject *meth_QAction_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_QAction_setToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setToolTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setToolTip, doc_QAction_setToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_toolTip, "QAction.toolTip() -> str");

extern "C" {static PyObject *meth_QAction_toolTip(PyObject *, PyObject *);}
static PyObject *meth_QAction_toolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toolTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_toolTip, doc_QAction_toolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setStatusTip, "QAction.setStatusTip(str)");

extern "C" {static PyObject *meth_QAction_setStatusTip(PyObject *, PyObject *);}
static PyObject *meth_QAction_setStatusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setStatusTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setStatusTip, doc_QAction_setStatusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_statusTip, "QAction.statusTip() -> str");

extern "C" {static PyObject *meth_QAction_statusTip(PyObject *, PyObject *);}
static PyObject *meth_QAction_statusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->statusTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_statusTip, doc_QAction_statusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setWhatsThis, "QAction.setWhatsThis(str)");

extern "C" {static PyObject *meth_QAction_setWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QAction_setWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWhatsThis(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setWhatsThis, doc_QAction_setWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_whatsThis, "QAction.whatsThis() -> str");

extern "C" {static PyObject *meth_QAction_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_QAction_whatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->whatsThis());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_whatsThis, doc_QAction_whatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_menu, "QAction.menu() -> QMenu");

extern "C" {static PyObject *meth_QAction_menu(PyObject *, PyObject *);}
static PyObject *meth_QAction_menu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QMenu*sipRes;

            sipRes = sipCpp->menu();

            return sipConvertFromType(sipRes,sipType_QMenu,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_menu, doc_QAction_menu);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setMenu, "QAction.setMenu(QMenu)");

extern "C" {static PyObject *meth_QAction_setMenu(PyObject *, PyObject *);}
static PyObject *meth_QAction_setMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QMenu* a0;
        PyObject *a0Keep;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QAction, &sipCpp, &a0Keep, sipType_QMenu, &a0))
        {
            sipCpp->setMenu(a0);

            sipKeepReference(sipSelf, -8, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setMenu, doc_QAction_setMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setSeparator, "QAction.setSeparator(bool)");

extern "C" {static PyObject *meth_QAction_setSeparator(PyObject *, PyObject *);}
static PyObject *meth_QAction_setSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAction, &sipCpp, &a0))
        {
            sipCpp->setSeparator(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setSeparator, doc_QAction_setSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_isSeparator, "QAction.isSeparator() -> bool");

extern "C" {static PyObject *meth_QAction_isSeparator(PyObject *, PyObject *);}
static PyObject *meth_QAction_isSeparator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSeparator();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_isSeparator, doc_QAction_isSeparator);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setShortcut, "QAction.setShortcut(QKeySequence)");

extern "C" {static PyObject *meth_QAction_setShortcut(PyObject *, PyObject *);}
static PyObject *meth_QAction_setShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAction, &sipCpp, sipType_QKeySequence, &a0, &a0State))
        {
            sipCpp->setShortcut(*a0);
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setShortcut, doc_QAction_setShortcut);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_shortcut, "QAction.shortcut() -> QKeySequence");

extern "C" {static PyObject *meth_QAction_shortcut(PyObject *, PyObject *);}
static PyObject *meth_QAction_shortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QKeySequence*sipRes;

            sipRes = new QKeySequence(sipCpp->shortcut());

            return sipConvertFromNewType(sipRes,sipType_QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_shortcut, doc_QAction_shortcut);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setShortcutContext, "QAction.setShortcutContext(Qt.ShortcutContext)");

extern "C" {static PyObject *meth_QAction_setShortcutContext(PyObject *, PyObject *);}
static PyObject *meth_QAction_setShortcutContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ShortcutContext a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAction, &sipCpp, sipType_Qt_ShortcutContext, &a0))
        {
            sipCpp->setShortcutContext(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setShortcutContext, doc_QAction_setShortcutContext);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_shortcutContext, "QAction.shortcutContext() -> Qt.ShortcutContext");

extern "C" {static PyObject *meth_QAction_shortcutContext(PyObject *, PyObject *);}
static PyObject *meth_QAction_shortcutContext(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            Qt::ShortcutContext sipRes;

            sipRes = sipCpp->shortcutContext();

            return sipConvertFromEnum(sipRes,sipType_Qt_ShortcutContext);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_shortcutContext, doc_QAction_shortcutContext);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setFont, "QAction.setFont(QFont)");

extern "C" {static PyObject *meth_QAction_setFont(PyObject *, PyObject *);}
static PyObject *meth_QAction_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAction, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setFont, doc_QAction_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_font, "QAction.font() -> QFont");

extern "C" {static PyObject *meth_QAction_font(PyObject *, PyObject *);}
static PyObject *meth_QAction_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_font, doc_QAction_font);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setCheckable, "QAction.setCheckable(bool)");

extern "C" {static PyObject *meth_QAction_setCheckable(PyObject *, PyObject *);}
static PyObject *meth_QAction_setCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAction, &sipCpp, &a0))
        {
            sipCpp->setCheckable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setCheckable, doc_QAction_setCheckable);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_isCheckable, "QAction.isCheckable() -> bool");

extern "C" {static PyObject *meth_QAction_isCheckable(PyObject *, PyObject *);}
static PyObject *meth_QAction_isCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isCheckable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_isCheckable, doc_QAction_isCheckable);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_data, "QAction.data() -> QVariant");

extern "C" {static PyObject *meth_QAction_data(PyObject *, PyObject *);}
static PyObject *meth_QAction_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QVariant*sipRes;

            sipRes = new QVariant(sipCpp->data());

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_data, doc_QAction_data);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setData, "QAction.setData(QVariant)");

extern "C" {static PyObject *meth_QAction_setData(PyObject *, PyObject *);}
static PyObject *meth_QAction_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QVariant* a0;
        int a0State = 0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAction, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
            sipCpp->setData(*a0);
            sipReleaseType(const_cast<QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setData, doc_QAction_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_isChecked, "QAction.isChecked() -> bool");

extern "C" {static PyObject *meth_QAction_isChecked(PyObject *, PyObject *);}
static PyObject *meth_QAction_isChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isChecked();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_isChecked, doc_QAction_isChecked);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_isEnabled, "QAction.isEnabled() -> bool");

extern "C" {static PyObject *meth_QAction_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QAction_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_isEnabled, doc_QAction_isEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_isVisible, "QAction.isVisible() -> bool");

extern "C" {static PyObject *meth_QAction_isVisible(PyObject *, PyObject *);}
static PyObject *meth_QAction_isVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_isVisible, doc_QAction_isVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_activate, "QAction.activate(QAction.ActionEvent)");

extern "C" {static PyObject *meth_QAction_activate(PyObject *, PyObject *);}
static PyObject *meth_QAction_activate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction::ActionEvent a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAction, &sipCpp, sipType_QAction_ActionEvent, &a0))
        {
            sipCpp->activate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_activate, doc_QAction_activate);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_showStatusText, "QAction.showStatusText(QWidget widget=None) -> bool");

extern "C" {static PyObject *meth_QAction_showStatusText(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_showStatusText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0 = 0;
        QAction *sipCpp;

        static const char *sipKwdList[] = {
            sipName_widget,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J8", &sipSelf, sipType_QAction, &sipCpp, sipType_QWidget, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->showStatusText(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_showStatusText, doc_QAction_showStatusText);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_parentWidget, "QAction.parentWidget() -> QWidget");

extern "C" {static PyObject *meth_QAction_parentWidget(PyObject *, PyObject *);}
static PyObject *meth_QAction_parentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->parentWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_parentWidget, doc_QAction_parentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_event, "QAction.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QAction_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAction_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAction *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAction, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_event, doc_QAction_event);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_trigger, "QAction.trigger()");

extern "C" {static PyObject *meth_QAction_trigger(PyObject *, PyObject *);}
static PyObject *meth_QAction_trigger(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            sipCpp->trigger();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_trigger, doc_QAction_trigger);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_hover, "QAction.hover()");

extern "C" {static PyObject *meth_QAction_hover(PyObject *, PyObject *);}
static PyObject *meth_QAction_hover(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            sipCpp->hover();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_hover, doc_QAction_hover);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setChecked, "QAction.setChecked(bool)");

extern "C" {static PyObject *meth_QAction_setChecked(PyObject *, PyObject *);}
static PyObject *meth_QAction_setChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAction, &sipCpp, &a0))
        {
            sipCpp->setChecked(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setChecked, doc_QAction_setChecked);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_toggle, "QAction.toggle()");

extern "C" {static PyObject *meth_QAction_toggle(PyObject *, PyObject *);}
static PyObject *meth_QAction_toggle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            sipCpp->toggle();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_toggle, doc_QAction_toggle);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setEnabled, "QAction.setEnabled(bool)");

extern "C" {static PyObject *meth_QAction_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_QAction_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAction, &sipCpp, &a0))
        {
            sipCpp->setEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setEnabled, doc_QAction_setEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setDisabled, "QAction.setDisabled(bool)");

extern "C" {static PyObject *meth_QAction_setDisabled(PyObject *, PyObject *);}
static PyObject *meth_QAction_setDisabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAction, &sipCpp, &a0))
        {
            sipCpp->setDisabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setDisabled, doc_QAction_setDisabled);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setVisible, "QAction.setVisible(bool)");

extern "C" {static PyObject *meth_QAction_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QAction_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAction, &sipCpp, &a0))
        {
            sipCpp->setVisible(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setVisible, doc_QAction_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setShortcuts, "QAction.setShortcuts(list-of-QKeySequence)\n"
    "QAction.setShortcuts(QKeySequence.StandardKey)");

extern "C" {static PyObject *meth_QAction_setShortcuts(PyObject *, PyObject *);}
static PyObject *meth_QAction_setShortcuts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QList<QKeySequence>* a0;
        int a0State = 0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAction, &sipCpp, sipType_QList_0100QKeySequence,&a0, &a0State))
        {
            sipCpp->setShortcuts(*a0);
            sipReleaseType(const_cast<QList<QKeySequence> *>(a0),sipType_QList_0100QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QKeySequence::StandardKey a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAction, &sipCpp, sipType_QKeySequence_StandardKey, &a0))
        {
            sipCpp->setShortcuts(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setShortcuts, doc_QAction_setShortcuts);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_shortcuts, "QAction.shortcuts() -> list-of-QKeySequence");

extern "C" {static PyObject *meth_QAction_shortcuts(PyObject *, PyObject *);}
static PyObject *meth_QAction_shortcuts(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QList<QKeySequence>*sipRes;

            sipRes = new QList<QKeySequence>(sipCpp->shortcuts());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_shortcuts, doc_QAction_shortcuts);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setAutoRepeat, "QAction.setAutoRepeat(bool)");

extern "C" {static PyObject *meth_QAction_setAutoRepeat(PyObject *, PyObject *);}
static PyObject *meth_QAction_setAutoRepeat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAction, &sipCpp, &a0))
        {
            sipCpp->setAutoRepeat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setAutoRepeat, doc_QAction_setAutoRepeat);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_autoRepeat, "QAction.autoRepeat() -> bool");

extern "C" {static PyObject *meth_QAction_autoRepeat(PyObject *, PyObject *);}
static PyObject *meth_QAction_autoRepeat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoRepeat();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_autoRepeat, doc_QAction_autoRepeat);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setMenuRole, "QAction.setMenuRole(QAction.MenuRole)");

extern "C" {static PyObject *meth_QAction_setMenuRole(PyObject *, PyObject *);}
static PyObject *meth_QAction_setMenuRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction::MenuRole a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAction, &sipCpp, sipType_QAction_MenuRole, &a0))
        {
            sipCpp->setMenuRole(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setMenuRole, doc_QAction_setMenuRole);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_menuRole, "QAction.menuRole() -> QAction.MenuRole");

extern "C" {static PyObject *meth_QAction_menuRole(PyObject *, PyObject *);}
static PyObject *meth_QAction_menuRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QAction::MenuRole sipRes;

            sipRes = sipCpp->menuRole();

            return sipConvertFromEnum(sipRes,sipType_QAction_MenuRole);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_menuRole, doc_QAction_menuRole);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_associatedWidgets, "QAction.associatedWidgets() -> list-of-QWidget");

extern "C" {static PyObject *meth_QAction_associatedWidgets(PyObject *, PyObject *);}
static PyObject *meth_QAction_associatedWidgets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QList<QWidget*>*sipRes;

            sipRes = new QList<QWidget*>(sipCpp->associatedWidgets());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_associatedWidgets, doc_QAction_associatedWidgets);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_associatedGraphicsWidgets, "QAction.associatedGraphicsWidgets() -> list-of-QGraphicsWidget");

extern "C" {static PyObject *meth_QAction_associatedGraphicsWidgets(PyObject *, PyObject *);}
static PyObject *meth_QAction_associatedGraphicsWidgets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QList<QGraphicsWidget*>*sipRes;

            sipRes = new QList<QGraphicsWidget*>(sipCpp->associatedGraphicsWidgets());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QGraphicsWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_associatedGraphicsWidgets, doc_QAction_associatedGraphicsWidgets);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setIconVisibleInMenu, "QAction.setIconVisibleInMenu(bool)");

extern "C" {static PyObject *meth_QAction_setIconVisibleInMenu(PyObject *, PyObject *);}
static PyObject *meth_QAction_setIconVisibleInMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAction, &sipCpp, &a0))
        {
            sipCpp->setIconVisibleInMenu(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setIconVisibleInMenu, doc_QAction_setIconVisibleInMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_isIconVisibleInMenu, "QAction.isIconVisibleInMenu() -> bool");

extern "C" {static PyObject *meth_QAction_isIconVisibleInMenu(PyObject *, PyObject *);}
static PyObject *meth_QAction_isIconVisibleInMenu(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isIconVisibleInMenu();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_isIconVisibleInMenu, doc_QAction_isIconVisibleInMenu);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_setPriority, "QAction.setPriority(QAction.Priority)");

extern "C" {static PyObject *meth_QAction_setPriority(PyObject *, PyObject *);}
static PyObject *meth_QAction_setPriority(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction::Priority a0;
        QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAction, &sipCpp, sipType_QAction_Priority, &a0))
        {
            sipCpp->setPriority(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_setPriority, doc_QAction_setPriority);

    return NULL;
}


PyDoc_STRVAR(doc_QAction_priority, "QAction.priority() -> QAction.Priority");

extern "C" {static PyObject *meth_QAction_priority(PyObject *, PyObject *);}
static PyObject *meth_QAction_priority(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAction, &sipCpp))
        {
            QAction::Priority sipRes;

            sipRes = sipCpp->priority();

            return sipConvertFromEnum(sipRes,sipType_QAction_Priority);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAction, sipName_priority, doc_QAction_priority);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAction(void *, const sipTypeDef *);}
static void *cast_QAction(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QAction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAction(void *, int);}
static void release_QAction(void *sipCppV,int)
{
    QAction *sipCpp = reinterpret_cast<QAction *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAction(sipSimpleWrapper *);}
static void dealloc_QAction(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAction *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAction(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAction(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAction *sipCpp = 0;

    {
        QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQAction(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QObject* a1;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1JH", sipType_QString,&a0, &a0State, sipType_QObject, &a1, sipOwner))
        {
            sipCpp = new sipQAction(*a0,a1);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QIcon* a0;
        const QString* a1;
        int a1State = 0;
        QObject* a2;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1JH", sipType_QIcon, &a0, sipType_QString,&a1, &a1State, sipType_QObject, &a2, sipOwner))
        {
            sipCpp = new sipQAction(*a0,*a1,a2);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAction[] = {{162, 0, 1}};


static PyMethodDef methods_QAction[] = {
    {SIP_MLNAME_CAST(sipName_actionGroup), meth_QAction_actionGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_actionGroup)},
    {SIP_MLNAME_CAST(sipName_activate), meth_QAction_activate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_activate)},
    {SIP_MLNAME_CAST(sipName_associatedGraphicsWidgets), meth_QAction_associatedGraphicsWidgets, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_associatedGraphicsWidgets)},
    {SIP_MLNAME_CAST(sipName_associatedWidgets), meth_QAction_associatedWidgets, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_associatedWidgets)},
    {SIP_MLNAME_CAST(sipName_autoRepeat), meth_QAction_autoRepeat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_autoRepeat)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAction_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAction_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAction_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_data), meth_QAction_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_data)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAction_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QAction_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAction_event)},
    {SIP_MLNAME_CAST(sipName_font), meth_QAction_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_font)},
    {SIP_MLNAME_CAST(sipName_hover), meth_QAction_hover, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_hover)},
    {SIP_MLNAME_CAST(sipName_icon), meth_QAction_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_icon)},
    {SIP_MLNAME_CAST(sipName_iconText), meth_QAction_iconText, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_iconText)},
    {SIP_MLNAME_CAST(sipName_isCheckable), meth_QAction_isCheckable, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_isCheckable)},
    {SIP_MLNAME_CAST(sipName_isChecked), meth_QAction_isChecked, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_isChecked)},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_QAction_isEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_isEnabled)},
    {SIP_MLNAME_CAST(sipName_isIconVisibleInMenu), meth_QAction_isIconVisibleInMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_isIconVisibleInMenu)},
    {SIP_MLNAME_CAST(sipName_isSeparator), meth_QAction_isSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_isSeparator)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAction_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isVisible), meth_QAction_isVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_isVisible)},
    {SIP_MLNAME_CAST(sipName_menu), meth_QAction_menu, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_menu)},
    {SIP_MLNAME_CAST(sipName_menuRole), meth_QAction_menuRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_menuRole)},
    {SIP_MLNAME_CAST(sipName_parentWidget), meth_QAction_parentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_parentWidget)},
    {SIP_MLNAME_CAST(sipName_priority), meth_QAction_priority, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_priority)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAction_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAction_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAction_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setActionGroup), meth_QAction_setActionGroup, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setActionGroup)},
    {SIP_MLNAME_CAST(sipName_setAutoRepeat), meth_QAction_setAutoRepeat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setAutoRepeat)},
    {SIP_MLNAME_CAST(sipName_setCheckable), meth_QAction_setCheckable, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setCheckable)},
    {SIP_MLNAME_CAST(sipName_setChecked), meth_QAction_setChecked, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setChecked)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QAction_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setData)},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_QAction_setDisabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setDisabled)},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_QAction_setEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setEnabled)},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QAction_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setFont)},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_QAction_setIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setIcon)},
    {SIP_MLNAME_CAST(sipName_setIconText), meth_QAction_setIconText, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setIconText)},
    {SIP_MLNAME_CAST(sipName_setIconVisibleInMenu), meth_QAction_setIconVisibleInMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setIconVisibleInMenu)},
    {SIP_MLNAME_CAST(sipName_setMenu), meth_QAction_setMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setMenu)},
    {SIP_MLNAME_CAST(sipName_setMenuRole), meth_QAction_setMenuRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setMenuRole)},
    {SIP_MLNAME_CAST(sipName_setPriority), meth_QAction_setPriority, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setPriority)},
    {SIP_MLNAME_CAST(sipName_setSeparator), meth_QAction_setSeparator, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setSeparator)},
    {SIP_MLNAME_CAST(sipName_setShortcut), meth_QAction_setShortcut, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setShortcut)},
    {SIP_MLNAME_CAST(sipName_setShortcutContext), meth_QAction_setShortcutContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setShortcutContext)},
    {SIP_MLNAME_CAST(sipName_setShortcuts), meth_QAction_setShortcuts, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setShortcuts)},
    {SIP_MLNAME_CAST(sipName_setStatusTip), meth_QAction_setStatusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setStatusTip)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QAction_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setText)},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_QAction_setToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setToolTip)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QAction_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setVisible)},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_QAction_setWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_setWhatsThis)},
    {SIP_MLNAME_CAST(sipName_shortcut), meth_QAction_shortcut, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_shortcut)},
    {SIP_MLNAME_CAST(sipName_shortcutContext), meth_QAction_shortcutContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_shortcutContext)},
    {SIP_MLNAME_CAST(sipName_shortcuts), meth_QAction_shortcuts, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_shortcuts)},
    {SIP_MLNAME_CAST(sipName_showStatusText), (PyCFunction)meth_QAction_showStatusText, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAction_showStatusText)},
    {SIP_MLNAME_CAST(sipName_statusTip), meth_QAction_statusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_statusTip)},
    {SIP_MLNAME_CAST(sipName_text), meth_QAction_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_text)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAction_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toggle), meth_QAction_toggle, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_toggle)},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_QAction_toolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_toolTip)},
    {SIP_MLNAME_CAST(sipName_trigger), meth_QAction_trigger, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_trigger)},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_QAction_whatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QAction_whatsThis)}
};

static sipEnumMemberDef enummembers_QAction[] = {
    {sipName_AboutQtRole, static_cast<int>(QAction::AboutQtRole), 27},
    {sipName_AboutRole, static_cast<int>(QAction::AboutRole), 27},
    {sipName_ApplicationSpecificRole, static_cast<int>(QAction::ApplicationSpecificRole), 27},
    {sipName_HighPriority, static_cast<int>(QAction::HighPriority), 28},
    {sipName_Hover, static_cast<int>(QAction::Hover), 26},
    {sipName_LowPriority, static_cast<int>(QAction::LowPriority), 28},
    {sipName_NoRole, static_cast<int>(QAction::NoRole), 27},
    {sipName_NormalPriority, static_cast<int>(QAction::NormalPriority), 28},
    {sipName_PreferencesRole, static_cast<int>(QAction::PreferencesRole), 27},
    {sipName_QuitRole, static_cast<int>(QAction::QuitRole), 27},
    {sipName_TextHeuristicRole, static_cast<int>(QAction::TextHeuristicRole), 27},
    {sipName_Trigger, static_cast<int>(QAction::Trigger), 26},
};


extern "C" {static int emit_QAction_triggered(void *, PyObject *);}

static int emit_QAction_triggered(void *sipCppV, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    QAction *sipCpp = reinterpret_cast<QAction *>(sipCppV);

    {
        bool a0 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|b", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->triggered(a0);
            Py_END_ALLOW_THREADS


            return 0;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAction, sipName_triggered, NULL);

    return -1;
}


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAction[] = {
    {"toggled(bool)", "\1QAction.toggled[bool]", 0, 0},
    {"hovered()", "\1QAction.hovered", 0, 0},
    {"triggered(bool)", "\1QAction.triggered[bool]", 0, emit_QAction_triggered},
    {"changed()", "\1QAction.changed", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAction, "\1QAction(QObject)\n"
    "QAction(str, QObject)\n"
    "QAction(QIcon, str, QObject)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAction,
        {0}
    },
    {
        sipNameNr_QAction,
        {0, 0, 1},
        63, methods_QAction,
        12, enummembers_QAction,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAction,
    -1,
    -1,
    supers_QAction,
    0,
    init_type_QAction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAction,
    0,
    0,
    0,
    release_QAction,
    cast_QAction,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QAction::staticMetaObject,
    0,
    signals_QAction,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 458024 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 458028 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QAbstractSpinBox_StepEnabled___bool__(PyObject *);}
static int slot_QAbstractSpinBox_StepEnabled___bool__(PyObject *sipSelf)
{
    QAbstractSpinBox::StepEnabled *sipCpp = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSpinBox_StepEnabled));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractSpinBox::StepEnabled::Int() != 0);
#line 458046 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___ne__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QAbstractSpinBox::StepEnabled *sipCpp = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSpinBox_StepEnabled));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractSpinBox::StepEnabled::Int() != a0->operator QAbstractSpinBox::StepEnabled::Int());
#line 458076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QAbstractSpinBox::StepEnabled *>(a0),sipType_QAbstractSpinBox_StepEnabled,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QAbstractSpinBox_StepEnabled,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___eq__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QAbstractSpinBox::StepEnabled *sipCpp = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSpinBox_StepEnabled));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractSpinBox::StepEnabled::Int() == a0->operator QAbstractSpinBox::StepEnabled::Int());
#line 458112 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QAbstractSpinBox::StepEnabled *>(a0),sipType_QAbstractSpinBox_StepEnabled,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QAbstractSpinBox_StepEnabled,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___invert__(PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___invert__(PyObject *sipSelf)
{
    QAbstractSpinBox::StepEnabled *sipCpp = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSpinBox_StepEnabled));

    if (!sipCpp)
        return 0;


    {
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___and__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State, &a1))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled((*a0 & a1));
            sipReleaseType(a0,sipType_QAbstractSpinBox_StepEnabled,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___xor__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;
        QAbstractSpinBox::StepEnabled* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State, sipType_QAbstractSpinBox_StepEnabled, &a1, &a1State))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QAbstractSpinBox_StepEnabled,a0State);
            sipReleaseType(a1,sipType_QAbstractSpinBox_StepEnabled,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    {
        QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State, &a1))
        {
            QAbstractSpinBox::StepEnabled*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QAbstractSpinBox::StepEnabled(*a0 ^ a1);
#line 458215 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QAbstractSpinBox_StepEnabled,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___or__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;
        QAbstractSpinBox::StepEnabled* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State, sipType_QAbstractSpinBox_StepEnabled, &a1, &a1State))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled((*a0 | *a1));
            sipReleaseType(a0,sipType_QAbstractSpinBox_StepEnabled,a0State);
            sipReleaseType(a1,sipType_QAbstractSpinBox_StepEnabled,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    {
        QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State, &a1))
        {
            QAbstractSpinBox::StepEnabled*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QAbstractSpinBox::StepEnabled(*a0 | a1);
#line 458265 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QAbstractSpinBox_StepEnabled,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___int__(PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___int__(PyObject *sipSelf)
{
    QAbstractSpinBox::StepEnabled *sipCpp = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSpinBox_StepEnabled));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QAbstractSpinBox_StepEnabled___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractSpinBox_StepEnabled)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QAbstractSpinBox::StepEnabled *sipCpp = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSpinBox_StepEnabled));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State))
        {
            sipCpp->QAbstractSpinBox::StepEnabled::operator^=(*a0);
            sipReleaseType(a0,sipType_QAbstractSpinBox_StepEnabled,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_QAbstractSpinBox_StepEnabled___ior__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractSpinBox_StepEnabled)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QAbstractSpinBox::StepEnabled *sipCpp = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSpinBox_StepEnabled));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State))
        {
            sipCpp->QAbstractSpinBox::StepEnabled::operator|=(*a0);
            sipReleaseType(a0,sipType_QAbstractSpinBox_StepEnabled,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_QAbstractSpinBox_StepEnabled___iand__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractSpinBox_StepEnabled___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractSpinBox_StepEnabled)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QAbstractSpinBox::StepEnabled *sipCpp = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractSpinBox_StepEnabled));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QAbstractSpinBox::StepEnabled::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractSpinBox_StepEnabled(void *, const sipTypeDef *);}
static void *cast_QAbstractSpinBox_StepEnabled(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAbstractSpinBox_StepEnabled)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractSpinBox_StepEnabled(void *, int);}
static void release_QAbstractSpinBox_StepEnabled(void *sipCppV,int)
{
    delete reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipCppV);
}


extern "C" {static void assign_QAbstractSpinBox_StepEnabled(void *, SIP_SSIZE_T, const void *);}
static void assign_QAbstractSpinBox_StepEnabled(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QAbstractSpinBox::StepEnabled *>(sipSrc);
}


extern "C" {static void *array_QAbstractSpinBox_StepEnabled(SIP_SSIZE_T);}
static void *array_QAbstractSpinBox_StepEnabled(SIP_SSIZE_T sipNrElem)
{
    return new QAbstractSpinBox::StepEnabled[sipNrElem];
}


extern "C" {static void *copy_QAbstractSpinBox_StepEnabled(const void *, SIP_SSIZE_T);}
static void *copy_QAbstractSpinBox_StepEnabled(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QAbstractSpinBox::StepEnabled(reinterpret_cast<const QAbstractSpinBox::StepEnabled *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QAbstractSpinBox_StepEnabled(sipSimpleWrapper *);}
static void dealloc_QAbstractSpinBox_StepEnabled(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractSpinBox_StepEnabled(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QAbstractSpinBox_StepEnabled(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractSpinBox_StepEnabled(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QAbstractSpinBox::StepEnabled *sipCpp = 0;

    {
        const QAbstractSpinBox::StepEnabled* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QAbstractSpinBox_StepEnabled, &a0, &a0State))
        {
            sipCpp = new QAbstractSpinBox::StepEnabled(*a0);
            sipReleaseType(const_cast<QAbstractSpinBox::StepEnabled *>(a0),sipType_QAbstractSpinBox_StepEnabled,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QAbstractSpinBox::StepEnabled(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QAbstractSpinBox::StepEnabled();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QAbstractSpinBox_StepEnabled(PyObject *, void **, int *, PyObject *);}
static int convertTo_QAbstractSpinBox_StepEnabled(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QAbstractSpinBox::StepEnabled **sipCppPtr = reinterpret_cast<QAbstractSpinBox::StepEnabled **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QAbstractSpinBox::StepEnabled is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QAbstractSpinBox_StepEnabledFlag)) ||
            sipCanConvertToType(sipPy, sipType_QAbstractSpinBox_StepEnabled, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QAbstractSpinBox_StepEnabledFlag)))
{
    *sipCppPtr = new QAbstractSpinBox::StepEnabled(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QAbstractSpinBox::StepEnabled *>(sipConvertToType(sipPy, sipType_QAbstractSpinBox_StepEnabled, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 458542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QAbstractSpinBox_StepEnabled[] = {
    {(void *)slot_QAbstractSpinBox_StepEnabled___bool__, bool_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___ne__, ne_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___eq__, eq_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___invert__, invert_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___and__, and_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___xor__, xor_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___or__, or_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___int__, int_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___ixor__, ixor_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___ior__, ior_slot},
    {(void *)slot_QAbstractSpinBox_StepEnabled___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QAbstractSpinBox_StepEnabled, "\1QAbstractSpinBox.StepEnabled(QAbstractSpinBox.StepEnabled)\n"
    "QAbstractSpinBox.StepEnabled(int)\n"
    "QAbstractSpinBox.StepEnabled()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAbstractSpinBox_StepEnabled = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractSpinBox__StepEnabled,
        {0}
    },
    {
        sipNameNr_StepEnabled,
        {20, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractSpinBox_StepEnabled,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QAbstractSpinBox_StepEnabled,
    init_type_QAbstractSpinBox_StepEnabled,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractSpinBox_StepEnabled,
    assign_QAbstractSpinBox_StepEnabled,
    array_QAbstractSpinBox_StepEnabled,
    copy_QAbstractSpinBox_StepEnabled,
    release_QAbstractSpinBox_StepEnabled,
    cast_QAbstractSpinBox_StepEnabled,
    convertTo_QAbstractSpinBox_StepEnabled,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 458624 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 458628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 458631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 458634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 458637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractspinbox.sip"
#include <qabstractspinbox.h>
#line 458640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlineedit.sip"
#include <qlineedit.h>
#line 458643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 458652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 458664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 458682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qvalidator.sip"
#include <qvalidator.h>
#line 458685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 458688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 458691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 458694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 458697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 458700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 458703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 458706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 458709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 458712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 458715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 458718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 458721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 458724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 458727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 458730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 458733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 458736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 458739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 458742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 458745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 458748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 458751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 458754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 458778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 458781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 458784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 458787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 458790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 458793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 458796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 458799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 458802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 458805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 458808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 458811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 458814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 458817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 458820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 458823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 458826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 458829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 458832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 458835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 458838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 458841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQAbstractSpinBox : public QAbstractSpinBox
{
public:
    sipQAbstractSpinBox(QWidget*);
    virtual ~sipQAbstractSpinBox();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    QLineEdit* sipProtect_lineEdit() const;
    void sipProtect_setLineEdit(QLineEdit*);
    QAbstractSpinBox::StepEnabled sipProtectVirt_stepEnabled(bool) const;
    void sipProtect_initStyleOption(QStyleOptionSpinBox*) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    QAbstractSpinBox::StepEnabled stepEnabled() const;
    void showEvent(QShowEvent*);
    void paintEvent(QPaintEvent*);
    void timerEvent(QTimerEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void hideEvent(QHideEvent*);
    void closeEvent(QCloseEvent*);
    void changeEvent(QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void wheelEvent(QWheelEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void resizeEvent(QResizeEvent*);
    void clear();
    void stepBy(int);
    void fixup(QString&) const;
    QValidator::State validate(QString&,int&) const;
    bool event(QEvent*);
    QSize minimumSizeHint() const;
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractSpinBox(const sipQAbstractSpinBox &);
    sipQAbstractSpinBox &operator = (const sipQAbstractSpinBox &);

    char sipPyMethods[51];
};

sipQAbstractSpinBox::sipQAbstractSpinBox(QWidget*a0): QAbstractSpinBox(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractSpinBox::~sipQAbstractSpinBox()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractSpinBox::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractSpinBox);
}

int sipQAbstractSpinBox::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QAbstractSpinBox::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QAbstractSpinBox,_c,_id,_a);

    return _id;
}

void *sipQAbstractSpinBox::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QAbstractSpinBox, _clname, &sipCpp) ? sipCpp : QAbstractSpinBox::qt_metacast(_clname));
}

void sipQAbstractSpinBox::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractSpinBox::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractSpinBox::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractSpinBox::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractSpinBox::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractSpinBox::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QAbstractSpinBox::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQAbstractSpinBox::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QAbstractSpinBox::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractSpinBox::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QAbstractSpinBox::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractSpinBox::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QAbstractSpinBox::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractSpinBox::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QAbstractSpinBox::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractSpinBox::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QAbstractSpinBox::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQAbstractSpinBox::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QAbstractSpinBox::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQAbstractSpinBox::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QAbstractSpinBox::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QAbstractSpinBox::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractSpinBox::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QAbstractSpinBox::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QVariant sipQAbstractSpinBox::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QAbstractSpinBox::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QAbstractSpinBox::StepEnabled sipQAbstractSpinBox::stepEnabled() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_stepEnabled);

    if (!sipMeth)
        return QAbstractSpinBox::stepEnabled();

    extern QAbstractSpinBox::StepEnabled sipVH_QtWidgets_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_137(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractSpinBox::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QAbstractSpinBox::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::clear()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_clear);

    if (!sipMeth)
    {
        QAbstractSpinBox::clear();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractSpinBox::stepBy(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_stepBy);

    if (!sipMeth)
    {
        QAbstractSpinBox::stepBy(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSpinBox::fixup(QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,NULL,sipName_fixup);

    if (!sipMeth)
    {
        QAbstractSpinBox::fixup(a0);
        return;
    }

    typedef void (*sipVH_QtGui_18)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&);

    ((sipVH_QtGui_18)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[18]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QValidator::State sipQAbstractSpinBox::validate(QString& a0,int& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_validate);

    if (!sipMeth)
        return QAbstractSpinBox::validate(a0,a1);

    typedef QValidator::State (*sipVH_QtGui_15)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QString&,int&);

    return ((sipVH_QtGui_15)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[15]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractSpinBox::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractSpinBox::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQAbstractSpinBox::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QAbstractSpinBox::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQAbstractSpinBox::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QAbstractSpinBox::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQAbstractSpinBox::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQAbstractSpinBox::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQAbstractSpinBox::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractSpinBox::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQAbstractSpinBox::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQAbstractSpinBox::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

int sipQAbstractSpinBox::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQAbstractSpinBox::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQAbstractSpinBox::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQAbstractSpinBox::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQAbstractSpinBox::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQAbstractSpinBox::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQAbstractSpinBox::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQAbstractSpinBox::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQAbstractSpinBox::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQAbstractSpinBox::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::resizeEvent(a0) : resizeEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::wheelEvent(a0) : wheelEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::focusInEvent(a0) : focusInEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::changeEvent(a0) : changeEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::closeEvent(a0) : closeEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::hideEvent(a0) : hideEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::paintEvent(a0) : paintEvent(a0));
}

void sipQAbstractSpinBox::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QAbstractSpinBox::showEvent(a0) : showEvent(a0));
}

QLineEdit* sipQAbstractSpinBox::sipProtect_lineEdit() const
{
    return QAbstractSpinBox::lineEdit();
}

void sipQAbstractSpinBox::sipProtect_setLineEdit(QLineEdit*a0)
{
    QAbstractSpinBox::setLineEdit(a0);
}

QAbstractSpinBox::StepEnabled sipQAbstractSpinBox::sipProtectVirt_stepEnabled(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractSpinBox::stepEnabled() : stepEnabled());
}

void sipQAbstractSpinBox::sipProtect_initStyleOption(QStyleOptionSpinBox*a0) const
{
    QAbstractSpinBox::initStyleOption(a0);
}


PyDoc_STRVAR(doc_QAbstractSpinBox_sender, "QAbstractSpinBox.sender() -> QObject");

extern "C" {static PyObject *meth_QAbstractSpinBox_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 460166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_sender, doc_QAbstractSpinBox_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_receivers, "QAbstractSpinBox.receivers(signal) -> int");

extern "C" {static PyObject *meth_QAbstractSpinBox_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 460225 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_receivers, doc_QAbstractSpinBox_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_childEvent, "QAbstractSpinBox.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_childEvent, doc_QAbstractSpinBox_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_customEvent, "QAbstractSpinBox.customEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_customEvent, doc_QAbstractSpinBox_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_connectNotify, "QAbstractSpinBox.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractSpinBox_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_connectNotify, doc_QAbstractSpinBox_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_disconnectNotify, "QAbstractSpinBox.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractSpinBox_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_disconnectNotify, doc_QAbstractSpinBox_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_senderSignalIndex, "QAbstractSpinBox.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QAbstractSpinBox_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_senderSignalIndex, doc_QAbstractSpinBox_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_isSignalConnected, "QAbstractSpinBox.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_isSignalConnected, doc_QAbstractSpinBox_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_mouseDoubleClickEvent, "QAbstractSpinBox.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_mouseDoubleClickEvent, doc_QAbstractSpinBox_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_enterEvent, "QAbstractSpinBox.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_enterEvent, doc_QAbstractSpinBox_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_leaveEvent, "QAbstractSpinBox.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_leaveEvent, doc_QAbstractSpinBox_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_moveEvent, "QAbstractSpinBox.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_moveEvent, doc_QAbstractSpinBox_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_tabletEvent, "QAbstractSpinBox.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_tabletEvent, doc_QAbstractSpinBox_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_actionEvent, "QAbstractSpinBox.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_actionEvent, doc_QAbstractSpinBox_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_dragEnterEvent, "QAbstractSpinBox.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_dragEnterEvent, doc_QAbstractSpinBox_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_dragMoveEvent, "QAbstractSpinBox.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_dragMoveEvent, doc_QAbstractSpinBox_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_dragLeaveEvent, "QAbstractSpinBox.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_dragLeaveEvent, doc_QAbstractSpinBox_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_dropEvent, "QAbstractSpinBox.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_dropEvent, doc_QAbstractSpinBox_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_metric, "QAbstractSpinBox.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QAbstractSpinBox_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_metric, doc_QAbstractSpinBox_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_inputMethodEvent, "QAbstractSpinBox.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_inputMethodEvent, doc_QAbstractSpinBox_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_updateMicroFocus, "QAbstractSpinBox.updateMicroFocus()");

extern "C" {static PyObject *meth_QAbstractSpinBox_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_updateMicroFocus, doc_QAbstractSpinBox_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_create, "QAbstractSpinBox.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QAbstractSpinBox_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQAbstractSpinBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_create, doc_QAbstractSpinBox_create);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_destroy, "QAbstractSpinBox.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QAbstractSpinBox_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQAbstractSpinBox *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_destroy, doc_QAbstractSpinBox_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_focusNextPrevChild, "QAbstractSpinBox.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_focusNextPrevChild, doc_QAbstractSpinBox_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_focusNextChild, "QAbstractSpinBox.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_focusNextChild, doc_QAbstractSpinBox_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_focusPreviousChild, "QAbstractSpinBox.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_focusPreviousChild, doc_QAbstractSpinBox_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_nativeEvent, "QAbstractSpinBox.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QAbstractSpinBox_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_nativeEvent, doc_QAbstractSpinBox_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_sharedPainter, "QAbstractSpinBox.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QAbstractSpinBox_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_sharedPainter, doc_QAbstractSpinBox_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_initPainter, "QAbstractSpinBox.initPainter(QPainter)");

extern "C" {static PyObject *meth_QAbstractSpinBox_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_initPainter, doc_QAbstractSpinBox_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_buttonSymbols, "QAbstractSpinBox.buttonSymbols() -> QAbstractSpinBox.ButtonSymbols");

extern "C" {static PyObject *meth_QAbstractSpinBox_buttonSymbols(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_buttonSymbols(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QAbstractSpinBox::ButtonSymbols sipRes;

            sipRes = sipCpp->buttonSymbols();

            return sipConvertFromEnum(sipRes,sipType_QAbstractSpinBox_ButtonSymbols);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_buttonSymbols, doc_QAbstractSpinBox_buttonSymbols);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setButtonSymbols, "QAbstractSpinBox.setButtonSymbols(QAbstractSpinBox.ButtonSymbols)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setButtonSymbols(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setButtonSymbols(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox::ButtonSymbols a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QAbstractSpinBox_ButtonSymbols, &a0))
        {
            sipCpp->setButtonSymbols(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setButtonSymbols, doc_QAbstractSpinBox_setButtonSymbols);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_text, "QAbstractSpinBox.text() -> str");

extern "C" {static PyObject *meth_QAbstractSpinBox_text(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_text, doc_QAbstractSpinBox_text);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_specialValueText, "QAbstractSpinBox.specialValueText() -> str");

extern "C" {static PyObject *meth_QAbstractSpinBox_specialValueText(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_specialValueText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->specialValueText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_specialValueText, doc_QAbstractSpinBox_specialValueText);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setSpecialValueText, "QAbstractSpinBox.setSpecialValueText(str)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setSpecialValueText(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setSpecialValueText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setSpecialValueText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setSpecialValueText, doc_QAbstractSpinBox_setSpecialValueText);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_wrapping, "QAbstractSpinBox.wrapping() -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_wrapping(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_wrapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->wrapping();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_wrapping, doc_QAbstractSpinBox_wrapping);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setWrapping, "QAbstractSpinBox.setWrapping(bool)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setWrapping(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setWrapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0))
        {
            sipCpp->setWrapping(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setWrapping, doc_QAbstractSpinBox_setWrapping);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setReadOnly, "QAbstractSpinBox.setReadOnly(bool)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0))
        {
            sipCpp->setReadOnly(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setReadOnly, doc_QAbstractSpinBox_setReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_isReadOnly, "QAbstractSpinBox.isReadOnly() -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_isReadOnly(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_isReadOnly(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isReadOnly();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_isReadOnly, doc_QAbstractSpinBox_isReadOnly);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setAlignment, "QAbstractSpinBox.setAlignment(Qt.Alignment)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setAlignment(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setAlignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            sipCpp->setAlignment(*a0);
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setAlignment, doc_QAbstractSpinBox_setAlignment);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_alignment, "QAbstractSpinBox.alignment() -> Qt.Alignment");

extern "C" {static PyObject *meth_QAbstractSpinBox_alignment(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_alignment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            Qt::Alignment*sipRes;

            sipRes = new Qt::Alignment(sipCpp->alignment());

            return sipConvertFromNewType(sipRes,sipType_Qt_Alignment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_alignment, doc_QAbstractSpinBox_alignment);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setFrame, "QAbstractSpinBox.setFrame(bool)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setFrame(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0))
        {
            sipCpp->setFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setFrame, doc_QAbstractSpinBox_setFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_hasFrame, "QAbstractSpinBox.hasFrame() -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_hasFrame(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_hasFrame(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasFrame();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_hasFrame, doc_QAbstractSpinBox_hasFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_sizeHint, "QAbstractSpinBox.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QAbstractSpinBox_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QAbstractSpinBox::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_sizeHint, doc_QAbstractSpinBox_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_minimumSizeHint, "QAbstractSpinBox.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QAbstractSpinBox_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QAbstractSpinBox::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_minimumSizeHint, doc_QAbstractSpinBox_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_interpretText, "QAbstractSpinBox.interpretText()");

extern "C" {static PyObject *meth_QAbstractSpinBox_interpretText(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_interpretText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            sipCpp->interpretText();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_interpretText, doc_QAbstractSpinBox_interpretText);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_event, "QAbstractSpinBox.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_event(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_event(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QAbstractSpinBox::event(a0) : sipCpp->event(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_event, doc_QAbstractSpinBox_event);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_validate, "QAbstractSpinBox.validate(str, int) -> (QValidator.State, str, int)");

extern "C" {static PyObject *meth_QAbstractSpinBox_validate(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_validate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        int a1;
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            QValidator::State sipRes;
            PyObject *sipResObj;

            sipRes = (sipSelfWasArg ? sipCpp->QAbstractSpinBox::validate(*a0,a1) : sipCpp->validate(*a0,a1));

            sipResObj = sipBuildResult(0,"(FDi)",sipRes,sipType_QValidator_State,a0,sipType_QString,NULL,a1);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_validate, doc_QAbstractSpinBox_validate);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_fixup, "QAbstractSpinBox.fixup(str) -> str");

extern "C" {static PyObject *meth_QAbstractSpinBox_fixup(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_fixup(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QString* a0;
        int a0State = 0;
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QString,&a0, &a0State))
        {
            PyObject *sipResObj;

            (sipSelfWasArg ? sipCpp->QAbstractSpinBox::fixup(*a0) : sipCpp->fixup(*a0));

            sipResObj = sipConvertFromType(a0,sipType_QString,NULL);
            sipReleaseType(a0,sipType_QString,a0State);

            return sipResObj;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_fixup, doc_QAbstractSpinBox_fixup);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_stepBy, "QAbstractSpinBox.stepBy(int)");

extern "C" {static PyObject *meth_QAbstractSpinBox_stepBy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_stepBy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QAbstractSpinBox::stepBy(a0) : sipCpp->stepBy(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_stepBy, doc_QAbstractSpinBox_stepBy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_stepUp, "QAbstractSpinBox.stepUp()");

extern "C" {static PyObject *meth_QAbstractSpinBox_stepUp(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_stepUp(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            sipCpp->stepUp();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_stepUp, doc_QAbstractSpinBox_stepUp);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_stepDown, "QAbstractSpinBox.stepDown()");

extern "C" {static PyObject *meth_QAbstractSpinBox_stepDown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_stepDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            sipCpp->stepDown();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_stepDown, doc_QAbstractSpinBox_stepDown);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_selectAll, "QAbstractSpinBox.selectAll()");

extern "C" {static PyObject *meth_QAbstractSpinBox_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            sipCpp->selectAll();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_selectAll, doc_QAbstractSpinBox_selectAll);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_clear, "QAbstractSpinBox.clear()");

extern "C" {static PyObject *meth_QAbstractSpinBox_clear(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_clear(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QAbstractSpinBox::clear() : sipCpp->clear());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_clear, doc_QAbstractSpinBox_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_resizeEvent, "QAbstractSpinBox.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_resizeEvent, doc_QAbstractSpinBox_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_keyPressEvent, "QAbstractSpinBox.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_keyPressEvent, doc_QAbstractSpinBox_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_keyReleaseEvent, "QAbstractSpinBox.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_keyReleaseEvent, doc_QAbstractSpinBox_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_wheelEvent, "QAbstractSpinBox.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_wheelEvent, doc_QAbstractSpinBox_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_focusInEvent, "QAbstractSpinBox.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_focusInEvent, doc_QAbstractSpinBox_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_focusOutEvent, "QAbstractSpinBox.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_focusOutEvent, doc_QAbstractSpinBox_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_contextMenuEvent, "QAbstractSpinBox.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_contextMenuEvent, doc_QAbstractSpinBox_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_changeEvent, "QAbstractSpinBox.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_changeEvent, doc_QAbstractSpinBox_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_closeEvent, "QAbstractSpinBox.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_closeEvent, doc_QAbstractSpinBox_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_hideEvent, "QAbstractSpinBox.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_hideEvent, doc_QAbstractSpinBox_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_mousePressEvent, "QAbstractSpinBox.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_mousePressEvent, doc_QAbstractSpinBox_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_mouseReleaseEvent, "QAbstractSpinBox.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_mouseReleaseEvent, doc_QAbstractSpinBox_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_mouseMoveEvent, "QAbstractSpinBox.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_mouseMoveEvent, doc_QAbstractSpinBox_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_timerEvent, "QAbstractSpinBox.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_timerEvent, doc_QAbstractSpinBox_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_paintEvent, "QAbstractSpinBox.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_paintEvent, doc_QAbstractSpinBox_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_showEvent, "QAbstractSpinBox.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QAbstractSpinBox_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_showEvent, doc_QAbstractSpinBox_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_lineEdit, "QAbstractSpinBox.lineEdit() -> QLineEdit");

extern "C" {static PyObject *meth_QAbstractSpinBox_lineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_lineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QLineEdit*sipRes;

            sipRes = sipCpp->sipProtect_lineEdit();

            return sipConvertFromType(sipRes,sipType_QLineEdit,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_lineEdit, doc_QAbstractSpinBox_lineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setLineEdit, "QAbstractSpinBox.setLineEdit(QLineEdit)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setLineEdit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setLineEdit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QLineEdit* a0;
        sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ:", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QLineEdit, &a0))
        {
            sipCpp->sipProtect_setLineEdit(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setLineEdit, doc_QAbstractSpinBox_setLineEdit);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_stepEnabled, "QAbstractSpinBox.stepEnabled() -> QAbstractSpinBox.StepEnabled");

extern "C" {static PyObject *meth_QAbstractSpinBox_stepEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_stepEnabled(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QAbstractSpinBox::StepEnabled*sipRes;

            sipRes = new QAbstractSpinBox::StepEnabled(sipCpp->sipProtectVirt_stepEnabled(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QAbstractSpinBox_StepEnabled,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_stepEnabled, doc_QAbstractSpinBox_stepEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_initStyleOption, "QAbstractSpinBox.initStyleOption(QStyleOptionSpinBox)");

extern "C" {static PyObject *meth_QAbstractSpinBox_initStyleOption(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_initStyleOption(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QStyleOptionSpinBox* a0;
        const sipQAbstractSpinBox *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QStyleOptionSpinBox, &a0))
        {
            sipCpp->sipProtect_initStyleOption(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_initStyleOption, doc_QAbstractSpinBox_initStyleOption);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setCorrectionMode, "QAbstractSpinBox.setCorrectionMode(QAbstractSpinBox.CorrectionMode)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setCorrectionMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setCorrectionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSpinBox::CorrectionMode a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_QAbstractSpinBox_CorrectionMode, &a0))
        {
            sipCpp->setCorrectionMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setCorrectionMode, doc_QAbstractSpinBox_setCorrectionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_correctionMode, "QAbstractSpinBox.correctionMode() -> QAbstractSpinBox.CorrectionMode");

extern "C" {static PyObject *meth_QAbstractSpinBox_correctionMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_correctionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            QAbstractSpinBox::CorrectionMode sipRes;

            sipRes = sipCpp->correctionMode();

            return sipConvertFromEnum(sipRes,sipType_QAbstractSpinBox_CorrectionMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_correctionMode, doc_QAbstractSpinBox_correctionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_hasAcceptableInput, "QAbstractSpinBox.hasAcceptableInput() -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_hasAcceptableInput(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_hasAcceptableInput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasAcceptableInput();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_hasAcceptableInput, doc_QAbstractSpinBox_hasAcceptableInput);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setAccelerated, "QAbstractSpinBox.setAccelerated(bool)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setAccelerated(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setAccelerated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0))
        {
            sipCpp->setAccelerated(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setAccelerated, doc_QAbstractSpinBox_setAccelerated);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_isAccelerated, "QAbstractSpinBox.isAccelerated() -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_isAccelerated(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_isAccelerated(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isAccelerated();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_isAccelerated, doc_QAbstractSpinBox_isAccelerated);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setKeyboardTracking, "QAbstractSpinBox.setKeyboardTracking(bool)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setKeyboardTracking(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setKeyboardTracking(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0))
        {
            sipCpp->setKeyboardTracking(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setKeyboardTracking, doc_QAbstractSpinBox_setKeyboardTracking);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_keyboardTracking, "QAbstractSpinBox.keyboardTracking() -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_keyboardTracking(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_keyboardTracking(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->keyboardTracking();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_keyboardTracking, doc_QAbstractSpinBox_keyboardTracking);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_inputMethodQuery, "QAbstractSpinBox.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QAbstractSpinBox_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QAbstractSpinBox::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_inputMethodQuery, doc_QAbstractSpinBox_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_setGroupSeparatorShown, "QAbstractSpinBox.setGroupSeparatorShown(bool)");

extern "C" {static PyObject *meth_QAbstractSpinBox_setGroupSeparatorShown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_setGroupSeparatorShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSpinBox, &sipCpp, &a0))
        {
            sipCpp->setGroupSeparatorShown(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_setGroupSeparatorShown, doc_QAbstractSpinBox_setGroupSeparatorShown);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSpinBox_isGroupSeparatorShown, "QAbstractSpinBox.isGroupSeparatorShown() -> bool");

extern "C" {static PyObject *meth_QAbstractSpinBox_isGroupSeparatorShown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSpinBox_isGroupSeparatorShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSpinBox *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSpinBox, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isGroupSeparatorShown();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSpinBox, sipName_isGroupSeparatorShown, doc_QAbstractSpinBox_isGroupSeparatorShown);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractSpinBox(void *, const sipTypeDef *);}
static void *cast_QAbstractSpinBox(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractSpinBox)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QAbstractSpinBox *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractSpinBox(void *, int);}
static void release_QAbstractSpinBox(void *sipCppV,int)
{
    QAbstractSpinBox *sipCpp = reinterpret_cast<QAbstractSpinBox *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractSpinBox(sipSimpleWrapper *);}
static void dealloc_QAbstractSpinBox(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractSpinBox *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractSpinBox(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractSpinBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractSpinBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractSpinBox *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractSpinBox(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractSpinBox[] = {{454, 255, 1}};


static PyMethodDef methods_QAbstractSpinBox[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QAbstractSpinBox_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alignment), meth_QAbstractSpinBox_alignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_alignment)},
    {SIP_MLNAME_CAST(sipName_buttonSymbols), meth_QAbstractSpinBox_buttonSymbols, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_buttonSymbols)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QAbstractSpinBox_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractSpinBox_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clear), meth_QAbstractSpinBox_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_clear)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QAbstractSpinBox_closeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_closeEvent)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractSpinBox_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QAbstractSpinBox_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_correctionMode), meth_QAbstractSpinBox_correctionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_correctionMode)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QAbstractSpinBox_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractSpinBox_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QAbstractSpinBox_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractSpinBox_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QAbstractSpinBox_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QAbstractSpinBox_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QAbstractSpinBox_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QAbstractSpinBox_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QAbstractSpinBox_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), meth_QAbstractSpinBox_event, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_event)},
    {SIP_MLNAME_CAST(sipName_fixup), meth_QAbstractSpinBox_fixup, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_fixup)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QAbstractSpinBox_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QAbstractSpinBox_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QAbstractSpinBox_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QAbstractSpinBox_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QAbstractSpinBox_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hasAcceptableInput), meth_QAbstractSpinBox_hasAcceptableInput, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_hasAcceptableInput)},
    {SIP_MLNAME_CAST(sipName_hasFrame), meth_QAbstractSpinBox_hasFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_hasFrame)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QAbstractSpinBox_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_hideEvent)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QAbstractSpinBox_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initStyleOption), (PyCFunction)meth_QAbstractSpinBox_initStyleOption, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_initStyleOption)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QAbstractSpinBox_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QAbstractSpinBox_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_interpretText), meth_QAbstractSpinBox_interpretText, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_interpretText)},
    {SIP_MLNAME_CAST(sipName_isAccelerated), meth_QAbstractSpinBox_isAccelerated, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_isAccelerated)},
    {SIP_MLNAME_CAST(sipName_isGroupSeparatorShown), meth_QAbstractSpinBox_isGroupSeparatorShown, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_isGroupSeparatorShown)},
    {SIP_MLNAME_CAST(sipName_isReadOnly), meth_QAbstractSpinBox_isReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_isReadOnly)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractSpinBox_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QAbstractSpinBox_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QAbstractSpinBox_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_keyboardTracking), meth_QAbstractSpinBox_keyboardTracking, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_keyboardTracking)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QAbstractSpinBox_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineEdit), (PyCFunction)meth_QAbstractSpinBox_lineEdit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_lineEdit)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QAbstractSpinBox_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QAbstractSpinBox_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QAbstractSpinBox_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QAbstractSpinBox_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QAbstractSpinBox_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QAbstractSpinBox_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QAbstractSpinBox_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QAbstractSpinBox_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QAbstractSpinBox_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractSpinBox_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QAbstractSpinBox_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_QAbstractSpinBox_selectAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_selectAll)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractSpinBox_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractSpinBox_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAccelerated), meth_QAbstractSpinBox_setAccelerated, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setAccelerated)},
    {SIP_MLNAME_CAST(sipName_setAlignment), meth_QAbstractSpinBox_setAlignment, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setAlignment)},
    {SIP_MLNAME_CAST(sipName_setButtonSymbols), meth_QAbstractSpinBox_setButtonSymbols, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setButtonSymbols)},
    {SIP_MLNAME_CAST(sipName_setCorrectionMode), meth_QAbstractSpinBox_setCorrectionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setCorrectionMode)},
    {SIP_MLNAME_CAST(sipName_setFrame), meth_QAbstractSpinBox_setFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setFrame)},
    {SIP_MLNAME_CAST(sipName_setGroupSeparatorShown), meth_QAbstractSpinBox_setGroupSeparatorShown, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setGroupSeparatorShown)},
    {SIP_MLNAME_CAST(sipName_setKeyboardTracking), meth_QAbstractSpinBox_setKeyboardTracking, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setKeyboardTracking)},
    {SIP_MLNAME_CAST(sipName_setLineEdit), (PyCFunction)meth_QAbstractSpinBox_setLineEdit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setLineEdit)},
    {SIP_MLNAME_CAST(sipName_setReadOnly), meth_QAbstractSpinBox_setReadOnly, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setReadOnly)},
    {SIP_MLNAME_CAST(sipName_setSpecialValueText), meth_QAbstractSpinBox_setSpecialValueText, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setSpecialValueText)},
    {SIP_MLNAME_CAST(sipName_setWrapping), meth_QAbstractSpinBox_setWrapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_setWrapping)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QAbstractSpinBox_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QAbstractSpinBox_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_showEvent)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QAbstractSpinBox_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_sizeHint)},
    {SIP_MLNAME_CAST(sipName_specialValueText), meth_QAbstractSpinBox_specialValueText, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_specialValueText)},
    {SIP_MLNAME_CAST(sipName_stepBy), meth_QAbstractSpinBox_stepBy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_stepBy)},
    {SIP_MLNAME_CAST(sipName_stepDown), meth_QAbstractSpinBox_stepDown, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_stepDown)},
    {SIP_MLNAME_CAST(sipName_stepEnabled), (PyCFunction)meth_QAbstractSpinBox_stepEnabled, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_stepEnabled)},
    {SIP_MLNAME_CAST(sipName_stepUp), meth_QAbstractSpinBox_stepUp, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_stepUp)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QAbstractSpinBox_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_QAbstractSpinBox_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_text)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractSpinBox_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_timerEvent)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QAbstractSpinBox_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_validate), meth_QAbstractSpinBox_validate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_validate)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QAbstractSpinBox_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_wheelEvent)},
    {SIP_MLNAME_CAST(sipName_wrapping), meth_QAbstractSpinBox_wrapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSpinBox_wrapping)}
};

static sipEnumMemberDef enummembers_QAbstractSpinBox[] = {
    {sipName_CorrectToNearestValue, static_cast<int>(QAbstractSpinBox::CorrectToNearestValue), 22},
    {sipName_CorrectToPreviousValue, static_cast<int>(QAbstractSpinBox::CorrectToPreviousValue), 22},
    {sipName_NoButtons, static_cast<int>(QAbstractSpinBox::NoButtons), 21},
    {sipName_PlusMinus, static_cast<int>(QAbstractSpinBox::PlusMinus), 21},
    {sipName_StepDownEnabled, static_cast<int>(QAbstractSpinBox::StepDownEnabled), 24},
    {sipName_StepNone, static_cast<int>(QAbstractSpinBox::StepNone), 24},
    {sipName_StepUpEnabled, static_cast<int>(QAbstractSpinBox::StepUpEnabled), 24},
    {sipName_UpDownArrows, static_cast<int>(QAbstractSpinBox::UpDownArrows), 21},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractSpinBox[] = {
    {"editingFinished()", "\1QAbstractSpinBox.editingFinished", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractSpinBox, "\1QAbstractSpinBox(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAbstractSpinBox = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractSpinBox,
        {0}
    },
    {
        sipNameNr_QAbstractSpinBox,
        {0, 0, 1},
        83, methods_QAbstractSpinBox,
        8, enummembers_QAbstractSpinBox,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractSpinBox,
    -1,
    -1,
    supers_QAbstractSpinBox,
    0,
    init_type_QAbstractSpinBox,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractSpinBox,
    0,
    0,
    0,
    release_QAbstractSpinBox,
    cast_QAbstractSpinBox,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QAbstractSpinBox::staticMetaObject,
    0,
    signals_QAbstractSpinBox,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractslider.sip"
#include <qabstractslider.h>
#line 462751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 462755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 462758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 462764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 462773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 462776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 462779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 462782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 462785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 462791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 462794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 462800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 462806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 462809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 462812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 462815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 462818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 462821 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 462824 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 462827 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 462830 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 462833 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 462836 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 462839 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 462842 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462845 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462848 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462851 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462854 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462857 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462863 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462869 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462872 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462875 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462878 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462881 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462884 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462887 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 462890 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 462893 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 462896 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 462899 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 462902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 462905 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462908 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 462911 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 462914 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 462917 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 462920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 462923 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 462926 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 462929 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 462932 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 462935 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 462938 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 462941 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 462944 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 462947 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 462950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 462953 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQAbstractSlider : public QAbstractSlider
{
public:
    sipQAbstractSlider(QWidget*);
    virtual ~sipQAbstractSlider();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipSliderChange {
        SliderRangeChange = QAbstractSlider::SliderRangeChange,
        SliderOrientationChange = QAbstractSlider::SliderOrientationChange,
        SliderStepsChange = QAbstractSlider::SliderStepsChange,
        SliderValueChange = QAbstractSlider::SliderValueChange
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_setRepeatAction(QAbstractSlider::SliderAction,int,int);
    QAbstractSlider::SliderAction sipProtect_repeatAction() const;
    void sipProtectVirt_sliderChange(bool,int);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void timerEvent(QTimerEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    void sliderChange(QAbstractSlider::SliderChange);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractSlider(const sipQAbstractSlider &);
    sipQAbstractSlider &operator = (const sipQAbstractSlider &);

    char sipPyMethods[47];
};

sipQAbstractSlider::sipQAbstractSlider(QWidget*a0): QAbstractSlider(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractSlider::~sipQAbstractSlider()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractSlider::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractSlider);
}

int sipQAbstractSlider::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QAbstractSlider::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QAbstractSlider,_c,_id,_a);

    return _id;
}

void *sipQAbstractSlider::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QAbstractSlider, _clname, &sipCpp) ? sipCpp : QAbstractSlider::qt_metacast(_clname));
}

void sipQAbstractSlider::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractSlider::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractSlider::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractSlider::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractSlider::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractSlider::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractSlider::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractSlider::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QAbstractSlider::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQAbstractSlider::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QAbstractSlider::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractSlider::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QAbstractSlider::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractSlider::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QAbstractSlider::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractSlider::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QAbstractSlider::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQAbstractSlider::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QAbstractSlider::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QAbstractSlider::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractSlider::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QAbstractSlider::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QAbstractSlider::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QAbstractSlider::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QAbstractSlider::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QAbstractSlider::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QAbstractSlider::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QAbstractSlider::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QAbstractSlider::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QAbstractSlider::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QAbstractSlider::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QAbstractSlider::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QAbstractSlider::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QAbstractSlider::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QAbstractSlider::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QAbstractSlider::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QAbstractSlider::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QAbstractSlider::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QAbstractSlider::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QAbstractSlider::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QAbstractSlider::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QAbstractSlider::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QAbstractSlider::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QAbstractSlider::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQAbstractSlider::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[35]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QAbstractSlider::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQAbstractSlider::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[36]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QAbstractSlider::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQAbstractSlider::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QAbstractSlider::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQAbstractSlider::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QAbstractSlider::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractSlider::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QAbstractSlider::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractSlider::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QAbstractSlider::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractSlider::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QAbstractSlider::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QAbstractSlider::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractSlider::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QAbstractSlider::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractSlider::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractSlider::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractSlider::sliderChange(QAbstractSlider::SliderChange a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_sliderChange);

    if (!sipMeth)
    {
        QAbstractSlider::sliderChange(a0);
        return;
    }

    extern void sipVH_QtWidgets_85(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtWidgets_85(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0);
}

QObject* sipQAbstractSlider::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQAbstractSlider::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQAbstractSlider::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractSlider::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractSlider::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQAbstractSlider::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQAbstractSlider::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQAbstractSlider::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQAbstractSlider::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQAbstractSlider::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQAbstractSlider::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQAbstractSlider::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQAbstractSlider::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQAbstractSlider::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQAbstractSlider::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQAbstractSlider::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQAbstractSlider::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQAbstractSlider::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQAbstractSlider::sipProtect_setRepeatAction(QAbstractSlider::SliderAction a0,int a1,int a2)
{
    QAbstractSlider::setRepeatAction(a0,a1,a2);
}

QAbstractSlider::SliderAction sipQAbstractSlider::sipProtect_repeatAction() const
{
    return QAbstractSlider::repeatAction();
}

void sipQAbstractSlider::sipProtectVirt_sliderChange(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractSlider::sliderChange((QAbstractSlider::SliderChange)a0) : sliderChange((QAbstractSlider::SliderChange)a0));
}

bool sipQAbstractSlider::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractSlider::event(a0) : event(a0));
}

void sipQAbstractSlider::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::wheelEvent(a0) : wheelEvent(a0));
}

void sipQAbstractSlider::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractSlider::changeEvent(a0) : changeEvent(a0));
}


PyDoc_STRVAR(doc_QAbstractSlider_sender, "QAbstractSlider.sender() -> QObject");

extern "C" {static PyObject *meth_QAbstractSlider_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 464216 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_sender, doc_QAbstractSlider_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_receivers, "QAbstractSlider.receivers(signal) -> int");

extern "C" {static PyObject *meth_QAbstractSlider_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 464275 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_receivers, doc_QAbstractSlider_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_childEvent, "QAbstractSlider.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_childEvent, doc_QAbstractSlider_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_customEvent, "QAbstractSlider.customEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_customEvent, doc_QAbstractSlider_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_connectNotify, "QAbstractSlider.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractSlider_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_connectNotify, doc_QAbstractSlider_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_disconnectNotify, "QAbstractSlider.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractSlider_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_disconnectNotify, doc_QAbstractSlider_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_senderSignalIndex, "QAbstractSlider.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QAbstractSlider_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_senderSignalIndex, doc_QAbstractSlider_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_isSignalConnected, "QAbstractSlider.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractSlider_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_isSignalConnected, doc_QAbstractSlider_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_mousePressEvent, "QAbstractSlider.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_mousePressEvent, doc_QAbstractSlider_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_mouseReleaseEvent, "QAbstractSlider.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_mouseReleaseEvent, doc_QAbstractSlider_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_mouseDoubleClickEvent, "QAbstractSlider.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_mouseDoubleClickEvent, doc_QAbstractSlider_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_mouseMoveEvent, "QAbstractSlider.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_mouseMoveEvent, doc_QAbstractSlider_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_keyReleaseEvent, "QAbstractSlider.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_keyReleaseEvent, doc_QAbstractSlider_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_focusInEvent, "QAbstractSlider.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_focusInEvent, doc_QAbstractSlider_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_focusOutEvent, "QAbstractSlider.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_focusOutEvent, doc_QAbstractSlider_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_enterEvent, "QAbstractSlider.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_enterEvent, doc_QAbstractSlider_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_leaveEvent, "QAbstractSlider.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_leaveEvent, doc_QAbstractSlider_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_paintEvent, "QAbstractSlider.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_paintEvent, doc_QAbstractSlider_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_moveEvent, "QAbstractSlider.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_moveEvent, doc_QAbstractSlider_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_resizeEvent, "QAbstractSlider.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_resizeEvent, doc_QAbstractSlider_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_closeEvent, "QAbstractSlider.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_closeEvent, doc_QAbstractSlider_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_contextMenuEvent, "QAbstractSlider.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_contextMenuEvent, doc_QAbstractSlider_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_tabletEvent, "QAbstractSlider.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_tabletEvent, doc_QAbstractSlider_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_actionEvent, "QAbstractSlider.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_actionEvent, doc_QAbstractSlider_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_dragEnterEvent, "QAbstractSlider.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_dragEnterEvent, doc_QAbstractSlider_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_dragMoveEvent, "QAbstractSlider.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_dragMoveEvent, doc_QAbstractSlider_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_dragLeaveEvent, "QAbstractSlider.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_dragLeaveEvent, doc_QAbstractSlider_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_dropEvent, "QAbstractSlider.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_dropEvent, doc_QAbstractSlider_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_showEvent, "QAbstractSlider.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_showEvent, doc_QAbstractSlider_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_hideEvent, "QAbstractSlider.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_hideEvent, doc_QAbstractSlider_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_metric, "QAbstractSlider.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QAbstractSlider_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_metric, doc_QAbstractSlider_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_inputMethodEvent, "QAbstractSlider.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_inputMethodEvent, doc_QAbstractSlider_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_updateMicroFocus, "QAbstractSlider.updateMicroFocus()");

extern "C" {static PyObject *meth_QAbstractSlider_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_updateMicroFocus, doc_QAbstractSlider_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_create, "QAbstractSlider.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QAbstractSlider_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQAbstractSlider *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_create, doc_QAbstractSlider_create);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_destroy, "QAbstractSlider.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QAbstractSlider_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQAbstractSlider *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_destroy, doc_QAbstractSlider_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_focusNextPrevChild, "QAbstractSlider.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QAbstractSlider_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_focusNextPrevChild, doc_QAbstractSlider_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_focusNextChild, "QAbstractSlider.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QAbstractSlider_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_focusNextChild, doc_QAbstractSlider_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_focusPreviousChild, "QAbstractSlider.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QAbstractSlider_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_focusPreviousChild, doc_QAbstractSlider_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_nativeEvent, "QAbstractSlider.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QAbstractSlider_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_nativeEvent, doc_QAbstractSlider_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_sharedPainter, "QAbstractSlider.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QAbstractSlider_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_sharedPainter, doc_QAbstractSlider_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_initPainter, "QAbstractSlider.initPainter(QPainter)");

extern "C" {static PyObject *meth_QAbstractSlider_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_initPainter, doc_QAbstractSlider_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_orientation, "QAbstractSlider.orientation() -> Qt.Orientation");

extern "C" {static PyObject *meth_QAbstractSlider_orientation(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_orientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            Qt::Orientation sipRes;

            sipRes = sipCpp->orientation();

            return sipConvertFromEnum(sipRes,sipType_Qt_Orientation);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_orientation, doc_QAbstractSlider_orientation);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setMinimum, "QAbstractSlider.setMinimum(int)");

extern "C" {static PyObject *meth_QAbstractSlider_setMinimum(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setMinimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setMinimum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setMinimum, doc_QAbstractSlider_setMinimum);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_minimum, "QAbstractSlider.minimum() -> int");

extern "C" {static PyObject *meth_QAbstractSlider_minimum(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_minimum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minimum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_minimum, doc_QAbstractSlider_minimum);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setMaximum, "QAbstractSlider.setMaximum(int)");

extern "C" {static PyObject *meth_QAbstractSlider_setMaximum(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setMaximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setMaximum(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setMaximum, doc_QAbstractSlider_setMaximum);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_maximum, "QAbstractSlider.maximum() -> int");

extern "C" {static PyObject *meth_QAbstractSlider_maximum(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_maximum(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maximum();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_maximum, doc_QAbstractSlider_maximum);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setRange, "QAbstractSlider.setRange(int, int)");

extern "C" {static PyObject *meth_QAbstractSlider_setRange(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setRange(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0, &a1))
        {
            sipCpp->setRange(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setRange, doc_QAbstractSlider_setRange);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setSingleStep, "QAbstractSlider.setSingleStep(int)");

extern "C" {static PyObject *meth_QAbstractSlider_setSingleStep(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setSingleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setSingleStep(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setSingleStep, doc_QAbstractSlider_setSingleStep);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_singleStep, "QAbstractSlider.singleStep() -> int");

extern "C" {static PyObject *meth_QAbstractSlider_singleStep(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_singleStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->singleStep();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_singleStep, doc_QAbstractSlider_singleStep);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setPageStep, "QAbstractSlider.setPageStep(int)");

extern "C" {static PyObject *meth_QAbstractSlider_setPageStep(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setPageStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setPageStep(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setPageStep, doc_QAbstractSlider_setPageStep);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_pageStep, "QAbstractSlider.pageStep() -> int");

extern "C" {static PyObject *meth_QAbstractSlider_pageStep(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_pageStep(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->pageStep();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_pageStep, doc_QAbstractSlider_pageStep);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setTracking, "QAbstractSlider.setTracking(bool)");

extern "C" {static PyObject *meth_QAbstractSlider_setTracking(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setTracking(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setTracking(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setTracking, doc_QAbstractSlider_setTracking);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_hasTracking, "QAbstractSlider.hasTracking() -> bool");

extern "C" {static PyObject *meth_QAbstractSlider_hasTracking(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_hasTracking(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasTracking();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_hasTracking, doc_QAbstractSlider_hasTracking);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setSliderDown, "QAbstractSlider.setSliderDown(bool)");

extern "C" {static PyObject *meth_QAbstractSlider_setSliderDown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setSliderDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setSliderDown(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setSliderDown, doc_QAbstractSlider_setSliderDown);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_isSliderDown, "QAbstractSlider.isSliderDown() -> bool");

extern "C" {static PyObject *meth_QAbstractSlider_isSliderDown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_isSliderDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isSliderDown();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_isSliderDown, doc_QAbstractSlider_isSliderDown);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setSliderPosition, "QAbstractSlider.setSliderPosition(int)");

extern "C" {static PyObject *meth_QAbstractSlider_setSliderPosition(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setSliderPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setSliderPosition(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setSliderPosition, doc_QAbstractSlider_setSliderPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_sliderPosition, "QAbstractSlider.sliderPosition() -> int");

extern "C" {static PyObject *meth_QAbstractSlider_sliderPosition(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_sliderPosition(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sliderPosition();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_sliderPosition, doc_QAbstractSlider_sliderPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setInvertedAppearance, "QAbstractSlider.setInvertedAppearance(bool)");

extern "C" {static PyObject *meth_QAbstractSlider_setInvertedAppearance(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setInvertedAppearance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setInvertedAppearance(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setInvertedAppearance, doc_QAbstractSlider_setInvertedAppearance);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_invertedAppearance, "QAbstractSlider.invertedAppearance() -> bool");

extern "C" {static PyObject *meth_QAbstractSlider_invertedAppearance(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_invertedAppearance(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->invertedAppearance();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_invertedAppearance, doc_QAbstractSlider_invertedAppearance);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setInvertedControls, "QAbstractSlider.setInvertedControls(bool)");

extern "C" {static PyObject *meth_QAbstractSlider_setInvertedControls(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setInvertedControls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setInvertedControls(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setInvertedControls, doc_QAbstractSlider_setInvertedControls);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_invertedControls, "QAbstractSlider.invertedControls() -> bool");

extern "C" {static PyObject *meth_QAbstractSlider_invertedControls(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_invertedControls(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->invertedControls();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_invertedControls, doc_QAbstractSlider_invertedControls);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_value, "QAbstractSlider.value() -> int");

extern "C" {static PyObject *meth_QAbstractSlider_value(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_value(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->value();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_value, doc_QAbstractSlider_value);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_triggerAction, "QAbstractSlider.triggerAction(QAbstractSlider.SliderAction)");

extern "C" {static PyObject *meth_QAbstractSlider_triggerAction(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_triggerAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSlider::SliderAction a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QAbstractSlider_SliderAction, &a0))
        {
            sipCpp->triggerAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_triggerAction, doc_QAbstractSlider_triggerAction);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setValue, "QAbstractSlider.setValue(int)");

extern "C" {static PyObject *meth_QAbstractSlider_setValue(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setValue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractSlider, &sipCpp, &a0))
        {
            sipCpp->setValue(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setValue, doc_QAbstractSlider_setValue);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setOrientation, "QAbstractSlider.setOrientation(Qt.Orientation)");

extern "C" {static PyObject *meth_QAbstractSlider_setOrientation(PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setOrientation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Orientation a0;
        QAbstractSlider *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_Qt_Orientation, &a0))
        {
            sipCpp->setOrientation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setOrientation, doc_QAbstractSlider_setOrientation);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_setRepeatAction, "QAbstractSlider.setRepeatAction(QAbstractSlider.SliderAction, int thresholdTime=500, int repeatTime=50)");

extern "C" {static PyObject *meth_QAbstractSlider_setRepeatAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_setRepeatAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractSlider::SliderAction a0;
        int a1 = 500;
        int a2 = 50;
        sipQAbstractSlider *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_thresholdTime,
            sipName_repeatTime,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|ii", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QAbstractSlider_SliderAction, &a0, &a1, &a2))
        {
            sipCpp->sipProtect_setRepeatAction(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_setRepeatAction, doc_QAbstractSlider_setRepeatAction);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_repeatAction, "QAbstractSlider.repeatAction() -> QAbstractSlider.SliderAction");

extern "C" {static PyObject *meth_QAbstractSlider_repeatAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_repeatAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractSlider, &sipCpp))
        {
            QAbstractSlider::SliderAction sipRes;

            sipRes = sipCpp->sipProtect_repeatAction();

            return sipConvertFromEnum(sipRes,sipType_QAbstractSlider_SliderAction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_repeatAction, doc_QAbstractSlider_repeatAction);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_sliderChange, "QAbstractSlider.sliderChange(QAbstractSlider.SliderChange)");

extern "C" {static PyObject *meth_QAbstractSlider_sliderChange(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_sliderChange(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QAbstractSlider_SliderChange, &a0))
        {
            sipCpp->sipProtectVirt_sliderChange(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_sliderChange, doc_QAbstractSlider_sliderChange);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_event, "QAbstractSlider.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractSlider_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_event, doc_QAbstractSlider_event);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_keyPressEvent, "QAbstractSlider.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_keyPressEvent, doc_QAbstractSlider_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_timerEvent, "QAbstractSlider.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_timerEvent, doc_QAbstractSlider_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_wheelEvent, "QAbstractSlider.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_wheelEvent, doc_QAbstractSlider_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractSlider_changeEvent, "QAbstractSlider.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractSlider_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractSlider_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractSlider *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractSlider, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractSlider, sipName_changeEvent, doc_QAbstractSlider_changeEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractSlider(void *, const sipTypeDef *);}
static void *cast_QAbstractSlider(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractSlider)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QAbstractSlider *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractSlider(void *, int);}
static void release_QAbstractSlider(void *sipCppV,int)
{
    QAbstractSlider *sipCpp = reinterpret_cast<QAbstractSlider *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractSlider(sipSimpleWrapper *);}
static void dealloc_QAbstractSlider(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractSlider *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractSlider(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractSlider(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractSlider(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractSlider *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractSlider(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractSlider[] = {{454, 255, 1}};


static PyMethodDef methods_QAbstractSlider[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QAbstractSlider_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QAbstractSlider_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSlider_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractSlider_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QAbstractSlider_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractSlider_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QAbstractSlider_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QAbstractSlider_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractSlider_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QAbstractSlider_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractSlider_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QAbstractSlider_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QAbstractSlider_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QAbstractSlider_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QAbstractSlider_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QAbstractSlider_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QAbstractSlider_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSlider_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QAbstractSlider_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QAbstractSlider_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QAbstractSlider_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QAbstractSlider_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QAbstractSlider_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hasTracking), meth_QAbstractSlider_hasTracking, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_hasTracking)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QAbstractSlider_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QAbstractSlider_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QAbstractSlider_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_invertedAppearance), meth_QAbstractSlider_invertedAppearance, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_invertedAppearance)},
    {SIP_MLNAME_CAST(sipName_invertedControls), meth_QAbstractSlider_invertedControls, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_invertedControls)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractSlider_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSliderDown), meth_QAbstractSlider_isSliderDown, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_isSliderDown)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QAbstractSlider_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSlider_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QAbstractSlider_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QAbstractSlider_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maximum), meth_QAbstractSlider_maximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_maximum)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QAbstractSlider_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimum), meth_QAbstractSlider_minimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_minimum)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QAbstractSlider_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QAbstractSlider_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QAbstractSlider_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QAbstractSlider_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QAbstractSlider_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QAbstractSlider_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_orientation), meth_QAbstractSlider_orientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_orientation)},
    {SIP_MLNAME_CAST(sipName_pageStep), meth_QAbstractSlider_pageStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_pageStep)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QAbstractSlider_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractSlider_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_repeatAction), (PyCFunction)meth_QAbstractSlider_repeatAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSlider_repeatAction)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QAbstractSlider_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractSlider_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractSlider_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setInvertedAppearance), meth_QAbstractSlider_setInvertedAppearance, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setInvertedAppearance)},
    {SIP_MLNAME_CAST(sipName_setInvertedControls), meth_QAbstractSlider_setInvertedControls, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setInvertedControls)},
    {SIP_MLNAME_CAST(sipName_setMaximum), meth_QAbstractSlider_setMaximum, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setMaximum)},
    {SIP_MLNAME_CAST(sipName_setMinimum), meth_QAbstractSlider_setMinimum, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setMinimum)},
    {SIP_MLNAME_CAST(sipName_setOrientation), meth_QAbstractSlider_setOrientation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setOrientation)},
    {SIP_MLNAME_CAST(sipName_setPageStep), meth_QAbstractSlider_setPageStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setPageStep)},
    {SIP_MLNAME_CAST(sipName_setRange), meth_QAbstractSlider_setRange, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setRange)},
    {SIP_MLNAME_CAST(sipName_setRepeatAction), (PyCFunction)meth_QAbstractSlider_setRepeatAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSlider_setRepeatAction)},
    {SIP_MLNAME_CAST(sipName_setSingleStep), meth_QAbstractSlider_setSingleStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setSingleStep)},
    {SIP_MLNAME_CAST(sipName_setSliderDown), meth_QAbstractSlider_setSliderDown, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setSliderDown)},
    {SIP_MLNAME_CAST(sipName_setSliderPosition), meth_QAbstractSlider_setSliderPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setSliderPosition)},
    {SIP_MLNAME_CAST(sipName_setTracking), meth_QAbstractSlider_setTracking, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setTracking)},
    {SIP_MLNAME_CAST(sipName_setValue), meth_QAbstractSlider_setValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_setValue)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QAbstractSlider_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QAbstractSlider_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_singleStep), meth_QAbstractSlider_singleStep, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_singleStep)},
    {SIP_MLNAME_CAST(sipName_sliderChange), (PyCFunction)meth_QAbstractSlider_sliderChange, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSlider_sliderChange)},
    {SIP_MLNAME_CAST(sipName_sliderPosition), meth_QAbstractSlider_sliderPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_sliderPosition)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QAbstractSlider_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractSlider_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSlider_timerEvent)},
    {SIP_MLNAME_CAST(sipName_triggerAction), meth_QAbstractSlider_triggerAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_triggerAction)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QAbstractSlider_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_value), meth_QAbstractSlider_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractSlider_value)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QAbstractSlider_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractSlider_wheelEvent)}
};

static sipEnumMemberDef enummembers_QAbstractSlider[] = {
    {sipName_SliderMove, static_cast<int>(QAbstractSlider::SliderMove), 18},
    {sipName_SliderNoAction, static_cast<int>(QAbstractSlider::SliderNoAction), 18},
    {sipName_SliderOrientationChange, static_cast<int>(sipQAbstractSlider::SliderOrientationChange), 19},
    {sipName_SliderPageStepAdd, static_cast<int>(QAbstractSlider::SliderPageStepAdd), 18},
    {sipName_SliderPageStepSub, static_cast<int>(QAbstractSlider::SliderPageStepSub), 18},
    {sipName_SliderRangeChange, static_cast<int>(sipQAbstractSlider::SliderRangeChange), 19},
    {sipName_SliderSingleStepAdd, static_cast<int>(QAbstractSlider::SliderSingleStepAdd), 18},
    {sipName_SliderSingleStepSub, static_cast<int>(QAbstractSlider::SliderSingleStepSub), 18},
    {sipName_SliderStepsChange, static_cast<int>(sipQAbstractSlider::SliderStepsChange), 19},
    {sipName_SliderToMaximum, static_cast<int>(QAbstractSlider::SliderToMaximum), 18},
    {sipName_SliderToMinimum, static_cast<int>(QAbstractSlider::SliderToMinimum), 18},
    {sipName_SliderValueChange, static_cast<int>(sipQAbstractSlider::SliderValueChange), 19},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractSlider[] = {
    {"actionTriggered(int)", "\1QAbstractSlider.actionTriggered[int]", 0, 0},
    {"rangeChanged(int,int)", "\1QAbstractSlider.rangeChanged[int, int]", 0, 0},
    {"sliderReleased()", "\1QAbstractSlider.sliderReleased", 0, 0},
    {"sliderMoved(int)", "\1QAbstractSlider.sliderMoved[int]", 0, 0},
    {"sliderPressed()", "\1QAbstractSlider.sliderPressed", 0, 0},
    {"valueChanged(int)", "\1QAbstractSlider.valueChanged[int]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractSlider, "\1QAbstractSlider(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAbstractSlider = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractSlider,
        {0}
    },
    {
        sipNameNr_QAbstractSlider,
        {0, 0, 1},
        73, methods_QAbstractSlider,
        12, enummembers_QAbstractSlider,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractSlider,
    -1,
    -1,
    supers_QAbstractSlider,
    0,
    init_type_QAbstractSlider,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractSlider,
    0,
    0,
    0,
    release_QAbstractSlider,
    cast_QAbstractSlider,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QAbstractSlider::staticMetaObject,
    0,
    signals_QAbstractSlider,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 466520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 466524 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 466527 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 466530 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 466533 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466536 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 466539 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 466542 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 466545 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 466548 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 466551 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 466554 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 466557 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 466560 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 466563 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 466566 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 466569 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 466572 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 466575 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 466578 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 466581 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 466584 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 466587 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 466590 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 466593 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 466596 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 466599 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 466602 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 466605 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466608 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466611 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466614 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466620 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 466656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 466659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 466662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 466665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 466668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 466671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 466674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 466677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 466680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 466683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 466686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 466689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 466692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 466695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 466698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 466701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 466704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 466707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 466710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 466713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 466716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 466719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 466722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQFrame : public QFrame
{
public:
    sipQFrame(QWidget*,Qt::WindowFlags);
    virtual ~sipQFrame();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void paintEvent(QPaintEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQFrame(const sipQFrame &);
    sipQFrame &operator = (const sipQFrame &);

    char sipPyMethods[46];
};

sipQFrame::sipQFrame(QWidget*a0,Qt::WindowFlags a1): QFrame(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQFrame::~sipQFrame()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQFrame::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QFrame);
}

int sipQFrame::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QFrame::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QFrame,_c,_id,_a);

    return _id;
}

void *sipQFrame::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QFrame, _clname, &sipCpp) ? sipCpp : QFrame::qt_metacast(_clname));
}

void sipQFrame::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QFrame::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QFrame::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QFrame::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QFrame::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QFrame::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFrame::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QFrame::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQFrame::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QFrame::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQFrame::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QFrame::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFrame::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QFrame::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQFrame::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QFrame::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQFrame::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QFrame::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQFrame::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QFrame::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QFrame::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFrame::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QFrame::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QFrame::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QFrame::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QFrame::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QFrame::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QFrame::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QFrame::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QFrame::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QFrame::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QFrame::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QFrame::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QFrame::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QFrame::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QFrame::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QFrame::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QFrame::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QFrame::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QFrame::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QFrame::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QFrame::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QFrame::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QFrame::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QFrame::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QFrame::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQFrame::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QFrame::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQFrame::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QFrame::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQFrame::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QFrame::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFrame::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QFrame::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQFrame::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QFrame::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQFrame::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QFrame::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQFrame::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QFrame::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQFrame::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QFrame::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQFrame::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QFrame::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQFrame::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQFrame::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQFrame::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQFrame::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQFrame::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQFrame::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQFrame::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQFrame::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQFrame::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQFrame::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQFrame::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQFrame::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQFrame::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQFrame::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQFrame::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQFrame::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQFrame::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQFrame::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQFrame::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQFrame::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQFrame::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQFrame::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQFrame::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQFrame::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQFrame::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQFrame::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQFrame::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQFrame::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQFrame::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQFrame::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQFrame::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQFrame::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQFrame::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQFrame::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQFrame::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQFrame::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQFrame::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQFrame::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQFrame::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQFrame::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQFrame::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQFrame::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQFrame::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

bool sipQFrame::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QFrame::event(a0) : event(a0));
}

void sipQFrame::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QFrame::paintEvent(a0) : paintEvent(a0));
}

void sipQFrame::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQFrame::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}


PyDoc_STRVAR(doc_QFrame_sender, "QFrame.sender() -> QObject");

extern "C" {static PyObject *meth_QFrame_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 467946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_sender, doc_QFrame_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_receivers, "QFrame.receivers(signal) -> int");

extern "C" {static PyObject *meth_QFrame_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QFrame, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 468005 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_receivers, doc_QFrame_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_timerEvent, "QFrame.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QFrame_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_timerEvent, doc_QFrame_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_childEvent, "QFrame.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QFrame_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_childEvent, doc_QFrame_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_customEvent, "QFrame.customEvent(QEvent)");

extern "C" {static PyObject *meth_QFrame_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_customEvent, doc_QFrame_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_connectNotify, "QFrame.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFrame_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFrame, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_connectNotify, doc_QFrame_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_disconnectNotify, "QFrame.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QFrame_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFrame, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_disconnectNotify, doc_QFrame_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_senderSignalIndex, "QFrame.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QFrame_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_senderSignalIndex, doc_QFrame_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_isSignalConnected, "QFrame.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QFrame_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QFrame, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_isSignalConnected, doc_QFrame_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_mousePressEvent, "QFrame.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFrame_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_mousePressEvent, doc_QFrame_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_mouseReleaseEvent, "QFrame.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFrame_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_mouseReleaseEvent, doc_QFrame_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_mouseDoubleClickEvent, "QFrame.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFrame_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_mouseDoubleClickEvent, doc_QFrame_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_mouseMoveEvent, "QFrame.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QFrame_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_mouseMoveEvent, doc_QFrame_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_wheelEvent, "QFrame.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QFrame_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_wheelEvent, doc_QFrame_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_keyPressEvent, "QFrame.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFrame_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_keyPressEvent, doc_QFrame_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_keyReleaseEvent, "QFrame.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QFrame_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_keyReleaseEvent, doc_QFrame_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_focusInEvent, "QFrame.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFrame_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_focusInEvent, doc_QFrame_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_focusOutEvent, "QFrame.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QFrame_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_focusOutEvent, doc_QFrame_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_enterEvent, "QFrame.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QFrame_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_enterEvent, doc_QFrame_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_leaveEvent, "QFrame.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QFrame_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_leaveEvent, doc_QFrame_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_moveEvent, "QFrame.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QFrame_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_moveEvent, doc_QFrame_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_resizeEvent, "QFrame.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QFrame_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_resizeEvent, doc_QFrame_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_closeEvent, "QFrame.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QFrame_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_closeEvent, doc_QFrame_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_contextMenuEvent, "QFrame.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QFrame_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_contextMenuEvent, doc_QFrame_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_tabletEvent, "QFrame.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QFrame_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_tabletEvent, doc_QFrame_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_actionEvent, "QFrame.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QFrame_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_actionEvent, doc_QFrame_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_dragEnterEvent, "QFrame.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QFrame_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_dragEnterEvent, doc_QFrame_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_dragMoveEvent, "QFrame.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QFrame_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_dragMoveEvent, doc_QFrame_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_dragLeaveEvent, "QFrame.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QFrame_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_dragLeaveEvent, doc_QFrame_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_dropEvent, "QFrame.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QFrame_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_dropEvent, doc_QFrame_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_showEvent, "QFrame.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QFrame_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_showEvent, doc_QFrame_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_hideEvent, "QFrame.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QFrame_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_hideEvent, doc_QFrame_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_metric, "QFrame.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QFrame_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QFrame, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_metric, doc_QFrame_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_inputMethodEvent, "QFrame.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QFrame_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_inputMethodEvent, doc_QFrame_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_updateMicroFocus, "QFrame.updateMicroFocus()");

extern "C" {static PyObject *meth_QFrame_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_updateMicroFocus, doc_QFrame_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_create, "QFrame.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QFrame_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQFrame *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QFrame, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_create, doc_QFrame_create);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_destroy, "QFrame.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QFrame_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQFrame *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QFrame, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_destroy, doc_QFrame_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_focusNextPrevChild, "QFrame.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QFrame_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QFrame, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_focusNextPrevChild, doc_QFrame_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_focusNextChild, "QFrame.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QFrame_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_focusNextChild, doc_QFrame_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_focusPreviousChild, "QFrame.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QFrame_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_focusPreviousChild, doc_QFrame_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_nativeEvent, "QFrame.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QFrame_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QFrame, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_nativeEvent, doc_QFrame_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_sharedPainter, "QFrame.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QFrame_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_sharedPainter, doc_QFrame_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_initPainter, "QFrame.initPainter(QPainter)");

extern "C" {static PyObject *meth_QFrame_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_initPainter, doc_QFrame_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_frameStyle, "QFrame.frameStyle() -> int");

extern "C" {static PyObject *meth_QFrame_frameStyle(PyObject *, PyObject *);}
static PyObject *meth_QFrame_frameStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->frameStyle();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_frameStyle, doc_QFrame_frameStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_setFrameStyle, "QFrame.setFrameStyle(int)");

extern "C" {static PyObject *meth_QFrame_setFrameStyle(PyObject *, PyObject *);}
static PyObject *meth_QFrame_setFrameStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFrame, &sipCpp, &a0))
        {
            sipCpp->setFrameStyle(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_setFrameStyle, doc_QFrame_setFrameStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_frameWidth, "QFrame.frameWidth() -> int");

extern "C" {static PyObject *meth_QFrame_frameWidth(PyObject *, PyObject *);}
static PyObject *meth_QFrame_frameWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->frameWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_frameWidth, doc_QFrame_frameWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_sizeHint, "QFrame.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QFrame_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QFrame_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QFrame::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_sizeHint, doc_QFrame_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_frameShape, "QFrame.frameShape() -> QFrame.Shape");

extern "C" {static PyObject *meth_QFrame_frameShape(PyObject *, PyObject *);}
static PyObject *meth_QFrame_frameShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            QFrame::Shape sipRes;

            sipRes = sipCpp->frameShape();

            return sipConvertFromEnum(sipRes,sipType_QFrame_Shape);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_frameShape, doc_QFrame_frameShape);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_setFrameShape, "QFrame.setFrameShape(QFrame.Shape)");

extern "C" {static PyObject *meth_QFrame_setFrameShape(PyObject *, PyObject *);}
static PyObject *meth_QFrame_setFrameShape(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFrame::Shape a0;
        QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFrame, &sipCpp, sipType_QFrame_Shape, &a0))
        {
            sipCpp->setFrameShape(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_setFrameShape, doc_QFrame_setFrameShape);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_frameShadow, "QFrame.frameShadow() -> QFrame.Shadow");

extern "C" {static PyObject *meth_QFrame_frameShadow(PyObject *, PyObject *);}
static PyObject *meth_QFrame_frameShadow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            QFrame::Shadow sipRes;

            sipRes = sipCpp->frameShadow();

            return sipConvertFromEnum(sipRes,sipType_QFrame_Shadow);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_frameShadow, doc_QFrame_frameShadow);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_setFrameShadow, "QFrame.setFrameShadow(QFrame.Shadow)");

extern "C" {static PyObject *meth_QFrame_setFrameShadow(PyObject *, PyObject *);}
static PyObject *meth_QFrame_setFrameShadow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QFrame::Shadow a0;
        QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QFrame, &sipCpp, sipType_QFrame_Shadow, &a0))
        {
            sipCpp->setFrameShadow(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_setFrameShadow, doc_QFrame_setFrameShadow);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_lineWidth, "QFrame.lineWidth() -> int");

extern "C" {static PyObject *meth_QFrame_lineWidth(PyObject *, PyObject *);}
static PyObject *meth_QFrame_lineWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->lineWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_lineWidth, doc_QFrame_lineWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_setLineWidth, "QFrame.setLineWidth(int)");

extern "C" {static PyObject *meth_QFrame_setLineWidth(PyObject *, PyObject *);}
static PyObject *meth_QFrame_setLineWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFrame, &sipCpp, &a0))
        {
            sipCpp->setLineWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_setLineWidth, doc_QFrame_setLineWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_midLineWidth, "QFrame.midLineWidth() -> int");

extern "C" {static PyObject *meth_QFrame_midLineWidth(PyObject *, PyObject *);}
static PyObject *meth_QFrame_midLineWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->midLineWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_midLineWidth, doc_QFrame_midLineWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_setMidLineWidth, "QFrame.setMidLineWidth(int)");

extern "C" {static PyObject *meth_QFrame_setMidLineWidth(PyObject *, PyObject *);}
static PyObject *meth_QFrame_setMidLineWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QFrame, &sipCpp, &a0))
        {
            sipCpp->setMidLineWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_setMidLineWidth, doc_QFrame_setMidLineWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_frameRect, "QFrame.frameRect() -> QRect");

extern "C" {static PyObject *meth_QFrame_frameRect(PyObject *, PyObject *);}
static PyObject *meth_QFrame_frameRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QFrame, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->frameRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_frameRect, doc_QFrame_frameRect);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_setFrameRect, "QFrame.setFrameRect(QRect)");

extern "C" {static PyObject *meth_QFrame_setFrameRect(PyObject *, PyObject *);}
static PyObject *meth_QFrame_setFrameRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        QFrame *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QFrame, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->setFrameRect(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_setFrameRect, doc_QFrame_setFrameRect);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_event, "QFrame.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QFrame_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_event, doc_QFrame_event);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_paintEvent, "QFrame.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QFrame_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_paintEvent, doc_QFrame_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_changeEvent, "QFrame.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QFrame_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_changeEvent, doc_QFrame_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QFrame_drawFrame, "QFrame.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QFrame_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QFrame_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQFrame *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QFrame, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QFrame, sipName_drawFrame, doc_QFrame_drawFrame);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QFrame(void *, const sipTypeDef *);}
static void *cast_QFrame(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QFrame)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QFrame *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QFrame(void *, int);}
static void release_QFrame(void *sipCppV,int)
{
    QFrame *sipCpp = reinterpret_cast<QFrame *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QFrame(sipSimpleWrapper *);}
static void dealloc_QFrame(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQFrame *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QFrame(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QFrame(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QFrame(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQFrame *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQFrame(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QFrame[] = {{454, 255, 1}};


static PyMethodDef methods_QFrame[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QFrame_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QFrame_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFrame_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QFrame_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QFrame_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QFrame_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QFrame_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QFrame_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QFrame_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QFrame_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QFrame_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QFrame_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QFrame_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QFrame_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QFrame_drawFrame, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFrame_drawFrame)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QFrame_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QFrame_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QFrame_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFrame_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QFrame_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QFrame_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QFrame_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QFrame_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QFrame_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_frameRect), meth_QFrame_frameRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_frameRect)},
    {SIP_MLNAME_CAST(sipName_frameShadow), meth_QFrame_frameShadow, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_frameShadow)},
    {SIP_MLNAME_CAST(sipName_frameShape), meth_QFrame_frameShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_frameShape)},
    {SIP_MLNAME_CAST(sipName_frameStyle), meth_QFrame_frameStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_frameStyle)},
    {SIP_MLNAME_CAST(sipName_frameWidth), meth_QFrame_frameWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_frameWidth)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QFrame_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QFrame_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QFrame_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QFrame_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QFrame_keyPressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QFrame_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QFrame_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_lineWidth), meth_QFrame_lineWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_lineWidth)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QFrame_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_midLineWidth), meth_QFrame_midLineWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_midLineWidth)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QFrame_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QFrame_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QFrame_mousePressEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QFrame_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QFrame_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QFrame_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QFrame_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QFrame_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QFrame_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QFrame_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QFrame_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QFrame_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setFrameRect), meth_QFrame_setFrameRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_setFrameRect)},
    {SIP_MLNAME_CAST(sipName_setFrameShadow), meth_QFrame_setFrameShadow, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_setFrameShadow)},
    {SIP_MLNAME_CAST(sipName_setFrameShape), meth_QFrame_setFrameShape, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_setFrameShape)},
    {SIP_MLNAME_CAST(sipName_setFrameStyle), meth_QFrame_setFrameStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_setFrameStyle)},
    {SIP_MLNAME_CAST(sipName_setLineWidth), meth_QFrame_setLineWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_setLineWidth)},
    {SIP_MLNAME_CAST(sipName_setMidLineWidth), meth_QFrame_setMidLineWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_setMidLineWidth)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QFrame_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QFrame_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QFrame_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QFrame_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QFrame_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QFrame_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QFrame_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QFrame_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QFrame[] = {
    {sipName_Box, static_cast<int>(QFrame::Box), 100},
    {sipName_HLine, static_cast<int>(QFrame::HLine), 100},
    {sipName_NoFrame, static_cast<int>(QFrame::NoFrame), 100},
    {sipName_Panel, static_cast<int>(QFrame::Panel), 100},
    {sipName_Plain, static_cast<int>(QFrame::Plain), 99},
    {sipName_Raised, static_cast<int>(QFrame::Raised), 99},
    {sipName_Shadow_Mask, static_cast<int>(QFrame::Shadow_Mask), 101},
    {sipName_Shape_Mask, static_cast<int>(QFrame::Shape_Mask), 101},
    {sipName_StyledPanel, static_cast<int>(QFrame::StyledPanel), 100},
    {sipName_Sunken, static_cast<int>(QFrame::Sunken), 99},
    {sipName_VLine, static_cast<int>(QFrame::VLine), 100},
    {sipName_WinPanel, static_cast<int>(QFrame::WinPanel), 100},
};

PyDoc_STRVAR(doc_QFrame, "\1QFrame(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QFrame = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QFrame,
        {0}
    },
    {
        sipNameNr_QFrame,
        {0, 0, 1},
        61, methods_QFrame,
        12, enummembers_QFrame,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QFrame,
    -1,
    -1,
    supers_QFrame,
    0,
    init_type_QFrame,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QFrame,
    0,
    0,
    0,
    release_QFrame,
    cast_QFrame,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QFrame::staticMetaObject,
    0,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 469898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 469902 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


extern "C" {static int slot_QAbstractItemView_EditTriggers___bool__(PyObject *);}
static int slot_QAbstractItemView_EditTriggers___bool__(PyObject *sipSelf)
{
    QAbstractItemView::EditTriggers *sipCpp = reinterpret_cast<QAbstractItemView::EditTriggers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractItemView_EditTriggers));

    if (!sipCpp)
        return -1;


    {
        {
            int sipRes = 0;

#line 119 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractItemView::EditTriggers::Int() != 0);
#line 469920 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___ne__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QAbstractItemView::EditTriggers *sipCpp = reinterpret_cast<QAbstractItemView::EditTriggers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractItemView_EditTriggers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView::EditTriggers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractItemView_EditTriggers, &a0, &a0State))
        {
            bool sipRes = 0;

#line 114 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractItemView::EditTriggers::Int() != a0->operator QAbstractItemView::EditTriggers::Int());
#line 469950 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QAbstractItemView::EditTriggers *>(a0),sipType_QAbstractItemView_EditTriggers,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,ne_slot,sipType_QAbstractItemView_EditTriggers,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___eq__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QAbstractItemView::EditTriggers *sipCpp = reinterpret_cast<QAbstractItemView::EditTriggers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractItemView_EditTriggers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView::EditTriggers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractItemView_EditTriggers, &a0, &a0State))
        {
            bool sipRes = 0;

#line 109 "sip/QtCore/qglobal.sip"
        sipRes = (sipCpp->operator QAbstractItemView::EditTriggers::Int() == a0->operator QAbstractItemView::EditTriggers::Int());
#line 469986 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(const_cast<QAbstractItemView::EditTriggers *>(a0),sipType_QAbstractItemView_EditTriggers,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,eq_slot,sipType_QAbstractItemView_EditTriggers,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___invert__(PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___invert__(PyObject *sipSelf)
{
    QAbstractItemView::EditTriggers *sipCpp = reinterpret_cast<QAbstractItemView::EditTriggers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractItemView_EditTriggers));

    if (!sipCpp)
        return 0;


    {
        {
            QAbstractItemView::EditTriggers*sipRes;

            sipRes = new QAbstractItemView::EditTriggers(~(*sipCpp));

            return sipConvertFromNewType(sipRes,sipType_QAbstractItemView_EditTriggers,NULL);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___and__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___and__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::EditTriggers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractItemView_EditTriggers, &a0, &a0State, &a1))
        {
            QAbstractItemView::EditTriggers*sipRes;

            sipRes = new QAbstractItemView::EditTriggers((*a0 & a1));
            sipReleaseType(a0,sipType_QAbstractItemView_EditTriggers,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractItemView_EditTriggers,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,and_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___xor__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___xor__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::EditTriggers* a0;
        int a0State = 0;
        QAbstractItemView::EditTriggers* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QAbstractItemView_EditTriggers, &a0, &a0State, sipType_QAbstractItemView_EditTriggers, &a1, &a1State))
        {
            QAbstractItemView::EditTriggers*sipRes;

            sipRes = new QAbstractItemView::EditTriggers((*a0 ^ *a1));
            sipReleaseType(a0,sipType_QAbstractItemView_EditTriggers,a0State);
            sipReleaseType(a1,sipType_QAbstractItemView_EditTriggers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractItemView_EditTriggers,NULL);
        }
    }

    {
        QAbstractItemView::EditTriggers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractItemView_EditTriggers, &a0, &a0State, &a1))
        {
            QAbstractItemView::EditTriggers*sipRes = 0;

#line 103 "sip/QtCore/qglobal.sip"
        sipRes = new QAbstractItemView::EditTriggers(*a0 ^ a1);
#line 470089 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QAbstractItemView_EditTriggers,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractItemView_EditTriggers,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,xor_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___or__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___or__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::EditTriggers* a0;
        int a0State = 0;
        QAbstractItemView::EditTriggers* a1;
        int a1State = 0;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_QAbstractItemView_EditTriggers, &a0, &a0State, sipType_QAbstractItemView_EditTriggers, &a1, &a1State))
        {
            QAbstractItemView::EditTriggers*sipRes;

            sipRes = new QAbstractItemView::EditTriggers((*a0 | *a1));
            sipReleaseType(a0,sipType_QAbstractItemView_EditTriggers,a0State);
            sipReleaseType(a1,sipType_QAbstractItemView_EditTriggers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractItemView_EditTriggers,NULL);
        }
    }

    {
        QAbstractItemView::EditTriggers* a0;
        int a0State = 0;
        int a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_QAbstractItemView_EditTriggers, &a0, &a0State, &a1))
        {
            QAbstractItemView::EditTriggers*sipRes = 0;

#line 98 "sip/QtCore/qglobal.sip"
        sipRes = new QAbstractItemView::EditTriggers(*a0 | a1);
#line 470139 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a0,sipType_QAbstractItemView_EditTriggers,a0State);

            return sipConvertFromNewType(sipRes,sipType_QAbstractItemView_EditTriggers,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWidgets,or_slot,NULL,sipArg0,sipArg1);
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___int__(PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___int__(PyObject *sipSelf)
{
    QAbstractItemView::EditTriggers *sipCpp = reinterpret_cast<QAbstractItemView::EditTriggers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractItemView_EditTriggers));

    if (!sipCpp)
        return 0;


    {
        {
            int sipRes;

            sipRes = *sipCpp;

            return SIPLong_FromLong(sipRes);
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QAbstractItemView_EditTriggers___ixor__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___ixor__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractItemView_EditTriggers)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QAbstractItemView::EditTriggers *sipCpp = reinterpret_cast<QAbstractItemView::EditTriggers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractItemView_EditTriggers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::EditTriggers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractItemView_EditTriggers, &a0, &a0State))
        {
            sipCpp->QAbstractItemView::EditTriggers::operator^=(*a0);
            sipReleaseType(a0,sipType_QAbstractItemView_EditTriggers,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_QAbstractItemView_EditTriggers___ior__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___ior__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractItemView_EditTriggers)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QAbstractItemView::EditTriggers *sipCpp = reinterpret_cast<QAbstractItemView::EditTriggers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractItemView_EditTriggers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::EditTriggers* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_QAbstractItemView_EditTriggers, &a0, &a0State))
        {
            sipCpp->QAbstractItemView::EditTriggers::operator|=(*a0);
            sipReleaseType(a0,sipType_QAbstractItemView_EditTriggers,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_QAbstractItemView_EditTriggers___iand__(PyObject *,PyObject *);}
static PyObject *slot_QAbstractItemView_EditTriggers___iand__(PyObject *sipSelf,PyObject *sipArg)
{
    if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QAbstractItemView_EditTriggers)))
    {
        Py_INCREF(Py_NotImplemented);
        return Py_NotImplemented;
    }

    QAbstractItemView::EditTriggers *sipCpp = reinterpret_cast<QAbstractItemView::EditTriggers *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QAbstractItemView_EditTriggers));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
            sipCpp->QAbstractItemView::EditTriggers::operator&=(a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    PyErr_Clear();

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractItemView_EditTriggers(void *, const sipTypeDef *);}
static void *cast_QAbstractItemView_EditTriggers(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QAbstractItemView_EditTriggers)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractItemView_EditTriggers(void *, int);}
static void release_QAbstractItemView_EditTriggers(void *sipCppV,int)
{
    delete reinterpret_cast<QAbstractItemView::EditTriggers *>(sipCppV);
}


extern "C" {static void assign_QAbstractItemView_EditTriggers(void *, SIP_SSIZE_T, const void *);}
static void assign_QAbstractItemView_EditTriggers(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QAbstractItemView::EditTriggers *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QAbstractItemView::EditTriggers *>(sipSrc);
}


extern "C" {static void *array_QAbstractItemView_EditTriggers(SIP_SSIZE_T);}
static void *array_QAbstractItemView_EditTriggers(SIP_SSIZE_T sipNrElem)
{
    return new QAbstractItemView::EditTriggers[sipNrElem];
}


extern "C" {static void *copy_QAbstractItemView_EditTriggers(const void *, SIP_SSIZE_T);}
static void *copy_QAbstractItemView_EditTriggers(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QAbstractItemView::EditTriggers(reinterpret_cast<const QAbstractItemView::EditTriggers *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QAbstractItemView_EditTriggers(sipSimpleWrapper *);}
static void dealloc_QAbstractItemView_EditTriggers(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractItemView_EditTriggers(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QAbstractItemView_EditTriggers(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractItemView_EditTriggers(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QAbstractItemView::EditTriggers *sipCpp = 0;

    {
        const QAbstractItemView::EditTriggers* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QAbstractItemView_EditTriggers, &a0, &a0State))
        {
            sipCpp = new QAbstractItemView::EditTriggers(*a0);
            sipReleaseType(const_cast<QAbstractItemView::EditTriggers *>(a0),sipType_QAbstractItemView_EditTriggers,a0State);

            return sipCpp;
        }
    }

    {
        int a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "i", &a0))
        {
            sipCpp = new QAbstractItemView::EditTriggers(a0);

            return sipCpp;
        }
    }

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new QAbstractItemView::EditTriggers();

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static int convertTo_QAbstractItemView_EditTriggers(PyObject *, void **, int *, PyObject *);}
static int convertTo_QAbstractItemView_EditTriggers(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QAbstractItemView::EditTriggers **sipCppPtr = reinterpret_cast<QAbstractItemView::EditTriggers **>(sipCppPtrV);

#line 124 "sip/QtCore/qglobal.sip"
// Allow an instance of the base enum whenever a QAbstractItemView::EditTriggers is expected.

if (sipIsErr == NULL)
    return (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QAbstractItemView_EditTrigger)) ||
            sipCanConvertToType(sipPy, sipType_QAbstractItemView_EditTriggers, SIP_NO_CONVERTORS));

if (PyObject_TypeCheck(sipPy, sipTypeAsPyTypeObject(sipType_QAbstractItemView_EditTrigger)))
{
    *sipCppPtr = new QAbstractItemView::EditTriggers(int(SIPLong_AsLong(sipPy)));

    return sipGetState(sipTransferObj);
}

*sipCppPtr = reinterpret_cast<QAbstractItemView::EditTriggers *>(sipConvertToType(sipPy, sipType_QAbstractItemView_EditTriggers, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr));

return 0;
#line 470416 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QAbstractItemView_EditTriggers[] = {
    {(void *)slot_QAbstractItemView_EditTriggers___bool__, bool_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___ne__, ne_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___eq__, eq_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___invert__, invert_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___and__, and_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___xor__, xor_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___or__, or_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___int__, int_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___ixor__, ixor_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___ior__, ior_slot},
    {(void *)slot_QAbstractItemView_EditTriggers___iand__, iand_slot},
    {0, (sipPySlotType)0}
};

PyDoc_STRVAR(doc_QAbstractItemView_EditTriggers, "\1QAbstractItemView.EditTriggers(QAbstractItemView.EditTriggers)\n"
    "QAbstractItemView.EditTriggers(int)\n"
    "QAbstractItemView.EditTriggers()");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAbstractItemView_EditTriggers = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractItemView__EditTriggers,
        {0}
    },
    {
        sipNameNr_EditTriggers,
        {4, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractItemView_EditTriggers,
    sipNameNr_PyQt5_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QAbstractItemView_EditTriggers,
    init_type_QAbstractItemView_EditTriggers,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractItemView_EditTriggers,
    assign_QAbstractItemView_EditTriggers,
    array_QAbstractItemView_EditTriggers,
    copy_QAbstractItemView_EditTriggers,
    release_QAbstractItemView_EditTriggers,
    cast_QAbstractItemView_EditTriggers,
    convertTo_QAbstractItemView_EditTriggers,
    0,
    0,
    0,
    0,
    0
},
    0,
    1,
    0,
    0
};

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 470498 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 470502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 470505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 470508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 470514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 470517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 470520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 470547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 470550 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 470553 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 470556 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 470559 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 470562 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 470565 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 470568 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 133 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 470571 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 470574 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 470577 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 470580 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 321 "sip/QtCore/qpycore_qvector.sip"
#include <qvector.h>
#line 470583 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 470586 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 470589 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 68 "sip/QtCore/qitemselectionmodel.sip"
#include <qitemselectionmodel.h>
#line 470592 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 470595 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 470598 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 470601 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 470604 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 470607 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470610 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470613 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470616 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 470619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 470622 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 470625 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 470628 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 470631 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 470634 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 470637 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 470640 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 470643 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 470646 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 470649 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 470652 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 470655 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 470658 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 470661 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 470664 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 470667 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 470670 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 470673 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470676 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470679 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470685 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 470691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 470694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 470697 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 470700 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 470703 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 470706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 470709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 470712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 470715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 470718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 470721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 470724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 470727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 470730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 470733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 470736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 470739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 470742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 470745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 470748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 470751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQAbstractItemView : public QAbstractItemView
{
public:
    sipQAbstractItemView(QWidget*);
    virtual ~sipQAbstractItemView();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /* Expose this protected enum. */
    enum sipDropIndicatorPosition {
        OnItem = QAbstractItemView::OnItem,
        AboveItem = QAbstractItemView::AboveItem,
        BelowItem = QAbstractItemView::BelowItem,
        OnViewport = QAbstractItemView::OnViewport
    };

    /* Expose this protected enum. */
    enum sipState {
        NoState = QAbstractItemView::NoState,
        DraggingState = QAbstractItemView::DraggingState,
        DragSelectingState = QAbstractItemView::DragSelectingState,
        EditingState = QAbstractItemView::EditingState,
        ExpandingState = QAbstractItemView::ExpandingState,
        CollapsingState = QAbstractItemView::CollapsingState,
        AnimatingState = QAbstractItemView::AnimatingState
    };

    /* Expose this protected enum. */
    enum sipCursorAction {
        MoveUp = QAbstractItemView::MoveUp,
        MoveDown = QAbstractItemView::MoveDown,
        MoveLeft = QAbstractItemView::MoveLeft,
        MoveRight = QAbstractItemView::MoveRight,
        MoveHome = QAbstractItemView::MoveHome,
        MoveEnd = QAbstractItemView::MoveEnd,
        MovePageUp = QAbstractItemView::MovePageUp,
        MovePageDown = QAbstractItemView::MovePageDown,
        MoveNext = QAbstractItemView::MoveNext,
        MovePrevious = QAbstractItemView::MovePrevious
    };

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);
    bool sipProtectVirt_edit(bool,const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    void sipProtectVirt_dataChanged(bool,const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void sipProtectVirt_rowsInserted(bool,const QModelIndex&,int,int);
    void sipProtectVirt_rowsAboutToBeRemoved(bool,const QModelIndex&,int,int);
    void sipProtectVirt_selectionChanged(bool,const QItemSelection&,const QItemSelection&);
    void sipProtectVirt_currentChanged(bool,const QModelIndex&,const QModelIndex&);
    void sipProtectVirt_updateEditorData(bool);
    void sipProtectVirt_updateEditorGeometries(bool);
    void sipProtectVirt_updateGeometries(bool);
    void sipProtectVirt_verticalScrollbarAction(bool,int);
    void sipProtectVirt_horizontalScrollbarAction(bool,int);
    void sipProtectVirt_verticalScrollbarValueChanged(bool,int);
    void sipProtectVirt_horizontalScrollbarValueChanged(bool,int);
    void sipProtectVirt_closeEditor(bool,QWidget*,QAbstractItemDelegate::EndEditHint);
    void sipProtectVirt_commitData(bool,QWidget*);
    void sipProtectVirt_editorDestroyed(bool,QObject*);
    QModelIndex sipProtect_moveCursor(int,Qt::KeyboardModifiers);
    int sipProtect_horizontalOffset() const;
    int sipProtect_verticalOffset() const;
    bool sipProtect_isIndexHidden(const QModelIndex&) const;
    void sipProtect_setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    QRegion sipProtect_visualRegionForSelection(const QItemSelection&) const;
    QModelIndexList sipProtectVirt_selectedIndexes(bool) const;
    QItemSelectionModel::SelectionFlags sipProtectVirt_selectionCommand(bool,const QModelIndex&,const QEvent*) const;
    void sipProtectVirt_startDrag(bool,Qt::DropActions);
    QStyleOptionViewItem sipProtectVirt_viewOptions(bool) const;
    int sipProtect_state() const;
    void sipProtect_setState(int);
    void sipProtect_scheduleDelayedItemsLayout();
    void sipProtect_executeDelayedItemsLayout();
    void sipProtect_scrollDirtyRegion(int,int);
    void sipProtect_setDirtyRegion(const QRegion&);
    QPoint sipProtect_dirtyRegionOffset() const;
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    int sipProtect_dropIndicatorPosition() const;
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    QSize sipProtectVirt_viewportSizeHint(bool) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    void scrollContentsBy(int,int);
    bool eventFilter(QObject*,QEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    void paintEvent(QPaintEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;
    QSize viewportSizeHint() const;
    void inputMethodEvent(QInputMethodEvent*);
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void timerEvent(QTimerEvent*);
    void resizeEvent(QResizeEvent*);
    void keyPressEvent(QKeyEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool viewportEvent(QEvent*);
    bool event(QEvent*);
    QStyleOptionViewItem viewOptions() const;
    void startDrag(Qt::DropActions);
    QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex&,const QEvent*) const;
    bool edit(const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);
    QModelIndexList selectedIndexes() const;
    QRegion visualRegionForSelection(const QItemSelection&) const;
    void setSelection(const QRect&,QItemSelectionModel::SelectionFlags);
    bool isIndexHidden(const QModelIndex&) const;
    int verticalOffset() const;
    int horizontalOffset() const;
    QModelIndex moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers);
    void editorDestroyed(QObject*);
    void commitData(QWidget*);
    void closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint);
    void horizontalScrollbarValueChanged(int);
    void verticalScrollbarValueChanged(int);
    void horizontalScrollbarAction(int);
    void verticalScrollbarAction(int);
    void updateGeometries();
    void updateEditorGeometries();
    void updateEditorData();
    void currentChanged(const QModelIndex&,const QModelIndex&);
    void selectionChanged(const QItemSelection&,const QItemSelection&);
    void rowsAboutToBeRemoved(const QModelIndex&,int,int);
    void rowsInserted(const QModelIndex&,int,int);
    void dataChanged(const QModelIndex&,const QModelIndex&,const QVector<int>&);
    void selectAll();
    void setRootIndex(const QModelIndex&);
    void reset();
    int sizeHintForColumn(int) const;
    int sizeHintForRow(int) const;
    QModelIndex indexAt(const QPoint&) const;
    void scrollTo(const QModelIndex&,QAbstractItemView::ScrollHint);
    QRect visualRect(const QModelIndex&) const;
    void keyboardSearch(const QString&);
    void setSelectionModel(QItemSelectionModel*);
    void setModel(QAbstractItemModel*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractItemView(const sipQAbstractItemView &);
    sipQAbstractItemView &operator = (const sipQAbstractItemView &);

    char sipPyMethods[87];
};

sipQAbstractItemView::sipQAbstractItemView(QWidget*a0): QAbstractItemView(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractItemView::~sipQAbstractItemView()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractItemView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractItemView);
}

int sipQAbstractItemView::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QAbstractItemView::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QAbstractItemView,_c,_id,_a);

    return _id;
}

void *sipQAbstractItemView::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QAbstractItemView, _clname, &sipCpp) ? sipCpp : QAbstractItemView::qt_metacast(_clname));
}

void sipQAbstractItemView::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractItemView::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractItemView::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractItemView::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractItemView::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QAbstractItemView::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQAbstractItemView::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QAbstractItemView::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractItemView::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QAbstractItemView::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractItemView::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QAbstractItemView::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQAbstractItemView::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QAbstractItemView::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QAbstractItemView::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QAbstractItemView::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QAbstractItemView::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QAbstractItemView::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QAbstractItemView::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QAbstractItemView::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QAbstractItemView::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QAbstractItemView::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QAbstractItemView::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQAbstractItemView::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QAbstractItemView::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQAbstractItemView::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QAbstractItemView::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QAbstractItemView::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractItemView::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QAbstractItemView::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractItemView::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QAbstractItemView::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QAbstractItemView::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QAbstractItemView::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractItemView::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractItemView::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemView::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QAbstractItemView::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QAbstractItemView::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QAbstractItemView::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQAbstractItemView::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QAbstractItemView::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQAbstractItemView::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QAbstractItemView::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQAbstractItemView::viewportSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_viewportSizeHint);

    if (!sipMeth)
        return QAbstractItemView::viewportSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractItemView::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QAbstractItemView::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemView::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QAbstractItemView::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQAbstractItemView::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QAbstractItemView::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractItemView::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QAbstractItemView::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QAbstractItemView::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QAbstractItemView::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QAbstractItemView::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QAbstractItemView::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QAbstractItemView::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QAbstractItemView::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QAbstractItemView::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QAbstractItemView::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QAbstractItemView::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QAbstractItemView::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QAbstractItemView::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemView::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QAbstractItemView::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemView::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractItemView::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QStyleOptionViewItem sipQAbstractItemView::viewOptions() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,NULL,sipName_viewOptions);

    if (!sipMeth)
        return QAbstractItemView::viewOptions();

    extern QStyleOptionViewItem sipVH_QtWidgets_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_46(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractItemView::startDrag(Qt::DropActions a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,NULL,sipName_startDrag);

    if (!sipMeth)
    {
        QAbstractItemView::startDrag(a0);
        return;
    }

    extern void sipVH_QtWidgets_91(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::DropActions);

    sipVH_QtWidgets_91(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QItemSelectionModel::SelectionFlags sipQAbstractItemView::selectionCommand(const QModelIndex& a0,const QEvent*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,NULL,sipName_selectionCommand);

    if (!sipMeth)
        return QAbstractItemView::selectionCommand(a0,a1);

    extern QItemSelectionModel::SelectionFlags sipVH_QtWidgets_144(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QEvent*);

    return sipVH_QtWidgets_144(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractItemView::edit(const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,NULL,sipName_edit);

    if (!sipMeth)
        return QAbstractItemView::edit(a0,a1,a2);

    extern bool sipVH_QtWidgets_145(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::EditTrigger,QEvent*);

    return sipVH_QtWidgets_145(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QModelIndexList sipQAbstractItemView::selectedIndexes() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,NULL,sipName_selectedIndexes);

    if (!sipMeth)
        return QAbstractItemView::selectedIndexes();

    extern QList<QModelIndex> sipVH_QtWidgets_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_27(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QRegion sipQAbstractItemView::visualRegionForSelection(const QItemSelection& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[55]),sipPySelf,sipName_QAbstractItemView,sipName_visualRegionForSelection);

    if (!sipMeth)
        return QRegion();

    extern QRegion sipVH_QtWidgets_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&);

    return sipVH_QtWidgets_28(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,sipName_QAbstractItemView,sipName_setSelection);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QRect&,QItemSelectionModel::SelectionFlags);

    sipVH_QtWidgets_29(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractItemView::isIndexHidden(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[57]),sipPySelf,sipName_QAbstractItemView,sipName_isIndexHidden);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_31)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return ((sipVH_QtCore_31)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[31]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractItemView::verticalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[58]),sipPySelf,sipName_QAbstractItemView,sipName_verticalOffset);

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQAbstractItemView::horizontalOffset() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[59]),sipPySelf,sipName_QAbstractItemView,sipName_horizontalOffset);

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QModelIndex sipQAbstractItemView::moveCursor(QAbstractItemView::CursorAction a0,Qt::KeyboardModifiers a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[60],sipPySelf,sipName_QAbstractItemView,sipName_moveCursor);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtWidgets_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,Qt::KeyboardModifiers);

    return sipVH_QtWidgets_30(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, (int)a0, a1);
}

void sipQAbstractItemView::editorDestroyed(QObject*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[61],sipPySelf,NULL,sipName_editorDestroyed);

    if (!sipMeth)
    {
        QAbstractItemView::editorDestroyed(a0);
        return;
    }

    extern void sipVH_QtWidgets_146(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*);

    sipVH_QtWidgets_146(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::commitData(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[62],sipPySelf,NULL,sipName_commitData);

    if (!sipMeth)
    {
        QAbstractItemView::commitData(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::closeEditor(QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[63],sipPySelf,NULL,sipName_closeEditor);

    if (!sipMeth)
    {
        QAbstractItemView::closeEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_147(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemDelegate::EndEditHint);

    sipVH_QtWidgets_147(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemView::horizontalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[64],sipPySelf,NULL,sipName_horizontalScrollbarValueChanged);

    if (!sipMeth)
    {
        QAbstractItemView::horizontalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::verticalScrollbarValueChanged(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[65],sipPySelf,NULL,sipName_verticalScrollbarValueChanged);

    if (!sipMeth)
    {
        QAbstractItemView::verticalScrollbarValueChanged(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::horizontalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[66],sipPySelf,NULL,sipName_horizontalScrollbarAction);

    if (!sipMeth)
    {
        QAbstractItemView::horizontalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::verticalScrollbarAction(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[67],sipPySelf,NULL,sipName_verticalScrollbarAction);

    if (!sipMeth)
    {
        QAbstractItemView::verticalScrollbarAction(a0);
        return;
    }

    typedef void (*sipVH_QtCore_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    ((sipVH_QtCore_4)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::updateGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[68],sipPySelf,NULL,sipName_updateGeometries);

    if (!sipMeth)
    {
        QAbstractItemView::updateGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractItemView::updateEditorGeometries()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[69],sipPySelf,NULL,sipName_updateEditorGeometries);

    if (!sipMeth)
    {
        QAbstractItemView::updateEditorGeometries();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractItemView::updateEditorData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[70],sipPySelf,NULL,sipName_updateEditorData);

    if (!sipMeth)
    {
        QAbstractItemView::updateEditorData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractItemView::currentChanged(const QModelIndex& a0,const QModelIndex& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[71],sipPySelf,NULL,sipName_currentChanged);

    if (!sipMeth)
    {
        QAbstractItemView::currentChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&);

    sipVH_QtWidgets_23(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemView::selectionChanged(const QItemSelection& a0,const QItemSelection& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[72],sipPySelf,NULL,sipName_selectionChanged);

    if (!sipMeth)
    {
        QAbstractItemView::selectionChanged(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QItemSelection&,const QItemSelection&);

    sipVH_QtWidgets_24(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemView::rowsAboutToBeRemoved(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[73],sipPySelf,NULL,sipName_rowsAboutToBeRemoved);

    if (!sipMeth)
    {
        QAbstractItemView::rowsAboutToBeRemoved(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractItemView::rowsInserted(const QModelIndex& a0,int a1,int a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[74],sipPySelf,NULL,sipName_rowsInserted);

    if (!sipMeth)
    {
        QAbstractItemView::rowsInserted(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,int,int);

    sipVH_QtWidgets_31(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractItemView::dataChanged(const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[75],sipPySelf,NULL,sipName_dataChanged);

    if (!sipMeth)
    {
        QAbstractItemView::dataChanged(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,const QModelIndex&,const QVector<int>&);

    sipVH_QtWidgets_32(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractItemView::selectAll()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[76],sipPySelf,NULL,sipName_selectAll);

    if (!sipMeth)
    {
        QAbstractItemView::selectAll();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractItemView::setRootIndex(const QModelIndex& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[77],sipPySelf,NULL,sipName_setRootIndex);

    if (!sipMeth)
    {
        QAbstractItemView::setRootIndex(a0);
        return;
    }

    typedef void (*sipVH_QtCore_32)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    ((sipVH_QtCore_32)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[32]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[78],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QAbstractItemView::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQAbstractItemView::sizeHintForColumn(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[79]),sipPySelf,NULL,sipName_sizeHintForColumn);

    if (!sipMeth)
        return QAbstractItemView::sizeHintForColumn(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractItemView::sizeHintForRow(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[80]),sipPySelf,NULL,sipName_sizeHintForRow);

    if (!sipMeth)
        return QAbstractItemView::sizeHintForRow(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QModelIndex sipQAbstractItemView::indexAt(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[81]),sipPySelf,sipName_QAbstractItemView,sipName_indexAt);

    if (!sipMeth)
        return QModelIndex();

    extern QModelIndex sipVH_QtWidgets_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_33(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::scrollTo(const QModelIndex& a0,QAbstractItemView::ScrollHint a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[82],sipPySelf,sipName_QAbstractItemView,sipName_scrollTo);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&,QAbstractItemView::ScrollHint);

    sipVH_QtWidgets_34(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QRect sipQAbstractItemView::visualRect(const QModelIndex& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[83]),sipPySelf,sipName_QAbstractItemView,sipName_visualRect);

    if (!sipMeth)
        return QRect();

    extern QRect sipVH_QtWidgets_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QModelIndex&);

    return sipVH_QtWidgets_35(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::keyboardSearch(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[84],sipPySelf,NULL,sipName_keyboardSearch);

    if (!sipMeth)
    {
        QAbstractItemView::keyboardSearch(a0);
        return;
    }

    typedef void (*sipVH_QtGui_22)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtGui_22)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[22]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::setSelectionModel(QItemSelectionModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[85],sipPySelf,NULL,sipName_setSelectionModel);

    if (!sipMeth)
    {
        QAbstractItemView::setSelectionModel(a0);
        return;
    }

    extern void sipVH_QtWidgets_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QItemSelectionModel*);

    sipVH_QtWidgets_16(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemView::setModel(QAbstractItemModel*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[86],sipPySelf,NULL,sipName_setModel);

    if (!sipMeth)
    {
        QAbstractItemView::setModel(a0);
        return;
    }

    typedef void (*sipVH_QtCore_40)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QAbstractItemModel*);

    ((sipVH_QtCore_40)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[40]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQAbstractItemView::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQAbstractItemView::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQAbstractItemView::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractItemView::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractItemView::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQAbstractItemView::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQAbstractItemView::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQAbstractItemView::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQAbstractItemView::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQAbstractItemView::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQAbstractItemView::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQAbstractItemView::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQAbstractItemView::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQAbstractItemView::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQAbstractItemView::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQAbstractItemView::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQAbstractItemView::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQAbstractItemView::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQAbstractItemView::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQAbstractItemView::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

void sipQAbstractItemView::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::paintEvent(a0) : paintEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

bool sipQAbstractItemView::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQAbstractItemView::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QAbstractScrollArea::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}

bool sipQAbstractItemView::sipProtectVirt_edit(bool sipSelfWasArg,const QModelIndex& a0,QAbstractItemView::EditTrigger a1,QEvent*a2)
{
    return (sipSelfWasArg ? QAbstractItemView::edit(a0,a1,a2) : edit(a0,a1,a2));
}

void sipQAbstractItemView::sipProtectVirt_dataChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1,const QVector<int>& a2)
{
    (sipSelfWasArg ? QAbstractItemView::dataChanged(a0,a1,a2) : dataChanged(a0,a1,a2));
}

void sipQAbstractItemView::sipProtectVirt_rowsInserted(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QAbstractItemView::rowsInserted(a0,a1,a2) : rowsInserted(a0,a1,a2));
}

void sipQAbstractItemView::sipProtectVirt_rowsAboutToBeRemoved(bool sipSelfWasArg,const QModelIndex& a0,int a1,int a2)
{
    (sipSelfWasArg ? QAbstractItemView::rowsAboutToBeRemoved(a0,a1,a2) : rowsAboutToBeRemoved(a0,a1,a2));
}

void sipQAbstractItemView::sipProtectVirt_selectionChanged(bool sipSelfWasArg,const QItemSelection& a0,const QItemSelection& a1)
{
    (sipSelfWasArg ? QAbstractItemView::selectionChanged(a0,a1) : selectionChanged(a0,a1));
}

void sipQAbstractItemView::sipProtectVirt_currentChanged(bool sipSelfWasArg,const QModelIndex& a0,const QModelIndex& a1)
{
    (sipSelfWasArg ? QAbstractItemView::currentChanged(a0,a1) : currentChanged(a0,a1));
}

void sipQAbstractItemView::sipProtectVirt_updateEditorData(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorData() : updateEditorData());
}

void sipQAbstractItemView::sipProtectVirt_updateEditorGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateEditorGeometries() : updateEditorGeometries());
}

void sipQAbstractItemView::sipProtectVirt_updateGeometries(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractItemView::updateGeometries() : updateGeometries());
}

void sipQAbstractItemView::sipProtectVirt_verticalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarAction(a0) : verticalScrollbarAction(a0));
}

void sipQAbstractItemView::sipProtectVirt_horizontalScrollbarAction(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarAction(a0) : horizontalScrollbarAction(a0));
}

void sipQAbstractItemView::sipProtectVirt_verticalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::verticalScrollbarValueChanged(a0) : verticalScrollbarValueChanged(a0));
}

void sipQAbstractItemView::sipProtectVirt_horizontalScrollbarValueChanged(bool sipSelfWasArg,int a0)
{
    (sipSelfWasArg ? QAbstractItemView::horizontalScrollbarValueChanged(a0) : horizontalScrollbarValueChanged(a0));
}

void sipQAbstractItemView::sipProtectVirt_closeEditor(bool sipSelfWasArg,QWidget*a0,QAbstractItemDelegate::EndEditHint a1)
{
    (sipSelfWasArg ? QAbstractItemView::closeEditor(a0,a1) : closeEditor(a0,a1));
}

void sipQAbstractItemView::sipProtectVirt_commitData(bool sipSelfWasArg,QWidget*a0)
{
    (sipSelfWasArg ? QAbstractItemView::commitData(a0) : commitData(a0));
}

void sipQAbstractItemView::sipProtectVirt_editorDestroyed(bool sipSelfWasArg,QObject*a0)
{
    (sipSelfWasArg ? QAbstractItemView::editorDestroyed(a0) : editorDestroyed(a0));
}

QModelIndex sipQAbstractItemView::sipProtect_moveCursor(int a0,Qt::KeyboardModifiers a1)
{
    return moveCursor((QAbstractItemView::CursorAction)a0,a1);
}

int sipQAbstractItemView::sipProtect_horizontalOffset() const
{
    return horizontalOffset();
}

int sipQAbstractItemView::sipProtect_verticalOffset() const
{
    return verticalOffset();
}

bool sipQAbstractItemView::sipProtect_isIndexHidden(const QModelIndex& a0) const
{
    return isIndexHidden(a0);
}

void sipQAbstractItemView::sipProtect_setSelection(const QRect& a0,QItemSelectionModel::SelectionFlags a1)
{
    setSelection(a0,a1);
}

QRegion sipQAbstractItemView::sipProtect_visualRegionForSelection(const QItemSelection& a0) const
{
    return visualRegionForSelection(a0);
}

QModelIndexList sipQAbstractItemView::sipProtectVirt_selectedIndexes(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectedIndexes() : selectedIndexes());
}

QItemSelectionModel::SelectionFlags sipQAbstractItemView::sipProtectVirt_selectionCommand(bool sipSelfWasArg,const QModelIndex& a0,const QEvent*a1) const
{
    return (sipSelfWasArg ? QAbstractItemView::selectionCommand(a0,a1) : selectionCommand(a0,a1));
}

void sipQAbstractItemView::sipProtectVirt_startDrag(bool sipSelfWasArg,Qt::DropActions a0)
{
    (sipSelfWasArg ? QAbstractItemView::startDrag(a0) : startDrag(a0));
}

QStyleOptionViewItem sipQAbstractItemView::sipProtectVirt_viewOptions(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::viewOptions() : viewOptions());
}

int sipQAbstractItemView::sipProtect_state() const
{
    return (int)QAbstractItemView::state();
}

void sipQAbstractItemView::sipProtect_setState(int a0)
{
    QAbstractItemView::setState((QAbstractItemView::State)a0);
}

void sipQAbstractItemView::sipProtect_scheduleDelayedItemsLayout()
{
    QAbstractItemView::scheduleDelayedItemsLayout();
}

void sipQAbstractItemView::sipProtect_executeDelayedItemsLayout()
{
    QAbstractItemView::executeDelayedItemsLayout();
}

void sipQAbstractItemView::sipProtect_scrollDirtyRegion(int a0,int a1)
{
    QAbstractItemView::scrollDirtyRegion(a0,a1);
}

void sipQAbstractItemView::sipProtect_setDirtyRegion(const QRegion& a0)
{
    QAbstractItemView::setDirtyRegion(a0);
}

QPoint sipQAbstractItemView::sipProtect_dirtyRegionOffset() const
{
    return QAbstractItemView::dirtyRegionOffset();
}

bool sipQAbstractItemView::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::event(a0) : event(a0));
}

bool sipQAbstractItemView::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractItemView::viewportEvent(a0) : viewportEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::dropEvent(a0) : dropEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusInEvent(a0) : focusInEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::resizeEvent(a0) : resizeEvent(a0));
}

void sipQAbstractItemView::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::timerEvent(a0) : timerEvent(a0));
}

int sipQAbstractItemView::sipProtect_dropIndicatorPosition() const
{
    return (int)QAbstractItemView::dropIndicatorPosition();
}

bool sipQAbstractItemView::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QAbstractItemView::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

void sipQAbstractItemView::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QAbstractItemView::inputMethodEvent(a0) : inputMethodEvent(a0));
}

QSize sipQAbstractItemView::sipProtectVirt_viewportSizeHint(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QAbstractItemView::viewportSizeHint() : viewportSizeHint());
}


PyDoc_STRVAR(doc_QAbstractItemView_sender, "QAbstractItemView.sender() -> QObject");

extern "C" {static PyObject *meth_QAbstractItemView_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 472976 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_sender, doc_QAbstractItemView_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_receivers, "QAbstractItemView.receivers(signal) -> int");

extern "C" {static PyObject *meth_QAbstractItemView_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 473035 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_receivers, doc_QAbstractItemView_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_childEvent, "QAbstractItemView.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_childEvent, doc_QAbstractItemView_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_customEvent, "QAbstractItemView.customEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_customEvent, doc_QAbstractItemView_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_connectNotify, "QAbstractItemView.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractItemView_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_connectNotify, doc_QAbstractItemView_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_disconnectNotify, "QAbstractItemView.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractItemView_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_disconnectNotify, doc_QAbstractItemView_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_senderSignalIndex, "QAbstractItemView.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QAbstractItemView_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_senderSignalIndex, doc_QAbstractItemView_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_isSignalConnected, "QAbstractItemView.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_isSignalConnected, doc_QAbstractItemView_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_keyReleaseEvent, "QAbstractItemView.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_keyReleaseEvent, doc_QAbstractItemView_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_enterEvent, "QAbstractItemView.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_enterEvent, doc_QAbstractItemView_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_leaveEvent, "QAbstractItemView.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_leaveEvent, doc_QAbstractItemView_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_moveEvent, "QAbstractItemView.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_moveEvent, doc_QAbstractItemView_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_closeEvent, "QAbstractItemView.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_closeEvent, doc_QAbstractItemView_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_tabletEvent, "QAbstractItemView.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_tabletEvent, doc_QAbstractItemView_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_actionEvent, "QAbstractItemView.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_actionEvent, doc_QAbstractItemView_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_showEvent, "QAbstractItemView.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_showEvent, doc_QAbstractItemView_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_hideEvent, "QAbstractItemView.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_hideEvent, doc_QAbstractItemView_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_metric, "QAbstractItemView.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QAbstractItemView_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_metric, doc_QAbstractItemView_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_updateMicroFocus, "QAbstractItemView.updateMicroFocus()");

extern "C" {static PyObject *meth_QAbstractItemView_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_updateMicroFocus, doc_QAbstractItemView_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_create, "QAbstractItemView.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QAbstractItemView_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQAbstractItemView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_create, doc_QAbstractItemView_create);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_destroy, "QAbstractItemView.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QAbstractItemView_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQAbstractItemView *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_destroy, doc_QAbstractItemView_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_focusNextChild, "QAbstractItemView.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_focusNextChild, doc_QAbstractItemView_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_focusPreviousChild, "QAbstractItemView.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_focusPreviousChild, doc_QAbstractItemView_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_nativeEvent, "QAbstractItemView.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QAbstractItemView_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_nativeEvent, doc_QAbstractItemView_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_sharedPainter, "QAbstractItemView.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QAbstractItemView_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_sharedPainter, doc_QAbstractItemView_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_initPainter, "QAbstractItemView.initPainter(QPainter)");

extern "C" {static PyObject *meth_QAbstractItemView_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_initPainter, doc_QAbstractItemView_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_changeEvent, "QAbstractItemView.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_changeEvent, doc_QAbstractItemView_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_drawFrame, "QAbstractItemView.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QAbstractItemView_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_drawFrame, doc_QAbstractItemView_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setViewportMargins, "QAbstractItemView.setViewportMargins(int, int, int, int)\n"
    "QAbstractItemView.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QAbstractItemView_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setViewportMargins, doc_QAbstractItemView_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_paintEvent, "QAbstractItemView.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_paintEvent, doc_QAbstractItemView_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_wheelEvent, "QAbstractItemView.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_wheelEvent, doc_QAbstractItemView_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_contextMenuEvent, "QAbstractItemView.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_contextMenuEvent, doc_QAbstractItemView_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_eventFilter, "QAbstractItemView.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_eventFilter, doc_QAbstractItemView_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_scrollContentsBy, "QAbstractItemView.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QAbstractItemView_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_scrollContentsBy, doc_QAbstractItemView_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setModel, "QAbstractItemView.setModel(QAbstractItemModel)");

extern "C" {static PyObject *meth_QAbstractItemView_setModel(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemModel* a0;
        PyObject *a0Keep;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0Keep, sipType_QAbstractItemModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemView::setModel(a0) : sipCpp->setModel(a0));

            sipKeepReference(sipSelf, -2, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setModel, doc_QAbstractItemView_setModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_model, "QAbstractItemView.model() -> QAbstractItemModel");

extern "C" {static PyObject *meth_QAbstractItemView_model(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_model(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QAbstractItemModel*sipRes;

            sipRes = sipCpp->model();

            return sipConvertFromType(sipRes,sipType_QAbstractItemModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_model, doc_QAbstractItemView_model);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setSelectionModel, "QAbstractItemView.setSelectionModel(QItemSelectionModel)");

extern "C" {static PyObject *meth_QAbstractItemView_setSelectionModel(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setSelectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QItemSelectionModel* a0;
        PyObject *a0Keep;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0Keep, sipType_QItemSelectionModel, &a0))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemView::setSelectionModel(a0) : sipCpp->setSelectionModel(a0));

            sipKeepReference(sipSelf, -3, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setSelectionModel, doc_QAbstractItemView_setSelectionModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_selectionModel, "QAbstractItemView.selectionModel() -> QItemSelectionModel");

extern "C" {static PyObject *meth_QAbstractItemView_selectionModel(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_selectionModel(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QItemSelectionModel*sipRes;

            sipRes = sipCpp->selectionModel();

            return sipConvertFromType(sipRes,sipType_QItemSelectionModel,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_selectionModel, doc_QAbstractItemView_selectionModel);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setItemDelegate, "QAbstractItemView.setItemDelegate(QAbstractItemDelegate)");

extern "C" {static PyObject *meth_QAbstractItemView_setItemDelegate(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setItemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemDelegate* a0;
        PyObject *a0Keep;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0Keep, sipType_QAbstractItemDelegate, &a0))
        {
            sipCpp->setItemDelegate(a0);

            sipKeepReference(sipSelf, -4, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setItemDelegate, doc_QAbstractItemView_setItemDelegate);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_itemDelegate, "QAbstractItemView.itemDelegate() -> QAbstractItemDelegate\n"
    "QAbstractItemView.itemDelegate(QModelIndex) -> QAbstractItemDelegate");

extern "C" {static PyObject *meth_QAbstractItemView_itemDelegate(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_itemDelegate(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QAbstractItemDelegate*sipRes;

            sipRes = sipCpp->itemDelegate();

            return sipConvertFromType(sipRes,sipType_QAbstractItemDelegate,NULL);
        }
    }

    {
        const QModelIndex* a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QAbstractItemDelegate*sipRes;

            sipRes = sipCpp->itemDelegate(*a0);

            return sipConvertFromType(sipRes,sipType_QAbstractItemDelegate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_itemDelegate, doc_QAbstractItemView_itemDelegate);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setSelectionMode, "QAbstractItemView.setSelectionMode(QAbstractItemView.SelectionMode)");

extern "C" {static PyObject *meth_QAbstractItemView_setSelectionMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setSelectionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::SelectionMode a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QAbstractItemView_SelectionMode, &a0))
        {
            sipCpp->setSelectionMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setSelectionMode, doc_QAbstractItemView_setSelectionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_selectionMode, "QAbstractItemView.selectionMode() -> QAbstractItemView.SelectionMode");

extern "C" {static PyObject *meth_QAbstractItemView_selectionMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_selectionMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QAbstractItemView::SelectionMode sipRes;

            sipRes = sipCpp->selectionMode();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_SelectionMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_selectionMode, doc_QAbstractItemView_selectionMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setSelectionBehavior, "QAbstractItemView.setSelectionBehavior(QAbstractItemView.SelectionBehavior)");

extern "C" {static PyObject *meth_QAbstractItemView_setSelectionBehavior(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setSelectionBehavior(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::SelectionBehavior a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QAbstractItemView_SelectionBehavior, &a0))
        {
            sipCpp->setSelectionBehavior(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setSelectionBehavior, doc_QAbstractItemView_setSelectionBehavior);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_selectionBehavior, "QAbstractItemView.selectionBehavior() -> QAbstractItemView.SelectionBehavior");

extern "C" {static PyObject *meth_QAbstractItemView_selectionBehavior(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_selectionBehavior(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QAbstractItemView::SelectionBehavior sipRes;

            sipRes = sipCpp->selectionBehavior();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_SelectionBehavior);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_selectionBehavior, doc_QAbstractItemView_selectionBehavior);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_currentIndex, "QAbstractItemView.currentIndex() -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractItemView_currentIndex(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_currentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->currentIndex());

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_currentIndex, doc_QAbstractItemView_currentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_rootIndex, "QAbstractItemView.rootIndex() -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractItemView_rootIndex(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_rootIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QModelIndex*sipRes;

            sipRes = new QModelIndex(sipCpp->rootIndex());

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_rootIndex, doc_QAbstractItemView_rootIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setEditTriggers, "QAbstractItemView.setEditTriggers(QAbstractItemView.EditTriggers)");

extern "C" {static PyObject *meth_QAbstractItemView_setEditTriggers(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setEditTriggers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::EditTriggers* a0;
        int a0State = 0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QAbstractItemView_EditTriggers, &a0, &a0State))
        {
            sipCpp->setEditTriggers(*a0);
            sipReleaseType(a0,sipType_QAbstractItemView_EditTriggers,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setEditTriggers, doc_QAbstractItemView_setEditTriggers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_editTriggers, "QAbstractItemView.editTriggers() -> QAbstractItemView.EditTriggers");

extern "C" {static PyObject *meth_QAbstractItemView_editTriggers(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_editTriggers(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QAbstractItemView::EditTriggers*sipRes;

            sipRes = new QAbstractItemView::EditTriggers(sipCpp->editTriggers());

            return sipConvertFromNewType(sipRes,sipType_QAbstractItemView_EditTriggers,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_editTriggers, doc_QAbstractItemView_editTriggers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setAutoScroll, "QAbstractItemView.setAutoScroll(bool)");

extern "C" {static PyObject *meth_QAbstractItemView_setAutoScroll(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setAutoScroll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->setAutoScroll(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setAutoScroll, doc_QAbstractItemView_setAutoScroll);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_hasAutoScroll, "QAbstractItemView.hasAutoScroll() -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_hasAutoScroll(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_hasAutoScroll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasAutoScroll();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_hasAutoScroll, doc_QAbstractItemView_hasAutoScroll);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setTabKeyNavigation, "QAbstractItemView.setTabKeyNavigation(bool)");

extern "C" {static PyObject *meth_QAbstractItemView_setTabKeyNavigation(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setTabKeyNavigation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->setTabKeyNavigation(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setTabKeyNavigation, doc_QAbstractItemView_setTabKeyNavigation);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_tabKeyNavigation, "QAbstractItemView.tabKeyNavigation() -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_tabKeyNavigation(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_tabKeyNavigation(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->tabKeyNavigation();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_tabKeyNavigation, doc_QAbstractItemView_tabKeyNavigation);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setDropIndicatorShown, "QAbstractItemView.setDropIndicatorShown(bool)");

extern "C" {static PyObject *meth_QAbstractItemView_setDropIndicatorShown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setDropIndicatorShown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->setDropIndicatorShown(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setDropIndicatorShown, doc_QAbstractItemView_setDropIndicatorShown);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_showDropIndicator, "QAbstractItemView.showDropIndicator() -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_showDropIndicator(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_showDropIndicator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->showDropIndicator();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_showDropIndicator, doc_QAbstractItemView_showDropIndicator);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setDragEnabled, "QAbstractItemView.setDragEnabled(bool)");

extern "C" {static PyObject *meth_QAbstractItemView_setDragEnabled(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setDragEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->setDragEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setDragEnabled, doc_QAbstractItemView_setDragEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dragEnabled, "QAbstractItemView.dragEnabled() -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_dragEnabled(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dragEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->dragEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dragEnabled, doc_QAbstractItemView_dragEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setAlternatingRowColors, "QAbstractItemView.setAlternatingRowColors(bool)");

extern "C" {static PyObject *meth_QAbstractItemView_setAlternatingRowColors(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setAlternatingRowColors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->setAlternatingRowColors(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setAlternatingRowColors, doc_QAbstractItemView_setAlternatingRowColors);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_alternatingRowColors, "QAbstractItemView.alternatingRowColors() -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_alternatingRowColors(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_alternatingRowColors(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->alternatingRowColors();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_alternatingRowColors, doc_QAbstractItemView_alternatingRowColors);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setIconSize, "QAbstractItemView.setIconSize(QSize)");

extern "C" {static PyObject *meth_QAbstractItemView_setIconSize(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setIconSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setIconSize, doc_QAbstractItemView_setIconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_iconSize, "QAbstractItemView.iconSize() -> QSize");

extern "C" {static PyObject *meth_QAbstractItemView_iconSize(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->iconSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_iconSize, doc_QAbstractItemView_iconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setTextElideMode, "QAbstractItemView.setTextElideMode(Qt.TextElideMode)");

extern "C" {static PyObject *meth_QAbstractItemView_setTextElideMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setTextElideMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::TextElideMode a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_Qt_TextElideMode, &a0))
        {
            sipCpp->setTextElideMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setTextElideMode, doc_QAbstractItemView_setTextElideMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_textElideMode, "QAbstractItemView.textElideMode() -> Qt.TextElideMode");

extern "C" {static PyObject *meth_QAbstractItemView_textElideMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_textElideMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            Qt::TextElideMode sipRes;

            sipRes = sipCpp->textElideMode();

            return sipConvertFromEnum(sipRes,sipType_Qt_TextElideMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_textElideMode, doc_QAbstractItemView_textElideMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_keyboardSearch, "QAbstractItemView.keyboardSearch(str)");

extern "C" {static PyObject *meth_QAbstractItemView_keyboardSearch(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_keyboardSearch(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QString,&a0, &a0State))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemView::keyboardSearch(*a0) : sipCpp->keyboardSearch(*a0));
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_keyboardSearch, doc_QAbstractItemView_keyboardSearch);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_visualRect, "QAbstractItemView.visualRect(QModelIndex) -> QRect");

extern "C" {static PyObject *meth_QAbstractItemView_visualRect(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_visualRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QModelIndex* a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QRect*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemView, sipName_visualRect);
                return NULL;
            }

            sipRes = new QRect(sipCpp->visualRect(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_visualRect, doc_QAbstractItemView_visualRect);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_scrollTo, "QAbstractItemView.scrollTo(QModelIndex, QAbstractItemView.ScrollHint hint=QAbstractItemView.EnsureVisible)");

extern "C" {static PyObject *meth_QAbstractItemView_scrollTo(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_scrollTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QModelIndex* a0;
        QAbstractItemView::ScrollHint a1 = QAbstractItemView::EnsureVisible;
        QAbstractItemView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_hint,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|E", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_ScrollHint, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemView, sipName_scrollTo);
                return NULL;
            }

            sipCpp->scrollTo(*a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_scrollTo, doc_QAbstractItemView_scrollTo);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_indexAt, "QAbstractItemView.indexAt(QPoint) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractItemView_indexAt(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_indexAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QPoint* a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QPoint, &a0))
        {
            QModelIndex*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemView, sipName_indexAt);
                return NULL;
            }

            sipRes = new QModelIndex(sipCpp->indexAt(*a0));

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_indexAt, doc_QAbstractItemView_indexAt);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_sizeHintForIndex, "QAbstractItemView.sizeHintForIndex(QModelIndex) -> QSize");

extern "C" {static PyObject *meth_QAbstractItemView_sizeHintForIndex(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_sizeHintForIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sizeHintForIndex(*a0));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_sizeHintForIndex, doc_QAbstractItemView_sizeHintForIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_sizeHintForRow, "QAbstractItemView.sizeHintForRow(int) -> int");

extern "C" {static PyObject *meth_QAbstractItemView_sizeHintForRow(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_sizeHintForRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemView::sizeHintForRow(a0) : sipCpp->sizeHintForRow(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_sizeHintForRow, doc_QAbstractItemView_sizeHintForRow);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_sizeHintForColumn, "QAbstractItemView.sizeHintForColumn(int) -> int");

extern "C" {static PyObject *meth_QAbstractItemView_sizeHintForColumn(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_sizeHintForColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemView::sizeHintForColumn(a0) : sipCpp->sizeHintForColumn(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_sizeHintForColumn, doc_QAbstractItemView_sizeHintForColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_openPersistentEditor, "QAbstractItemView.openPersistentEditor(QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemView_openPersistentEditor(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_openPersistentEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->openPersistentEditor(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_openPersistentEditor, doc_QAbstractItemView_openPersistentEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_closePersistentEditor, "QAbstractItemView.closePersistentEditor(QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemView_closePersistentEditor(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_closePersistentEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->closePersistentEditor(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_closePersistentEditor, doc_QAbstractItemView_closePersistentEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setIndexWidget, "QAbstractItemView.setIndexWidget(QModelIndex, QWidget)");

extern "C" {static PyObject *meth_QAbstractItemView_setIndexWidget(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setIndexWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QWidget* a1;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J:", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0, sipType_QWidget, &a1))
        {
#line 127 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
        // We have to break the association with any existing widget.
        QWidget *w = sipCpp->indexWidget(*a0);
        
        if (w)
        {
            PyObject *wo = sipGetPyObject(w, sipType_QWidget);
        
            if (wo)
                sipTransferTo(wo, 0);
        }
        
        Py_BEGIN_ALLOW_THREADS
        sipCpp->setIndexWidget(*a0, a1);
        Py_END_ALLOW_THREADS
#line 475079 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setIndexWidget, doc_QAbstractItemView_setIndexWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_indexWidget, "QAbstractItemView.indexWidget(QModelIndex) -> QWidget");

extern "C" {static PyObject *meth_QAbstractItemView_indexWidget(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_indexWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->indexWidget(*a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_indexWidget, doc_QAbstractItemView_indexWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_reset, "QAbstractItemView.reset()");

extern "C" {static PyObject *meth_QAbstractItemView_reset(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemView::reset() : sipCpp->reset());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_reset, doc_QAbstractItemView_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setRootIndex, "QAbstractItemView.setRootIndex(QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemView_setRootIndex(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setRootIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemView::setRootIndex(*a0) : sipCpp->setRootIndex(*a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setRootIndex, doc_QAbstractItemView_setRootIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_selectAll, "QAbstractItemView.selectAll()");

extern "C" {static PyObject *meth_QAbstractItemView_selectAll(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_selectAll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemView::selectAll() : sipCpp->selectAll());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_selectAll, doc_QAbstractItemView_selectAll);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_edit, "QAbstractItemView.edit(QModelIndex)\n"
    "QAbstractItemView.edit(QModelIndex, QAbstractItemView.EditTrigger, QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_edit(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_edit(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        QAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->edit(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView::EditTrigger a1;
        QEvent* a2;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9EJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0, sipType_QAbstractItemView_EditTrigger, &a1, sipType_QEvent, &a2))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_edit(sipSelfWasArg,*a0,a1,a2);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_edit, doc_QAbstractItemView_edit);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_clearSelection, "QAbstractItemView.clearSelection()");

extern "C" {static PyObject *meth_QAbstractItemView_clearSelection(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_clearSelection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->clearSelection();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_clearSelection, doc_QAbstractItemView_clearSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setCurrentIndex, "QAbstractItemView.setCurrentIndex(QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemView_setCurrentIndex(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setCurrentIndex(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QModelIndex* a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->setCurrentIndex(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setCurrentIndex, doc_QAbstractItemView_setCurrentIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_scrollToTop, "QAbstractItemView.scrollToTop()");

extern "C" {static PyObject *meth_QAbstractItemView_scrollToTop(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_scrollToTop(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->scrollToTop();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_scrollToTop, doc_QAbstractItemView_scrollToTop);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_scrollToBottom, "QAbstractItemView.scrollToBottom()");

extern "C" {static PyObject *meth_QAbstractItemView_scrollToBottom(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_scrollToBottom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->scrollToBottom();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_scrollToBottom, doc_QAbstractItemView_scrollToBottom);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_update, "QAbstractItemView.update()\n"
    "QAbstractItemView.update(QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemView_update(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_update(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->update();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QModelIndex* a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            sipCpp->update(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_update, doc_QAbstractItemView_update);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dataChanged, "QAbstractItemView.dataChanged(QModelIndex, QModelIndex, list-of-int roles=[])");

extern "C" {static PyObject *meth_QAbstractItemView_dataChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dataChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        const QVector<int>& a2def = QVector<int>();
        const QVector<int>* a2 = &a2def;
        int a2State = 0;
        sipQAbstractItemView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            NULL,
            sipName_roles,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9J9|J1", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1, sipType_QVector_1800,&a2, &a2State))
        {
            sipCpp->sipProtectVirt_dataChanged(sipSelfWasArg,*a0,*a1,*a2);
            sipReleaseType(const_cast<QVector<int> *>(a2),sipType_QVector_1800,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dataChanged, doc_QAbstractItemView_dataChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_rowsInserted, "QAbstractItemView.rowsInserted(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractItemView_rowsInserted(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_rowsInserted(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsInserted(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_rowsInserted, doc_QAbstractItemView_rowsInserted);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_rowsAboutToBeRemoved, "QAbstractItemView.rowsAboutToBeRemoved(QModelIndex, int, int)");

extern "C" {static PyObject *meth_QAbstractItemView_rowsAboutToBeRemoved(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_rowsAboutToBeRemoved(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        int a1;
        int a2;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9ii", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0, &a1, &a2))
        {
            sipCpp->sipProtectVirt_rowsAboutToBeRemoved(sipSelfWasArg,*a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_rowsAboutToBeRemoved, doc_QAbstractItemView_rowsAboutToBeRemoved);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_selectionChanged, "QAbstractItemView.selectionChanged(QItemSelection, QItemSelection)");

extern "C" {static PyObject *meth_QAbstractItemView_selectionChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_selectionChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QItemSelection* a0;
        const QItemSelection* a1;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QItemSelection, &a0, sipType_QItemSelection, &a1))
        {
            sipCpp->sipProtectVirt_selectionChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_selectionChanged, doc_QAbstractItemView_selectionChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_currentChanged, "QAbstractItemView.currentChanged(QModelIndex, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemView_currentChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_currentChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QModelIndex* a1;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0, sipType_QModelIndex, &a1))
        {
            sipCpp->sipProtectVirt_currentChanged(sipSelfWasArg,*a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_currentChanged, doc_QAbstractItemView_currentChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_updateEditorData, "QAbstractItemView.updateEditorData()");

extern "C" {static PyObject *meth_QAbstractItemView_updateEditorData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_updateEditorData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorData(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_updateEditorData, doc_QAbstractItemView_updateEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_updateEditorGeometries, "QAbstractItemView.updateEditorGeometries()");

extern "C" {static PyObject *meth_QAbstractItemView_updateEditorGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_updateEditorGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateEditorGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_updateEditorGeometries, doc_QAbstractItemView_updateEditorGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_updateGeometries, "QAbstractItemView.updateGeometries()");

extern "C" {static PyObject *meth_QAbstractItemView_updateGeometries(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_updateGeometries(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->sipProtectVirt_updateGeometries(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_updateGeometries, doc_QAbstractItemView_updateGeometries);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_verticalScrollbarAction, "QAbstractItemView.verticalScrollbarAction(int)");

extern "C" {static PyObject *meth_QAbstractItemView_verticalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_verticalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_verticalScrollbarAction, doc_QAbstractItemView_verticalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_horizontalScrollbarAction, "QAbstractItemView.horizontalScrollbarAction(int)");

extern "C" {static PyObject *meth_QAbstractItemView_horizontalScrollbarAction(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_horizontalScrollbarAction(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarAction(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_horizontalScrollbarAction, doc_QAbstractItemView_horizontalScrollbarAction);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_verticalScrollbarValueChanged, "QAbstractItemView.verticalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QAbstractItemView_verticalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_verticalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_verticalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_verticalScrollbarValueChanged, doc_QAbstractItemView_verticalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_horizontalScrollbarValueChanged, "QAbstractItemView.horizontalScrollbarValueChanged(int)");

extern "C" {static PyObject *meth_QAbstractItemView_horizontalScrollbarValueChanged(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_horizontalScrollbarValueChanged(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bi", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->sipProtectVirt_horizontalScrollbarValueChanged(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_horizontalScrollbarValueChanged, doc_QAbstractItemView_horizontalScrollbarValueChanged);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_closeEditor, "QAbstractItemView.closeEditor(QWidget, QAbstractItemDelegate.EndEditHint)");

extern "C" {static PyObject *meth_QAbstractItemView_closeEditor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_closeEditor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8E", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            sipCpp->sipProtectVirt_closeEditor(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_closeEditor, doc_QAbstractItemView_closeEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_commitData, "QAbstractItemView.commitData(QWidget)");

extern "C" {static PyObject *meth_QAbstractItemView_commitData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_commitData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->sipProtectVirt_commitData(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_commitData, doc_QAbstractItemView_commitData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_editorDestroyed, "QAbstractItemView.editorDestroyed(QObject)");

extern "C" {static PyObject *meth_QAbstractItemView_editorDestroyed(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_editorDestroyed(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QObject, &a0))
        {
            sipCpp->sipProtectVirt_editorDestroyed(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_editorDestroyed, doc_QAbstractItemView_editorDestroyed);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_moveCursor, "QAbstractItemView.moveCursor(QAbstractItemView.CursorAction, Qt.KeyboardModifiers) -> QModelIndex");

extern "C" {static PyObject *meth_QAbstractItemView_moveCursor(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_moveCursor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0;
        Qt::KeyboardModifiers* a1;
        int a1State = 0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BEJ1", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QAbstractItemView_CursorAction, &a0, sipType_Qt_KeyboardModifiers, &a1, &a1State))
        {
            QModelIndex*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemView, sipName_moveCursor);
                return NULL;
            }

            sipRes = new QModelIndex(sipCpp->sipProtect_moveCursor(a0,*a1));
            sipReleaseType(a1,sipType_Qt_KeyboardModifiers,a1State);

            return sipConvertFromNewType(sipRes,sipType_QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_moveCursor, doc_QAbstractItemView_moveCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_horizontalOffset, "QAbstractItemView.horizontalOffset() -> int");

extern "C" {static PyObject *meth_QAbstractItemView_horizontalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_horizontalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemView, sipName_horizontalOffset);
                return NULL;
            }

            sipRes = sipCpp->sipProtect_horizontalOffset();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_horizontalOffset, doc_QAbstractItemView_horizontalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_verticalOffset, "QAbstractItemView.verticalOffset() -> int");

extern "C" {static PyObject *meth_QAbstractItemView_verticalOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_verticalOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemView, sipName_verticalOffset);
                return NULL;
            }

            sipRes = sipCpp->sipProtect_verticalOffset();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_verticalOffset, doc_QAbstractItemView_verticalOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_isIndexHidden, "QAbstractItemView.isIndexHidden(QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_isIndexHidden(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_isIndexHidden(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QModelIndex* a0;
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemView, sipName_isIndexHidden);
                return NULL;
            }

            sipRes = sipCpp->sipProtect_isIndexHidden(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_isIndexHidden, doc_QAbstractItemView_isIndexHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setSelection, "QAbstractItemView.setSelection(QRect, QItemSelectionModel.SelectionFlags)");

extern "C" {static PyObject *meth_QAbstractItemView_setSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QRect* a0;
        QItemSelectionModel::SelectionFlags* a1;
        int a1State = 0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9J1", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QRect, &a0, sipType_QItemSelectionModel_SelectionFlags, &a1, &a1State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemView, sipName_setSelection);
                return NULL;
            }

            sipCpp->sipProtect_setSelection(*a0,*a1);
            sipReleaseType(a1,sipType_QItemSelectionModel_SelectionFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setSelection, doc_QAbstractItemView_setSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_visualRegionForSelection, "QAbstractItemView.visualRegionForSelection(QItemSelection) -> QRegion");

extern "C" {static PyObject *meth_QAbstractItemView_visualRegionForSelection(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_visualRegionForSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QItemSelection* a0;
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QItemSelection, &a0))
        {
            QRegion*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemView, sipName_visualRegionForSelection);
                return NULL;
            }

            sipRes = new QRegion(sipCpp->sipProtect_visualRegionForSelection(*a0));

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_visualRegionForSelection, doc_QAbstractItemView_visualRegionForSelection);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_selectedIndexes, "QAbstractItemView.selectedIndexes() -> list-of-QModelIndex");

extern "C" {static PyObject *meth_QAbstractItemView_selectedIndexes(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_selectedIndexes(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QModelIndexList*sipRes;

            sipRes = new QModelIndexList(sipCpp->sipProtectVirt_selectedIndexes(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QList_0100QModelIndex,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_selectedIndexes, doc_QAbstractItemView_selectedIndexes);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_selectionCommand, "QAbstractItemView.selectionCommand(QModelIndex, QEvent event=None) -> QItemSelectionModel.SelectionFlags");

extern "C" {static PyObject *meth_QAbstractItemView_selectionCommand(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_selectionCommand(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QModelIndex* a0;
        const QEvent* a1 = 0;
        const sipQAbstractItemView *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_event,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|J8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QModelIndex, &a0, sipType_QEvent, &a1))
        {
            QItemSelectionModel::SelectionFlags*sipRes;

            sipRes = new QItemSelectionModel::SelectionFlags(sipCpp->sipProtectVirt_selectionCommand(sipSelfWasArg,*a0,a1));

            return sipConvertFromNewType(sipRes,sipType_QItemSelectionModel_SelectionFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_selectionCommand, doc_QAbstractItemView_selectionCommand);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_startDrag, "QAbstractItemView.startDrag(Qt.DropActions)");

extern "C" {static PyObject *meth_QAbstractItemView_startDrag(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_startDrag(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::DropActions* a0;
        int a0State = 0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_Qt_DropActions, &a0, &a0State))
        {
            sipCpp->sipProtectVirt_startDrag(sipSelfWasArg,*a0);
            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_QAbstractItemView, sipName_startDrag, doc_QAbstractItemView_startDrag);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_viewOptions, "QAbstractItemView.viewOptions() -> QStyleOptionViewItem");

extern "C" {static PyObject *meth_QAbstractItemView_viewOptions(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_viewOptions(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QStyleOptionViewItem*sipRes;

            sipRes = new QStyleOptionViewItem(sipCpp->sipProtectVirt_viewOptions(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QStyleOptionViewItem,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_viewOptions, doc_QAbstractItemView_viewOptions);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_state, "QAbstractItemView.state() -> QAbstractItemView.State");

extern "C" {static PyObject *meth_QAbstractItemView_state(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_state(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_state();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_State);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_state, doc_QAbstractItemView_state);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setState, "QAbstractItemView.setState(QAbstractItemView.State)");

extern "C" {static PyObject *meth_QAbstractItemView_setState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QAbstractItemView_State, &a0))
        {
            sipCpp->sipProtect_setState(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setState, doc_QAbstractItemView_setState);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_scheduleDelayedItemsLayout, "QAbstractItemView.scheduleDelayedItemsLayout()");

extern "C" {static PyObject *meth_QAbstractItemView_scheduleDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_scheduleDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->sipProtect_scheduleDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_scheduleDelayedItemsLayout, doc_QAbstractItemView_scheduleDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_executeDelayedItemsLayout, "QAbstractItemView.executeDelayedItemsLayout()");

extern "C" {static PyObject *meth_QAbstractItemView_executeDelayedItemsLayout(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_executeDelayedItemsLayout(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            sipCpp->sipProtect_executeDelayedItemsLayout();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_executeDelayedItemsLayout, doc_QAbstractItemView_executeDelayedItemsLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_scrollDirtyRegion, "QAbstractItemView.scrollDirtyRegion(int, int)");

extern "C" {static PyObject *meth_QAbstractItemView_scrollDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_scrollDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_scrollDirtyRegion(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_scrollDirtyRegion, doc_QAbstractItemView_scrollDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setDirtyRegion, "QAbstractItemView.setDirtyRegion(QRegion)");

extern "C" {static PyObject *meth_QAbstractItemView_setDirtyRegion(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setDirtyRegion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRegion* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->sipProtect_setDirtyRegion(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setDirtyRegion, doc_QAbstractItemView_setDirtyRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dirtyRegionOffset, "QAbstractItemView.dirtyRegionOffset() -> QPoint");

extern "C" {static PyObject *meth_QAbstractItemView_dirtyRegionOffset(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dirtyRegionOffset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->sipProtect_dirtyRegionOffset());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dirtyRegionOffset, doc_QAbstractItemView_dirtyRegionOffset);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_event, "QAbstractItemView.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_event, doc_QAbstractItemView_event);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_viewportEvent, "QAbstractItemView.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_viewportEvent, doc_QAbstractItemView_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_mousePressEvent, "QAbstractItemView.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_mousePressEvent, doc_QAbstractItemView_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_mouseMoveEvent, "QAbstractItemView.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_mouseMoveEvent, doc_QAbstractItemView_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_mouseReleaseEvent, "QAbstractItemView.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_mouseReleaseEvent, doc_QAbstractItemView_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_mouseDoubleClickEvent, "QAbstractItemView.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_mouseDoubleClickEvent, doc_QAbstractItemView_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dragEnterEvent, "QAbstractItemView.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dragEnterEvent, doc_QAbstractItemView_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dragMoveEvent, "QAbstractItemView.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dragMoveEvent, doc_QAbstractItemView_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dragLeaveEvent, "QAbstractItemView.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dragLeaveEvent, doc_QAbstractItemView_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dropEvent, "QAbstractItemView.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dropEvent, doc_QAbstractItemView_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_focusInEvent, "QAbstractItemView.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_focusInEvent, doc_QAbstractItemView_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_focusOutEvent, "QAbstractItemView.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_focusOutEvent, doc_QAbstractItemView_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_keyPressEvent, "QAbstractItemView.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_keyPressEvent, doc_QAbstractItemView_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_resizeEvent, "QAbstractItemView.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_resizeEvent, doc_QAbstractItemView_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_timerEvent, "QAbstractItemView.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_timerEvent, doc_QAbstractItemView_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dropIndicatorPosition, "QAbstractItemView.dropIndicatorPosition() -> QAbstractItemView.DropIndicatorPosition");

extern "C" {static PyObject *meth_QAbstractItemView_dropIndicatorPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dropIndicatorPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_dropIndicatorPosition();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DropIndicatorPosition);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dropIndicatorPosition, doc_QAbstractItemView_dropIndicatorPosition);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setVerticalScrollMode, "QAbstractItemView.setVerticalScrollMode(QAbstractItemView.ScrollMode)");

extern "C" {static PyObject *meth_QAbstractItemView_setVerticalScrollMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setVerticalScrollMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::ScrollMode a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QAbstractItemView_ScrollMode, &a0))
        {
            sipCpp->setVerticalScrollMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setVerticalScrollMode, doc_QAbstractItemView_setVerticalScrollMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_verticalScrollMode, "QAbstractItemView.verticalScrollMode() -> QAbstractItemView.ScrollMode");

extern "C" {static PyObject *meth_QAbstractItemView_verticalScrollMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_verticalScrollMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QAbstractItemView::ScrollMode sipRes;

            sipRes = sipCpp->verticalScrollMode();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_ScrollMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_verticalScrollMode, doc_QAbstractItemView_verticalScrollMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setHorizontalScrollMode, "QAbstractItemView.setHorizontalScrollMode(QAbstractItemView.ScrollMode)");

extern "C" {static PyObject *meth_QAbstractItemView_setHorizontalScrollMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setHorizontalScrollMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::ScrollMode a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QAbstractItemView_ScrollMode, &a0))
        {
            sipCpp->setHorizontalScrollMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setHorizontalScrollMode, doc_QAbstractItemView_setHorizontalScrollMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_horizontalScrollMode, "QAbstractItemView.horizontalScrollMode() -> QAbstractItemView.ScrollMode");

extern "C" {static PyObject *meth_QAbstractItemView_horizontalScrollMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_horizontalScrollMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QAbstractItemView::ScrollMode sipRes;

            sipRes = sipCpp->horizontalScrollMode();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_ScrollMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_horizontalScrollMode, doc_QAbstractItemView_horizontalScrollMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setDragDropOverwriteMode, "QAbstractItemView.setDragDropOverwriteMode(bool)");

extern "C" {static PyObject *meth_QAbstractItemView_setDragDropOverwriteMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setDragDropOverwriteMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->setDragDropOverwriteMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setDragDropOverwriteMode, doc_QAbstractItemView_setDragDropOverwriteMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dragDropOverwriteMode, "QAbstractItemView.dragDropOverwriteMode() -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_dragDropOverwriteMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dragDropOverwriteMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->dragDropOverwriteMode();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dragDropOverwriteMode, doc_QAbstractItemView_dragDropOverwriteMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setDragDropMode, "QAbstractItemView.setDragDropMode(QAbstractItemView.DragDropMode)");

extern "C" {static PyObject *meth_QAbstractItemView_setDragDropMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setDragDropMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractItemView::DragDropMode a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QAbstractItemView_DragDropMode, &a0))
        {
            sipCpp->setDragDropMode(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setDragDropMode, doc_QAbstractItemView_setDragDropMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_dragDropMode, "QAbstractItemView.dragDropMode() -> QAbstractItemView.DragDropMode");

extern "C" {static PyObject *meth_QAbstractItemView_dragDropMode(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_dragDropMode(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QAbstractItemView::DragDropMode sipRes;

            sipRes = sipCpp->dragDropMode();

            return sipConvertFromEnum(sipRes,sipType_QAbstractItemView_DragDropMode);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_dragDropMode, doc_QAbstractItemView_dragDropMode);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setItemDelegateForRow, "QAbstractItemView.setItemDelegateForRow(int, QAbstractItemDelegate)");

extern "C" {static PyObject *meth_QAbstractItemView_setItemDelegateForRow(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setItemDelegateForRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractItemDelegate* a1;
        PyObject *a1Keep;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi@J8", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0, &a1Keep, sipType_QAbstractItemDelegate, &a1))
        {
            sipCpp->setItemDelegateForRow(a0,a1);

            sipKeepReference(sipSelf, -5, a1Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setItemDelegateForRow, doc_QAbstractItemView_setItemDelegateForRow);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_itemDelegateForRow, "QAbstractItemView.itemDelegateForRow(int) -> QAbstractItemDelegate");

extern "C" {static PyObject *meth_QAbstractItemView_itemDelegateForRow(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_itemDelegateForRow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            QAbstractItemDelegate*sipRes;

            sipRes = sipCpp->itemDelegateForRow(a0);

            return sipConvertFromType(sipRes,sipType_QAbstractItemDelegate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_itemDelegateForRow, doc_QAbstractItemView_itemDelegateForRow);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setItemDelegateForColumn, "QAbstractItemView.setItemDelegateForColumn(int, QAbstractItemDelegate)");

extern "C" {static PyObject *meth_QAbstractItemView_setItemDelegateForColumn(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setItemDelegateForColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractItemDelegate* a1;
        PyObject *a1Keep;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi@J8", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0, &a1Keep, sipType_QAbstractItemDelegate, &a1))
        {
            sipCpp->setItemDelegateForColumn(a0,a1);

            sipKeepReference(sipSelf, -6, a1Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setItemDelegateForColumn, doc_QAbstractItemView_setItemDelegateForColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_itemDelegateForColumn, "QAbstractItemView.itemDelegateForColumn(int) -> QAbstractItemDelegate");

extern "C" {static PyObject *meth_QAbstractItemView_itemDelegateForColumn(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_itemDelegateForColumn(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            QAbstractItemDelegate*sipRes;

            sipRes = sipCpp->itemDelegateForColumn(a0);

            return sipConvertFromType(sipRes,sipType_QAbstractItemDelegate,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_itemDelegateForColumn, doc_QAbstractItemView_itemDelegateForColumn);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_inputMethodQuery, "QAbstractItemView.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QAbstractItemView_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QAbstractItemView::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_inputMethodQuery, doc_QAbstractItemView_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setAutoScrollMargin, "QAbstractItemView.setAutoScrollMargin(int)");

extern "C" {static PyObject *meth_QAbstractItemView_setAutoScrollMargin(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setAutoScrollMargin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            sipCpp->setAutoScrollMargin(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setAutoScrollMargin, doc_QAbstractItemView_setAutoScrollMargin);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_autoScrollMargin, "QAbstractItemView.autoScrollMargin() -> int");

extern "C" {static PyObject *meth_QAbstractItemView_autoScrollMargin(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_autoScrollMargin(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->autoScrollMargin();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_autoScrollMargin, doc_QAbstractItemView_autoScrollMargin);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_focusNextPrevChild, "QAbstractItemView.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QAbstractItemView_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QAbstractItemView, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_focusNextPrevChild, doc_QAbstractItemView_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_inputMethodEvent, "QAbstractItemView.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QAbstractItemView_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_inputMethodEvent, doc_QAbstractItemView_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_viewportSizeHint, "QAbstractItemView.viewportSizeHint() -> QSize");

extern "C" {static PyObject *meth_QAbstractItemView_viewportSizeHint(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_viewportSizeHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractItemView *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sipProtectVirt_viewportSizeHint(sipSelfWasArg));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_viewportSizeHint, doc_QAbstractItemView_viewportSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_setDefaultDropAction, "QAbstractItemView.setDefaultDropAction(Qt.DropAction)");

extern "C" {static PyObject *meth_QAbstractItemView_setDefaultDropAction(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_setDefaultDropAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::DropAction a0;
        QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractItemView, &sipCpp, sipType_Qt_DropAction, &a0))
        {
            sipCpp->setDefaultDropAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_setDefaultDropAction, doc_QAbstractItemView_setDefaultDropAction);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemView_defaultDropAction, "QAbstractItemView.defaultDropAction() -> Qt.DropAction");

extern "C" {static PyObject *meth_QAbstractItemView_defaultDropAction(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemView_defaultDropAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractItemView *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractItemView, &sipCpp))
        {
            Qt::DropAction sipRes;

            sipRes = sipCpp->defaultDropAction();

            return sipConvertFromEnum(sipRes,sipType_Qt_DropAction);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemView, sipName_defaultDropAction, doc_QAbstractItemView_defaultDropAction);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractItemView(void *, const sipTypeDef *);}
static void *cast_QAbstractItemView(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractItemView)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QAbstractScrollArea)->ctd_cast((QAbstractScrollArea *)(QAbstractItemView *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractItemView(void *, int);}
static void release_QAbstractItemView(void *sipCppV,int)
{
    QAbstractItemView *sipCpp = reinterpret_cast<QAbstractItemView *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractItemView(sipSimpleWrapper *);}
static void dealloc_QAbstractItemView(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractItemView *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractItemView(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractItemView(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractItemView(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractItemView *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractItemView(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractItemView[] = {{15, 255, 1}};


static PyMethodDef methods_QAbstractItemView[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QAbstractItemView_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_alternatingRowColors), meth_QAbstractItemView_alternatingRowColors, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_alternatingRowColors)},
    {SIP_MLNAME_CAST(sipName_autoScrollMargin), meth_QAbstractItemView_autoScrollMargin, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_autoScrollMargin)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QAbstractItemView_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractItemView_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_clearSelection), meth_QAbstractItemView_clearSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_clearSelection)},
    {SIP_MLNAME_CAST(sipName_closeEditor), (PyCFunction)meth_QAbstractItemView_closeEditor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_closeEditor)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QAbstractItemView_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closePersistentEditor), meth_QAbstractItemView_closePersistentEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_closePersistentEditor)},
    {SIP_MLNAME_CAST(sipName_commitData), (PyCFunction)meth_QAbstractItemView_commitData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_commitData)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractItemView_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QAbstractItemView_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QAbstractItemView_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_currentChanged), (PyCFunction)meth_QAbstractItemView_currentChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_currentChanged)},
    {SIP_MLNAME_CAST(sipName_currentIndex), meth_QAbstractItemView_currentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_currentIndex)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractItemView_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dataChanged), (PyCFunction)meth_QAbstractItemView_dataChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_dataChanged)},
    {SIP_MLNAME_CAST(sipName_defaultDropAction), meth_QAbstractItemView_defaultDropAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_defaultDropAction)},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QAbstractItemView_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dirtyRegionOffset), (PyCFunction)meth_QAbstractItemView_dirtyRegionOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_dirtyRegionOffset)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractItemView_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragDropMode), meth_QAbstractItemView_dragDropMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_dragDropMode)},
    {SIP_MLNAME_CAST(sipName_dragDropOverwriteMode), meth_QAbstractItemView_dragDropOverwriteMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_dragDropOverwriteMode)},
    {SIP_MLNAME_CAST(sipName_dragEnabled), meth_QAbstractItemView_dragEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_dragEnabled)},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QAbstractItemView_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QAbstractItemView_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QAbstractItemView_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QAbstractItemView_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QAbstractItemView_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_dropEvent)},
    {SIP_MLNAME_CAST(sipName_dropIndicatorPosition), (PyCFunction)meth_QAbstractItemView_dropIndicatorPosition, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_dropIndicatorPosition)},
    {SIP_MLNAME_CAST(sipName_edit), (PyCFunction)meth_QAbstractItemView_edit, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_edit)},
    {SIP_MLNAME_CAST(sipName_editTriggers), meth_QAbstractItemView_editTriggers, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_editTriggers)},
    {SIP_MLNAME_CAST(sipName_editorDestroyed), (PyCFunction)meth_QAbstractItemView_editorDestroyed, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_editorDestroyed)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QAbstractItemView_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QAbstractItemView_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QAbstractItemView_eventFilter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_executeDelayedItemsLayout), (PyCFunction)meth_QAbstractItemView_executeDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_executeDelayedItemsLayout)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QAbstractItemView_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QAbstractItemView_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QAbstractItemView_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QAbstractItemView_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QAbstractItemView_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hasAutoScroll), meth_QAbstractItemView_hasAutoScroll, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_hasAutoScroll)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QAbstractItemView_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalOffset), (PyCFunction)meth_QAbstractItemView_horizontalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_horizontalOffset)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollMode), meth_QAbstractItemView_horizontalScrollMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_horizontalScrollMode)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarAction), (PyCFunction)meth_QAbstractItemView_horizontalScrollbarAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_horizontalScrollbarAction)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollbarValueChanged), (PyCFunction)meth_QAbstractItemView_horizontalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_horizontalScrollbarValueChanged)},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_QAbstractItemView_iconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_iconSize)},
    {SIP_MLNAME_CAST(sipName_indexAt), meth_QAbstractItemView_indexAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_indexAt)},
    {SIP_MLNAME_CAST(sipName_indexWidget), meth_QAbstractItemView_indexWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_indexWidget)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QAbstractItemView_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QAbstractItemView_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QAbstractItemView_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_isIndexHidden), (PyCFunction)meth_QAbstractItemView_isIndexHidden, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_isIndexHidden)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractItemView_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_itemDelegate), meth_QAbstractItemView_itemDelegate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_itemDelegate)},
    {SIP_MLNAME_CAST(sipName_itemDelegateForColumn), meth_QAbstractItemView_itemDelegateForColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_itemDelegateForColumn)},
    {SIP_MLNAME_CAST(sipName_itemDelegateForRow), meth_QAbstractItemView_itemDelegateForRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_itemDelegateForRow)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QAbstractItemView_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QAbstractItemView_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyboardSearch), meth_QAbstractItemView_keyboardSearch, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_keyboardSearch)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QAbstractItemView_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QAbstractItemView_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_model), meth_QAbstractItemView_model, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_model)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QAbstractItemView_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QAbstractItemView_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QAbstractItemView_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QAbstractItemView_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveCursor), (PyCFunction)meth_QAbstractItemView_moveCursor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_moveCursor)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QAbstractItemView_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QAbstractItemView_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_openPersistentEditor), meth_QAbstractItemView_openPersistentEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_openPersistentEditor)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QAbstractItemView_paintEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractItemView_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_reset), meth_QAbstractItemView_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_reset)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QAbstractItemView_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_rootIndex), meth_QAbstractItemView_rootIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_rootIndex)},
    {SIP_MLNAME_CAST(sipName_rowsAboutToBeRemoved), (PyCFunction)meth_QAbstractItemView_rowsAboutToBeRemoved, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_rowsAboutToBeRemoved)},
    {SIP_MLNAME_CAST(sipName_rowsInserted), (PyCFunction)meth_QAbstractItemView_rowsInserted, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_rowsInserted)},
    {SIP_MLNAME_CAST(sipName_scheduleDelayedItemsLayout), (PyCFunction)meth_QAbstractItemView_scheduleDelayedItemsLayout, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_scheduleDelayedItemsLayout)},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QAbstractItemView_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_scrollDirtyRegion), (PyCFunction)meth_QAbstractItemView_scrollDirtyRegion, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_scrollDirtyRegion)},
    {SIP_MLNAME_CAST(sipName_scrollTo), (PyCFunction)meth_QAbstractItemView_scrollTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_scrollTo)},
    {SIP_MLNAME_CAST(sipName_scrollToBottom), meth_QAbstractItemView_scrollToBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_scrollToBottom)},
    {SIP_MLNAME_CAST(sipName_scrollToTop), meth_QAbstractItemView_scrollToTop, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_scrollToTop)},
    {SIP_MLNAME_CAST(sipName_selectAll), meth_QAbstractItemView_selectAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_selectAll)},
    {SIP_MLNAME_CAST(sipName_selectedIndexes), (PyCFunction)meth_QAbstractItemView_selectedIndexes, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_selectedIndexes)},
    {SIP_MLNAME_CAST(sipName_selectionBehavior), meth_QAbstractItemView_selectionBehavior, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_selectionBehavior)},
    {SIP_MLNAME_CAST(sipName_selectionChanged), (PyCFunction)meth_QAbstractItemView_selectionChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_selectionChanged)},
    {SIP_MLNAME_CAST(sipName_selectionCommand), (PyCFunction)meth_QAbstractItemView_selectionCommand, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_selectionCommand)},
    {SIP_MLNAME_CAST(sipName_selectionMode), meth_QAbstractItemView_selectionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_selectionMode)},
    {SIP_MLNAME_CAST(sipName_selectionModel), meth_QAbstractItemView_selectionModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_selectionModel)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractItemView_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractItemView_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAlternatingRowColors), meth_QAbstractItemView_setAlternatingRowColors, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setAlternatingRowColors)},
    {SIP_MLNAME_CAST(sipName_setAutoScroll), meth_QAbstractItemView_setAutoScroll, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setAutoScroll)},
    {SIP_MLNAME_CAST(sipName_setAutoScrollMargin), meth_QAbstractItemView_setAutoScrollMargin, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setAutoScrollMargin)},
    {SIP_MLNAME_CAST(sipName_setCurrentIndex), meth_QAbstractItemView_setCurrentIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setCurrentIndex)},
    {SIP_MLNAME_CAST(sipName_setDefaultDropAction), meth_QAbstractItemView_setDefaultDropAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setDefaultDropAction)},
    {SIP_MLNAME_CAST(sipName_setDirtyRegion), (PyCFunction)meth_QAbstractItemView_setDirtyRegion, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_setDirtyRegion)},
    {SIP_MLNAME_CAST(sipName_setDragDropMode), meth_QAbstractItemView_setDragDropMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setDragDropMode)},
    {SIP_MLNAME_CAST(sipName_setDragDropOverwriteMode), meth_QAbstractItemView_setDragDropOverwriteMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setDragDropOverwriteMode)},
    {SIP_MLNAME_CAST(sipName_setDragEnabled), meth_QAbstractItemView_setDragEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setDragEnabled)},
    {SIP_MLNAME_CAST(sipName_setDropIndicatorShown), meth_QAbstractItemView_setDropIndicatorShown, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setDropIndicatorShown)},
    {SIP_MLNAME_CAST(sipName_setEditTriggers), meth_QAbstractItemView_setEditTriggers, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setEditTriggers)},
    {SIP_MLNAME_CAST(sipName_setHorizontalScrollMode), meth_QAbstractItemView_setHorizontalScrollMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setHorizontalScrollMode)},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_QAbstractItemView_setIconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setIconSize)},
    {SIP_MLNAME_CAST(sipName_setIndexWidget), meth_QAbstractItemView_setIndexWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setIndexWidget)},
    {SIP_MLNAME_CAST(sipName_setItemDelegate), meth_QAbstractItemView_setItemDelegate, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setItemDelegate)},
    {SIP_MLNAME_CAST(sipName_setItemDelegateForColumn), meth_QAbstractItemView_setItemDelegateForColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setItemDelegateForColumn)},
    {SIP_MLNAME_CAST(sipName_setItemDelegateForRow), meth_QAbstractItemView_setItemDelegateForRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setItemDelegateForRow)},
    {SIP_MLNAME_CAST(sipName_setModel), meth_QAbstractItemView_setModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setModel)},
    {SIP_MLNAME_CAST(sipName_setRootIndex), meth_QAbstractItemView_setRootIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setRootIndex)},
    {SIP_MLNAME_CAST(sipName_setSelection), (PyCFunction)meth_QAbstractItemView_setSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_setSelection)},
    {SIP_MLNAME_CAST(sipName_setSelectionBehavior), meth_QAbstractItemView_setSelectionBehavior, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setSelectionBehavior)},
    {SIP_MLNAME_CAST(sipName_setSelectionMode), meth_QAbstractItemView_setSelectionMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setSelectionMode)},
    {SIP_MLNAME_CAST(sipName_setSelectionModel), meth_QAbstractItemView_setSelectionModel, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setSelectionModel)},
    {SIP_MLNAME_CAST(sipName_setState), (PyCFunction)meth_QAbstractItemView_setState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_setState)},
    {SIP_MLNAME_CAST(sipName_setTabKeyNavigation), meth_QAbstractItemView_setTabKeyNavigation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setTabKeyNavigation)},
    {SIP_MLNAME_CAST(sipName_setTextElideMode), meth_QAbstractItemView_setTextElideMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setTextElideMode)},
    {SIP_MLNAME_CAST(sipName_setVerticalScrollMode), meth_QAbstractItemView_setVerticalScrollMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_setVerticalScrollMode)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QAbstractItemView_setViewportMargins, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QAbstractItemView_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showDropIndicator), meth_QAbstractItemView_showDropIndicator, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_showDropIndicator)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QAbstractItemView_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeHintForColumn), meth_QAbstractItemView_sizeHintForColumn, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_sizeHintForColumn)},
    {SIP_MLNAME_CAST(sipName_sizeHintForIndex), meth_QAbstractItemView_sizeHintForIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_sizeHintForIndex)},
    {SIP_MLNAME_CAST(sipName_sizeHintForRow), meth_QAbstractItemView_sizeHintForRow, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_sizeHintForRow)},
    {SIP_MLNAME_CAST(sipName_startDrag), (PyCFunction)meth_QAbstractItemView_startDrag, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_startDrag)},
    {SIP_MLNAME_CAST(sipName_state), (PyCFunction)meth_QAbstractItemView_state, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_state)},
    {SIP_MLNAME_CAST(sipName_tabKeyNavigation), meth_QAbstractItemView_tabKeyNavigation, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_tabKeyNavigation)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QAbstractItemView_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_textElideMode), meth_QAbstractItemView_textElideMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_textElideMode)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractItemView_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_timerEvent)},
    {SIP_MLNAME_CAST(sipName_update), meth_QAbstractItemView_update, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_update)},
    {SIP_MLNAME_CAST(sipName_updateEditorData), (PyCFunction)meth_QAbstractItemView_updateEditorData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_updateEditorData)},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometries), (PyCFunction)meth_QAbstractItemView_updateEditorGeometries, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_updateEditorGeometries)},
    {SIP_MLNAME_CAST(sipName_updateGeometries), (PyCFunction)meth_QAbstractItemView_updateGeometries, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_updateGeometries)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QAbstractItemView_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalOffset), (PyCFunction)meth_QAbstractItemView_verticalOffset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_verticalOffset)},
    {SIP_MLNAME_CAST(sipName_verticalScrollMode), meth_QAbstractItemView_verticalScrollMode, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_verticalScrollMode)},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarAction), (PyCFunction)meth_QAbstractItemView_verticalScrollbarAction, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_verticalScrollbarAction)},
    {SIP_MLNAME_CAST(sipName_verticalScrollbarValueChanged), (PyCFunction)meth_QAbstractItemView_verticalScrollbarValueChanged, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_verticalScrollbarValueChanged)},
    {SIP_MLNAME_CAST(sipName_viewOptions), (PyCFunction)meth_QAbstractItemView_viewOptions, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_viewOptions)},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QAbstractItemView_viewportEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_viewportEvent)},
    {SIP_MLNAME_CAST(sipName_viewportSizeHint), (PyCFunction)meth_QAbstractItemView_viewportSizeHint, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_viewportSizeHint)},
    {SIP_MLNAME_CAST(sipName_visualRect), meth_QAbstractItemView_visualRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemView_visualRect)},
    {SIP_MLNAME_CAST(sipName_visualRegionForSelection), (PyCFunction)meth_QAbstractItemView_visualRegionForSelection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractItemView_visualRegionForSelection)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QAbstractItemView_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

static sipEnumMemberDef enummembers_QAbstractItemView[] = {
    {sipName_AboveItem, static_cast<int>(sipQAbstractItemView::AboveItem), 7},
    {sipName_AllEditTriggers, static_cast<int>(QAbstractItemView::AllEditTriggers), 8},
    {sipName_AnimatingState, static_cast<int>(sipQAbstractItemView::AnimatingState), 14},
    {sipName_AnyKeyPressed, static_cast<int>(QAbstractItemView::AnyKeyPressed), 8},
    {sipName_BelowItem, static_cast<int>(sipQAbstractItemView::BelowItem), 7},
    {sipName_CollapsingState, static_cast<int>(sipQAbstractItemView::CollapsingState), 14},
    {sipName_ContiguousSelection, static_cast<int>(QAbstractItemView::ContiguousSelection), 13},
    {sipName_CurrentChanged, static_cast<int>(QAbstractItemView::CurrentChanged), 8},
    {sipName_DoubleClicked, static_cast<int>(QAbstractItemView::DoubleClicked), 8},
    {sipName_DragDrop, static_cast<int>(QAbstractItemView::DragDrop), 6},
    {sipName_DragOnly, static_cast<int>(QAbstractItemView::DragOnly), 6},
    {sipName_DragSelectingState, static_cast<int>(sipQAbstractItemView::DragSelectingState), 14},
    {sipName_DraggingState, static_cast<int>(sipQAbstractItemView::DraggingState), 14},
    {sipName_DropOnly, static_cast<int>(QAbstractItemView::DropOnly), 6},
    {sipName_EditKeyPressed, static_cast<int>(QAbstractItemView::EditKeyPressed), 8},
    {sipName_EditingState, static_cast<int>(sipQAbstractItemView::EditingState), 14},
    {sipName_EnsureVisible, static_cast<int>(QAbstractItemView::EnsureVisible), 10},
    {sipName_ExpandingState, static_cast<int>(sipQAbstractItemView::ExpandingState), 14},
    {sipName_ExtendedSelection, static_cast<int>(QAbstractItemView::ExtendedSelection), 13},
    {sipName_InternalMove, static_cast<int>(QAbstractItemView::InternalMove), 6},
    {sipName_MoveDown, static_cast<int>(sipQAbstractItemView::MoveDown), 5},
    {sipName_MoveEnd, static_cast<int>(sipQAbstractItemView::MoveEnd), 5},
    {sipName_MoveHome, static_cast<int>(sipQAbstractItemView::MoveHome), 5},
    {sipName_MoveLeft, static_cast<int>(sipQAbstractItemView::MoveLeft), 5},
    {sipName_MoveNext, static_cast<int>(sipQAbstractItemView::MoveNext), 5},
    {sipName_MovePageDown, static_cast<int>(sipQAbstractItemView::MovePageDown), 5},
    {sipName_MovePageUp, static_cast<int>(sipQAbstractItemView::MovePageUp), 5},
    {sipName_MovePrevious, static_cast<int>(sipQAbstractItemView::MovePrevious), 5},
    {sipName_MoveRight, static_cast<int>(sipQAbstractItemView::MoveRight), 5},
    {sipName_MoveUp, static_cast<int>(sipQAbstractItemView::MoveUp), 5},
    {sipName_MultiSelection, static_cast<int>(QAbstractItemView::MultiSelection), 13},
    {sipName_NoDragDrop, static_cast<int>(QAbstractItemView::NoDragDrop), 6},
    {sipName_NoEditTriggers, static_cast<int>(QAbstractItemView::NoEditTriggers), 8},
    {sipName_NoSelection, static_cast<int>(QAbstractItemView::NoSelection), 13},
    {sipName_NoState, static_cast<int>(sipQAbstractItemView::NoState), 14},
    {sipName_OnItem, static_cast<int>(sipQAbstractItemView::OnItem), 7},
    {sipName_OnViewport, static_cast<int>(sipQAbstractItemView::OnViewport), 7},
    {sipName_PositionAtBottom, static_cast<int>(QAbstractItemView::PositionAtBottom), 10},
    {sipName_PositionAtCenter, static_cast<int>(QAbstractItemView::PositionAtCenter), 10},
    {sipName_PositionAtTop, static_cast<int>(QAbstractItemView::PositionAtTop), 10},
    {sipName_ScrollPerItem, static_cast<int>(QAbstractItemView::ScrollPerItem), 11},
    {sipName_ScrollPerPixel, static_cast<int>(QAbstractItemView::ScrollPerPixel), 11},
    {sipName_SelectColumns, static_cast<int>(QAbstractItemView::SelectColumns), 12},
    {sipName_SelectItems, static_cast<int>(QAbstractItemView::SelectItems), 12},
    {sipName_SelectRows, static_cast<int>(QAbstractItemView::SelectRows), 12},
    {sipName_SelectedClicked, static_cast<int>(QAbstractItemView::SelectedClicked), 8},
    {sipName_SingleSelection, static_cast<int>(QAbstractItemView::SingleSelection), 13},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractItemView[] = {
    {"viewportEntered()", "\1QAbstractItemView.viewportEntered", 0, 0},
    {"entered(QModelIndex)", "\1QAbstractItemView.entered[QModelIndex]", 0, 0},
    {"activated(QModelIndex)", "\1QAbstractItemView.activated[QModelIndex]", 0, 0},
    {"doubleClicked(QModelIndex)", "\1QAbstractItemView.doubleClicked[QModelIndex]", 0, 0},
    {"clicked(QModelIndex)", "\1QAbstractItemView.clicked[QModelIndex]", 0, 0},
    {"pressed(QModelIndex)", "\1QAbstractItemView.pressed[QModelIndex]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractItemView, "\1QAbstractItemView(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAbstractItemView = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractItemView,
        {0}
    },
    {
        sipNameNr_QAbstractItemView,
        {0, 0, 1},
        150, methods_QAbstractItemView,
        47, enummembers_QAbstractItemView,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractItemView,
    -1,
    -1,
    supers_QAbstractItemView,
    0,
    init_type_QAbstractItemView,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractItemView,
    0,
    0,
    0,
    release_QAbstractItemView,
    cast_QAbstractItemView,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QAbstractItemView::staticMetaObject,
    0,
    signals_QAbstractItemView,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractscrollarea.sip"
#include <qabstractscrollarea.h>
#line 477702 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 477706 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 477709 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 477712 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qscrollbar.sip"
#include <qscrollbar.h>
#line 477715 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 477718 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 477721 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477724 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477730 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477733 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477739 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477742 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477745 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477748 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477751 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 477754 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 477757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 477760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 477763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 477766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qframe.sip"
#include <qframe.h>
#line 477769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 477772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 477775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 477778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 477781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 477784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 477787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 477790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 477793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 477796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 477799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 477802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 477805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 477808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 477811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 477814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 477817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 477820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 477823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 477826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 477829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 477853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 477856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 477859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 477862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 477865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 477868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 477871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 477874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 477877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 477880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 477883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 477886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 477889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 477892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 477895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 477898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 477901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 477904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 477907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 477910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 477913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 477916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQAbstractScrollArea : public QAbstractScrollArea
{
public:
    sipQAbstractScrollArea(QWidget*);
    virtual ~sipQAbstractScrollArea();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtect_drawFrame(QPainter*);
    void sipProtect_setViewportMargins(int,int,int,int);
    void sipProtect_setViewportMargins(const QMargins&);
    bool sipProtectVirt_event(bool,QEvent*);
    bool sipProtectVirt_viewportEvent(bool,QEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    bool sipProtectVirt_eventFilter(bool,QObject*,QEvent*);
    void sipProtectVirt_scrollContentsBy(bool,int,int);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void closeEvent(QCloseEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    void setVisible(bool);
    int devType() const;
    void changeEvent(QEvent*);
    void setupViewport(QWidget*);
    void scrollContentsBy(int,int);
    bool eventFilter(QObject*,QEvent*);
    void keyPressEvent(QKeyEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void paintEvent(QPaintEvent*);
    void resizeEvent(QResizeEvent*);
    bool viewportEvent(QEvent*);
    bool event(QEvent*);
    QSize sizeHint() const;
    QSize minimumSizeHint() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractScrollArea(const sipQAbstractScrollArea &);
    sipQAbstractScrollArea &operator = (const sipQAbstractScrollArea &);

    char sipPyMethods[49];
};

sipQAbstractScrollArea::sipQAbstractScrollArea(QWidget*a0): QAbstractScrollArea(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractScrollArea::~sipQAbstractScrollArea()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractScrollArea::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractScrollArea);
}

int sipQAbstractScrollArea::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QAbstractScrollArea::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QAbstractScrollArea,_c,_id,_a);

    return _id;
}

void *sipQAbstractScrollArea::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QAbstractScrollArea, _clname, &sipCpp) ? sipCpp : QAbstractScrollArea::qt_metacast(_clname));
}

void sipQAbstractScrollArea::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractScrollArea::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractScrollArea::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QAbstractScrollArea::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQAbstractScrollArea::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QAbstractScrollArea::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractScrollArea::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QAbstractScrollArea::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractScrollArea::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QAbstractScrollArea::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractScrollArea::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QAbstractScrollArea::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQAbstractScrollArea::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QAbstractScrollArea::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractScrollArea::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QAbstractScrollArea::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQAbstractScrollArea::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QAbstractScrollArea::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQAbstractScrollArea::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QAbstractScrollArea::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QAbstractScrollArea::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractScrollArea::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[27]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QAbstractScrollArea::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractScrollArea::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::setupViewport(QWidget*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_setupViewport);

    if (!sipMeth)
    {
        QAbstractScrollArea::setupViewport(a0);
        return;
    }

    extern void sipVH_QtWidgets_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*);

    sipVH_QtWidgets_1(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::scrollContentsBy(int a0,int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_scrollContentsBy);

    if (!sipMeth)
    {
        QAbstractScrollArea::scrollContentsBy(a0,a1);
        return;
    }

    typedef void (*sipVH_QtGui_17)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);

    ((sipVH_QtGui_17)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[17]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractScrollArea::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractScrollArea::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractScrollArea::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractScrollArea::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QAbstractScrollArea::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractScrollArea::viewportEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_viewportEvent);

    if (!sipMeth)
        return QAbstractScrollArea::viewportEvent(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractScrollArea::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractScrollArea::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQAbstractScrollArea::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QAbstractScrollArea::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQAbstractScrollArea::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QAbstractScrollArea::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQAbstractScrollArea::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQAbstractScrollArea::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQAbstractScrollArea::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractScrollArea::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQAbstractScrollArea::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQAbstractScrollArea::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQAbstractScrollArea::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQAbstractScrollArea::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQAbstractScrollArea::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQAbstractScrollArea::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQAbstractScrollArea::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQAbstractScrollArea::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQAbstractScrollArea::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQAbstractScrollArea::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQAbstractScrollArea::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQAbstractScrollArea::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QFrame::changeEvent(a0) : changeEvent(a0));
}

void sipQAbstractScrollArea::sipProtect_drawFrame(QPainter*a0)
{
    QFrame::drawFrame(a0);
}

void sipQAbstractScrollArea::sipProtect_setViewportMargins(int a0,int a1,int a2,int a3)
{
    QAbstractScrollArea::setViewportMargins(a0,a1,a2,a3);
}

void sipQAbstractScrollArea::sipProtect_setViewportMargins(const QMargins& a0)
{
    QAbstractScrollArea::setViewportMargins(a0);
}

bool sipQAbstractScrollArea::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractScrollArea::event(a0) : event(a0));
}

bool sipQAbstractScrollArea::sipProtectVirt_viewportEvent(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractScrollArea::viewportEvent(a0) : viewportEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::resizeEvent(a0) : resizeEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::paintEvent(a0) : paintEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::wheelEvent(a0) : wheelEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::dropEvent(a0) : dropEvent(a0));
}

void sipQAbstractScrollArea::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractScrollArea::keyPressEvent(a0) : keyPressEvent(a0));
}

bool sipQAbstractScrollArea::sipProtectVirt_eventFilter(bool sipSelfWasArg,QObject*a0,QEvent*a1)
{
    return (sipSelfWasArg ? QAbstractScrollArea::eventFilter(a0,a1) : eventFilter(a0,a1));
}

void sipQAbstractScrollArea::sipProtectVirt_scrollContentsBy(bool sipSelfWasArg,int a0,int a1)
{
    (sipSelfWasArg ? QAbstractScrollArea::scrollContentsBy(a0,a1) : scrollContentsBy(a0,a1));
}


PyDoc_STRVAR(doc_QAbstractScrollArea_sender, "QAbstractScrollArea.sender() -> QObject");

extern "C" {static PyObject *meth_QAbstractScrollArea_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 479224 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_sender, doc_QAbstractScrollArea_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_receivers, "QAbstractScrollArea.receivers(signal) -> int");

extern "C" {static PyObject *meth_QAbstractScrollArea_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 479283 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_receivers, doc_QAbstractScrollArea_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_timerEvent, "QAbstractScrollArea.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_timerEvent, doc_QAbstractScrollArea_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_childEvent, "QAbstractScrollArea.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_childEvent, doc_QAbstractScrollArea_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_customEvent, "QAbstractScrollArea.customEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_customEvent, doc_QAbstractScrollArea_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_connectNotify, "QAbstractScrollArea.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractScrollArea_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_connectNotify, doc_QAbstractScrollArea_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_disconnectNotify, "QAbstractScrollArea.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractScrollArea_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_disconnectNotify, doc_QAbstractScrollArea_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_senderSignalIndex, "QAbstractScrollArea.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QAbstractScrollArea_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_senderSignalIndex, doc_QAbstractScrollArea_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_isSignalConnected, "QAbstractScrollArea.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractScrollArea_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_isSignalConnected, doc_QAbstractScrollArea_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_keyReleaseEvent, "QAbstractScrollArea.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_keyReleaseEvent, doc_QAbstractScrollArea_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_focusInEvent, "QAbstractScrollArea.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_focusInEvent, doc_QAbstractScrollArea_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_focusOutEvent, "QAbstractScrollArea.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_focusOutEvent, doc_QAbstractScrollArea_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_enterEvent, "QAbstractScrollArea.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_enterEvent, doc_QAbstractScrollArea_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_leaveEvent, "QAbstractScrollArea.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_leaveEvent, doc_QAbstractScrollArea_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_moveEvent, "QAbstractScrollArea.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_moveEvent, doc_QAbstractScrollArea_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_closeEvent, "QAbstractScrollArea.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_closeEvent, doc_QAbstractScrollArea_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_tabletEvent, "QAbstractScrollArea.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_tabletEvent, doc_QAbstractScrollArea_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_actionEvent, "QAbstractScrollArea.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_actionEvent, doc_QAbstractScrollArea_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_showEvent, "QAbstractScrollArea.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_showEvent, doc_QAbstractScrollArea_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_hideEvent, "QAbstractScrollArea.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_hideEvent, doc_QAbstractScrollArea_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_metric, "QAbstractScrollArea.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QAbstractScrollArea_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_metric, doc_QAbstractScrollArea_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_inputMethodEvent, "QAbstractScrollArea.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_inputMethodEvent, doc_QAbstractScrollArea_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_updateMicroFocus, "QAbstractScrollArea.updateMicroFocus()");

extern "C" {static PyObject *meth_QAbstractScrollArea_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_updateMicroFocus, doc_QAbstractScrollArea_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_create, "QAbstractScrollArea.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QAbstractScrollArea_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQAbstractScrollArea *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_create, doc_QAbstractScrollArea_create);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_destroy, "QAbstractScrollArea.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QAbstractScrollArea_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQAbstractScrollArea *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_destroy, doc_QAbstractScrollArea_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_focusNextPrevChild, "QAbstractScrollArea.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QAbstractScrollArea_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_focusNextPrevChild, doc_QAbstractScrollArea_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_focusNextChild, "QAbstractScrollArea.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QAbstractScrollArea_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_focusNextChild, doc_QAbstractScrollArea_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_focusPreviousChild, "QAbstractScrollArea.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QAbstractScrollArea_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_focusPreviousChild, doc_QAbstractScrollArea_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_nativeEvent, "QAbstractScrollArea.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QAbstractScrollArea_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_nativeEvent, doc_QAbstractScrollArea_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_sharedPainter, "QAbstractScrollArea.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QAbstractScrollArea_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_sharedPainter, doc_QAbstractScrollArea_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_initPainter, "QAbstractScrollArea.initPainter(QPainter)");

extern "C" {static PyObject *meth_QAbstractScrollArea_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_initPainter, doc_QAbstractScrollArea_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_changeEvent, "QAbstractScrollArea.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_changeEvent, doc_QAbstractScrollArea_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_drawFrame, "QAbstractScrollArea.drawFrame(QPainter)");

extern "C" {static PyObject *meth_QAbstractScrollArea_drawFrame(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_drawFrame(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPainter* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtect_drawFrame(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_drawFrame, doc_QAbstractScrollArea_drawFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_verticalScrollBarPolicy, "QAbstractScrollArea.verticalScrollBarPolicy() -> Qt.ScrollBarPolicy");

extern "C" {static PyObject *meth_QAbstractScrollArea_verticalScrollBarPolicy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_verticalScrollBarPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            Qt::ScrollBarPolicy sipRes;

            sipRes = sipCpp->verticalScrollBarPolicy();

            return sipConvertFromEnum(sipRes,sipType_Qt_ScrollBarPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_verticalScrollBarPolicy, doc_QAbstractScrollArea_verticalScrollBarPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_setVerticalScrollBarPolicy, "QAbstractScrollArea.setVerticalScrollBarPolicy(Qt.ScrollBarPolicy)");

extern "C" {static PyObject *meth_QAbstractScrollArea_setVerticalScrollBarPolicy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_setVerticalScrollBarPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ScrollBarPolicy a0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_Qt_ScrollBarPolicy, &a0))
        {
            sipCpp->setVerticalScrollBarPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_setVerticalScrollBarPolicy, doc_QAbstractScrollArea_setVerticalScrollBarPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_verticalScrollBar, "QAbstractScrollArea.verticalScrollBar() -> QScrollBar");

extern "C" {static PyObject *meth_QAbstractScrollArea_verticalScrollBar(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_verticalScrollBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QScrollBar*sipRes;

            sipRes = sipCpp->verticalScrollBar();

            return sipConvertFromType(sipRes,sipType_QScrollBar,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_verticalScrollBar, doc_QAbstractScrollArea_verticalScrollBar);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_horizontalScrollBarPolicy, "QAbstractScrollArea.horizontalScrollBarPolicy() -> Qt.ScrollBarPolicy");

extern "C" {static PyObject *meth_QAbstractScrollArea_horizontalScrollBarPolicy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_horizontalScrollBarPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            Qt::ScrollBarPolicy sipRes;

            sipRes = sipCpp->horizontalScrollBarPolicy();

            return sipConvertFromEnum(sipRes,sipType_Qt_ScrollBarPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_horizontalScrollBarPolicy, doc_QAbstractScrollArea_horizontalScrollBarPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_setHorizontalScrollBarPolicy, "QAbstractScrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarPolicy)");

extern "C" {static PyObject *meth_QAbstractScrollArea_setHorizontalScrollBarPolicy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_setHorizontalScrollBarPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ScrollBarPolicy a0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_Qt_ScrollBarPolicy, &a0))
        {
            sipCpp->setHorizontalScrollBarPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_setHorizontalScrollBarPolicy, doc_QAbstractScrollArea_setHorizontalScrollBarPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_horizontalScrollBar, "QAbstractScrollArea.horizontalScrollBar() -> QScrollBar");

extern "C" {static PyObject *meth_QAbstractScrollArea_horizontalScrollBar(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_horizontalScrollBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QScrollBar*sipRes;

            sipRes = sipCpp->horizontalScrollBar();

            return sipConvertFromType(sipRes,sipType_QScrollBar,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_horizontalScrollBar, doc_QAbstractScrollArea_horizontalScrollBar);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_viewport, "QAbstractScrollArea.viewport() -> QWidget");

extern "C" {static PyObject *meth_QAbstractScrollArea_viewport(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_viewport(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->viewport();

            return sipConvertFromType(sipRes,sipType_QWidget,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_viewport, doc_QAbstractScrollArea_viewport);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_maximumViewportSize, "QAbstractScrollArea.maximumViewportSize() -> QSize");

extern "C" {static PyObject *meth_QAbstractScrollArea_maximumViewportSize(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_maximumViewportSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->maximumViewportSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_maximumViewportSize, doc_QAbstractScrollArea_maximumViewportSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_minimumSizeHint, "QAbstractScrollArea.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QAbstractScrollArea_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QAbstractScrollArea::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_minimumSizeHint, doc_QAbstractScrollArea_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_sizeHint, "QAbstractScrollArea.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QAbstractScrollArea_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QAbstractScrollArea::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_sizeHint, doc_QAbstractScrollArea_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_setViewportMargins, "QAbstractScrollArea.setViewportMargins(int, int, int, int)\n"
    "QAbstractScrollArea.setViewportMargins(QMargins)");

extern "C" {static PyObject *meth_QAbstractScrollArea_setViewportMargins(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_setViewportMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Biiii", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->sipProtect_setViewportMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->sipProtect_setViewportMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_setViewportMargins, doc_QAbstractScrollArea_setViewportMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_event, "QAbstractScrollArea.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractScrollArea_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_event, doc_QAbstractScrollArea_event);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_viewportEvent, "QAbstractScrollArea.viewportEvent(QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractScrollArea_viewportEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_viewportEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_viewportEvent(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_viewportEvent, doc_QAbstractScrollArea_viewportEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_resizeEvent, "QAbstractScrollArea.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_resizeEvent, doc_QAbstractScrollArea_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_paintEvent, "QAbstractScrollArea.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_paintEvent, doc_QAbstractScrollArea_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_mousePressEvent, "QAbstractScrollArea.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_mousePressEvent, doc_QAbstractScrollArea_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_mouseReleaseEvent, "QAbstractScrollArea.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_mouseReleaseEvent, doc_QAbstractScrollArea_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_mouseDoubleClickEvent, "QAbstractScrollArea.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_mouseDoubleClickEvent, doc_QAbstractScrollArea_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_mouseMoveEvent, "QAbstractScrollArea.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_mouseMoveEvent, doc_QAbstractScrollArea_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_wheelEvent, "QAbstractScrollArea.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_wheelEvent, doc_QAbstractScrollArea_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_contextMenuEvent, "QAbstractScrollArea.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_contextMenuEvent, doc_QAbstractScrollArea_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_dragEnterEvent, "QAbstractScrollArea.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_dragEnterEvent, doc_QAbstractScrollArea_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_dragMoveEvent, "QAbstractScrollArea.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_dragMoveEvent, doc_QAbstractScrollArea_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_dragLeaveEvent, "QAbstractScrollArea.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_dragLeaveEvent, doc_QAbstractScrollArea_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_dropEvent, "QAbstractScrollArea.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_dropEvent, doc_QAbstractScrollArea_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_keyPressEvent, "QAbstractScrollArea.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractScrollArea_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_keyPressEvent, doc_QAbstractScrollArea_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_eventFilter, "QAbstractScrollArea.eventFilter(QObject, QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractScrollArea_eventFilter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_eventFilter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QObject* a0;
        QEvent* a1;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8J8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QObject, &a0, sipType_QEvent, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_eventFilter(sipSelfWasArg,a0,a1);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_eventFilter, doc_QAbstractScrollArea_eventFilter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_scrollContentsBy, "QAbstractScrollArea.scrollContentsBy(int, int)");

extern "C" {static PyObject *meth_QAbstractScrollArea_scrollContentsBy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_scrollContentsBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        int a1;
        sipQAbstractScrollArea *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bii", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtectVirt_scrollContentsBy(sipSelfWasArg,a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_scrollContentsBy, doc_QAbstractScrollArea_scrollContentsBy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_setVerticalScrollBar, "QAbstractScrollArea.setVerticalScrollBar(QScrollBar)");

extern "C" {static PyObject *meth_QAbstractScrollArea_setVerticalScrollBar(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_setVerticalScrollBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QScrollBar* a0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QScrollBar, &a0))
        {
            sipCpp->setVerticalScrollBar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_setVerticalScrollBar, doc_QAbstractScrollArea_setVerticalScrollBar);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_setHorizontalScrollBar, "QAbstractScrollArea.setHorizontalScrollBar(QScrollBar)");

extern "C" {static PyObject *meth_QAbstractScrollArea_setHorizontalScrollBar(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_setHorizontalScrollBar(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QScrollBar* a0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QScrollBar, &a0))
        {
            sipCpp->setHorizontalScrollBar(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_setHorizontalScrollBar, doc_QAbstractScrollArea_setHorizontalScrollBar);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_cornerWidget, "QAbstractScrollArea.cornerWidget() -> QWidget");

extern "C" {static PyObject *meth_QAbstractScrollArea_cornerWidget(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_cornerWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->cornerWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_cornerWidget, doc_QAbstractScrollArea_cornerWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_setCornerWidget, "QAbstractScrollArea.setCornerWidget(QWidget)");

extern "C" {static PyObject *meth_QAbstractScrollArea_setCornerWidget(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_setCornerWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setCornerWidget(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_setCornerWidget, doc_QAbstractScrollArea_setCornerWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_addScrollBarWidget, "QAbstractScrollArea.addScrollBarWidget(QWidget, Qt.Alignment)");

extern "C" {static PyObject *meth_QAbstractScrollArea_addScrollBarWidget(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_addScrollBarWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        Qt::Alignment* a1;
        int a1State = 0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:J1", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QWidget, &a0, sipType_Qt_Alignment, &a1, &a1State))
        {
            sipCpp->addScrollBarWidget(a0,*a1);
            sipReleaseType(a1,sipType_Qt_Alignment,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_addScrollBarWidget, doc_QAbstractScrollArea_addScrollBarWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_scrollBarWidgets, "QAbstractScrollArea.scrollBarWidgets(Qt.Alignment) -> list-of-QWidget");

extern "C" {static PyObject *meth_QAbstractScrollArea_scrollBarWidgets(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_scrollBarWidgets(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::Alignment* a0;
        int a0State = 0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_Qt_Alignment, &a0, &a0State))
        {
            QWidgetList*sipRes;

            sipRes = new QWidgetList(sipCpp->scrollBarWidgets(*a0));
            sipReleaseType(a0,sipType_Qt_Alignment,a0State);

            return sipConvertFromNewType(sipRes,sipType_QList_0101QWidget,sipSelf);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_scrollBarWidgets, doc_QAbstractScrollArea_scrollBarWidgets);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_setViewport, "QAbstractScrollArea.setViewport(QWidget)");

extern "C" {static PyObject *meth_QAbstractScrollArea_setViewport(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_setViewport(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->setViewport(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_setViewport, doc_QAbstractScrollArea_setViewport);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_setupViewport, "QAbstractScrollArea.setupViewport(QWidget)");

extern "C" {static PyObject *meth_QAbstractScrollArea_setupViewport(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_setupViewport(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QWidget, &a0))
        {
            (sipSelfWasArg ? sipCpp->QAbstractScrollArea::setupViewport(a0) : sipCpp->setupViewport(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_setupViewport, doc_QAbstractScrollArea_setupViewport);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_sizeAdjustPolicy, "QAbstractScrollArea.sizeAdjustPolicy() -> QAbstractScrollArea.SizeAdjustPolicy");

extern "C" {static PyObject *meth_QAbstractScrollArea_sizeAdjustPolicy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_sizeAdjustPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractScrollArea, &sipCpp))
        {
            QAbstractScrollArea::SizeAdjustPolicy sipRes;

            sipRes = sipCpp->sizeAdjustPolicy();

            return sipConvertFromEnum(sipRes,sipType_QAbstractScrollArea_SizeAdjustPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_sizeAdjustPolicy, doc_QAbstractScrollArea_sizeAdjustPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractScrollArea_setSizeAdjustPolicy, "QAbstractScrollArea.setSizeAdjustPolicy(QAbstractScrollArea.SizeAdjustPolicy)");

extern "C" {static PyObject *meth_QAbstractScrollArea_setSizeAdjustPolicy(PyObject *, PyObject *);}
static PyObject *meth_QAbstractScrollArea_setSizeAdjustPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractScrollArea::SizeAdjustPolicy a0;
        QAbstractScrollArea *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QAbstractScrollArea, &sipCpp, sipType_QAbstractScrollArea_SizeAdjustPolicy, &a0))
        {
            sipCpp->setSizeAdjustPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractScrollArea, sipName_setSizeAdjustPolicy, doc_QAbstractScrollArea_setSizeAdjustPolicy);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractScrollArea(void *, const sipTypeDef *);}
static void *cast_QAbstractScrollArea(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractScrollArea)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QFrame)->ctd_cast((QFrame *)(QAbstractScrollArea *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractScrollArea(void *, int);}
static void release_QAbstractScrollArea(void *sipCppV,int)
{
    QAbstractScrollArea *sipCpp = reinterpret_cast<QAbstractScrollArea *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractScrollArea(sipSimpleWrapper *);}
static void dealloc_QAbstractScrollArea(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractScrollArea *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractScrollArea(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractScrollArea(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractScrollArea(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractScrollArea *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractScrollArea(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractScrollArea[] = {{98, 255, 1}};


static PyMethodDef methods_QAbstractScrollArea[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QAbstractScrollArea_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_addScrollBarWidget), meth_QAbstractScrollArea_addScrollBarWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_addScrollBarWidget)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QAbstractScrollArea_changeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractScrollArea_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QAbstractScrollArea_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractScrollArea_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QAbstractScrollArea_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_cornerWidget), meth_QAbstractScrollArea_cornerWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_cornerWidget)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QAbstractScrollArea_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractScrollArea_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QAbstractScrollArea_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractScrollArea_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QAbstractScrollArea_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QAbstractScrollArea_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QAbstractScrollArea_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_drawFrame), (PyCFunction)meth_QAbstractScrollArea_drawFrame, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QAbstractScrollArea_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_dropEvent)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QAbstractScrollArea_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QAbstractScrollArea_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_event)},
    {SIP_MLNAME_CAST(sipName_eventFilter), (PyCFunction)meth_QAbstractScrollArea_eventFilter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_eventFilter)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QAbstractScrollArea_focusInEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QAbstractScrollArea_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QAbstractScrollArea_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QAbstractScrollArea_focusOutEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QAbstractScrollArea_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QAbstractScrollArea_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_horizontalScrollBar), meth_QAbstractScrollArea_horizontalScrollBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_horizontalScrollBar)},
    {SIP_MLNAME_CAST(sipName_horizontalScrollBarPolicy), meth_QAbstractScrollArea_horizontalScrollBarPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_horizontalScrollBarPolicy)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QAbstractScrollArea_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QAbstractScrollArea_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractScrollArea_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QAbstractScrollArea_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QAbstractScrollArea_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QAbstractScrollArea_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_maximumViewportSize), meth_QAbstractScrollArea_maximumViewportSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_maximumViewportSize)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QAbstractScrollArea_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QAbstractScrollArea_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QAbstractScrollArea_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QAbstractScrollArea_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QAbstractScrollArea_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QAbstractScrollArea_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QAbstractScrollArea_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QAbstractScrollArea_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QAbstractScrollArea_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractScrollArea_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QAbstractScrollArea_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_scrollBarWidgets), meth_QAbstractScrollArea_scrollBarWidgets, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_scrollBarWidgets)},
    {SIP_MLNAME_CAST(sipName_scrollContentsBy), (PyCFunction)meth_QAbstractScrollArea_scrollContentsBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_scrollContentsBy)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractScrollArea_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractScrollArea_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setCornerWidget), meth_QAbstractScrollArea_setCornerWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_setCornerWidget)},
    {SIP_MLNAME_CAST(sipName_setHorizontalScrollBar), meth_QAbstractScrollArea_setHorizontalScrollBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_setHorizontalScrollBar)},
    {SIP_MLNAME_CAST(sipName_setHorizontalScrollBarPolicy), meth_QAbstractScrollArea_setHorizontalScrollBarPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_setHorizontalScrollBarPolicy)},
    {SIP_MLNAME_CAST(sipName_setSizeAdjustPolicy), meth_QAbstractScrollArea_setSizeAdjustPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_setSizeAdjustPolicy)},
    {SIP_MLNAME_CAST(sipName_setVerticalScrollBar), meth_QAbstractScrollArea_setVerticalScrollBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_setVerticalScrollBar)},
    {SIP_MLNAME_CAST(sipName_setVerticalScrollBarPolicy), meth_QAbstractScrollArea_setVerticalScrollBarPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_setVerticalScrollBarPolicy)},
    {SIP_MLNAME_CAST(sipName_setViewport), meth_QAbstractScrollArea_setViewport, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_setViewport)},
    {SIP_MLNAME_CAST(sipName_setViewportMargins), (PyCFunction)meth_QAbstractScrollArea_setViewportMargins, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_setViewportMargins)},
    {SIP_MLNAME_CAST(sipName_setupViewport), meth_QAbstractScrollArea_setupViewport, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_setupViewport)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QAbstractScrollArea_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QAbstractScrollArea_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sizeAdjustPolicy), meth_QAbstractScrollArea_sizeAdjustPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_sizeAdjustPolicy)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QAbstractScrollArea_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_sizeHint)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QAbstractScrollArea_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractScrollArea_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QAbstractScrollArea_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_verticalScrollBar), meth_QAbstractScrollArea_verticalScrollBar, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_verticalScrollBar)},
    {SIP_MLNAME_CAST(sipName_verticalScrollBarPolicy), meth_QAbstractScrollArea_verticalScrollBarPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_verticalScrollBarPolicy)},
    {SIP_MLNAME_CAST(sipName_viewport), meth_QAbstractScrollArea_viewport, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_viewport)},
    {SIP_MLNAME_CAST(sipName_viewportEvent), (PyCFunction)meth_QAbstractScrollArea_viewportEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_viewportEvent)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QAbstractScrollArea_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractScrollArea_wheelEvent)}
};

static sipEnumMemberDef enummembers_QAbstractScrollArea[] = {
    {sipName_AdjustIgnored, static_cast<int>(QAbstractScrollArea::AdjustIgnored), 16},
    {sipName_AdjustToContents, static_cast<int>(QAbstractScrollArea::AdjustToContents), 16},
    {sipName_AdjustToContentsOnFirstShow, static_cast<int>(QAbstractScrollArea::AdjustToContentsOnFirstShow), 16},
};

PyDoc_STRVAR(doc_QAbstractScrollArea, "\1QAbstractScrollArea(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAbstractScrollArea = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractScrollArea,
        {0}
    },
    {
        sipNameNr_QAbstractScrollArea,
        {0, 0, 1},
        71, methods_QAbstractScrollArea,
        3, enummembers_QAbstractScrollArea,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractScrollArea,
    -1,
    -1,
    supers_QAbstractScrollArea,
    0,
    init_type_QAbstractScrollArea,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractScrollArea,
    0,
    0,
    0,
    release_QAbstractScrollArea,
    cast_QAbstractScrollArea,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QAbstractScrollArea::staticMetaObject,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemdelegate.sip"
#include <qabstractitemdelegate.h>
#line 481474 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 481478 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 481481 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 481484 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 594 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 481487 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractitemview.sip"
#include <qabstractitemview.h>
#line 481490 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 564 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyleoption.sip"
#include <qstyleoption.h>
#line 481493 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 481496 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 105 "sip/QtCore/qabstractitemmodel.sip"
#include <qabstractitemmodel.h>
#line 481499 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 481502 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 481505 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 481508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 481511 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 481514 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 481517 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 481520 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 481523 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 481526 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 481529 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 481532 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 481535 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 481538 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 481541 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 481544 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 481547 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQAbstractItemDelegate : public QAbstractItemDelegate
{
public:
    sipQAbstractItemDelegate(QObject*);
    virtual ~sipQAbstractItemDelegate();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    bool event(QEvent*);
    bool helpEvent(QHelpEvent*,QAbstractItemView*,const QStyleOptionViewItem&,const QModelIndex&);
    bool editorEvent(QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);
    void destroyEditor(QWidget*,const QModelIndex&) const;
    void updateEditorGeometry(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    void setModelData(QWidget*,QAbstractItemModel*,const QModelIndex&) const;
    void setEditorData(QWidget*,const QModelIndex&) const;
    QWidget* createEditor(QWidget*,const QStyleOptionViewItem&,const QModelIndex&) const;
    QSize sizeHint(const QStyleOptionViewItem&,const QModelIndex&) const;
    void paint(QPainter*,const QStyleOptionViewItem&,const QModelIndex&) const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractItemDelegate(const sipQAbstractItemDelegate &);
    sipQAbstractItemDelegate &operator = (const sipQAbstractItemDelegate &);

    char sipPyMethods[16];
};

sipQAbstractItemDelegate::sipQAbstractItemDelegate(QObject*a0): QAbstractItemDelegate(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractItemDelegate::~sipQAbstractItemDelegate()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractItemDelegate::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractItemDelegate);
}

int sipQAbstractItemDelegate::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QAbstractItemDelegate::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QAbstractItemDelegate,_c,_id,_a);

    return _id;
}

void *sipQAbstractItemDelegate::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QAbstractItemDelegate, _clname, &sipCpp) ? sipCpp : QAbstractItemDelegate::qt_metacast(_clname));
}

void sipQAbstractItemDelegate::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractItemDelegate::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemDelegate::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractItemDelegate::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemDelegate::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractItemDelegate::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemDelegate::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractItemDelegate::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractItemDelegate::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractItemDelegate::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemDelegate::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractItemDelegate::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

bool sipQAbstractItemDelegate::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractItemDelegate::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractItemDelegate::helpEvent(QHelpEvent*a0,QAbstractItemView*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_helpEvent);

    if (!sipMeth)
        return QAbstractItemDelegate::helpEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_148(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHelpEvent*,QAbstractItemView*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_148(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQAbstractItemDelegate::editorEvent(QEvent*a0,QAbstractItemModel*a1,const QStyleOptionViewItem& a2,const QModelIndex& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_editorEvent);

    if (!sipMeth)
        return QAbstractItemDelegate::editorEvent(a0,a1,a2,a3);

    extern bool sipVH_QtWidgets_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*,QAbstractItemModel*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_48(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQAbstractItemDelegate::destroyEditor(QWidget*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_destroyEditor);

    if (!sipMeth)
    {
        QAbstractItemDelegate::destroyEditor(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QModelIndex&);

    sipVH_QtWidgets_53(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemDelegate::updateEditorGeometry(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_updateEditorGeometry);

    if (!sipMeth)
    {
        QAbstractItemDelegate::updateEditorGeometry(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    sipVH_QtWidgets_51(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractItemDelegate::setModelData(QWidget*a0,QAbstractItemModel*a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_setModelData);

    if (!sipMeth)
    {
        QAbstractItemDelegate::setModelData(a0,a1,a2);
        return;
    }

    extern void sipVH_QtWidgets_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,QAbstractItemModel*,const QModelIndex&);

    sipVH_QtWidgets_52(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

void sipQAbstractItemDelegate::setEditorData(QWidget*a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_setEditorData);

    if (!sipMeth)
    {
        QAbstractItemDelegate::setEditorData(a0,a1);
        return;
    }

    extern void sipVH_QtWidgets_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QModelIndex&);

    sipVH_QtWidgets_53(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

QWidget* sipQAbstractItemDelegate::createEditor(QWidget*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_createEditor);

    if (!sipMeth)
        return QAbstractItemDelegate::createEditor(a0,a1,a2);

    extern QWidget* sipVH_QtWidgets_54(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWidget*,const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_54(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QSize sipQAbstractItemDelegate::sizeHint(const QStyleOptionViewItem& a0,const QModelIndex& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[14]),sipPySelf,sipName_QAbstractItemDelegate,sipName_sizeHint);

    if (!sipMeth)
        return QSize();

    extern QSize sipVH_QtWidgets_55(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QStyleOptionViewItem&,const QModelIndex&);

    return sipVH_QtWidgets_55(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractItemDelegate::paint(QPainter*a0,const QStyleOptionViewItem& a1,const QModelIndex& a2) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,sipName_QAbstractItemDelegate,sipName_paint);

    if (!sipMeth)
        return;

    extern void sipVH_QtWidgets_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*,const QStyleOptionViewItem&,const QModelIndex&);

    sipVH_QtWidgets_26(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

QObject* sipQAbstractItemDelegate::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQAbstractItemDelegate::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQAbstractItemDelegate::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQAbstractItemDelegate::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractItemDelegate::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractItemDelegate::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractItemDelegate::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractItemDelegate::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQAbstractItemDelegate::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_sender, "QAbstractItemDelegate.sender() -> QObject");

extern "C" {static PyObject *meth_QAbstractItemDelegate_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 481991 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_sender, doc_QAbstractItemDelegate_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_receivers, "QAbstractItemDelegate.receivers(signal) -> int");

extern "C" {static PyObject *meth_QAbstractItemDelegate_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 482050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_receivers, doc_QAbstractItemDelegate_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_timerEvent, "QAbstractItemDelegate.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQAbstractItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_timerEvent, doc_QAbstractItemDelegate_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_childEvent, "QAbstractItemDelegate.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQAbstractItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_childEvent, doc_QAbstractItemDelegate_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_customEvent, "QAbstractItemDelegate.customEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_customEvent, doc_QAbstractItemDelegate_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_connectNotify, "QAbstractItemDelegate.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_connectNotify, doc_QAbstractItemDelegate_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_disconnectNotify, "QAbstractItemDelegate.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_disconnectNotify, doc_QAbstractItemDelegate_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_senderSignalIndex, "QAbstractItemDelegate.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QAbstractItemDelegate_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_senderSignalIndex, doc_QAbstractItemDelegate_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_isSignalConnected, "QAbstractItemDelegate.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractItemDelegate_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQAbstractItemDelegate *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_isSignalConnected, doc_QAbstractItemDelegate_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_paint, "QAbstractItemDelegate.paint(QPainter, QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_paint(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_paint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QPainter* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const QAbstractItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QPainter, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemDelegate, sipName_paint);
                return NULL;
            }

            sipCpp->paint(a0,*a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_paint, doc_QAbstractItemDelegate_paint);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_sizeHint, "QAbstractItemDelegate.sizeHint(QStyleOptionViewItem, QModelIndex) -> QSize");

extern "C" {static PyObject *meth_QAbstractItemDelegate_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        const QStyleOptionViewItem* a0;
        const QModelIndex* a1;
        const QAbstractItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QStyleOptionViewItem, &a0, sipType_QModelIndex, &a1))
        {
            QSize*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractItemDelegate, sipName_sizeHint);
                return NULL;
            }

            sipRes = new QSize(sipCpp->sizeHint(*a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_sizeHint, doc_QAbstractItemDelegate_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_createEditor, "QAbstractItemDelegate.createEditor(QWidget, QStyleOptionViewItem, QModelIndex) -> QWidget");

extern "C" {static PyObject *meth_QAbstractItemDelegate_createEditor(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_createEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        sipWrapper *sipOwner = 0;
        const QAbstractItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJHJ9J9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QWidget, &a0, &sipOwner, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            QWidget*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemDelegate::createEditor(a0,*a1,*a2) : sipCpp->createEditor(a0,*a1,*a2));

            return sipConvertFromNewType(sipRes,sipType_QWidget,(PyObject *)sipOwner);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_createEditor, doc_QAbstractItemDelegate_createEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_setEditorData, "QAbstractItemDelegate.setEditorData(QWidget, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_setEditorData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_setEditorData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QModelIndex* a1;
        const QAbstractItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QModelIndex, &a1))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemDelegate::setEditorData(a0,*a1) : sipCpp->setEditorData(a0,*a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_setEditorData, doc_QAbstractItemDelegate_setEditorData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_setModelData, "QAbstractItemDelegate.setModelData(QWidget, QAbstractItemModel, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_setModelData(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_setModelData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        QAbstractItemModel* a1;
        PyObject *a1Keep;
        const QModelIndex* a2;
        const QAbstractItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8@J8J9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QWidget, &a0, &a1Keep, sipType_QAbstractItemModel, &a1, sipType_QModelIndex, &a2))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemDelegate::setModelData(a0,a1,*a2) : sipCpp->setModelData(a0,a1,*a2));

            sipKeepReference(sipSelf, -1, a1Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_setModelData, doc_QAbstractItemDelegate_setModelData);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_updateEditorGeometry, "QAbstractItemDelegate.updateEditorGeometry(QWidget, QStyleOptionViewItem, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_updateEditorGeometry(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_updateEditorGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QStyleOptionViewItem* a1;
        const QModelIndex* a2;
        const QAbstractItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9J9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QStyleOptionViewItem, &a1, sipType_QModelIndex, &a2))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemDelegate::updateEditorGeometry(a0,*a1,*a2) : sipCpp->updateEditorGeometry(a0,*a1,*a2));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_updateEditorGeometry, doc_QAbstractItemDelegate_updateEditorGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_destroyEditor, "QAbstractItemDelegate.destroyEditor(QWidget, QModelIndex)");

extern "C" {static PyObject *meth_QAbstractItemDelegate_destroyEditor(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_destroyEditor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWidget* a0;
        const QModelIndex* a1;
        const QAbstractItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QWidget, &a0, sipType_QModelIndex, &a1))
        {
            (sipSelfWasArg ? sipCpp->QAbstractItemDelegate::destroyEditor(a0,*a1) : sipCpp->destroyEditor(a0,*a1));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_destroyEditor, doc_QAbstractItemDelegate_destroyEditor);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_editorEvent, "QAbstractItemDelegate.editorEvent(QEvent, QAbstractItemModel, QStyleOptionViewItem, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractItemDelegate_editorEvent(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_editorEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        QAbstractItemModel* a1;
        const QStyleOptionViewItem* a2;
        const QModelIndex* a3;
        QAbstractItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J9J9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QEvent, &a0, sipType_QAbstractItemModel, &a1, sipType_QStyleOptionViewItem, &a2, sipType_QModelIndex, &a3))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemDelegate::editorEvent(a0,a1,*a2,*a3) : sipCpp->editorEvent(a0,a1,*a2,*a3));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_editorEvent, doc_QAbstractItemDelegate_editorEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractItemDelegate_helpEvent, "QAbstractItemDelegate.helpEvent(QHelpEvent, QAbstractItemView, QStyleOptionViewItem, QModelIndex) -> bool");

extern "C" {static PyObject *meth_QAbstractItemDelegate_helpEvent(PyObject *, PyObject *);}
static PyObject *meth_QAbstractItemDelegate_helpEvent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHelpEvent* a0;
        QAbstractItemView* a1;
        const QStyleOptionViewItem* a2;
        const QModelIndex* a3;
        QAbstractItemDelegate *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8J9J9", &sipSelf, sipType_QAbstractItemDelegate, &sipCpp, sipType_QHelpEvent, &a0, sipType_QAbstractItemView, &a1, sipType_QStyleOptionViewItem, &a2, sipType_QModelIndex, &a3))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QAbstractItemDelegate::helpEvent(a0,a1,*a2,*a3) : sipCpp->helpEvent(a0,a1,*a2,*a3));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_helpEvent, doc_QAbstractItemDelegate_helpEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractItemDelegate(void *, const sipTypeDef *);}
static void *cast_QAbstractItemDelegate(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractItemDelegate)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QAbstractItemDelegate *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractItemDelegate(void *, int);}
static void release_QAbstractItemDelegate(void *sipCppV,int)
{
    QAbstractItemDelegate *sipCpp = reinterpret_cast<QAbstractItemDelegate *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractItemDelegate(sipSimpleWrapper *);}
static void dealloc_QAbstractItemDelegate(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractItemDelegate *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractItemDelegate(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractItemDelegate(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractItemDelegate(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractItemDelegate *sipCpp = 0;

    {
        QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractItemDelegate(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractItemDelegate[] = {{162, 0, 1}};


static PyMethodDef methods_QAbstractItemDelegate[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractItemDelegate_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractItemDelegate_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_createEditor), meth_QAbstractItemDelegate_createEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemDelegate_createEditor)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractItemDelegate_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroyEditor), meth_QAbstractItemDelegate_destroyEditor, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemDelegate_destroyEditor)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractItemDelegate_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_editorEvent), meth_QAbstractItemDelegate_editorEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemDelegate_editorEvent)},
    {SIP_MLNAME_CAST(sipName_helpEvent), meth_QAbstractItemDelegate_helpEvent, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemDelegate_helpEvent)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractItemDelegate_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_paint), meth_QAbstractItemDelegate_paint, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemDelegate_paint)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractItemDelegate_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractItemDelegate_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractItemDelegate_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setEditorData), meth_QAbstractItemDelegate_setEditorData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemDelegate_setEditorData)},
    {SIP_MLNAME_CAST(sipName_setModelData), meth_QAbstractItemDelegate_setModelData, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemDelegate_setModelData)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QAbstractItemDelegate_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemDelegate_sizeHint)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractItemDelegate_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_updateEditorGeometry), meth_QAbstractItemDelegate_updateEditorGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractItemDelegate_updateEditorGeometry)}
};

static sipEnumMemberDef enummembers_QAbstractItemDelegate[] = {
    {sipName_EditNextItem, static_cast<int>(QAbstractItemDelegate::EditNextItem), 3},
    {sipName_EditPreviousItem, static_cast<int>(QAbstractItemDelegate::EditPreviousItem), 3},
    {sipName_NoHint, static_cast<int>(QAbstractItemDelegate::NoHint), 3},
    {sipName_RevertModelCache, static_cast<int>(QAbstractItemDelegate::RevertModelCache), 3},
    {sipName_SubmitModelCache, static_cast<int>(QAbstractItemDelegate::SubmitModelCache), 3},
};


extern "C" {static int emit_QAbstractItemDelegate_closeEditor(void *, PyObject *);}

static int emit_QAbstractItemDelegate_closeEditor(void *sipCppV, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    QAbstractItemDelegate *sipCpp = reinterpret_cast<QAbstractItemDelegate *>(sipCppV);

    {
        QWidget* a0;
        QAbstractItemDelegate::EndEditHint a1 = QAbstractItemDelegate::NoHint;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8|E", sipType_QWidget, &a0, sipType_QAbstractItemDelegate_EndEditHint, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->closeEditor(a0,a1);
            Py_END_ALLOW_THREADS


            return 0;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractItemDelegate, sipName_closeEditor, NULL);

    return -1;
}


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractItemDelegate[] = {
    {"sizeHintChanged(QModelIndex)", "\1QAbstractItemDelegate.sizeHintChanged[QModelIndex]", 0, 0},
    {"closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint)", "\1QAbstractItemDelegate.closeEditor[QWidget, QAbstractItemDelegate.EndEditHint]", 0, emit_QAbstractItemDelegate_closeEditor},
    {"commitData(QWidget*)", "\1QAbstractItemDelegate.commitData[QWidget]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractItemDelegate, "\1QAbstractItemDelegate(QObject parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAbstractItemDelegate = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractItemDelegate,
        {0}
    },
    {
        sipNameNr_QAbstractItemDelegate,
        {0, 0, 1},
        18, methods_QAbstractItemDelegate,
        5, enummembers_QAbstractItemDelegate,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractItemDelegate,
    -1,
    -1,
    supers_QAbstractItemDelegate,
    0,
    init_type_QAbstractItemDelegate,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractItemDelegate,
    0,
    0,
    0,
    release_QAbstractItemDelegate,
    cast_QAbstractItemDelegate,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QAbstractItemDelegate::staticMetaObject,
    0,
    signals_QAbstractItemDelegate,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qabstractbutton.sip"
#include <qabstractbutton.h>
#line 482753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 482757 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 482760 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 482763 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482766 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482769 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482772 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 482775 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482778 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 482781 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qbuttongroup.sip"
#include <qbuttongroup.h>
#line 482784 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 482787 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 482790 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 482793 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 482796 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 482799 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 482802 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 482805 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 482808 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 482811 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 482814 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 482817 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 482820 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 482823 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 482826 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 482829 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 482832 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 482835 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 482838 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 482841 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 482844 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 482847 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 482850 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 482853 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 482856 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482859 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482862 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482865 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482868 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482871 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482874 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482877 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482880 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482883 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482886 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482889 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482892 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482895 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 482898 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 482901 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 482904 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 482907 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 482910 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 482913 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 482916 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 482919 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 482922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 482925 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 482928 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 482931 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 482934 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 482937 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 482940 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 482943 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 482946 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 482949 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 482952 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 482955 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 482958 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQAbstractButton : public QAbstractButton
{
public:
    sipQAbstractButton(QWidget*);
    virtual ~sipQAbstractButton();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;
    void sipProtect_paintEvent(QPaintEvent*);
    bool sipProtectVirt_hitButton(bool,const QPoint&) const;
    void sipProtectVirt_checkStateSet(bool);
    void sipProtectVirt_nextCheckState(bool);
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;
    void timerEvent(QTimerEvent*);
    void changeEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    bool event(QEvent*);
    void nextCheckState();
    void checkStateSet();
    bool hitButton(const QPoint&) const;
    void paintEvent(QPaintEvent*);

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQAbstractButton(const sipQAbstractButton &);
    sipQAbstractButton &operator = (const sipQAbstractButton &);

    char sipPyMethods[49];
};

sipQAbstractButton::sipQAbstractButton(QWidget*a0): QAbstractButton(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQAbstractButton::~sipQAbstractButton()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQAbstractButton::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QAbstractButton);
}

int sipQAbstractButton::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QAbstractButton::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QAbstractButton,_c,_id,_a);

    return _id;
}

void *sipQAbstractButton::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QAbstractButton, _clname, &sipCpp) ? sipCpp : QAbstractButton::qt_metacast(_clname));
}

void sipQAbstractButton::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QAbstractButton::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QAbstractButton::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QAbstractButton::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QAbstractButton::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractButton::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QAbstractButton::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQAbstractButton::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QAbstractButton::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQAbstractButton::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QAbstractButton::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractButton::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QAbstractButton::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQAbstractButton::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QAbstractButton::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractButton::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QAbstractButton::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQAbstractButton::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QAbstractButton::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QAbstractButton::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractButton::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QAbstractButton::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QAbstractButton::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QAbstractButton::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QAbstractButton::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QAbstractButton::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QAbstractButton::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QAbstractButton::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QAbstractButton::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QAbstractButton::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QAbstractButton::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QAbstractButton::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QAbstractButton::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QAbstractButton::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QAbstractButton::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QAbstractButton::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QAbstractButton::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QAbstractButton::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQAbstractButton::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QAbstractButton::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQAbstractButton::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QAbstractButton::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQAbstractButton::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QAbstractButton::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQAbstractButton::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QAbstractButton::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractButton::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QAbstractButton::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQAbstractButton::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QAbstractButton::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractButton::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QAbstractButton::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QAbstractButton::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QAbstractButton::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QAbstractButton::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QAbstractButton::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QAbstractButton::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QAbstractButton::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QAbstractButton::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QAbstractButton::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQAbstractButton::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QAbstractButton::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::nextCheckState()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,NULL,sipName_nextCheckState);

    if (!sipMeth)
    {
        QAbstractButton::nextCheckState();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQAbstractButton::checkStateSet()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,NULL,sipName_checkStateSet);

    if (!sipMeth)
    {
        QAbstractButton::checkStateSet();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[11]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQAbstractButton::hitButton(const QPoint& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[47]),sipPySelf,NULL,sipName_hitButton);

    if (!sipMeth)
        return QAbstractButton::hitButton(a0);

    extern bool sipVH_QtWidgets_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QPoint&);

    return sipVH_QtWidgets_36(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQAbstractButton::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,sipName_QAbstractButton,sipName_paintEvent);

    if (!sipMeth)
        return;

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QObject* sipQAbstractButton::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQAbstractButton::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQAbstractButton::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQAbstractButton::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQAbstractButton::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQAbstractButton::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

void sipQAbstractButton::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

int sipQAbstractButton::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQAbstractButton::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQAbstractButton::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQAbstractButton::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQAbstractButton::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQAbstractButton::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQAbstractButton::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQAbstractButton::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQAbstractButton::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQAbstractButton::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQAbstractButton::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}

void sipQAbstractButton::sipProtect_paintEvent(QPaintEvent*a0)
{
    paintEvent(a0);
}

bool sipQAbstractButton::sipProtectVirt_hitButton(bool sipSelfWasArg,const QPoint& a0) const
{
    return (sipSelfWasArg ? QAbstractButton::hitButton(a0) : hitButton(a0));
}

void sipQAbstractButton::sipProtectVirt_checkStateSet(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractButton::checkStateSet() : checkStateSet());
}

void sipQAbstractButton::sipProtectVirt_nextCheckState(bool sipSelfWasArg)
{
    (sipSelfWasArg ? QAbstractButton::nextCheckState() : nextCheckState());
}

bool sipQAbstractButton::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QAbstractButton::event(a0) : event(a0));
}

void sipQAbstractButton::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::focusInEvent(a0) : focusInEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::changeEvent(a0) : changeEvent(a0));
}

void sipQAbstractButton::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QAbstractButton::timerEvent(a0) : timerEvent(a0));
}


PyDoc_STRVAR(doc_QAbstractButton_sender, "QAbstractButton.sender() -> QObject");

extern "C" {static PyObject *meth_QAbstractButton_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 484245 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_sender, doc_QAbstractButton_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_receivers, "QAbstractButton.receivers(signal) -> int");

extern "C" {static PyObject *meth_QAbstractButton_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 484304 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_receivers, doc_QAbstractButton_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_childEvent, "QAbstractButton.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QAbstractButton_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_childEvent, doc_QAbstractButton_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_customEvent, "QAbstractButton.customEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractButton_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_customEvent, doc_QAbstractButton_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_connectNotify, "QAbstractButton.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractButton_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_connectNotify, doc_QAbstractButton_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_disconnectNotify, "QAbstractButton.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QAbstractButton_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_disconnectNotify, doc_QAbstractButton_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_senderSignalIndex, "QAbstractButton.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QAbstractButton_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_senderSignalIndex, doc_QAbstractButton_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_isSignalConnected, "QAbstractButton.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QAbstractButton_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_isSignalConnected, doc_QAbstractButton_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_mouseDoubleClickEvent, "QAbstractButton.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractButton_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_mouseDoubleClickEvent, doc_QAbstractButton_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_wheelEvent, "QAbstractButton.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QAbstractButton_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_wheelEvent, doc_QAbstractButton_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_enterEvent, "QAbstractButton.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractButton_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_enterEvent, doc_QAbstractButton_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_leaveEvent, "QAbstractButton.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractButton_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_leaveEvent, doc_QAbstractButton_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_moveEvent, "QAbstractButton.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QAbstractButton_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_moveEvent, doc_QAbstractButton_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_resizeEvent, "QAbstractButton.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QAbstractButton_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_resizeEvent, doc_QAbstractButton_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_closeEvent, "QAbstractButton.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QAbstractButton_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_closeEvent, doc_QAbstractButton_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_contextMenuEvent, "QAbstractButton.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QAbstractButton_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_contextMenuEvent, doc_QAbstractButton_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_tabletEvent, "QAbstractButton.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QAbstractButton_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_tabletEvent, doc_QAbstractButton_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_actionEvent, "QAbstractButton.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QAbstractButton_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_actionEvent, doc_QAbstractButton_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_dragEnterEvent, "QAbstractButton.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QAbstractButton_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_dragEnterEvent, doc_QAbstractButton_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_dragMoveEvent, "QAbstractButton.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QAbstractButton_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_dragMoveEvent, doc_QAbstractButton_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_dragLeaveEvent, "QAbstractButton.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QAbstractButton_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_dragLeaveEvent, doc_QAbstractButton_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_dropEvent, "QAbstractButton.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QAbstractButton_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_dropEvent, doc_QAbstractButton_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_showEvent, "QAbstractButton.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QAbstractButton_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_showEvent, doc_QAbstractButton_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_hideEvent, "QAbstractButton.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QAbstractButton_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_hideEvent, doc_QAbstractButton_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_metric, "QAbstractButton.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QAbstractButton_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_metric, doc_QAbstractButton_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_inputMethodEvent, "QAbstractButton.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QAbstractButton_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_inputMethodEvent, doc_QAbstractButton_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_updateMicroFocus, "QAbstractButton.updateMicroFocus()");

extern "C" {static PyObject *meth_QAbstractButton_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_updateMicroFocus, doc_QAbstractButton_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_create, "QAbstractButton.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QAbstractButton_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQAbstractButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_create, doc_QAbstractButton_create);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_destroy, "QAbstractButton.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QAbstractButton_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQAbstractButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_destroy, doc_QAbstractButton_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_focusNextPrevChild, "QAbstractButton.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QAbstractButton_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_focusNextPrevChild, doc_QAbstractButton_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_focusNextChild, "QAbstractButton.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QAbstractButton_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_focusNextChild, doc_QAbstractButton_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_focusPreviousChild, "QAbstractButton.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QAbstractButton_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_focusPreviousChild, doc_QAbstractButton_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_nativeEvent, "QAbstractButton.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QAbstractButton_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_nativeEvent, doc_QAbstractButton_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_sharedPainter, "QAbstractButton.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QAbstractButton_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_sharedPainter, doc_QAbstractButton_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_initPainter, "QAbstractButton.initPainter(QPainter)");

extern "C" {static PyObject *meth_QAbstractButton_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_initPainter, doc_QAbstractButton_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setAutoRepeatDelay, "QAbstractButton.setAutoRepeatDelay(int)");

extern "C" {static PyObject *meth_QAbstractButton_setAutoRepeatDelay(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setAutoRepeatDelay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            sipCpp->setAutoRepeatDelay(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setAutoRepeatDelay, doc_QAbstractButton_setAutoRepeatDelay);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_autoRepeatDelay, "QAbstractButton.autoRepeatDelay() -> int");

extern "C" {static PyObject *meth_QAbstractButton_autoRepeatDelay(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_autoRepeatDelay(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->autoRepeatDelay();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_autoRepeatDelay, doc_QAbstractButton_autoRepeatDelay);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setAutoRepeatInterval, "QAbstractButton.setAutoRepeatInterval(int)");

extern "C" {static PyObject *meth_QAbstractButton_setAutoRepeatInterval(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setAutoRepeatInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            sipCpp->setAutoRepeatInterval(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setAutoRepeatInterval, doc_QAbstractButton_setAutoRepeatInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_autoRepeatInterval, "QAbstractButton.autoRepeatInterval() -> int");

extern "C" {static PyObject *meth_QAbstractButton_autoRepeatInterval(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_autoRepeatInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->autoRepeatInterval();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_autoRepeatInterval, doc_QAbstractButton_autoRepeatInterval);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setText, "QAbstractButton.setText(str)");

extern "C" {static PyObject *meth_QAbstractButton_setText(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setText, doc_QAbstractButton_setText);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_text, "QAbstractButton.text() -> str");

extern "C" {static PyObject *meth_QAbstractButton_text(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_text(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->text());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_text, doc_QAbstractButton_text);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setIcon, "QAbstractButton.setIcon(QIcon)");

extern "C" {static PyObject *meth_QAbstractButton_setIcon(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QIcon, &a0))
        {
            sipCpp->setIcon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setIcon, doc_QAbstractButton_setIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_icon, "QAbstractButton.icon() -> QIcon");

extern "C" {static PyObject *meth_QAbstractButton_icon(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_icon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->icon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_icon, doc_QAbstractButton_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_iconSize, "QAbstractButton.iconSize() -> QSize");

extern "C" {static PyObject *meth_QAbstractButton_iconSize(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_iconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->iconSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_iconSize, doc_QAbstractButton_iconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setShortcut, "QAbstractButton.setShortcut(QKeySequence)");

extern "C" {static PyObject *meth_QAbstractButton_setShortcut(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QKeySequence, &a0, &a0State))
        {
            sipCpp->setShortcut(*a0);
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setShortcut, doc_QAbstractButton_setShortcut);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_shortcut, "QAbstractButton.shortcut() -> QKeySequence");

extern "C" {static PyObject *meth_QAbstractButton_shortcut(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_shortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            QKeySequence*sipRes;

            sipRes = new QKeySequence(sipCpp->shortcut());

            return sipConvertFromNewType(sipRes,sipType_QKeySequence,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_shortcut, doc_QAbstractButton_shortcut);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setCheckable, "QAbstractButton.setCheckable(bool)");

extern "C" {static PyObject *meth_QAbstractButton_setCheckable(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            sipCpp->setCheckable(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setCheckable, doc_QAbstractButton_setCheckable);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_isCheckable, "QAbstractButton.isCheckable() -> bool");

extern "C" {static PyObject *meth_QAbstractButton_isCheckable(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_isCheckable(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isCheckable();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_isCheckable, doc_QAbstractButton_isCheckable);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_isChecked, "QAbstractButton.isChecked() -> bool");

extern "C" {static PyObject *meth_QAbstractButton_isChecked(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_isChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isChecked();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_isChecked, doc_QAbstractButton_isChecked);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setDown, "QAbstractButton.setDown(bool)");

extern "C" {static PyObject *meth_QAbstractButton_setDown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            sipCpp->setDown(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setDown, doc_QAbstractButton_setDown);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_isDown, "QAbstractButton.isDown() -> bool");

extern "C" {static PyObject *meth_QAbstractButton_isDown(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_isDown(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isDown();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_isDown, doc_QAbstractButton_isDown);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setAutoRepeat, "QAbstractButton.setAutoRepeat(bool)");

extern "C" {static PyObject *meth_QAbstractButton_setAutoRepeat(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setAutoRepeat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            sipCpp->setAutoRepeat(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setAutoRepeat, doc_QAbstractButton_setAutoRepeat);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_autoRepeat, "QAbstractButton.autoRepeat() -> bool");

extern "C" {static PyObject *meth_QAbstractButton_autoRepeat(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_autoRepeat(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoRepeat();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_autoRepeat, doc_QAbstractButton_autoRepeat);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setAutoExclusive, "QAbstractButton.setAutoExclusive(bool)");

extern "C" {static PyObject *meth_QAbstractButton_setAutoExclusive(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setAutoExclusive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            sipCpp->setAutoExclusive(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setAutoExclusive, doc_QAbstractButton_setAutoExclusive);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_autoExclusive, "QAbstractButton.autoExclusive() -> bool");

extern "C" {static PyObject *meth_QAbstractButton_autoExclusive(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_autoExclusive(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoExclusive();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_autoExclusive, doc_QAbstractButton_autoExclusive);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_group, "QAbstractButton.group() -> QButtonGroup");

extern "C" {static PyObject *meth_QAbstractButton_group(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_group(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            QButtonGroup*sipRes;

            sipRes = sipCpp->group();

            return sipConvertFromType(sipRes,sipType_QButtonGroup,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_group, doc_QAbstractButton_group);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setIconSize, "QAbstractButton.setIconSize(QSize)");

extern "C" {static PyObject *meth_QAbstractButton_setIconSize(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setIconSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setIconSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setIconSize, doc_QAbstractButton_setIconSize);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_animateClick, "QAbstractButton.animateClick(int msecs=100)");

extern "C" {static PyObject *meth_QAbstractButton_animateClick(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_animateClick(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 100;
        QAbstractButton *sipCpp;

        static const char *sipKwdList[] = {
            sipName_msecs,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            sipCpp->animateClick(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_animateClick, doc_QAbstractButton_animateClick);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_click, "QAbstractButton.click()");

extern "C" {static PyObject *meth_QAbstractButton_click(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_click(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            sipCpp->click();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_click, doc_QAbstractButton_click);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_toggle, "QAbstractButton.toggle()");

extern "C" {static PyObject *meth_QAbstractButton_toggle(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_toggle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            sipCpp->toggle();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_toggle, doc_QAbstractButton_toggle);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_setChecked, "QAbstractButton.setChecked(bool)");

extern "C" {static PyObject *meth_QAbstractButton_setChecked(PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_setChecked(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QAbstractButton *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QAbstractButton, &sipCpp, &a0))
        {
            sipCpp->setChecked(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_setChecked, doc_QAbstractButton_setChecked);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_paintEvent, "QAbstractButton.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QAbstractButton_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    PyObject *sipOrigSelf = sipSelf;

    {
        QPaintEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QPaintEvent, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QAbstractButton, sipName_paintEvent);
                return NULL;
            }

            sipCpp->sipProtect_paintEvent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_paintEvent, doc_QAbstractButton_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_hitButton, "QAbstractButton.hitButton(QPoint) -> bool");

extern "C" {static PyObject *meth_QAbstractButton_hitButton(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_hitButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QPoint* a0;
        const sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QPoint, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_hitButton(sipSelfWasArg,*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_hitButton, doc_QAbstractButton_hitButton);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_checkStateSet, "QAbstractButton.checkStateSet()");

extern "C" {static PyObject *meth_QAbstractButton_checkStateSet(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_checkStateSet(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_checkStateSet(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_checkStateSet, doc_QAbstractButton_checkStateSet);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_nextCheckState, "QAbstractButton.nextCheckState()");

extern "C" {static PyObject *meth_QAbstractButton_nextCheckState(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_nextCheckState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QAbstractButton, &sipCpp))
        {
            sipCpp->sipProtectVirt_nextCheckState(sipSelfWasArg);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_nextCheckState, doc_QAbstractButton_nextCheckState);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_event, "QAbstractButton.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QAbstractButton_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_event, doc_QAbstractButton_event);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_keyPressEvent, "QAbstractButton.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractButton_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_keyPressEvent, doc_QAbstractButton_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_keyReleaseEvent, "QAbstractButton.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QAbstractButton_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_keyReleaseEvent, doc_QAbstractButton_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_mousePressEvent, "QAbstractButton.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractButton_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_mousePressEvent, doc_QAbstractButton_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_mouseReleaseEvent, "QAbstractButton.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractButton_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_mouseReleaseEvent, doc_QAbstractButton_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_mouseMoveEvent, "QAbstractButton.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QAbstractButton_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_mouseMoveEvent, doc_QAbstractButton_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_focusInEvent, "QAbstractButton.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractButton_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_focusInEvent, doc_QAbstractButton_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_focusOutEvent, "QAbstractButton.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QAbstractButton_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_focusOutEvent, doc_QAbstractButton_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_changeEvent, "QAbstractButton.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QAbstractButton_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_changeEvent, doc_QAbstractButton_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QAbstractButton_timerEvent, "QAbstractButton.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QAbstractButton_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QAbstractButton_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQAbstractButton *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QAbstractButton, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_timerEvent, doc_QAbstractButton_timerEvent);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QAbstractButton(void *, const sipTypeDef *);}
static void *cast_QAbstractButton(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QAbstractButton)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QWidget)->ctd_cast((QWidget *)(QAbstractButton *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QAbstractButton(void *, int);}
static void release_QAbstractButton(void *sipCppV,int)
{
    QAbstractButton *sipCpp = reinterpret_cast<QAbstractButton *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QAbstractButton(sipSimpleWrapper *);}
static void dealloc_QAbstractButton(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQAbstractButton *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QAbstractButton(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QAbstractButton(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QAbstractButton(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQAbstractButton *sipCpp = 0;

    {
        QWidget* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QWidget, &a0, sipOwner))
        {
            sipCpp = new sipQAbstractButton(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QAbstractButton[] = {{454, 255, 1}};


static PyMethodDef methods_QAbstractButton[] = {
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QAbstractButton_actionEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_animateClick), (PyCFunction)meth_QAbstractButton_animateClick, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_animateClick)},
    {SIP_MLNAME_CAST(sipName_autoExclusive), meth_QAbstractButton_autoExclusive, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_autoExclusive)},
    {SIP_MLNAME_CAST(sipName_autoRepeat), meth_QAbstractButton_autoRepeat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_autoRepeat)},
    {SIP_MLNAME_CAST(sipName_autoRepeatDelay), meth_QAbstractButton_autoRepeatDelay, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_autoRepeatDelay)},
    {SIP_MLNAME_CAST(sipName_autoRepeatInterval), meth_QAbstractButton_autoRepeatInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_autoRepeatInterval)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QAbstractButton_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_changeEvent)},
    {SIP_MLNAME_CAST(sipName_checkStateSet), (PyCFunction)meth_QAbstractButton_checkStateSet, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_checkStateSet)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QAbstractButton_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_click), meth_QAbstractButton_click, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_click)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QAbstractButton_closeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QAbstractButton_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QAbstractButton_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QAbstractButton_create, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QAbstractButton_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QAbstractButton_destroy, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QAbstractButton_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QAbstractButton_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QAbstractButton_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QAbstractButton_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QAbstractButton_dropEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QAbstractButton_enterEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QAbstractButton_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_event)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QAbstractButton_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QAbstractButton_focusNextChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QAbstractButton_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QAbstractButton_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QAbstractButton_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_group), meth_QAbstractButton_group, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_group)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QAbstractButton_hideEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_hitButton), (PyCFunction)meth_QAbstractButton_hitButton, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_hitButton)},
    {SIP_MLNAME_CAST(sipName_icon), meth_QAbstractButton_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_icon)},
    {SIP_MLNAME_CAST(sipName_iconSize), meth_QAbstractButton_iconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_iconSize)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QAbstractButton_initPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QAbstractButton_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isCheckable), meth_QAbstractButton_isCheckable, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_isCheckable)},
    {SIP_MLNAME_CAST(sipName_isChecked), meth_QAbstractButton_isChecked, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_isChecked)},
    {SIP_MLNAME_CAST(sipName_isDown), meth_QAbstractButton_isDown, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_isDown)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QAbstractButton_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QAbstractButton_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QAbstractButton_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QAbstractButton_leaveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QAbstractButton_metric, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QAbstractButton_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QAbstractButton_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QAbstractButton_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QAbstractButton_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QAbstractButton_moveEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QAbstractButton_nativeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_nextCheckState), (PyCFunction)meth_QAbstractButton_nextCheckState, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_nextCheckState)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QAbstractButton_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_paintEvent)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QAbstractButton_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QAbstractButton_resizeEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QAbstractButton_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QAbstractButton_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAutoExclusive), meth_QAbstractButton_setAutoExclusive, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setAutoExclusive)},
    {SIP_MLNAME_CAST(sipName_setAutoRepeat), meth_QAbstractButton_setAutoRepeat, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setAutoRepeat)},
    {SIP_MLNAME_CAST(sipName_setAutoRepeatDelay), meth_QAbstractButton_setAutoRepeatDelay, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setAutoRepeatDelay)},
    {SIP_MLNAME_CAST(sipName_setAutoRepeatInterval), meth_QAbstractButton_setAutoRepeatInterval, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setAutoRepeatInterval)},
    {SIP_MLNAME_CAST(sipName_setCheckable), meth_QAbstractButton_setCheckable, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setCheckable)},
    {SIP_MLNAME_CAST(sipName_setChecked), meth_QAbstractButton_setChecked, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setChecked)},
    {SIP_MLNAME_CAST(sipName_setDown), meth_QAbstractButton_setDown, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setDown)},
    {SIP_MLNAME_CAST(sipName_setIcon), meth_QAbstractButton_setIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setIcon)},
    {SIP_MLNAME_CAST(sipName_setIconSize), meth_QAbstractButton_setIconSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setIconSize)},
    {SIP_MLNAME_CAST(sipName_setShortcut), meth_QAbstractButton_setShortcut, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setShortcut)},
    {SIP_MLNAME_CAST(sipName_setText), meth_QAbstractButton_setText, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_setText)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QAbstractButton_sharedPainter, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_shortcut), meth_QAbstractButton_shortcut, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_shortcut)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QAbstractButton_showEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QAbstractButton_tabletEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_text), meth_QAbstractButton_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_text)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QAbstractButton_timerEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QAbstractButton_timerEvent)},
    {SIP_MLNAME_CAST(sipName_toggle), meth_QAbstractButton_toggle, METH_VARARGS, SIP_MLDOC_CAST(doc_QAbstractButton_toggle)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QAbstractButton_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QAbstractButton_wheelEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};


extern "C" {static int emit_QAbstractButton_clicked(void *, PyObject *);}

static int emit_QAbstractButton_clicked(void *sipCppV, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    QAbstractButton *sipCpp = reinterpret_cast<QAbstractButton *>(sipCppV);

    {
        bool a0 = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "|b", &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clicked(a0);
            Py_END_ALLOW_THREADS


            return 0;
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractButton, sipName_clicked, NULL);

    return -1;
}


/* Define this type's signals. */
static const pyqt5QtSignal signals_QAbstractButton[] = {
    {"toggled(bool)", "\1QAbstractButton.toggled[bool]", 0, 0},
    {"clicked(bool)", "\1QAbstractButton.clicked[bool]", 0, emit_QAbstractButton_clicked},
    {"released()", "\1QAbstractButton.released", 0, 0},
    {"pressed()", "\1QAbstractButton.pressed", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QAbstractButton, "\1QAbstractButton(QWidget parent=None)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QAbstractButton = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QAbstractButton,
        {0}
    },
    {
        sipNameNr_QAbstractButton,
        {0, 0, 1},
        75, methods_QAbstractButton,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QAbstractButton,
    -1,
    -1,
    supers_QAbstractButton,
    0,
    init_type_QAbstractButton,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QAbstractButton,
    0,
    0,
    0,
    release_QAbstractButton,
    cast_QAbstractButton,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QAbstractButton::staticMetaObject,
    0,
    signals_QAbstractButton,
    0
};

#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 486619 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 486623 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 486626 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 486629 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 486632 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 486635 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qwindow.sip"
#include <qwindow.h>
#line 486638 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 486641 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 486644 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 486647 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmargins.sip"
#include <qmargins.h>
#line 486650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 486653 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 486656 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicseffect.sip"
#include <qgraphicseffect.h>
#line 486659 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qgraphicsproxywidget.sip"
#include <qgraphicsproxywidget.h>
#line 486662 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 192 "sip/QtCore/qglobal.sip"
#include <QtGlobal>
#line 486665 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qlocale.sip"
#include <qlocale.h>
#line 486668 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qpaintdevice.sip"
#include <qpaintdevice.h>
#line 486671 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qpoint.sip"
#include <qpoint.h>
#line 486674 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qregion.sip"
#include <qregion.h>
#line 486677 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
#include <qwidget.h>
#line 486680 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qsize.sip"
#include <qsize.h>
#line 486683 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontinfo.sip"
#include <qfontinfo.h>
#line 486686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qfontmetrics.sip"
#include <qfontmetrics.h>
#line 486689 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qfont.sip"
#include <qfont.h>
#line 486692 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 486695 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 479 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486698 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 486701 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 441 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486704 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 430 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486707 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 534 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486710 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 583 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486713 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 556 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486716 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 572 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486719 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 635 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 275 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486725 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 452 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486728 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 408 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 395 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486734 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 382 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486737 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 368 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486740 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 354 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486743 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 333 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486746 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 247 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486749 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 202 "sip/QtGui/qevent.sip"
#include <qevent.h>
#line 486752 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 56 "sip/QtGui/qpaintengine.sip"
#include <qpaintengine.h>
#line 486755 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 486758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qaction.sip"
#include <qaction.h>
#line 486761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qlayout.sip"
#include <qlayout.h>
#line 486764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qsizepolicy.sip"
#include <qsizepolicy.h>
#line 486767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 486770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qkeysequence.sip"
#include <qkeysequence.h>
#line 486773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qcursor.sip"
#include <qcursor.h>
#line 486776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtGui/qbitmap.sip"
#include <qbitmap.h>
#line 486779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtGui/qpalette.sip"
#include <qpalette.h>
#line 486782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qstyle.sip"
#include <qstyle.h>
#line 486785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 486788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 241 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 486791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 229 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 486794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 486797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 486800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 144 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 486803 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 486806 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 486809 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 486812 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 30 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 486815 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 486818 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
#line 36 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
// Transfer the ownership of a single widget to a parent.
static void qtgui_TransferWidget(QWidget *w, PyObject *py_parent)
{
    PyObject *py_w = sipGetPyObject(w, sipType_QWidget);

    if (py_w)
        sipTransferTo(py_w, py_parent);
}


// Transfer ownership of all widgets in a layout to their new parent.
static void qtwidgets_TransferLayoutWidgets(QLayout *lay, PyObject *pw)
{
    int n = lay->count();

    for (int i = 0; i < n; ++i)
    {
        QLayoutItem *item = lay->itemAt(i);
        QWidget *w = item->widget();

        if (w)
        {
            qtgui_TransferWidget(w, pw);
        }
        else
        {
            QLayout *l = item->layout();

            if (l)
                qtwidgets_TransferLayoutWidgets(l, pw);
        }
    }
    
    QWidget *mb = lay->menuBar();

    if (mb)
        qtgui_TransferWidget(mb, pw);
}
#line 486858 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"


class sipQWidget : public QWidget
{
public:
    sipQWidget(QWidget*,Qt::WindowFlags);
    virtual ~sipQWidget();

    int qt_metacall(QMetaObject::Call,int,void **);
    void *qt_metacast(const char *);
    const QMetaObject *metaObject() const;

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool,QTimerEvent*);
    void sipProtectVirt_childEvent(bool,QChildEvent*);
    void sipProtectVirt_customEvent(bool,QEvent*);
    void sipProtectVirt_connectNotify(bool,const QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const QMetaMethod&) const;
    bool sipProtectVirt_event(bool,QEvent*);
    void sipProtectVirt_mousePressEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseReleaseEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseDoubleClickEvent(bool,QMouseEvent*);
    void sipProtectVirt_mouseMoveEvent(bool,QMouseEvent*);
    void sipProtectVirt_wheelEvent(bool,QWheelEvent*);
    void sipProtectVirt_keyPressEvent(bool,QKeyEvent*);
    void sipProtectVirt_keyReleaseEvent(bool,QKeyEvent*);
    void sipProtectVirt_focusInEvent(bool,QFocusEvent*);
    void sipProtectVirt_focusOutEvent(bool,QFocusEvent*);
    void sipProtectVirt_enterEvent(bool,QEvent*);
    void sipProtectVirt_leaveEvent(bool,QEvent*);
    void sipProtectVirt_paintEvent(bool,QPaintEvent*);
    void sipProtectVirt_moveEvent(bool,QMoveEvent*);
    void sipProtectVirt_resizeEvent(bool,QResizeEvent*);
    void sipProtectVirt_closeEvent(bool,QCloseEvent*);
    void sipProtectVirt_contextMenuEvent(bool,QContextMenuEvent*);
    void sipProtectVirt_tabletEvent(bool,QTabletEvent*);
    void sipProtectVirt_actionEvent(bool,QActionEvent*);
    void sipProtectVirt_dragEnterEvent(bool,QDragEnterEvent*);
    void sipProtectVirt_dragMoveEvent(bool,QDragMoveEvent*);
    void sipProtectVirt_dragLeaveEvent(bool,QDragLeaveEvent*);
    void sipProtectVirt_dropEvent(bool,QDropEvent*);
    void sipProtectVirt_showEvent(bool,QShowEvent*);
    void sipProtectVirt_hideEvent(bool,QHideEvent*);
    void sipProtectVirt_changeEvent(bool,QEvent*);
    int sipProtectVirt_metric(bool,QPaintDevice::PaintDeviceMetric) const;
    void sipProtectVirt_inputMethodEvent(bool,QInputMethodEvent*);
    void sipProtect_updateMicroFocus();
    void sipProtect_create(WId,bool,bool);
    void sipProtect_destroy(bool,bool);
    bool sipProtectVirt_focusNextPrevChild(bool,bool);
    bool sipProtect_focusNextChild();
    bool sipProtect_focusPreviousChild();
    bool sipProtectVirt_nativeEvent(bool,const QByteArray&,void*,long*);
    QPainter* sipProtectVirt_sharedPainter(bool) const;
    void sipProtectVirt_initPainter(bool,QPainter*) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void disconnectNotify(const QMetaMethod&);
    void connectNotify(const QMetaMethod&);
    void customEvent(QEvent*);
    void childEvent(QChildEvent*);
    void timerEvent(QTimerEvent*);
    bool eventFilter(QObject*,QEvent*);
    void initPainter(QPainter*) const;
    QPainter* sharedPainter() const;
    bool nativeEvent(const QByteArray&,void*,long*);
    bool hasHeightForWidth() const;
    bool focusNextPrevChild(bool);
    QVariant inputMethodQuery(Qt::InputMethodQuery) const;
    void inputMethodEvent(QInputMethodEvent*);
    int metric(QPaintDevice::PaintDeviceMetric) const;
    void changeEvent(QEvent*);
    void hideEvent(QHideEvent*);
    void showEvent(QShowEvent*);
    void dropEvent(QDropEvent*);
    void dragLeaveEvent(QDragLeaveEvent*);
    void dragMoveEvent(QDragMoveEvent*);
    void dragEnterEvent(QDragEnterEvent*);
    void actionEvent(QActionEvent*);
    void tabletEvent(QTabletEvent*);
    void contextMenuEvent(QContextMenuEvent*);
    void closeEvent(QCloseEvent*);
    void resizeEvent(QResizeEvent*);
    void moveEvent(QMoveEvent*);
    void paintEvent(QPaintEvent*);
    void leaveEvent(QEvent*);
    void enterEvent(QEvent*);
    void focusOutEvent(QFocusEvent*);
    void focusInEvent(QFocusEvent*);
    void keyReleaseEvent(QKeyEvent*);
    void keyPressEvent(QKeyEvent*);
    void wheelEvent(QWheelEvent*);
    void mouseMoveEvent(QMouseEvent*);
    void mouseDoubleClickEvent(QMouseEvent*);
    void mouseReleaseEvent(QMouseEvent*);
    void mousePressEvent(QMouseEvent*);
    bool event(QEvent*);
    QPaintEngine* paintEngine() const;
    int heightForWidth(int) const;
    QSize minimumSizeHint() const;
    QSize sizeHint() const;
    void setVisible(bool);
    int devType() const;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQWidget(const sipQWidget &);
    sipQWidget &operator = (const sipQWidget &);

    char sipPyMethods[46];
};

sipQWidget::sipQWidget(QWidget*a0,Qt::WindowFlags a1): QWidget(a0,a1), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQWidget::~sipQWidget()
{
    sipCommonDtor(sipPySelf);
}

const QMetaObject *sipQWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWidgets_qt_metaobject(sipPySelf,sipType_QWidget);
}

int sipQWidget::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id = QWidget::qt_metacall(_c,_id,_a);

    if (_id >= 0)
        _id = sip_QtWidgets_qt_metacall(sipPySelf,sipType_QWidget,_c,_id,_a);

    return _id;
}

void *sipQWidget::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtWidgets_qt_metacast(sipPySelf, sipType_QWidget, _clname, &sipCpp) ? sipCpp : QWidget::qt_metacast(_clname));
}

void sipQWidget::disconnectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_disconnectNotify);

    if (!sipMeth)
    {
        QWidget::disconnectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::connectNotify(const QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_connectNotify);

    if (!sipMeth)
    {
        QWidget::connectNotify(a0);
        return;
    }

    typedef void (*sipVH_QtCore_46)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QMetaMethod&);

    ((sipVH_QtCore_46)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[46]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::customEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_customEvent);

    if (!sipMeth)
    {
        QWidget::customEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::childEvent(QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_childEvent);

    if (!sipMeth)
    {
        QWidget::childEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_47)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QChildEvent*);

    ((sipVH_QtCore_47)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[47]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::timerEvent(QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_timerEvent);

    if (!sipMeth)
    {
        QWidget::timerEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTimerEvent*);

    ((sipVH_QtCore_9)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQWidget::eventFilter(QObject*a0,QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_eventFilter);

    if (!sipMeth)
        return QWidget::eventFilter(a0,a1);

    typedef bool (*sipVH_QtCore_26)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QObject*,QEvent*);

    return ((sipVH_QtCore_26)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[26]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1);
}

void sipQWidget::initPainter(QPainter*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,NULL,sipName_initPainter);

    if (!sipMeth)
    {
        QWidget::initPainter(a0);
        return;
    }

    extern void sipVH_QtWidgets_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPainter*);

    sipVH_QtWidgets_3(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPainter* sipQWidget::sharedPainter() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_sharedPainter);

    if (!sipMeth)
        return QWidget::sharedPainter();

    extern QPainter* sipVH_QtWidgets_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWidgets_4(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQWidget::nativeEvent(const QByteArray& a0,void*a1,long*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_nativeEvent);

    if (!sipMeth)
        return QWidget::nativeEvent(a0,a1,a2);

    typedef bool (*sipVH_QtCore_58)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,void*,long*);

    return ((sipVH_QtCore_58)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[58]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQWidget::hasHeightForWidth() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_hasHeightForWidth);

    if (!sipMeth)
        return QWidget::hasHeightForWidth();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

bool sipQWidget::focusNextPrevChild(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_focusNextPrevChild);

    if (!sipMeth)
        return QWidget::focusNextPrevChild(a0);

    extern bool sipVH_QtWidgets_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtWidgets_5(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QVariant sipQWidget::inputMethodQuery(Qt::InputMethodQuery a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_inputMethodQuery);

    if (!sipMeth)
        return QWidget::inputMethodQuery(a0);

    extern QVariant sipVH_QtWidgets_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, Qt::InputMethodQuery);

    return sipVH_QtWidgets_6(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::inputMethodEvent(QInputMethodEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_inputMethodEvent);

    if (!sipMeth)
    {
        QWidget::inputMethodEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QInputMethodEvent*);

    sipVH_QtWidgets_7(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQWidget::metric(QPaintDevice::PaintDeviceMetric a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_metric);

    if (!sipMeth)
        return QWidget::metric(a0);

    typedef int (*sipVH_QtGui_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintDevice::PaintDeviceMetric);

    return ((sipVH_QtGui_28)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[28]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::changeEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent);

    if (!sipMeth)
    {
        QWidget::changeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::hideEvent(QHideEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_hideEvent);

    if (!sipMeth)
    {
        QWidget::hideEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QHideEvent*);

    ((sipVH_QtGui_5)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::showEvent(QShowEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_showEvent);

    if (!sipMeth)
    {
        QWidget::showEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QShowEvent*);

    ((sipVH_QtGui_6)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::dropEvent(QDropEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_dropEvent);

    if (!sipMeth)
    {
        QWidget::dropEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDropEvent*);

    sipVH_QtWidgets_8(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::dragLeaveEvent(QDragLeaveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_dragLeaveEvent);

    if (!sipMeth)
    {
        QWidget::dragLeaveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragLeaveEvent*);

    sipVH_QtWidgets_9(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::dragMoveEvent(QDragMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_dragMoveEvent);

    if (!sipMeth)
    {
        QWidget::dragMoveEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragMoveEvent*);

    sipVH_QtWidgets_10(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::dragEnterEvent(QDragEnterEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_dragEnterEvent);

    if (!sipMeth)
    {
        QWidget::dragEnterEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QDragEnterEvent*);

    sipVH_QtWidgets_11(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::actionEvent(QActionEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_actionEvent);

    if (!sipMeth)
    {
        QWidget::actionEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QActionEvent*);

    sipVH_QtWidgets_12(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::tabletEvent(QTabletEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_tabletEvent);

    if (!sipMeth)
    {
        QWidget::tabletEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_0)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QTabletEvent*);

    ((sipVH_QtGui_0)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[0]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::contextMenuEvent(QContextMenuEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_contextMenuEvent);

    if (!sipMeth)
    {
        QWidget::contextMenuEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QContextMenuEvent*);

    sipVH_QtWidgets_13(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::closeEvent(QCloseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_closeEvent);

    if (!sipMeth)
    {
        QWidget::closeEvent(a0);
        return;
    }

    extern void sipVH_QtWidgets_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QCloseEvent*);

    sipVH_QtWidgets_14(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::resizeEvent(QResizeEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_resizeEvent);

    if (!sipMeth)
    {
        QWidget::resizeEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_9)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QResizeEvent*);

    ((sipVH_QtGui_9)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[9]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::moveEvent(QMoveEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_moveEvent);

    if (!sipMeth)
    {
        QWidget::moveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_8)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMoveEvent*);

    ((sipVH_QtGui_8)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[8]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::paintEvent(QPaintEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_paintEvent);

    if (!sipMeth)
    {
        QWidget::paintEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_52)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QPaintEvent*);

    ((sipVH_QtGui_52)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[52]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::leaveEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,NULL,sipName_leaveEvent);

    if (!sipMeth)
    {
        QWidget::leaveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::enterEvent(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,NULL,sipName_enterEvent);

    if (!sipMeth)
    {
        QWidget::enterEvent(a0);
        return;
    }

    typedef void (*sipVH_QtCore_25)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    ((sipVH_QtCore_25)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[25]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::focusOutEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[30],sipPySelf,NULL,sipName_focusOutEvent);

    if (!sipMeth)
    {
        QWidget::focusOutEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::focusInEvent(QFocusEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,NULL,sipName_focusInEvent);

    if (!sipMeth)
    {
        QWidget::focusInEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QFocusEvent*);

    ((sipVH_QtGui_7)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[7]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::keyReleaseEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,NULL,sipName_keyReleaseEvent);

    if (!sipMeth)
    {
        QWidget::keyReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::keyPressEvent(QKeyEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,NULL,sipName_keyPressEvent);

    if (!sipMeth)
    {
        QWidget::keyPressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_4)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QKeyEvent*);

    ((sipVH_QtGui_4)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[4]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::wheelEvent(QWheelEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,NULL,sipName_wheelEvent);

    if (!sipMeth)
    {
        QWidget::wheelEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_2)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QWheelEvent*);

    ((sipVH_QtGui_2)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[2]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::mouseMoveEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,NULL,sipName_mouseMoveEvent);

    if (!sipMeth)
    {
        QWidget::mouseMoveEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::mouseDoubleClickEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,NULL,sipName_mouseDoubleClickEvent);

    if (!sipMeth)
    {
        QWidget::mouseDoubleClickEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::mouseReleaseEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,NULL,sipName_mouseReleaseEvent);

    if (!sipMeth)
    {
        QWidget::mouseReleaseEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

void sipQWidget::mousePressEvent(QMouseEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,NULL,sipName_mousePressEvent);

    if (!sipMeth)
    {
        QWidget::mousePressEvent(a0);
        return;
    }

    typedef void (*sipVH_QtGui_3)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QMouseEvent*);

    ((sipVH_QtGui_3)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[3]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

bool sipQWidget::event(QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,NULL,sipName_event);

    if (!sipMeth)
        return QWidget::event(a0);

    typedef bool (*sipVH_QtCore_5)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QEvent*);

    return ((sipVH_QtCore_5)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[5]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QPaintEngine* sipQWidget::paintEngine() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,NULL,sipName_paintEngine);

    if (!sipMeth)
        return QWidget::paintEngine();

    typedef QPaintEngine* (*sipVH_QtGui_29)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_29)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[29]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

int sipQWidget::heightForWidth(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[41]),sipPySelf,NULL,sipName_heightForWidth);

    if (!sipMeth)
        return QWidget::heightForWidth(a0);

    typedef int (*sipVH_QtCore_61)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return ((sipVH_QtCore_61)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[61]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

QSize sipQWidget::minimumSizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,NULL,sipName_minimumSizeHint);

    if (!sipMeth)
        return QWidget::minimumSizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QSize sipQWidget::sizeHint() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,NULL,sipName_sizeHint);

    if (!sipMeth)
        return QWidget::sizeHint();

    typedef QSize (*sipVH_QtGui_12)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtGui_12)(sipModuleAPI_QtWidgets_QtGui->em_virthandlers[12]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

void sipQWidget::setVisible(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,NULL,sipName_setVisible);

    if (!sipMeth)
    {
        QWidget::setVisible(a0);
        return;
    }

    extern void sipVH_QtWidgets_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_QtWidgets_0(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth, a0);
}

int sipQWidget::devType() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,NULL,sipName_devType);

    if (!sipMeth)
        return QWidget::devType();

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtWidgets_QtCore->em_virthandlers[6]))(sipGILState, sipModuleAPI_QtWidgets_QtCore->em_virterrorhandlers[0], sipPySelf, sipMeth);
}

QObject* sipQWidget::sipProtect_sender() const
{
    return QObject::sender();
}

int sipQWidget::sipProtect_receivers(const char*a0) const
{
    return QObject::receivers(a0);
}

void sipQWidget::sipProtectVirt_timerEvent(bool sipSelfWasArg,QTimerEvent*a0)
{
    (sipSelfWasArg ? QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQWidget::sipProtectVirt_childEvent(bool sipSelfWasArg,QChildEvent*a0)
{
    (sipSelfWasArg ? QObject::childEvent(a0) : childEvent(a0));
}

void sipQWidget::sipProtectVirt_customEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QObject::customEvent(a0) : customEvent(a0));
}

void sipQWidget::sipProtectVirt_connectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQWidget::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const QMetaMethod& a0)
{
    (sipSelfWasArg ? QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQWidget::sipProtect_senderSignalIndex() const
{
    return QObject::senderSignalIndex();
}

bool sipQWidget::sipProtect_isSignalConnected(const QMetaMethod& a0) const
{
    return QObject::isSignalConnected(a0);
}

bool sipQWidget::sipProtectVirt_event(bool sipSelfWasArg,QEvent*a0)
{
    return (sipSelfWasArg ? QWidget::event(a0) : event(a0));
}

void sipQWidget::sipProtectVirt_mousePressEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mousePressEvent(a0) : mousePressEvent(a0));
}

void sipQWidget::sipProtectVirt_mouseReleaseEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseReleaseEvent(a0) : mouseReleaseEvent(a0));
}

void sipQWidget::sipProtectVirt_mouseDoubleClickEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseDoubleClickEvent(a0) : mouseDoubleClickEvent(a0));
}

void sipQWidget::sipProtectVirt_mouseMoveEvent(bool sipSelfWasArg,QMouseEvent*a0)
{
    (sipSelfWasArg ? QWidget::mouseMoveEvent(a0) : mouseMoveEvent(a0));
}

void sipQWidget::sipProtectVirt_wheelEvent(bool sipSelfWasArg,QWheelEvent*a0)
{
    (sipSelfWasArg ? QWidget::wheelEvent(a0) : wheelEvent(a0));
}

void sipQWidget::sipProtectVirt_keyPressEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyPressEvent(a0) : keyPressEvent(a0));
}

void sipQWidget::sipProtectVirt_keyReleaseEvent(bool sipSelfWasArg,QKeyEvent*a0)
{
    (sipSelfWasArg ? QWidget::keyReleaseEvent(a0) : keyReleaseEvent(a0));
}

void sipQWidget::sipProtectVirt_focusInEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusInEvent(a0) : focusInEvent(a0));
}

void sipQWidget::sipProtectVirt_focusOutEvent(bool sipSelfWasArg,QFocusEvent*a0)
{
    (sipSelfWasArg ? QWidget::focusOutEvent(a0) : focusOutEvent(a0));
}

void sipQWidget::sipProtectVirt_enterEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::enterEvent(a0) : enterEvent(a0));
}

void sipQWidget::sipProtectVirt_leaveEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::leaveEvent(a0) : leaveEvent(a0));
}

void sipQWidget::sipProtectVirt_paintEvent(bool sipSelfWasArg,QPaintEvent*a0)
{
    (sipSelfWasArg ? QWidget::paintEvent(a0) : paintEvent(a0));
}

void sipQWidget::sipProtectVirt_moveEvent(bool sipSelfWasArg,QMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::moveEvent(a0) : moveEvent(a0));
}

void sipQWidget::sipProtectVirt_resizeEvent(bool sipSelfWasArg,QResizeEvent*a0)
{
    (sipSelfWasArg ? QWidget::resizeEvent(a0) : resizeEvent(a0));
}

void sipQWidget::sipProtectVirt_closeEvent(bool sipSelfWasArg,QCloseEvent*a0)
{
    (sipSelfWasArg ? QWidget::closeEvent(a0) : closeEvent(a0));
}

void sipQWidget::sipProtectVirt_contextMenuEvent(bool sipSelfWasArg,QContextMenuEvent*a0)
{
    (sipSelfWasArg ? QWidget::contextMenuEvent(a0) : contextMenuEvent(a0));
}

void sipQWidget::sipProtectVirt_tabletEvent(bool sipSelfWasArg,QTabletEvent*a0)
{
    (sipSelfWasArg ? QWidget::tabletEvent(a0) : tabletEvent(a0));
}

void sipQWidget::sipProtectVirt_actionEvent(bool sipSelfWasArg,QActionEvent*a0)
{
    (sipSelfWasArg ? QWidget::actionEvent(a0) : actionEvent(a0));
}

void sipQWidget::sipProtectVirt_dragEnterEvent(bool sipSelfWasArg,QDragEnterEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragEnterEvent(a0) : dragEnterEvent(a0));
}

void sipQWidget::sipProtectVirt_dragMoveEvent(bool sipSelfWasArg,QDragMoveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragMoveEvent(a0) : dragMoveEvent(a0));
}

void sipQWidget::sipProtectVirt_dragLeaveEvent(bool sipSelfWasArg,QDragLeaveEvent*a0)
{
    (sipSelfWasArg ? QWidget::dragLeaveEvent(a0) : dragLeaveEvent(a0));
}

void sipQWidget::sipProtectVirt_dropEvent(bool sipSelfWasArg,QDropEvent*a0)
{
    (sipSelfWasArg ? QWidget::dropEvent(a0) : dropEvent(a0));
}

void sipQWidget::sipProtectVirt_showEvent(bool sipSelfWasArg,QShowEvent*a0)
{
    (sipSelfWasArg ? QWidget::showEvent(a0) : showEvent(a0));
}

void sipQWidget::sipProtectVirt_hideEvent(bool sipSelfWasArg,QHideEvent*a0)
{
    (sipSelfWasArg ? QWidget::hideEvent(a0) : hideEvent(a0));
}

void sipQWidget::sipProtectVirt_changeEvent(bool sipSelfWasArg,QEvent*a0)
{
    (sipSelfWasArg ? QWidget::changeEvent(a0) : changeEvent(a0));
}

int sipQWidget::sipProtectVirt_metric(bool sipSelfWasArg,QPaintDevice::PaintDeviceMetric a0) const
{
    return (sipSelfWasArg ? QWidget::metric(a0) : metric(a0));
}

void sipQWidget::sipProtectVirt_inputMethodEvent(bool sipSelfWasArg,QInputMethodEvent*a0)
{
    (sipSelfWasArg ? QWidget::inputMethodEvent(a0) : inputMethodEvent(a0));
}

void sipQWidget::sipProtect_updateMicroFocus()
{
    QWidget::updateMicroFocus();
}

void sipQWidget::sipProtect_create(WId a0,bool a1,bool a2)
{
    QWidget::create(a0,a1,a2);
}

void sipQWidget::sipProtect_destroy(bool a0,bool a1)
{
    QWidget::destroy(a0,a1);
}

bool sipQWidget::sipProtectVirt_focusNextPrevChild(bool sipSelfWasArg,bool a0)
{
    return (sipSelfWasArg ? QWidget::focusNextPrevChild(a0) : focusNextPrevChild(a0));
}

bool sipQWidget::sipProtect_focusNextChild()
{
    return QWidget::focusNextChild();
}

bool sipQWidget::sipProtect_focusPreviousChild()
{
    return QWidget::focusPreviousChild();
}

bool sipQWidget::sipProtectVirt_nativeEvent(bool sipSelfWasArg,const QByteArray& a0,void*a1,long*a2)
{
    return (sipSelfWasArg ? QWidget::nativeEvent(a0,a1,a2) : nativeEvent(a0,a1,a2));
}

QPainter* sipQWidget::sipProtectVirt_sharedPainter(bool sipSelfWasArg) const
{
    return (sipSelfWasArg ? QWidget::sharedPainter() : sharedPainter());
}

void sipQWidget::sipProtectVirt_initPainter(bool sipSelfWasArg,QPainter*a0) const
{
    (sipSelfWasArg ? QWidget::initPainter(a0) : initPainter(a0));
}


PyDoc_STRVAR(doc_QWidget_sender, "QWidget.sender() -> QObject");

extern "C" {static PyObject *meth_QWidget_sender(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_sender(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QObject*sipRes = 0;

#line 546 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
        
            if (qtcore_qobject_sender)
                sipRes = qtcore_qobject_sender();
        }
#line 488076 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            return sipConvertFromType(sipRes,sipType_QObject,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_sender, doc_QWidget_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_receivers, "QWidget.receivers(signal) -> int");

extern "C" {static PyObject *meth_QWidget_receivers(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_receivers(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        PyObject * a0;
        const sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 575 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
        
        if (pyqt5_get_signal_signature)
        {
            QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
            if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->receivers(signal_signature.constData());
            }
        #else
            if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
            {
                sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
            }
        #endif
            else if (sipError == sipErrorContinue)
            {
                sipError = sipBadCallableArg(0, a0);
            }
        }
#line 488135 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_receivers, doc_QWidget_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_timerEvent, "QWidget.timerEvent(QTimerEvent)");

extern "C" {static PyObject *meth_QWidget_timerEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_timerEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTimerEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_timerEvent, doc_QWidget_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_childEvent, "QWidget.childEvent(QChildEvent)");

extern "C" {static PyObject *meth_QWidget_childEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_childEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QChildEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_childEvent, doc_QWidget_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_customEvent, "QWidget.customEvent(QEvent)");

extern "C" {static PyObject *meth_QWidget_customEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_customEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_customEvent, doc_QWidget_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_connectNotify, "QWidget.connectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QWidget_connectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_connectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_connectNotify, doc_QWidget_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_disconnectNotify, "QWidget.disconnectNotify(QMetaMethod)");

extern "C" {static PyObject *meth_QWidget_disconnectNotify(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_disconnectNotify(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QMetaMethod* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_disconnectNotify, doc_QWidget_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_senderSignalIndex, "QWidget.senderSignalIndex() -> int");

extern "C" {static PyObject *meth_QWidget_senderSignalIndex(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_senderSignalIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_senderSignalIndex, doc_QWidget_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isSignalConnected, "QWidget.isSignalConnected(QMetaMethod) -> bool");

extern "C" {static PyObject *meth_QWidget_isSignalConnected(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_isSignalConnected(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QMetaMethod* a0;
        const sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isSignalConnected, doc_QWidget_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_devType, "QWidget.devType() -> int");

extern "C" {static PyObject *meth_QWidget_devType(PyObject *, PyObject *);}
static PyObject *meth_QWidget_devType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWidget::devType() : sipCpp->devType());

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_devType, doc_QWidget_devType);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_style, "QWidget.style() -> QStyle");

extern "C" {static PyObject *meth_QWidget_style(PyObject *, PyObject *);}
static PyObject *meth_QWidget_style(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QStyle*sipRes;

            sipRes = sipCpp->style();

            return sipConvertFromType(sipRes,sipType_QStyle,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_style, doc_QWidget_style);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setStyle, "QWidget.setStyle(QStyle)");

extern "C" {static PyObject *meth_QWidget_setStyle(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QStyle* a0;
        PyObject *a0Keep;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QWidget, &sipCpp, &a0Keep, sipType_QStyle, &a0))
        {
            sipCpp->setStyle(a0);

            sipKeepReference(sipSelf, -57, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setStyle, doc_QWidget_setStyle);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isEnabledTo, "QWidget.isEnabledTo(QWidget) -> bool");

extern "C" {static PyObject *meth_QWidget_isEnabledTo(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isEnabledTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QWidget, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabledTo(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isEnabledTo, doc_QWidget_isEnabledTo);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setEnabled, "QWidget.setEnabled(bool)");

extern "C" {static PyObject *meth_QWidget_setEnabled(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setEnabled, doc_QWidget_setEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setDisabled, "QWidget.setDisabled(bool)");

extern "C" {static PyObject *meth_QWidget_setDisabled(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setDisabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setDisabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setDisabled, doc_QWidget_setDisabled);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowModified, "QWidget.setWindowModified(bool)");

extern "C" {static PyObject *meth_QWidget_setWindowModified(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setWindowModified(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowModified, doc_QWidget_setWindowModified);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_frameGeometry, "QWidget.frameGeometry() -> QRect");

extern "C" {static PyObject *meth_QWidget_frameGeometry(PyObject *, PyObject *);}
static PyObject *meth_QWidget_frameGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->frameGeometry());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_frameGeometry, doc_QWidget_frameGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_normalGeometry, "QWidget.normalGeometry() -> QRect");

extern "C" {static PyObject *meth_QWidget_normalGeometry(PyObject *, PyObject *);}
static PyObject *meth_QWidget_normalGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->normalGeometry());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_normalGeometry, doc_QWidget_normalGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_x, "QWidget.x() -> int");

extern "C" {static PyObject *meth_QWidget_x(PyObject *, PyObject *);}
static PyObject *meth_QWidget_x(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->x();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_x, doc_QWidget_x);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_y, "QWidget.y() -> int");

extern "C" {static PyObject *meth_QWidget_y(PyObject *, PyObject *);}
static PyObject *meth_QWidget_y(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->y();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_y, doc_QWidget_y);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_pos, "QWidget.pos() -> QPoint");

extern "C" {static PyObject *meth_QWidget_pos(PyObject *, PyObject *);}
static PyObject *meth_QWidget_pos(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->pos());

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_pos, doc_QWidget_pos);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_frameSize, "QWidget.frameSize() -> QSize");

extern "C" {static PyObject *meth_QWidget_frameSize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_frameSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->frameSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_frameSize, doc_QWidget_frameSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_childrenRect, "QWidget.childrenRect() -> QRect");

extern "C" {static PyObject *meth_QWidget_childrenRect(PyObject *, PyObject *);}
static PyObject *meth_QWidget_childrenRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->childrenRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_childrenRect, doc_QWidget_childrenRect);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_childrenRegion, "QWidget.childrenRegion() -> QRegion");

extern "C" {static PyObject *meth_QWidget_childrenRegion(PyObject *, PyObject *);}
static PyObject *meth_QWidget_childrenRegion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->childrenRegion());

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_childrenRegion, doc_QWidget_childrenRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_minimumSize, "QWidget.minimumSize() -> QSize");

extern "C" {static PyObject *meth_QWidget_minimumSize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_minimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->minimumSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_minimumSize, doc_QWidget_minimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_maximumSize, "QWidget.maximumSize() -> QSize");

extern "C" {static PyObject *meth_QWidget_maximumSize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_maximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->maximumSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_maximumSize, doc_QWidget_maximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setMinimumSize, "QWidget.setMinimumSize(int, int)\n"
    "QWidget.setMinimumSize(QSize)");

extern "C" {static PyObject *meth_QWidget_setMinimumSize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setMinimumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setMinimumSize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QSize* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setMinimumSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setMinimumSize, doc_QWidget_setMinimumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setMaximumSize, "QWidget.setMaximumSize(int, int)\n"
    "QWidget.setMaximumSize(QSize)");

extern "C" {static PyObject *meth_QWidget_setMaximumSize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setMaximumSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setMaximumSize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QSize* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setMaximumSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setMaximumSize, doc_QWidget_setMaximumSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setMinimumWidth, "QWidget.setMinimumWidth(int)");

extern "C" {static PyObject *meth_QWidget_setMinimumWidth(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setMinimumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setMinimumWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setMinimumWidth, doc_QWidget_setMinimumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setMinimumHeight, "QWidget.setMinimumHeight(int)");

extern "C" {static PyObject *meth_QWidget_setMinimumHeight(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setMinimumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setMinimumHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setMinimumHeight, doc_QWidget_setMinimumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setMaximumWidth, "QWidget.setMaximumWidth(int)");

extern "C" {static PyObject *meth_QWidget_setMaximumWidth(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setMaximumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setMaximumWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setMaximumWidth, doc_QWidget_setMaximumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setMaximumHeight, "QWidget.setMaximumHeight(int)");

extern "C" {static PyObject *meth_QWidget_setMaximumHeight(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setMaximumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setMaximumHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setMaximumHeight, doc_QWidget_setMaximumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_sizeIncrement, "QWidget.sizeIncrement() -> QSize");

extern "C" {static PyObject *meth_QWidget_sizeIncrement(PyObject *, PyObject *);}
static PyObject *meth_QWidget_sizeIncrement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->sizeIncrement());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_sizeIncrement, doc_QWidget_sizeIncrement);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setSizeIncrement, "QWidget.setSizeIncrement(int, int)\n"
    "QWidget.setSizeIncrement(QSize)");

extern "C" {static PyObject *meth_QWidget_setSizeIncrement(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setSizeIncrement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setSizeIncrement(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QSize* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setSizeIncrement(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setSizeIncrement, doc_QWidget_setSizeIncrement);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_baseSize, "QWidget.baseSize() -> QSize");

extern "C" {static PyObject *meth_QWidget_baseSize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_baseSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->baseSize());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_baseSize, doc_QWidget_baseSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setBaseSize, "QWidget.setBaseSize(int, int)\n"
    "QWidget.setBaseSize(QSize)");

extern "C" {static PyObject *meth_QWidget_setBaseSize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setBaseSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setBaseSize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QSize* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setBaseSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setBaseSize, doc_QWidget_setBaseSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setFixedSize, "QWidget.setFixedSize(QSize)\n"
    "QWidget.setFixedSize(int, int)");

extern "C" {static PyObject *meth_QWidget_setFixedSize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setFixedSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->setFixedSize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setFixedSize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setFixedSize, doc_QWidget_setFixedSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setFixedWidth, "QWidget.setFixedWidth(int)");

extern "C" {static PyObject *meth_QWidget_setFixedWidth(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setFixedWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setFixedWidth(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setFixedWidth, doc_QWidget_setFixedWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setFixedHeight, "QWidget.setFixedHeight(int)");

extern "C" {static PyObject *meth_QWidget_setFixedHeight(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setFixedHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setFixedHeight(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setFixedHeight, doc_QWidget_setFixedHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mapToGlobal, "QWidget.mapToGlobal(QPoint) -> QPoint");

extern "C" {static PyObject *meth_QWidget_mapToGlobal(PyObject *, PyObject *);}
static PyObject *meth_QWidget_mapToGlobal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->mapToGlobal(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mapToGlobal, doc_QWidget_mapToGlobal);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mapFromGlobal, "QWidget.mapFromGlobal(QPoint) -> QPoint");

extern "C" {static PyObject *meth_QWidget_mapFromGlobal(PyObject *, PyObject *);}
static PyObject *meth_QWidget_mapFromGlobal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->mapFromGlobal(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mapFromGlobal, doc_QWidget_mapFromGlobal);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mapToParent, "QWidget.mapToParent(QPoint) -> QPoint");

extern "C" {static PyObject *meth_QWidget_mapToParent(PyObject *, PyObject *);}
static PyObject *meth_QWidget_mapToParent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->mapToParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mapToParent, doc_QWidget_mapToParent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mapFromParent, "QWidget.mapFromParent(QPoint) -> QPoint");

extern "C" {static PyObject *meth_QWidget_mapFromParent(PyObject *, PyObject *);}
static PyObject *meth_QWidget_mapFromParent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->mapFromParent(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mapFromParent, doc_QWidget_mapFromParent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mapTo, "QWidget.mapTo(QWidget, QPoint) -> QPoint");

extern "C" {static PyObject *meth_QWidget_mapTo(PyObject *, PyObject *);}
static PyObject *meth_QWidget_mapTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        const QPoint* a1;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QWidget, &a0, sipType_QPoint, &a1))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->mapTo(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mapTo, doc_QWidget_mapTo);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mapFrom, "QWidget.mapFrom(QWidget, QPoint) -> QPoint");

extern "C" {static PyObject *meth_QWidget_mapFrom(PyObject *, PyObject *);}
static PyObject *meth_QWidget_mapFrom(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        const QPoint* a1;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QWidget, &a0, sipType_QPoint, &a1))
        {
            QPoint*sipRes;

            sipRes = new QPoint(sipCpp->mapFrom(a0,*a1));

            return sipConvertFromNewType(sipRes,sipType_QPoint,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mapFrom, doc_QWidget_mapFrom);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_window, "QWidget.window() -> QWidget");

extern "C" {static PyObject *meth_QWidget_window(PyObject *, PyObject *);}
static PyObject *meth_QWidget_window(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->window();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_window, doc_QWidget_window);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_palette, "QWidget.palette() -> QPalette");

extern "C" {static PyObject *meth_QWidget_palette(PyObject *, PyObject *);}
static PyObject *meth_QWidget_palette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QPalette*sipRes;

            sipRes = new QPalette(sipCpp->palette());

            return sipConvertFromNewType(sipRes,sipType_QPalette,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_palette, doc_QWidget_palette);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setPalette, "QWidget.setPalette(QPalette)");

extern "C" {static PyObject *meth_QWidget_setPalette(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setPalette(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPalette* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPalette, &a0))
        {
            sipCpp->setPalette(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setPalette, doc_QWidget_setPalette);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setBackgroundRole, "QWidget.setBackgroundRole(QPalette.ColorRole)");

extern "C" {static PyObject *meth_QWidget_setBackgroundRole(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setBackgroundRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPalette::ColorRole a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPalette_ColorRole, &a0))
        {
            sipCpp->setBackgroundRole(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setBackgroundRole, doc_QWidget_setBackgroundRole);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_backgroundRole, "QWidget.backgroundRole() -> QPalette.ColorRole");

extern "C" {static PyObject *meth_QWidget_backgroundRole(PyObject *, PyObject *);}
static PyObject *meth_QWidget_backgroundRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QPalette::ColorRole sipRes;

            sipRes = sipCpp->backgroundRole();

            return sipConvertFromEnum(sipRes,sipType_QPalette_ColorRole);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_backgroundRole, doc_QWidget_backgroundRole);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setForegroundRole, "QWidget.setForegroundRole(QPalette.ColorRole)");

extern "C" {static PyObject *meth_QWidget_setForegroundRole(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setForegroundRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QPalette::ColorRole a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPalette_ColorRole, &a0))
        {
            sipCpp->setForegroundRole(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setForegroundRole, doc_QWidget_setForegroundRole);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_foregroundRole, "QWidget.foregroundRole() -> QPalette.ColorRole");

extern "C" {static PyObject *meth_QWidget_foregroundRole(PyObject *, PyObject *);}
static PyObject *meth_QWidget_foregroundRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QPalette::ColorRole sipRes;

            sipRes = sipCpp->foregroundRole();

            return sipConvertFromEnum(sipRes,sipType_QPalette_ColorRole);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_foregroundRole, doc_QWidget_foregroundRole);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setFont, "QWidget.setFont(QFont)");

extern "C" {static PyObject *meth_QWidget_setFont(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QFont* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QFont, &a0))
        {
            sipCpp->setFont(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setFont, doc_QWidget_setFont);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_cursor, "QWidget.cursor() -> QCursor");

extern "C" {static PyObject *meth_QWidget_cursor(PyObject *, PyObject *);}
static PyObject *meth_QWidget_cursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QCursor*sipRes;

            sipRes = new QCursor(sipCpp->cursor());

            return sipConvertFromNewType(sipRes,sipType_QCursor,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_cursor, doc_QWidget_cursor);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setCursor, "QWidget.setCursor(QCursor)");

extern "C" {static PyObject *meth_QWidget_setCursor(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QCursor* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QCursor, &a0, &a0State))
        {
            sipCpp->setCursor(*a0);
            sipReleaseType(const_cast<QCursor *>(a0),sipType_QCursor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setCursor, doc_QWidget_setCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_unsetCursor, "QWidget.unsetCursor()");

extern "C" {static PyObject *meth_QWidget_unsetCursor(PyObject *, PyObject *);}
static PyObject *meth_QWidget_unsetCursor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->unsetCursor();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_unsetCursor, doc_QWidget_unsetCursor);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setMask, "QWidget.setMask(QBitmap)\n"
    "QWidget.setMask(QRegion)");

extern "C" {static PyObject *meth_QWidget_setMask(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QBitmap* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QBitmap, &a0))
        {
            sipCpp->setMask(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QRegion* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->setMask(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setMask, doc_QWidget_setMask);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mask, "QWidget.mask() -> QRegion");

extern "C" {static PyObject *meth_QWidget_mask(PyObject *, PyObject *);}
static PyObject *meth_QWidget_mask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->mask());

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mask, doc_QWidget_mask);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_clearMask, "QWidget.clearMask()");

extern "C" {static PyObject *meth_QWidget_clearMask(PyObject *, PyObject *);}
static PyObject *meth_QWidget_clearMask(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->clearMask();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_clearMask, doc_QWidget_clearMask);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowTitle, "QWidget.setWindowTitle(str)");

extern "C" {static PyObject *meth_QWidget_setWindowTitle(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWindowTitle(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowTitle, doc_QWidget_setWindowTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowTitle, "QWidget.windowTitle() -> str");

extern "C" {static PyObject *meth_QWidget_windowTitle(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowTitle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->windowTitle());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowTitle, doc_QWidget_windowTitle);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowIcon, "QWidget.setWindowIcon(QIcon)");

extern "C" {static PyObject *meth_QWidget_setWindowIcon(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QIcon* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QIcon, &a0))
        {
            sipCpp->setWindowIcon(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowIcon, doc_QWidget_setWindowIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowIcon, "QWidget.windowIcon() -> QIcon");

extern "C" {static PyObject *meth_QWidget_windowIcon(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowIcon(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QIcon*sipRes;

            sipRes = new QIcon(sipCpp->windowIcon());

            return sipConvertFromNewType(sipRes,sipType_QIcon,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowIcon, doc_QWidget_windowIcon);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowIconText, "QWidget.setWindowIconText(str)");

extern "C" {static PyObject *meth_QWidget_setWindowIconText(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowIconText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWindowIconText(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowIconText, doc_QWidget_setWindowIconText);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowIconText, "QWidget.windowIconText() -> str");

extern "C" {static PyObject *meth_QWidget_windowIconText(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowIconText(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->windowIconText());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowIconText, doc_QWidget_windowIconText);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowRole, "QWidget.setWindowRole(str)");

extern "C" {static PyObject *meth_QWidget_setWindowRole(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWindowRole(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowRole, doc_QWidget_setWindowRole);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowRole, "QWidget.windowRole() -> str");

extern "C" {static PyObject *meth_QWidget_windowRole(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowRole(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->windowRole());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowRole, doc_QWidget_windowRole);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowOpacity, "QWidget.setWindowOpacity(float)");

extern "C" {static PyObject *meth_QWidget_setWindowOpacity(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowOpacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        qreal a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bd", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setWindowOpacity(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowOpacity, doc_QWidget_setWindowOpacity);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowOpacity, "QWidget.windowOpacity() -> float");

extern "C" {static PyObject *meth_QWidget_windowOpacity(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowOpacity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            qreal sipRes;

            sipRes = sipCpp->windowOpacity();

            return PyFloat_FromDouble(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowOpacity, doc_QWidget_windowOpacity);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isWindowModified, "QWidget.isWindowModified() -> bool");

extern "C" {static PyObject *meth_QWidget_isWindowModified(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isWindowModified(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWindowModified();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isWindowModified, doc_QWidget_isWindowModified);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setToolTip, "QWidget.setToolTip(str)");

extern "C" {static PyObject *meth_QWidget_setToolTip(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setToolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setToolTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setToolTip, doc_QWidget_setToolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_toolTip, "QWidget.toolTip() -> str");

extern "C" {static PyObject *meth_QWidget_toolTip(PyObject *, PyObject *);}
static PyObject *meth_QWidget_toolTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->toolTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_toolTip, doc_QWidget_toolTip);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setStatusTip, "QWidget.setStatusTip(str)");

extern "C" {static PyObject *meth_QWidget_setStatusTip(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setStatusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setStatusTip(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setStatusTip, doc_QWidget_setStatusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_statusTip, "QWidget.statusTip() -> str");

extern "C" {static PyObject *meth_QWidget_statusTip(PyObject *, PyObject *);}
static PyObject *meth_QWidget_statusTip(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->statusTip());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_statusTip, doc_QWidget_statusTip);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWhatsThis, "QWidget.setWhatsThis(str)");

extern "C" {static PyObject *meth_QWidget_setWhatsThis(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWhatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWhatsThis(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWhatsThis, doc_QWidget_setWhatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_whatsThis, "QWidget.whatsThis() -> str");

extern "C" {static PyObject *meth_QWidget_whatsThis(PyObject *, PyObject *);}
static PyObject *meth_QWidget_whatsThis(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->whatsThis());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_whatsThis, doc_QWidget_whatsThis);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_accessibleName, "QWidget.accessibleName() -> str");

extern "C" {static PyObject *meth_QWidget_accessibleName(PyObject *, PyObject *);}
static PyObject *meth_QWidget_accessibleName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->accessibleName());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_accessibleName, doc_QWidget_accessibleName);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setAccessibleName, "QWidget.setAccessibleName(str)");

extern "C" {static PyObject *meth_QWidget_setAccessibleName(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setAccessibleName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setAccessibleName(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setAccessibleName, doc_QWidget_setAccessibleName);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_accessibleDescription, "QWidget.accessibleDescription() -> str");

extern "C" {static PyObject *meth_QWidget_accessibleDescription(PyObject *, PyObject *);}
static PyObject *meth_QWidget_accessibleDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->accessibleDescription());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_accessibleDescription, doc_QWidget_accessibleDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setAccessibleDescription, "QWidget.setAccessibleDescription(str)");

extern "C" {static PyObject *meth_QWidget_setAccessibleDescription(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setAccessibleDescription(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setAccessibleDescription(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setAccessibleDescription, doc_QWidget_setAccessibleDescription);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setLayoutDirection, "QWidget.setLayoutDirection(Qt.LayoutDirection)");

extern "C" {static PyObject *meth_QWidget_setLayoutDirection(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setLayoutDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::LayoutDirection a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_LayoutDirection, &a0))
        {
            sipCpp->setLayoutDirection(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setLayoutDirection, doc_QWidget_setLayoutDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_layoutDirection, "QWidget.layoutDirection() -> Qt.LayoutDirection");

extern "C" {static PyObject *meth_QWidget_layoutDirection(PyObject *, PyObject *);}
static PyObject *meth_QWidget_layoutDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            Qt::LayoutDirection sipRes;

            sipRes = sipCpp->layoutDirection();

            return sipConvertFromEnum(sipRes,sipType_Qt_LayoutDirection);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_layoutDirection, doc_QWidget_layoutDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_unsetLayoutDirection, "QWidget.unsetLayoutDirection()");

extern "C" {static PyObject *meth_QWidget_unsetLayoutDirection(PyObject *, PyObject *);}
static PyObject *meth_QWidget_unsetLayoutDirection(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->unsetLayoutDirection();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_unsetLayoutDirection, doc_QWidget_unsetLayoutDirection);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isRightToLeft, "QWidget.isRightToLeft() -> bool");

extern "C" {static PyObject *meth_QWidget_isRightToLeft(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isRightToLeft(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isRightToLeft();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isRightToLeft, doc_QWidget_isRightToLeft);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isLeftToRight, "QWidget.isLeftToRight() -> bool");

extern "C" {static PyObject *meth_QWidget_isLeftToRight(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isLeftToRight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isLeftToRight();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isLeftToRight, doc_QWidget_isLeftToRight);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setFocus, "QWidget.setFocus()\n"
    "QWidget.setFocus(Qt.FocusReason)");

extern "C" {static PyObject *meth_QWidget_setFocus(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->setFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        Qt::FocusReason a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_FocusReason, &a0))
        {
            sipCpp->setFocus(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setFocus, doc_QWidget_setFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isActiveWindow, "QWidget.isActiveWindow() -> bool");

extern "C" {static PyObject *meth_QWidget_isActiveWindow(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isActiveWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isActiveWindow();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isActiveWindow, doc_QWidget_isActiveWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_activateWindow, "QWidget.activateWindow()");

extern "C" {static PyObject *meth_QWidget_activateWindow(PyObject *, PyObject *);}
static PyObject *meth_QWidget_activateWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->activateWindow();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_activateWindow, doc_QWidget_activateWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_clearFocus, "QWidget.clearFocus()");

extern "C" {static PyObject *meth_QWidget_clearFocus(PyObject *, PyObject *);}
static PyObject *meth_QWidget_clearFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->clearFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_clearFocus, doc_QWidget_clearFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_focusPolicy, "QWidget.focusPolicy() -> Qt.FocusPolicy");

extern "C" {static PyObject *meth_QWidget_focusPolicy(PyObject *, PyObject *);}
static PyObject *meth_QWidget_focusPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            Qt::FocusPolicy sipRes;

            sipRes = sipCpp->focusPolicy();

            return sipConvertFromEnum(sipRes,sipType_Qt_FocusPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_focusPolicy, doc_QWidget_focusPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setFocusPolicy, "QWidget.setFocusPolicy(Qt.FocusPolicy)");

extern "C" {static PyObject *meth_QWidget_setFocusPolicy(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setFocusPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::FocusPolicy a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_FocusPolicy, &a0))
        {
            sipCpp->setFocusPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setFocusPolicy, doc_QWidget_setFocusPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_hasFocus, "QWidget.hasFocus() -> bool");

extern "C" {static PyObject *meth_QWidget_hasFocus(PyObject *, PyObject *);}
static PyObject *meth_QWidget_hasFocus(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_hasFocus, doc_QWidget_hasFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setTabOrder, "QWidget.setTabOrder(QWidget, QWidget)");

extern "C" {static PyObject *meth_QWidget_setTabOrder(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setTabOrder(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QWidget* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "J8J8", sipType_QWidget, &a0, sipType_QWidget, &a1))
        {
            QWidget::setTabOrder(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setTabOrder, doc_QWidget_setTabOrder);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setFocusProxy, "QWidget.setFocusProxy(QWidget)");

extern "C" {static PyObject *meth_QWidget_setFocusProxy(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setFocusProxy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        PyObject *a0Keep;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QWidget, &sipCpp, &a0Keep, sipType_QWidget, &a0))
        {
            sipCpp->setFocusProxy(a0);

            sipKeepReference(sipSelf, -58, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setFocusProxy, doc_QWidget_setFocusProxy);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_focusProxy, "QWidget.focusProxy() -> QWidget");

extern "C" {static PyObject *meth_QWidget_focusProxy(PyObject *, PyObject *);}
static PyObject *meth_QWidget_focusProxy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->focusProxy();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_focusProxy, doc_QWidget_focusProxy);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_contextMenuPolicy, "QWidget.contextMenuPolicy() -> Qt.ContextMenuPolicy");

extern "C" {static PyObject *meth_QWidget_contextMenuPolicy(PyObject *, PyObject *);}
static PyObject *meth_QWidget_contextMenuPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            Qt::ContextMenuPolicy sipRes;

            sipRes = sipCpp->contextMenuPolicy();

            return sipConvertFromEnum(sipRes,sipType_Qt_ContextMenuPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_contextMenuPolicy, doc_QWidget_contextMenuPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setContextMenuPolicy, "QWidget.setContextMenuPolicy(Qt.ContextMenuPolicy)");

extern "C" {static PyObject *meth_QWidget_setContextMenuPolicy(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setContextMenuPolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::ContextMenuPolicy a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_ContextMenuPolicy, &a0))
        {
            sipCpp->setContextMenuPolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setContextMenuPolicy, doc_QWidget_setContextMenuPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_grabMouse, "QWidget.grabMouse()\n"
    "QWidget.grabMouse(QCursor)");

extern "C" {static PyObject *meth_QWidget_grabMouse(PyObject *, PyObject *);}
static PyObject *meth_QWidget_grabMouse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->grabMouse();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QCursor* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QCursor, &a0, &a0State))
        {
            sipCpp->grabMouse(*a0);
            sipReleaseType(const_cast<QCursor *>(a0),sipType_QCursor,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_grabMouse, doc_QWidget_grabMouse);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_releaseMouse, "QWidget.releaseMouse()");

extern "C" {static PyObject *meth_QWidget_releaseMouse(PyObject *, PyObject *);}
static PyObject *meth_QWidget_releaseMouse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->releaseMouse();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_releaseMouse, doc_QWidget_releaseMouse);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_grabKeyboard, "QWidget.grabKeyboard()");

extern "C" {static PyObject *meth_QWidget_grabKeyboard(PyObject *, PyObject *);}
static PyObject *meth_QWidget_grabKeyboard(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->grabKeyboard();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_grabKeyboard, doc_QWidget_grabKeyboard);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_releaseKeyboard, "QWidget.releaseKeyboard()");

extern "C" {static PyObject *meth_QWidget_releaseKeyboard(PyObject *, PyObject *);}
static PyObject *meth_QWidget_releaseKeyboard(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->releaseKeyboard();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_releaseKeyboard, doc_QWidget_releaseKeyboard);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_grabShortcut, "QWidget.grabShortcut(QKeySequence, Qt.ShortcutContext context=Qt.WindowShortcut) -> int");

extern "C" {static PyObject *meth_QWidget_grabShortcut(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_grabShortcut(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QKeySequence* a0;
        int a0State = 0;
        Qt::ShortcutContext a1 = Qt::WindowShortcut;
        QWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_context,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|E", &sipSelf, sipType_QWidget, &sipCpp, sipType_QKeySequence, &a0, &a0State, sipType_Qt_ShortcutContext, &a1))
        {
            int sipRes;

            sipRes = sipCpp->grabShortcut(*a0,a1);
            sipReleaseType(const_cast<QKeySequence *>(a0),sipType_QKeySequence,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_grabShortcut, doc_QWidget_grabShortcut);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_releaseShortcut, "QWidget.releaseShortcut(int)");

extern "C" {static PyObject *meth_QWidget_releaseShortcut(PyObject *, PyObject *);}
static PyObject *meth_QWidget_releaseShortcut(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->releaseShortcut(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_releaseShortcut, doc_QWidget_releaseShortcut);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setShortcutEnabled, "QWidget.setShortcutEnabled(int, bool enabled=True)");

extern "C" {static PyObject *meth_QWidget_setShortcutEnabled(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_setShortcutEnabled(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1 = 1;
        QWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|b", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setShortcutEnabled(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setShortcutEnabled, doc_QWidget_setShortcutEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mouseGrabber, "QWidget.mouseGrabber() -> QWidget");

extern "C" {static PyObject *meth_QWidget_mouseGrabber(PyObject *, PyObject *);}
static PyObject *meth_QWidget_mouseGrabber(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWidget*sipRes;

            sipRes = QWidget::mouseGrabber();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mouseGrabber, doc_QWidget_mouseGrabber);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_keyboardGrabber, "QWidget.keyboardGrabber() -> QWidget");

extern "C" {static PyObject *meth_QWidget_keyboardGrabber(PyObject *, PyObject *);}
static PyObject *meth_QWidget_keyboardGrabber(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QWidget*sipRes;

            sipRes = QWidget::keyboardGrabber();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_keyboardGrabber, doc_QWidget_keyboardGrabber);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setUpdatesEnabled, "QWidget.setUpdatesEnabled(bool)");

extern "C" {static PyObject *meth_QWidget_setUpdatesEnabled(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setUpdatesEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setUpdatesEnabled(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setUpdatesEnabled, doc_QWidget_setUpdatesEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_update, "QWidget.update()\n"
    "QWidget.update(QRect)\n"
    "QWidget.update(QRegion)\n"
    "QWidget.update(int, int, int, int)");

extern "C" {static PyObject *meth_QWidget_update(PyObject *, PyObject *);}
static PyObject *meth_QWidget_update(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->update();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QRect* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->update(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QRegion* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->update(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->update(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_update, doc_QWidget_update);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_repaint, "QWidget.repaint()\n"
    "QWidget.repaint(int, int, int, int)\n"
    "QWidget.repaint(QRect)\n"
    "QWidget.repaint(QRegion)");

extern "C" {static PyObject *meth_QWidget_repaint(PyObject *, PyObject *);}
static PyObject *meth_QWidget_repaint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->repaint();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->repaint(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QRect* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->repaint(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QRegion* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QRegion, &a0))
        {
            sipCpp->repaint(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_repaint, doc_QWidget_repaint);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setVisible, "QWidget.setVisible(bool)");

extern "C" {static PyObject *meth_QWidget_setVisible(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->QWidget::setVisible(a0) : sipCpp->setVisible(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setVisible, doc_QWidget_setVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setHidden, "QWidget.setHidden(bool)");

extern "C" {static PyObject *meth_QWidget_setHidden(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setHidden(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setHidden, doc_QWidget_setHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_show, "QWidget.show()");

extern "C" {static PyObject *meth_QWidget_show(PyObject *, PyObject *);}
static PyObject *meth_QWidget_show(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->show();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_show, doc_QWidget_show);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_hide, "QWidget.hide()");

extern "C" {static PyObject *meth_QWidget_hide(PyObject *, PyObject *);}
static PyObject *meth_QWidget_hide(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->hide();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_hide, doc_QWidget_hide);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_showMinimized, "QWidget.showMinimized()");

extern "C" {static PyObject *meth_QWidget_showMinimized(PyObject *, PyObject *);}
static PyObject *meth_QWidget_showMinimized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->showMinimized();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_showMinimized, doc_QWidget_showMinimized);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_showMaximized, "QWidget.showMaximized()");

extern "C" {static PyObject *meth_QWidget_showMaximized(PyObject *, PyObject *);}
static PyObject *meth_QWidget_showMaximized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->showMaximized();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_showMaximized, doc_QWidget_showMaximized);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_showFullScreen, "QWidget.showFullScreen()");

extern "C" {static PyObject *meth_QWidget_showFullScreen(PyObject *, PyObject *);}
static PyObject *meth_QWidget_showFullScreen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->showFullScreen();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_showFullScreen, doc_QWidget_showFullScreen);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_showNormal, "QWidget.showNormal()");

extern "C" {static PyObject *meth_QWidget_showNormal(PyObject *, PyObject *);}
static PyObject *meth_QWidget_showNormal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->showNormal();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_showNormal, doc_QWidget_showNormal);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_close, "QWidget.close() -> bool");

extern "C" {static PyObject *meth_QWidget_close(PyObject *, PyObject *);}
static PyObject *meth_QWidget_close(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->close();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_close, doc_QWidget_close);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_raise_, "QWidget.raise_()");

extern "C" {static PyObject *meth_QWidget_raise_(PyObject *, PyObject *);}
static PyObject *meth_QWidget_raise_(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->raise();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_raise_, doc_QWidget_raise_);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_lower, "QWidget.lower()");

extern "C" {static PyObject *meth_QWidget_lower(PyObject *, PyObject *);}
static PyObject *meth_QWidget_lower(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->lower();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_lower, doc_QWidget_lower);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_stackUnder, "QWidget.stackUnder(QWidget)");

extern "C" {static PyObject *meth_QWidget_stackUnder(PyObject *, PyObject *);}
static PyObject *meth_QWidget_stackUnder(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QWidget, &a0))
        {
            sipCpp->stackUnder(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_stackUnder, doc_QWidget_stackUnder);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_move, "QWidget.move(QPoint)\n"
    "QWidget.move(int, int)");

extern "C" {static PyObject *meth_QWidget_move(PyObject *, PyObject *);}
static PyObject *meth_QWidget_move(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPoint, &a0))
        {
            sipCpp->move(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->move(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_move, doc_QWidget_move);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_resize, "QWidget.resize(QSize)\n"
    "QWidget.resize(int, int)");

extern "C" {static PyObject *meth_QWidget_resize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_resize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QSize* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QSize, &a0))
        {
            sipCpp->resize(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->resize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_resize, doc_QWidget_resize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setGeometry, "QWidget.setGeometry(QRect)\n"
    "QWidget.setGeometry(int, int, int, int)");

extern "C" {static PyObject *meth_QWidget_setGeometry(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QRect, &a0))
        {
            sipCpp->setGeometry(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        int a2;
        int a3;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setGeometry(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setGeometry, doc_QWidget_setGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_adjustSize, "QWidget.adjustSize()");

extern "C" {static PyObject *meth_QWidget_adjustSize(PyObject *, PyObject *);}
static PyObject *meth_QWidget_adjustSize(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->adjustSize();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_adjustSize, doc_QWidget_adjustSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isVisibleTo, "QWidget.isVisibleTo(QWidget) -> bool");

extern "C" {static PyObject *meth_QWidget_isVisibleTo(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isVisibleTo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QWidget, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isVisibleTo(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isVisibleTo, doc_QWidget_isVisibleTo);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isMinimized, "QWidget.isMinimized() -> bool");

extern "C" {static PyObject *meth_QWidget_isMinimized(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isMinimized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMinimized();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isMinimized, doc_QWidget_isMinimized);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isMaximized, "QWidget.isMaximized() -> bool");

extern "C" {static PyObject *meth_QWidget_isMaximized(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isMaximized(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isMaximized();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isMaximized, doc_QWidget_isMaximized);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isFullScreen, "QWidget.isFullScreen() -> bool");

extern "C" {static PyObject *meth_QWidget_isFullScreen(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isFullScreen(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isFullScreen();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isFullScreen, doc_QWidget_isFullScreen);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowState, "QWidget.windowState() -> Qt.WindowStates");

extern "C" {static PyObject *meth_QWidget_windowState(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            Qt::WindowStates*sipRes;

            sipRes = new Qt::WindowStates(sipCpp->windowState());

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowStates,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowState, doc_QWidget_windowState);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowState, "QWidget.setWindowState(Qt.WindowStates)");

extern "C" {static PyObject *meth_QWidget_setWindowState(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowStates* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_WindowStates, &a0, &a0State))
        {
            sipCpp->setWindowState(*a0);
            sipReleaseType(a0,sipType_Qt_WindowStates,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowState, doc_QWidget_setWindowState);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_overrideWindowState, "QWidget.overrideWindowState(Qt.WindowStates)");

extern "C" {static PyObject *meth_QWidget_overrideWindowState(PyObject *, PyObject *);}
static PyObject *meth_QWidget_overrideWindowState(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowStates* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_WindowStates, &a0, &a0State))
        {
            sipCpp->overrideWindowState(*a0);
            sipReleaseType(a0,sipType_Qt_WindowStates,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_overrideWindowState, doc_QWidget_overrideWindowState);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_sizeHint, "QWidget.sizeHint() -> QSize");

extern "C" {static PyObject *meth_QWidget_sizeHint(PyObject *, PyObject *);}
static PyObject *meth_QWidget_sizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QWidget::sizeHint() : sipCpp->sizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_sizeHint, doc_QWidget_sizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_minimumSizeHint, "QWidget.minimumSizeHint() -> QSize");

extern "C" {static PyObject *meth_QWidget_minimumSizeHint(PyObject *, PyObject *);}
static PyObject *meth_QWidget_minimumSizeHint(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize((sipSelfWasArg ? sipCpp->QWidget::minimumSizeHint() : sipCpp->minimumSizeHint()));

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_minimumSizeHint, doc_QWidget_minimumSizeHint);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_sizePolicy, "QWidget.sizePolicy() -> QSizePolicy");

extern "C" {static PyObject *meth_QWidget_sizePolicy(PyObject *, PyObject *);}
static PyObject *meth_QWidget_sizePolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QSizePolicy*sipRes;

            sipRes = new QSizePolicy(sipCpp->sizePolicy());

            return sipConvertFromNewType(sipRes,sipType_QSizePolicy,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_sizePolicy, doc_QWidget_sizePolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setSizePolicy, "QWidget.setSizePolicy(QSizePolicy)\n"
    "QWidget.setSizePolicy(QSizePolicy.Policy, QSizePolicy.Policy)");

extern "C" {static PyObject *meth_QWidget_setSizePolicy(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setSizePolicy(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QSizePolicy* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QSizePolicy, &a0))
        {
            sipCpp->setSizePolicy(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QSizePolicy::Policy a0;
        QSizePolicy::Policy a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEE", &sipSelf, sipType_QWidget, &sipCpp, sipType_QSizePolicy_Policy, &a0, sipType_QSizePolicy_Policy, &a1))
        {
            sipCpp->setSizePolicy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setSizePolicy, doc_QWidget_setSizePolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_heightForWidth, "QWidget.heightForWidth(int) -> int");

extern "C" {static PyObject *meth_QWidget_heightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QWidget_heightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWidget::heightForWidth(a0) : sipCpp->heightForWidth(a0));

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_heightForWidth, doc_QWidget_heightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_visibleRegion, "QWidget.visibleRegion() -> QRegion");

extern "C" {static PyObject *meth_QWidget_visibleRegion(PyObject *, PyObject *);}
static PyObject *meth_QWidget_visibleRegion(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QRegion*sipRes;

            sipRes = new QRegion(sipCpp->visibleRegion());

            return sipConvertFromNewType(sipRes,sipType_QRegion,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_visibleRegion, doc_QWidget_visibleRegion);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setContentsMargins, "QWidget.setContentsMargins(int, int, int, int)\n"
    "QWidget.setContentsMargins(QMargins)");

extern "C" {static PyObject *meth_QWidget_setContentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setContentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Biiii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1, &a2, &a3))
        {
            sipCpp->setContentsMargins(a0,a1,a2,a3);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QMargins* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QMargins, &a0))
        {
            sipCpp->setContentsMargins(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setContentsMargins, doc_QWidget_setContentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_getContentsMargins, "QWidget.getContentsMargins() -> (int, int, int, int)");

extern "C" {static PyObject *meth_QWidget_getContentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QWidget_getContentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        int a2;
        int a3;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->getContentsMargins(&a0,&a1,&a2,&a3);

            return sipBuildResult(0,"(iiii)",a0,a1,a2,a3);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_getContentsMargins, doc_QWidget_getContentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_contentsRect, "QWidget.contentsRect() -> QRect");

extern "C" {static PyObject *meth_QWidget_contentsRect(PyObject *, PyObject *);}
static PyObject *meth_QWidget_contentsRect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->contentsRect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_contentsRect, doc_QWidget_contentsRect);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_layout, "QWidget.layout() -> QLayout");

extern "C" {static PyObject *meth_QWidget_layout(PyObject *, PyObject *);}
static PyObject *meth_QWidget_layout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QLayout*sipRes;

            sipRes = sipCpp->layout();

            return sipConvertFromType(sipRes,sipType_QLayout,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_layout, doc_QWidget_layout);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setLayout, "QWidget.setLayout(QLayout)");

extern "C" {static PyObject *meth_QWidget_setLayout(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setLayout(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QLayout* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QWidget, &sipCpp, sipType_QLayout, &a0))
        {
#line 247 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
        Py_BEGIN_ALLOW_THREADS
        sipCpp->setLayout(a0);
        Py_END_ALLOW_THREADS
        
        // Internally Qt has reparented all of the widgets in the layout, so we need
        // to update the ownership hierachy.
        qtwidgets_TransferLayoutWidgets(a0, sipSelf);
#line 492287 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setLayout, doc_QWidget_setLayout);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_updateGeometry, "QWidget.updateGeometry()");

extern "C" {static PyObject *meth_QWidget_updateGeometry(PyObject *, PyObject *);}
static PyObject *meth_QWidget_updateGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->updateGeometry();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_updateGeometry, doc_QWidget_updateGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setParent, "QWidget.setParent(QWidget)\n"
    "QWidget.setParent(QWidget, Qt.WindowFlags)");

extern "C" {static PyObject *meth_QWidget_setParent(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setParent(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget* a0;
        sipWrapper *sipOwner = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJH", &sipSelf, sipType_QWidget, &sipCpp, sipType_QWidget, &a0, &sipOwner))
        {
            sipCpp->setParent(a0);

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QWidget* a0;
        Qt::WindowFlags* a1;
        int a1State = 0;
        sipWrapper *sipOwner = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJHJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QWidget, &a0, &sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp->setParent(a0,*a1);

            if (sipOwner)
                sipTransferTo(sipSelf, (PyObject *)sipOwner);
            else
                sipTransferBack(sipSelf);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setParent, doc_QWidget_setParent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_scroll, "QWidget.scroll(int, int)\n"
    "QWidget.scroll(int, int, QRect)");

extern "C" {static PyObject *meth_QWidget_scroll(PyObject *, PyObject *);}
static PyObject *meth_QWidget_scroll(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        int a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->scroll(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        int a0;
        int a1;
        const QRect* a2;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiiJ9", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1, sipType_QRect, &a2))
        {
            sipCpp->scroll(a0,a1,*a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_scroll, doc_QWidget_scroll);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_focusWidget, "QWidget.focusWidget() -> QWidget");

extern "C" {static PyObject *meth_QWidget_focusWidget(PyObject *, PyObject *);}
static PyObject *meth_QWidget_focusWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->focusWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_focusWidget, doc_QWidget_focusWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_nextInFocusChain, "QWidget.nextInFocusChain() -> QWidget");

extern "C" {static PyObject *meth_QWidget_nextInFocusChain(PyObject *, PyObject *);}
static PyObject *meth_QWidget_nextInFocusChain(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->nextInFocusChain();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_nextInFocusChain, doc_QWidget_nextInFocusChain);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_acceptDrops, "QWidget.acceptDrops() -> bool");

extern "C" {static PyObject *meth_QWidget_acceptDrops(PyObject *, PyObject *);}
static PyObject *meth_QWidget_acceptDrops(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->acceptDrops();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_acceptDrops, doc_QWidget_acceptDrops);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setAcceptDrops, "QWidget.setAcceptDrops(bool)");

extern "C" {static PyObject *meth_QWidget_setAcceptDrops(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setAcceptDrops(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setAcceptDrops(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setAcceptDrops, doc_QWidget_setAcceptDrops);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_addAction, "QWidget.addAction(QAction)");

extern "C" {static PyObject *meth_QWidget_addAction(PyObject *, PyObject *);}
static PyObject *meth_QWidget_addAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->addAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_addAction, doc_QWidget_addAction);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_addActions, "QWidget.addActions(list-of-QAction)");

extern "C" {static PyObject *meth_QWidget_addActions(PyObject *, PyObject *);}
static PyObject *meth_QWidget_addActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QList<QAction*>* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QList_0101QAction,&a0, &a0State))
        {
            sipCpp->addActions(*a0);
            sipReleaseType(a0,sipType_QList_0101QAction,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_addActions, doc_QWidget_addActions);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_insertAction, "QWidget.insertAction(QAction, QAction)");

extern "C" {static PyObject *meth_QWidget_insertAction(PyObject *, PyObject *);}
static PyObject *meth_QWidget_insertAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QAction* a1;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QAction, &a0, sipType_QAction, &a1))
        {
            sipCpp->insertAction(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_insertAction, doc_QWidget_insertAction);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_insertActions, "QWidget.insertActions(QAction, list-of-QAction)");

extern "C" {static PyObject *meth_QWidget_insertActions(PyObject *, PyObject *);}
static PyObject *meth_QWidget_insertActions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QList<QAction*>* a1;
        int a1State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QAction, &a0, sipType_QList_0101QAction,&a1, &a1State))
        {
            sipCpp->insertActions(a0,*a1);
            sipReleaseType(a1,sipType_QList_0101QAction,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_insertActions, doc_QWidget_insertActions);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_removeAction, "QWidget.removeAction(QAction)");

extern "C" {static PyObject *meth_QWidget_removeAction(PyObject *, PyObject *);}
static PyObject *meth_QWidget_removeAction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QAction* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QAction, &a0))
        {
            sipCpp->removeAction(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_removeAction, doc_QWidget_removeAction);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_actions, "QWidget.actions() -> list-of-QAction");

extern "C" {static PyObject *meth_QWidget_actions(PyObject *, PyObject *);}
static PyObject *meth_QWidget_actions(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QList<QAction*>*sipRes;

            sipRes = new QList<QAction*>(sipCpp->actions());

            return sipConvertFromNewType(sipRes,sipType_QList_0101QAction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_actions, doc_QWidget_actions);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowFlags, "QWidget.setWindowFlags(Qt.WindowFlags)");

extern "C" {static PyObject *meth_QWidget_setWindowFlags(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowFlags* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_WindowFlags, &a0, &a0State))
        {
            sipCpp->setWindowFlags(*a0);
            sipReleaseType(a0,sipType_Qt_WindowFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowFlags, doc_QWidget_setWindowFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_overrideWindowFlags, "QWidget.overrideWindowFlags(Qt.WindowFlags)");

extern "C" {static PyObject *meth_QWidget_overrideWindowFlags(PyObject *, PyObject *);}
static PyObject *meth_QWidget_overrideWindowFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowFlags* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_WindowFlags, &a0, &a0State))
        {
            sipCpp->overrideWindowFlags(*a0);
            sipReleaseType(a0,sipType_Qt_WindowFlags,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_overrideWindowFlags, doc_QWidget_overrideWindowFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_find, "QWidget.find(sip.voidptr) -> QWidget");

extern "C" {static PyObject *meth_QWidget_find(PyObject *, PyObject *);}
static PyObject *meth_QWidget_find(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        WId* a0;
        int a0State = 0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_quintptr,&a0, &a0State))
        {
            QWidget*sipRes;

            sipRes = QWidget::find(*a0);
            sipReleaseType(a0,sipType_quintptr,a0State);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_find, doc_QWidget_find);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_childAt, "QWidget.childAt(QPoint) -> QWidget\n"
    "QWidget.childAt(int, int) -> QWidget");

extern "C" {static PyObject *meth_QWidget_childAt(PyObject *, PyObject *);}
static PyObject *meth_QWidget_childAt(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QPoint* a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPoint, &a0))
        {
            QWidget*sipRes;

            sipRes = sipCpp->childAt(*a0);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    {
        int a0;
        int a1;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bii", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            QWidget*sipRes;

            sipRes = sipCpp->childAt(a0,a1);

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_childAt, doc_QWidget_childAt);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setAttribute, "QWidget.setAttribute(Qt.WidgetAttribute, bool on=True)");

extern "C" {static PyObject *meth_QWidget_setAttribute(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_setAttribute(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WidgetAttribute a0;
        bool a1 = 1;
        QWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_on,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|b", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_WidgetAttribute, &a0, &a1))
        {
            sipCpp->setAttribute(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setAttribute, doc_QWidget_setAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_paintEngine, "QWidget.paintEngine() -> QPaintEngine");

extern "C" {static PyObject *meth_QWidget_paintEngine(PyObject *, PyObject *);}
static PyObject *meth_QWidget_paintEngine(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QPaintEngine*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWidget::paintEngine() : sipCpp->paintEngine());

            return sipConvertFromType(sipRes,sipType_QPaintEngine,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_paintEngine, doc_QWidget_paintEngine);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_ensurePolished, "QWidget.ensurePolished()");

extern "C" {static PyObject *meth_QWidget_ensurePolished(PyObject *, PyObject *);}
static PyObject *meth_QWidget_ensurePolished(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->ensurePolished();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_ensurePolished, doc_QWidget_ensurePolished);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isAncestorOf, "QWidget.isAncestorOf(QWidget) -> bool");

extern "C" {static PyObject *meth_QWidget_isAncestorOf(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isAncestorOf(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget* a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QWidget, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->isAncestorOf(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isAncestorOf, doc_QWidget_isAncestorOf);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_event, "QWidget.event(QEvent) -> bool");

extern "C" {static PyObject *meth_QWidget_event(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_event(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QEvent, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_event(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_event, doc_QWidget_event);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mousePressEvent, "QWidget.mousePressEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QWidget_mousePressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_mousePressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mousePressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mousePressEvent, doc_QWidget_mousePressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mouseReleaseEvent, "QWidget.mouseReleaseEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QWidget_mouseReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_mouseReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mouseReleaseEvent, doc_QWidget_mouseReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mouseDoubleClickEvent, "QWidget.mouseDoubleClickEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QWidget_mouseDoubleClickEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_mouseDoubleClickEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseDoubleClickEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mouseDoubleClickEvent, doc_QWidget_mouseDoubleClickEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_mouseMoveEvent, "QWidget.mouseMoveEvent(QMouseEvent)");

extern "C" {static PyObject *meth_QWidget_mouseMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_mouseMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMouseEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QMouseEvent, &a0))
        {
            sipCpp->sipProtectVirt_mouseMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_mouseMoveEvent, doc_QWidget_mouseMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_wheelEvent, "QWidget.wheelEvent(QWheelEvent)");

extern "C" {static PyObject *meth_QWidget_wheelEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_wheelEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QWheelEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QWheelEvent, &a0))
        {
            sipCpp->sipProtectVirt_wheelEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_wheelEvent, doc_QWidget_wheelEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_keyPressEvent, "QWidget.keyPressEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QWidget_keyPressEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_keyPressEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyPressEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_keyPressEvent, doc_QWidget_keyPressEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_keyReleaseEvent, "QWidget.keyReleaseEvent(QKeyEvent)");

extern "C" {static PyObject *meth_QWidget_keyReleaseEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_keyReleaseEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QKeyEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QKeyEvent, &a0))
        {
            sipCpp->sipProtectVirt_keyReleaseEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_keyReleaseEvent, doc_QWidget_keyReleaseEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_focusInEvent, "QWidget.focusInEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QWidget_focusInEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_focusInEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusInEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_focusInEvent, doc_QWidget_focusInEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_focusOutEvent, "QWidget.focusOutEvent(QFocusEvent)");

extern "C" {static PyObject *meth_QWidget_focusOutEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_focusOutEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QFocusEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QFocusEvent, &a0))
        {
            sipCpp->sipProtectVirt_focusOutEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_focusOutEvent, doc_QWidget_focusOutEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_enterEvent, "QWidget.enterEvent(QEvent)");

extern "C" {static PyObject *meth_QWidget_enterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_enterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_enterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_enterEvent, doc_QWidget_enterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_leaveEvent, "QWidget.leaveEvent(QEvent)");

extern "C" {static PyObject *meth_QWidget_leaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_leaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_leaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_leaveEvent, doc_QWidget_leaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_paintEvent, "QWidget.paintEvent(QPaintEvent)");

extern "C" {static PyObject *meth_QWidget_paintEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_paintEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPaintEvent, &a0))
        {
            sipCpp->sipProtectVirt_paintEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_paintEvent, doc_QWidget_paintEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_moveEvent, "QWidget.moveEvent(QMoveEvent)");

extern "C" {static PyObject *meth_QWidget_moveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_moveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QMoveEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_moveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_moveEvent, doc_QWidget_moveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_resizeEvent, "QWidget.resizeEvent(QResizeEvent)");

extern "C" {static PyObject *meth_QWidget_resizeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_resizeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QResizeEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QResizeEvent, &a0))
        {
            sipCpp->sipProtectVirt_resizeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_resizeEvent, doc_QWidget_resizeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_closeEvent, "QWidget.closeEvent(QCloseEvent)");

extern "C" {static PyObject *meth_QWidget_closeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_closeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QCloseEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QCloseEvent, &a0))
        {
            sipCpp->sipProtectVirt_closeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_closeEvent, doc_QWidget_closeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_contextMenuEvent, "QWidget.contextMenuEvent(QContextMenuEvent)");

extern "C" {static PyObject *meth_QWidget_contextMenuEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_contextMenuEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QContextMenuEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QContextMenuEvent, &a0))
        {
            sipCpp->sipProtectVirt_contextMenuEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_contextMenuEvent, doc_QWidget_contextMenuEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_tabletEvent, "QWidget.tabletEvent(QTabletEvent)");

extern "C" {static PyObject *meth_QWidget_tabletEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_tabletEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QTabletEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QTabletEvent, &a0))
        {
            sipCpp->sipProtectVirt_tabletEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_tabletEvent, doc_QWidget_tabletEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_actionEvent, "QWidget.actionEvent(QActionEvent)");

extern "C" {static PyObject *meth_QWidget_actionEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_actionEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QActionEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QActionEvent, &a0))
        {
            sipCpp->sipProtectVirt_actionEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_actionEvent, doc_QWidget_actionEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_dragEnterEvent, "QWidget.dragEnterEvent(QDragEnterEvent)");

extern "C" {static PyObject *meth_QWidget_dragEnterEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_dragEnterEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragEnterEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QDragEnterEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragEnterEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_dragEnterEvent, doc_QWidget_dragEnterEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_dragMoveEvent, "QWidget.dragMoveEvent(QDragMoveEvent)");

extern "C" {static PyObject *meth_QWidget_dragMoveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_dragMoveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragMoveEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QDragMoveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragMoveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_dragMoveEvent, doc_QWidget_dragMoveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_dragLeaveEvent, "QWidget.dragLeaveEvent(QDragLeaveEvent)");

extern "C" {static PyObject *meth_QWidget_dragLeaveEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_dragLeaveEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDragLeaveEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QDragLeaveEvent, &a0))
        {
            sipCpp->sipProtectVirt_dragLeaveEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_dragLeaveEvent, doc_QWidget_dragLeaveEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_dropEvent, "QWidget.dropEvent(QDropEvent)");

extern "C" {static PyObject *meth_QWidget_dropEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_dropEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QDropEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QDropEvent, &a0))
        {
            sipCpp->sipProtectVirt_dropEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_dropEvent, doc_QWidget_dropEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_showEvent, "QWidget.showEvent(QShowEvent)");

extern "C" {static PyObject *meth_QWidget_showEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_showEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QShowEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QShowEvent, &a0))
        {
            sipCpp->sipProtectVirt_showEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_showEvent, doc_QWidget_showEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_hideEvent, "QWidget.hideEvent(QHideEvent)");

extern "C" {static PyObject *meth_QWidget_hideEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_hideEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QHideEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QHideEvent, &a0))
        {
            sipCpp->sipProtectVirt_hideEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_hideEvent, doc_QWidget_hideEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_changeEvent, "QWidget.changeEvent(QEvent)");

extern "C" {static PyObject *meth_QWidget_changeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_changeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_changeEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_changeEvent, doc_QWidget_changeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_metric, "QWidget.metric(QPaintDevice.PaintDeviceMetric) -> int");

extern "C" {static PyObject *meth_QWidget_metric(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_metric(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPaintDevice::PaintDeviceMetric a0;
        const sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPaintDevice_PaintDeviceMetric, &a0))
        {
            int sipRes;

            sipRes = sipCpp->sipProtectVirt_metric(sipSelfWasArg,a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_metric, doc_QWidget_metric);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_inputMethodEvent, "QWidget.inputMethodEvent(QInputMethodEvent)");

extern "C" {static PyObject *meth_QWidget_inputMethodEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_inputMethodEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QInputMethodEvent* a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QInputMethodEvent, &a0))
        {
            sipCpp->sipProtectVirt_inputMethodEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_inputMethodEvent, doc_QWidget_inputMethodEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_inputMethodQuery, "QWidget.inputMethodQuery(Qt.InputMethodQuery) -> QVariant");

extern "C" {static PyObject *meth_QWidget_inputMethodQuery(PyObject *, PyObject *);}
static PyObject *meth_QWidget_inputMethodQuery(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        Qt::InputMethodQuery a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_InputMethodQuery, &a0))
        {
            QVariant*sipRes;

            sipRes = new QVariant((sipSelfWasArg ? sipCpp->QWidget::inputMethodQuery(a0) : sipCpp->inputMethodQuery(a0)));

            return sipConvertFromNewType(sipRes,sipType_QVariant,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_inputMethodQuery, doc_QWidget_inputMethodQuery);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_updateMicroFocus, "QWidget.updateMicroFocus()");

extern "C" {static PyObject *meth_QWidget_updateMicroFocus(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_updateMicroFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->sipProtect_updateMicroFocus();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_updateMicroFocus, doc_QWidget_updateMicroFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_create, "QWidget.create(sip.voidptr window=0, bool initializeWindow=True, bool destroyOldWindow=True)");

extern "C" {static PyObject *meth_QWidget_create(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        WId a0def = 0;
        WId* a0 = &a0def;
        int a0State = 0;
        bool a1 = 1;
        bool a2 = 1;
        sipQWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_window,
            sipName_initializeWindow,
            sipName_destroyOldWindow,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1bb", &sipSelf, sipType_QWidget, &sipCpp, sipType_quintptr,&a0, &a0State, &a1, &a2))
        {
            sipCpp->sipProtect_create(*a0,a1,a2);
            sipReleaseType(a0,sipType_quintptr,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_create, doc_QWidget_create);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_destroy, "QWidget.destroy(bool destroyWindow=True, bool destroySubWindows=True)");

extern "C" {static PyObject *meth_QWidget_destroy(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_destroy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        bool a1 = 1;
        sipQWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_destroyWindow,
            sipName_destroySubWindows,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|bb", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->sipProtect_destroy(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_destroy, doc_QWidget_destroy);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_focusNextPrevChild, "QWidget.focusNextPrevChild(bool) -> bool");

extern "C" {static PyObject *meth_QWidget_focusNextPrevChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_focusNextPrevChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_focusNextPrevChild(sipSelfWasArg,a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_focusNextPrevChild, doc_QWidget_focusNextPrevChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_focusNextChild, "QWidget.focusNextChild() -> bool");

extern "C" {static PyObject *meth_QWidget_focusNextChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_focusNextChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusNextChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_focusNextChild, doc_QWidget_focusNextChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_focusPreviousChild, "QWidget.focusPreviousChild() -> bool");

extern "C" {static PyObject *meth_QWidget_focusPreviousChild(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_focusPreviousChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_focusPreviousChild();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_focusPreviousChild, doc_QWidget_focusPreviousChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowType, "QWidget.windowType() -> Qt.WindowType");

extern "C" {static PyObject *meth_QWidget_windowType(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowType(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            Qt::WindowType sipRes;

            sipRes = sipCpp->windowType();

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowType, doc_QWidget_windowType);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowFlags, "QWidget.windowFlags() -> Qt.WindowFlags");

extern "C" {static PyObject *meth_QWidget_windowFlags(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowFlags(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            Qt::WindowFlags*sipRes;

            sipRes = new Qt::WindowFlags(sipCpp->windowFlags());

            return sipConvertFromNewType(sipRes,sipType_Qt_WindowFlags,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowFlags, doc_QWidget_windowFlags);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_winId, "QWidget.winId() -> sip.voidptr");

extern "C" {static PyObject *meth_QWidget_winId(PyObject *, PyObject *);}
static PyObject *meth_QWidget_winId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            WId*sipRes;

            sipRes = new WId(sipCpp->winId());

            return sipConvertFromNewType(sipRes,sipType_quintptr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_winId, doc_QWidget_winId);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isWindow, "QWidget.isWindow() -> bool");

extern "C" {static PyObject *meth_QWidget_isWindow(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isWindow(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isWindow();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isWindow, doc_QWidget_isWindow);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isEnabled, "QWidget.isEnabled() -> bool");

extern "C" {static PyObject *meth_QWidget_isEnabled(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isEnabled, doc_QWidget_isEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isModal, "QWidget.isModal() -> bool");

extern "C" {static PyObject *meth_QWidget_isModal(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isModal(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isModal();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isModal, doc_QWidget_isModal);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_minimumWidth, "QWidget.minimumWidth() -> int");

extern "C" {static PyObject *meth_QWidget_minimumWidth(PyObject *, PyObject *);}
static PyObject *meth_QWidget_minimumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minimumWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_minimumWidth, doc_QWidget_minimumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_minimumHeight, "QWidget.minimumHeight() -> int");

extern "C" {static PyObject *meth_QWidget_minimumHeight(PyObject *, PyObject *);}
static PyObject *meth_QWidget_minimumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->minimumHeight();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_minimumHeight, doc_QWidget_minimumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_maximumWidth, "QWidget.maximumWidth() -> int");

extern "C" {static PyObject *meth_QWidget_maximumWidth(PyObject *, PyObject *);}
static PyObject *meth_QWidget_maximumWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maximumWidth();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_maximumWidth, doc_QWidget_maximumWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_maximumHeight, "QWidget.maximumHeight() -> int");

extern "C" {static PyObject *meth_QWidget_maximumHeight(PyObject *, PyObject *);}
static PyObject *meth_QWidget_maximumHeight(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->maximumHeight();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_maximumHeight, doc_QWidget_maximumHeight);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_font, "QWidget.font() -> QFont");

extern "C" {static PyObject *meth_QWidget_font(PyObject *, PyObject *);}
static PyObject *meth_QWidget_font(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QFont*sipRes;

            sipRes = new QFont(sipCpp->font());

            return sipConvertFromNewType(sipRes,sipType_QFont,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_font, doc_QWidget_font);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_fontMetrics, "QWidget.fontMetrics() -> QFontMetrics");

extern "C" {static PyObject *meth_QWidget_fontMetrics(PyObject *, PyObject *);}
static PyObject *meth_QWidget_fontMetrics(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QFontMetrics*sipRes;

            sipRes = new QFontMetrics(sipCpp->fontMetrics());

            return sipConvertFromNewType(sipRes,sipType_QFontMetrics,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_fontMetrics, doc_QWidget_fontMetrics);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_fontInfo, "QWidget.fontInfo() -> QFontInfo");

extern "C" {static PyObject *meth_QWidget_fontInfo(PyObject *, PyObject *);}
static PyObject *meth_QWidget_fontInfo(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QFontInfo*sipRes;

            sipRes = new QFontInfo(sipCpp->fontInfo());

            return sipConvertFromNewType(sipRes,sipType_QFontInfo,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_fontInfo, doc_QWidget_fontInfo);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setMouseTracking, "QWidget.setMouseTracking(bool)");

extern "C" {static PyObject *meth_QWidget_setMouseTracking(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setMouseTracking(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setMouseTracking(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setMouseTracking, doc_QWidget_setMouseTracking);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_hasMouseTracking, "QWidget.hasMouseTracking() -> bool");

extern "C" {static PyObject *meth_QWidget_hasMouseTracking(PyObject *, PyObject *);}
static PyObject *meth_QWidget_hasMouseTracking(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->hasMouseTracking();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_hasMouseTracking, doc_QWidget_hasMouseTracking);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_underMouse, "QWidget.underMouse() -> bool");

extern "C" {static PyObject *meth_QWidget_underMouse(PyObject *, PyObject *);}
static PyObject *meth_QWidget_underMouse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->underMouse();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_underMouse, doc_QWidget_underMouse);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_updatesEnabled, "QWidget.updatesEnabled() -> bool");

extern "C" {static PyObject *meth_QWidget_updatesEnabled(PyObject *, PyObject *);}
static PyObject *meth_QWidget_updatesEnabled(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->updatesEnabled();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_updatesEnabled, doc_QWidget_updatesEnabled);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isVisible, "QWidget.isVisible() -> bool");

extern "C" {static PyObject *meth_QWidget_isVisible(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isVisible(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isVisible();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isVisible, doc_QWidget_isVisible);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_isHidden, "QWidget.isHidden() -> bool");

extern "C" {static PyObject *meth_QWidget_isHidden(PyObject *, PyObject *);}
static PyObject *meth_QWidget_isHidden(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->isHidden();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_isHidden, doc_QWidget_isHidden);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_rect, "QWidget.rect() -> QRect");

extern "C" {static PyObject *meth_QWidget_rect(PyObject *, PyObject *);}
static PyObject *meth_QWidget_rect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->rect());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_rect, doc_QWidget_rect);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_geometry, "QWidget.geometry() -> QRect");

extern "C" {static PyObject *meth_QWidget_geometry(PyObject *, PyObject *);}
static PyObject *meth_QWidget_geometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QRect*sipRes;

            sipRes = new QRect(sipCpp->geometry());

            return sipConvertFromNewType(sipRes,sipType_QRect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_geometry, doc_QWidget_geometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_size, "QWidget.size() -> QSize");

extern "C" {static PyObject *meth_QWidget_size(PyObject *, PyObject *);}
static PyObject *meth_QWidget_size(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QSize*sipRes;

            sipRes = new QSize(sipCpp->size());

            return sipConvertFromNewType(sipRes,sipType_QSize,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_size, doc_QWidget_size);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_width, "QWidget.width() -> int");

extern "C" {static PyObject *meth_QWidget_width(PyObject *, PyObject *);}
static PyObject *meth_QWidget_width(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->width();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_width, doc_QWidget_width);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_height, "QWidget.height() -> int");

extern "C" {static PyObject *meth_QWidget_height(PyObject *, PyObject *);}
static PyObject *meth_QWidget_height(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->height();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_height, doc_QWidget_height);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_parentWidget, "QWidget.parentWidget() -> QWidget");

extern "C" {static PyObject *meth_QWidget_parentWidget(PyObject *, PyObject *);}
static PyObject *meth_QWidget_parentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->parentWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_parentWidget, doc_QWidget_parentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_testAttribute, "QWidget.testAttribute(Qt.WidgetAttribute) -> bool");

extern "C" {static PyObject *meth_QWidget_testAttribute(PyObject *, PyObject *);}
static PyObject *meth_QWidget_testAttribute(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WidgetAttribute a0;
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_WidgetAttribute, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testAttribute(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_testAttribute, doc_QWidget_testAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowModality, "QWidget.windowModality() -> Qt.WindowModality");

extern "C" {static PyObject *meth_QWidget_windowModality(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowModality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            Qt::WindowModality sipRes;

            sipRes = sipCpp->windowModality();

            return sipConvertFromEnum(sipRes,sipType_Qt_WindowModality);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowModality, doc_QWidget_windowModality);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowModality, "QWidget.setWindowModality(Qt.WindowModality)");

extern "C" {static PyObject *meth_QWidget_setWindowModality(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowModality(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::WindowModality a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_WindowModality, &a0))
        {
            sipCpp->setWindowModality(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowModality, doc_QWidget_setWindowModality);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_autoFillBackground, "QWidget.autoFillBackground() -> bool");

extern "C" {static PyObject *meth_QWidget_autoFillBackground(PyObject *, PyObject *);}
static PyObject *meth_QWidget_autoFillBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->autoFillBackground();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_autoFillBackground, doc_QWidget_autoFillBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setAutoFillBackground, "QWidget.setAutoFillBackground(bool)");

extern "C" {static PyObject *meth_QWidget_setAutoFillBackground(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setAutoFillBackground(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setAutoFillBackground(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setAutoFillBackground, doc_QWidget_setAutoFillBackground);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setStyleSheet, "QWidget.setStyleSheet(str)");

extern "C" {static PyObject *meth_QWidget_setStyleSheet(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setStyleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setStyleSheet(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setStyleSheet, doc_QWidget_setStyleSheet);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_styleSheet, "QWidget.styleSheet() -> str");

extern "C" {static PyObject *meth_QWidget_styleSheet(PyObject *, PyObject *);}
static PyObject *meth_QWidget_styleSheet(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->styleSheet());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_styleSheet, doc_QWidget_styleSheet);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setShortcutAutoRepeat, "QWidget.setShortcutAutoRepeat(int, bool enabled=True)");

extern "C" {static PyObject *meth_QWidget_setShortcutAutoRepeat(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_setShortcutAutoRepeat(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        bool a1 = 1;
        QWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_enabled,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi|b", &sipSelf, sipType_QWidget, &sipCpp, &a0, &a1))
        {
            sipCpp->setShortcutAutoRepeat(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setShortcutAutoRepeat, doc_QWidget_setShortcutAutoRepeat);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_saveGeometry, "QWidget.saveGeometry() -> QByteArray");

extern "C" {static PyObject *meth_QWidget_saveGeometry(PyObject *, PyObject *);}
static PyObject *meth_QWidget_saveGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QByteArray*sipRes;

            sipRes = new QByteArray(sipCpp->saveGeometry());

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_saveGeometry, doc_QWidget_saveGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_restoreGeometry, "QWidget.restoreGeometry(QByteArray) -> bool");

extern "C" {static PyObject *meth_QWidget_restoreGeometry(PyObject *, PyObject *);}
static PyObject *meth_QWidget_restoreGeometry(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;

            sipRes = sipCpp->restoreGeometry(*a0);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_restoreGeometry, doc_QWidget_restoreGeometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_render, "QWidget.render(QPaintDevice, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.DrawWindowBackground|QWidget.DrawChildren)\n"
    "QWidget.render(QPainter, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.DrawWindowBackground|QWidget.DrawChildren)");

extern "C" {static PyObject *meth_QWidget_render(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_render(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QPaintDevice* a0;
        const QPoint& a1def = QPoint();
        const QPoint* a1 = &a1def;
        const QRegion& a2def = QRegion();
        const QRegion* a2 = &a2def;
        QWidget::RenderFlags a3def = QWidget::DrawWindowBackground|QWidget::DrawChildren;
        QWidget::RenderFlags* a3 = &a3def;
        int a3State = 0;
        QWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_targetOffset,
            sipName_sourceRegion,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|J9J9J1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPaintDevice, &a0, sipType_QPoint, &a1, sipType_QRegion, &a2, sipType_QWidget_RenderFlags, &a3, &a3State))
        {
            sipCpp->render(a0,*a1,*a2,*a3);
            sipReleaseType(a3,sipType_QWidget_RenderFlags,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QPainter* a0;
        const QPoint& a1def = QPoint();
        const QPoint* a1 = &a1def;
        const QRegion& a2def = QRegion();
        const QRegion* a2 = &a2def;
        QWidget::RenderFlags a3def = QWidget::DrawWindowBackground|QWidget::DrawChildren;
        QWidget::RenderFlags* a3 = &a3def;
        int a3State = 0;
        QWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_targetOffset,
            sipName_sourceRegion,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8|J9J9J1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPainter, &a0, sipType_QPoint, &a1, sipType_QRegion, &a2, sipType_QWidget_RenderFlags, &a3, &a3State))
        {
            sipCpp->render(a0,*a1,*a2,*a3);
            sipReleaseType(a3,sipType_QWidget_RenderFlags,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_render, doc_QWidget_render);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setLocale, "QWidget.setLocale(QLocale)");

extern "C" {static PyObject *meth_QWidget_setLocale(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setLocale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QLocale* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QLocale, &a0))
        {
            sipCpp->setLocale(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setLocale, doc_QWidget_setLocale);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_locale, "QWidget.locale() -> QLocale");

extern "C" {static PyObject *meth_QWidget_locale(PyObject *, PyObject *);}
static PyObject *meth_QWidget_locale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QLocale*sipRes;

            sipRes = new QLocale(sipCpp->locale());

            return sipConvertFromNewType(sipRes,sipType_QLocale,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_locale, doc_QWidget_locale);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_unsetLocale, "QWidget.unsetLocale()");

extern "C" {static PyObject *meth_QWidget_unsetLocale(PyObject *, PyObject *);}
static PyObject *meth_QWidget_unsetLocale(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            sipCpp->unsetLocale();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_unsetLocale, doc_QWidget_unsetLocale);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_effectiveWinId, "QWidget.effectiveWinId() -> sip.voidptr");

extern "C" {static PyObject *meth_QWidget_effectiveWinId(PyObject *, PyObject *);}
static PyObject *meth_QWidget_effectiveWinId(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            WId*sipRes;

            sipRes = new WId(sipCpp->effectiveWinId());

            return sipConvertFromNewType(sipRes,sipType_quintptr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_effectiveWinId, doc_QWidget_effectiveWinId);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_nativeParentWidget, "QWidget.nativeParentWidget() -> QWidget");

extern "C" {static PyObject *meth_QWidget_nativeParentWidget(PyObject *, PyObject *);}
static PyObject *meth_QWidget_nativeParentWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->nativeParentWidget();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_nativeParentWidget, doc_QWidget_nativeParentWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setWindowFilePath, "QWidget.setWindowFilePath(str)");

extern "C" {static PyObject *meth_QWidget_setWindowFilePath(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setWindowFilePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setWindowFilePath(*a0);
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setWindowFilePath, doc_QWidget_setWindowFilePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowFilePath, "QWidget.windowFilePath() -> str");

extern "C" {static PyObject *meth_QWidget_windowFilePath(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowFilePath(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QString*sipRes;

            sipRes = new QString(sipCpp->windowFilePath());

            return sipConvertFromNewType(sipRes,sipType_QString,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowFilePath, doc_QWidget_windowFilePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_graphicsProxyWidget, "QWidget.graphicsProxyWidget() -> QGraphicsProxyWidget");

extern "C" {static PyObject *meth_QWidget_graphicsProxyWidget(PyObject *, PyObject *);}
static PyObject *meth_QWidget_graphicsProxyWidget(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QGraphicsProxyWidget*sipRes;

            sipRes = sipCpp->graphicsProxyWidget();

            return sipConvertFromType(sipRes,sipType_QGraphicsProxyWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_graphicsProxyWidget, doc_QWidget_graphicsProxyWidget);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_graphicsEffect, "QWidget.graphicsEffect() -> QGraphicsEffect");

extern "C" {static PyObject *meth_QWidget_graphicsEffect(PyObject *, PyObject *);}
static PyObject *meth_QWidget_graphicsEffect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QGraphicsEffect*sipRes;

            sipRes = sipCpp->graphicsEffect();

            return sipConvertFromType(sipRes,sipType_QGraphicsEffect,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_graphicsEffect, doc_QWidget_graphicsEffect);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setGraphicsEffect, "QWidget.setGraphicsEffect(QGraphicsEffect)");

extern "C" {static PyObject *meth_QWidget_setGraphicsEffect(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setGraphicsEffect(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QGraphicsEffect* a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ:", &sipSelf, sipType_QWidget, &sipCpp, sipType_QGraphicsEffect, &a0))
        {
            sipCpp->setGraphicsEffect(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setGraphicsEffect, doc_QWidget_setGraphicsEffect);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_grabGesture, "QWidget.grabGesture(Qt.GestureType, Qt.GestureFlags flags=Qt.GestureFlags(0))");

extern "C" {static PyObject *meth_QWidget_grabGesture(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_grabGesture(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::GestureType a0;
        Qt::GestureFlags a1def = Qt::GestureFlags(0);
        Qt::GestureFlags* a1 = &a1def;
        int a1State = 0;
        QWidget *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J1", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_GestureType, &a0, sipType_Qt_GestureFlags, &a1, &a1State))
        {
            sipCpp->grabGesture(a0,*a1);
            sipReleaseType(a1,sipType_Qt_GestureFlags,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_grabGesture, doc_QWidget_grabGesture);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_ungrabGesture, "QWidget.ungrabGesture(Qt.GestureType)");

extern "C" {static PyObject *meth_QWidget_ungrabGesture(PyObject *, PyObject *);}
static PyObject *meth_QWidget_ungrabGesture(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::GestureType a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_GestureType, &a0))
        {
            sipCpp->ungrabGesture(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_ungrabGesture, doc_QWidget_ungrabGesture);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_contentsMargins, "QWidget.contentsMargins() -> QMargins");

extern "C" {static PyObject *meth_QWidget_contentsMargins(PyObject *, PyObject *);}
static PyObject *meth_QWidget_contentsMargins(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QMargins*sipRes;

            sipRes = new QMargins(sipCpp->contentsMargins());

            return sipConvertFromNewType(sipRes,sipType_QMargins,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_contentsMargins, doc_QWidget_contentsMargins);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_previousInFocusChain, "QWidget.previousInFocusChain() -> QWidget");

extern "C" {static PyObject *meth_QWidget_previousInFocusChain(PyObject *, PyObject *);}
static PyObject *meth_QWidget_previousInFocusChain(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QWidget*sipRes;

            sipRes = sipCpp->previousInFocusChain();

            return sipConvertFromType(sipRes,sipType_QWidget,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_previousInFocusChain, doc_QWidget_previousInFocusChain);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_inputMethodHints, "QWidget.inputMethodHints() -> Qt.InputMethodHints");

extern "C" {static PyObject *meth_QWidget_inputMethodHints(PyObject *, PyObject *);}
static PyObject *meth_QWidget_inputMethodHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            Qt::InputMethodHints*sipRes;

            sipRes = new Qt::InputMethodHints(sipCpp->inputMethodHints());

            return sipConvertFromNewType(sipRes,sipType_Qt_InputMethodHints,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_inputMethodHints, doc_QWidget_inputMethodHints);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setInputMethodHints, "QWidget.setInputMethodHints(Qt.InputMethodHints)");

extern "C" {static PyObject *meth_QWidget_setInputMethodHints(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setInputMethodHints(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        Qt::InputMethodHints* a0;
        int a0State = 0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWidget, &sipCpp, sipType_Qt_InputMethodHints, &a0, &a0State))
        {
            sipCpp->setInputMethodHints(*a0);
            sipReleaseType(a0,sipType_Qt_InputMethodHints,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setInputMethodHints, doc_QWidget_setInputMethodHints);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_hasHeightForWidth, "QWidget.hasHeightForWidth() -> bool");

extern "C" {static PyObject *meth_QWidget_hasHeightForWidth(PyObject *, PyObject *);}
static PyObject *meth_QWidget_hasHeightForWidth(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->QWidget::hasHeightForWidth() : sipCpp->hasHeightForWidth());

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_hasHeightForWidth, doc_QWidget_hasHeightForWidth);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_grab, "QWidget.grab(QRect rectangle=QRect(QPoint(0,0),QSize(-1,-1))) -> QPixmap");

extern "C" {static PyObject *meth_QWidget_grab(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_grab(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QRect& a0def = QRect(QPoint(0,0),QSize(-1,-1));
        const QRect* a0 = &a0def;
        QWidget *sipCpp;

        static const char *sipKwdList[] = {
            sipName_rectangle,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J9", &sipSelf, sipType_QWidget, &sipCpp, sipType_QRect, &a0))
        {
            QPixmap*sipRes;

            sipRes = new QPixmap(sipCpp->grab(*a0));

            return sipConvertFromNewType(sipRes,sipType_QPixmap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_grab, doc_QWidget_grab);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_createWindowContainer, "QWidget.createWindowContainer(QWindow, QWidget parent=None, Qt.WindowFlags flags=0) -> QWidget");

extern "C" {static PyObject *meth_QWidget_createWindowContainer(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_createWindowContainer(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        QWindow* a0;
        PyObject *a0Wrapper;
        QWidget* a1 = 0;
        PyObject *a1Wrapper = 0;
        Qt::WindowFlags a2def = 0;
        Qt::WindowFlags* a2 = &a2def;
        int a2State = 0;

        static const char *sipKwdList[] = {
            NULL,
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "@J8|@J8J1", &a0Wrapper, sipType_QWindow, &a0, &a1Wrapper, sipType_QWidget, &a1, sipType_Qt_WindowFlags, &a2, &a2State))
        {
            PyObject * sipRes = 0;

#line 403 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/sip/QtWidgets/qwidget.sip"
        // Ownersip issues are complicated so we handle them explicitly.
        
        QWidget *w = QWidget::createWindowContainer(a0, a1, *a2);
        
        sipRes = sipConvertFromNewType(w, sipType_QWidget, a1Wrapper);
        
        if (sipRes)
            sipTransferTo(a0Wrapper, sipRes);
#line 495512 "/usr/src/ports/python-pyqt5/python-pyqt5-5.4.2-1.x86_64/build/QtWidgets/sipQtWidgetspart0.cpp"
            sipReleaseType(a2,sipType_Qt_WindowFlags,a2State);

            return sipRes;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_createWindowContainer, doc_QWidget_createWindowContainer);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_windowHandle, "QWidget.windowHandle() -> QWindow");

extern "C" {static PyObject *meth_QWidget_windowHandle(PyObject *, PyObject *);}
static PyObject *meth_QWidget_windowHandle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QWindow*sipRes;

            sipRes = sipCpp->windowHandle();

            return sipConvertFromType(sipRes,sipType_QWindow,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_windowHandle, doc_QWidget_windowHandle);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_nativeEvent, "QWidget.nativeEvent(QByteArray, sip.voidptr) -> (bool, int)");

extern "C" {static PyObject *meth_QWidget_nativeEvent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_nativeEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        void* a1;
        long a2;
        sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ1v", &sipSelf, sipType_QWidget, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtectVirt_nativeEvent(sipSelfWasArg,*a0,a1,&a2);
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bl)",sipRes,a2);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_nativeEvent, doc_QWidget_nativeEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_sharedPainter, "QWidget.sharedPainter() -> QPainter");

extern "C" {static PyObject *meth_QWidget_sharedPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_sharedPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            QPainter*sipRes;

            sipRes = sipCpp->sipProtectVirt_sharedPainter(sipSelfWasArg);

            return sipConvertFromType(sipRes,sipType_QPainter,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_sharedPainter, doc_QWidget_sharedPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_initPainter, "QWidget.initPainter(QPainter)");

extern "C" {static PyObject *meth_QWidget_initPainter(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWidget_initPainter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QPainter* a0;
        const sipQWidget *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWidget, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->sipProtectVirt_initPainter(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_initPainter, doc_QWidget_initPainter);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_setToolTipDuration, "QWidget.setToolTipDuration(int)");

extern "C" {static PyObject *meth_QWidget_setToolTipDuration(PyObject *, PyObject *);}
static PyObject *meth_QWidget_setToolTipDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        int a0;
        QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWidget, &sipCpp, &a0))
        {
            sipCpp->setToolTipDuration(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_setToolTipDuration, doc_QWidget_setToolTipDuration);

    return NULL;
}


PyDoc_STRVAR(doc_QWidget_toolTipDuration, "QWidget.toolTipDuration() -> int");

extern "C" {static PyObject *meth_QWidget_toolTipDuration(PyObject *, PyObject *);}
static PyObject *meth_QWidget_toolTipDuration(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        const QWidget *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWidget, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->toolTipDuration();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWidget, sipName_toolTipDuration, doc_QWidget_toolTipDuration);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QWidget(void *, const sipTypeDef *);}
static void *cast_QWidget(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QWidget)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QObject)->ctd_cast((QObject *)(QWidget *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QPaintDevice)->ctd_cast((QPaintDevice *)(QWidget *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWidget(void *, int);}
static void release_QWidget(void *sipCppV,int)
{
    QWidget *sipCpp = reinterpret_cast<QWidget *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QWidget(sipSimpleWrapper *);}
static void dealloc_QWidget(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQWidget *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QWidget(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QWidget(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWidget(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQWidget *sipCpp = 0;

    {
        QWidget* a0 = 0;
        Qt::WindowFlags a1def = 0;
        Qt::WindowFlags* a1 = &a1def;
        int a1State = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
            sipName_flags,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JHJ1", sipType_QWidget, &a0, sipOwner, sipType_Qt_WindowFlags, &a1, &a1State))
        {
            sipCpp = new sipQWidget(a0,*a1);
            sipReleaseType(a1,sipType_Qt_WindowFlags,a1State);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QWidget[] = {{162, 0, 0}, {183, 1, 1}};


static PyMethodDef methods_QWidget[] = {
    {SIP_MLNAME_CAST(sipName_acceptDrops), meth_QWidget_acceptDrops, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_acceptDrops)},
    {SIP_MLNAME_CAST(sipName_accessibleDescription), meth_QWidget_accessibleDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_accessibleDescription)},
    {SIP_MLNAME_CAST(sipName_accessibleName), meth_QWidget_accessibleName, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_accessibleName)},
    {SIP_MLNAME_CAST(sipName_actionEvent), (PyCFunction)meth_QWidget_actionEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_actionEvent)},
    {SIP_MLNAME_CAST(sipName_actions), meth_QWidget_actions, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_actions)},
    {SIP_MLNAME_CAST(sipName_activateWindow), meth_QWidget_activateWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_activateWindow)},
    {SIP_MLNAME_CAST(sipName_addAction), meth_QWidget_addAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_addAction)},
    {SIP_MLNAME_CAST(sipName_addActions), meth_QWidget_addActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_addActions)},
    {SIP_MLNAME_CAST(sipName_adjustSize), meth_QWidget_adjustSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_adjustSize)},
    {SIP_MLNAME_CAST(sipName_autoFillBackground), meth_QWidget_autoFillBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_autoFillBackground)},
    {SIP_MLNAME_CAST(sipName_backgroundRole), meth_QWidget_backgroundRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_backgroundRole)},
    {SIP_MLNAME_CAST(sipName_baseSize), meth_QWidget_baseSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_baseSize)},
    {SIP_MLNAME_CAST(sipName_changeEvent), (PyCFunction)meth_QWidget_changeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_changeEvent)},
    {SIP_MLNAME_CAST(sipName_childAt), meth_QWidget_childAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_childAt)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QWidget_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_childrenRect), meth_QWidget_childrenRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_childrenRect)},
    {SIP_MLNAME_CAST(sipName_childrenRegion), meth_QWidget_childrenRegion, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_childrenRegion)},
    {SIP_MLNAME_CAST(sipName_clearFocus), meth_QWidget_clearFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_clearFocus)},
    {SIP_MLNAME_CAST(sipName_clearMask), meth_QWidget_clearMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_clearMask)},
    {SIP_MLNAME_CAST(sipName_close), meth_QWidget_close, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_close)},
    {SIP_MLNAME_CAST(sipName_closeEvent), (PyCFunction)meth_QWidget_closeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_closeEvent)},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QWidget_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_contentsMargins), meth_QWidget_contentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_contentsMargins)},
    {SIP_MLNAME_CAST(sipName_contentsRect), meth_QWidget_contentsRect, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_contentsRect)},
    {SIP_MLNAME_CAST(sipName_contextMenuEvent), (PyCFunction)meth_QWidget_contextMenuEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_contextMenuEvent)},
    {SIP_MLNAME_CAST(sipName_contextMenuPolicy), meth_QWidget_contextMenuPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_contextMenuPolicy)},
    {SIP_MLNAME_CAST(sipName_create), (PyCFunction)meth_QWidget_create, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_create)},
    {SIP_MLNAME_CAST(sipName_createWindowContainer), (PyCFunction)meth_QWidget_createWindowContainer, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_createWindowContainer)},
    {SIP_MLNAME_CAST(sipName_cursor), meth_QWidget_cursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_cursor)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QWidget_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_destroy), (PyCFunction)meth_QWidget_destroy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_destroy)},
    {SIP_MLNAME_CAST(sipName_devType), meth_QWidget_devType, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_devType)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QWidget_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_dragEnterEvent), (PyCFunction)meth_QWidget_dragEnterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_dragEnterEvent)},
    {SIP_MLNAME_CAST(sipName_dragLeaveEvent), (PyCFunction)meth_QWidget_dragLeaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_dragLeaveEvent)},
    {SIP_MLNAME_CAST(sipName_dragMoveEvent), (PyCFunction)meth_QWidget_dragMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_dragMoveEvent)},
    {SIP_MLNAME_CAST(sipName_dropEvent), (PyCFunction)meth_QWidget_dropEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_dropEvent)},
    {SIP_MLNAME_CAST(sipName_effectiveWinId), meth_QWidget_effectiveWinId, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_effectiveWinId)},
    {SIP_MLNAME_CAST(sipName_ensurePolished), meth_QWidget_ensurePolished, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_ensurePolished)},
    {SIP_MLNAME_CAST(sipName_enterEvent), (PyCFunction)meth_QWidget_enterEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_enterEvent)},
    {SIP_MLNAME_CAST(sipName_event), (PyCFunction)meth_QWidget_event, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_event)},
    {SIP_MLNAME_CAST(sipName_find), meth_QWidget_find, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_find)},
    {SIP_MLNAME_CAST(sipName_focusInEvent), (PyCFunction)meth_QWidget_focusInEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_focusInEvent)},
    {SIP_MLNAME_CAST(sipName_focusNextChild), (PyCFunction)meth_QWidget_focusNextChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_focusNextChild)},
    {SIP_MLNAME_CAST(sipName_focusNextPrevChild), (PyCFunction)meth_QWidget_focusNextPrevChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_focusNextPrevChild)},
    {SIP_MLNAME_CAST(sipName_focusOutEvent), (PyCFunction)meth_QWidget_focusOutEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_focusOutEvent)},
    {SIP_MLNAME_CAST(sipName_focusPolicy), meth_QWidget_focusPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_focusPolicy)},
    {SIP_MLNAME_CAST(sipName_focusPreviousChild), (PyCFunction)meth_QWidget_focusPreviousChild, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_focusPreviousChild)},
    {SIP_MLNAME_CAST(sipName_focusProxy), meth_QWidget_focusProxy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_focusProxy)},
    {SIP_MLNAME_CAST(sipName_focusWidget), meth_QWidget_focusWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_focusWidget)},
    {SIP_MLNAME_CAST(sipName_font), meth_QWidget_font, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_font)},
    {SIP_MLNAME_CAST(sipName_fontInfo), meth_QWidget_fontInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_fontInfo)},
    {SIP_MLNAME_CAST(sipName_fontMetrics), meth_QWidget_fontMetrics, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_fontMetrics)},
    {SIP_MLNAME_CAST(sipName_foregroundRole), meth_QWidget_foregroundRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_foregroundRole)},
    {SIP_MLNAME_CAST(sipName_frameGeometry), meth_QWidget_frameGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_frameGeometry)},
    {SIP_MLNAME_CAST(sipName_frameSize), meth_QWidget_frameSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_frameSize)},
    {SIP_MLNAME_CAST(sipName_geometry), meth_QWidget_geometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_geometry)},
    {SIP_MLNAME_CAST(sipName_getContentsMargins), meth_QWidget_getContentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_getContentsMargins)},
    {SIP_MLNAME_CAST(sipName_grab), (PyCFunction)meth_QWidget_grab, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_grab)},
    {SIP_MLNAME_CAST(sipName_grabGesture), (PyCFunction)meth_QWidget_grabGesture, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_grabGesture)},
    {SIP_MLNAME_CAST(sipName_grabKeyboard), meth_QWidget_grabKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_grabKeyboard)},
    {SIP_MLNAME_CAST(sipName_grabMouse), meth_QWidget_grabMouse, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_grabMouse)},
    {SIP_MLNAME_CAST(sipName_grabShortcut), (PyCFunction)meth_QWidget_grabShortcut, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_grabShortcut)},
    {SIP_MLNAME_CAST(sipName_graphicsEffect), meth_QWidget_graphicsEffect, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_graphicsEffect)},
    {SIP_MLNAME_CAST(sipName_graphicsProxyWidget), meth_QWidget_graphicsProxyWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_graphicsProxyWidget)},
    {SIP_MLNAME_CAST(sipName_hasFocus), meth_QWidget_hasFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_hasFocus)},
    {SIP_MLNAME_CAST(sipName_hasHeightForWidth), meth_QWidget_hasHeightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_hasHeightForWidth)},
    {SIP_MLNAME_CAST(sipName_hasMouseTracking), meth_QWidget_hasMouseTracking, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_hasMouseTracking)},
    {SIP_MLNAME_CAST(sipName_height), meth_QWidget_height, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_height)},
    {SIP_MLNAME_CAST(sipName_heightForWidth), meth_QWidget_heightForWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_heightForWidth)},
    {SIP_MLNAME_CAST(sipName_hide), meth_QWidget_hide, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_hide)},
    {SIP_MLNAME_CAST(sipName_hideEvent), (PyCFunction)meth_QWidget_hideEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_hideEvent)},
    {SIP_MLNAME_CAST(sipName_initPainter), (PyCFunction)meth_QWidget_initPainter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_initPainter)},
    {SIP_MLNAME_CAST(sipName_inputMethodEvent), (PyCFunction)meth_QWidget_inputMethodEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_inputMethodEvent)},
    {SIP_MLNAME_CAST(sipName_inputMethodHints), meth_QWidget_inputMethodHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_inputMethodHints)},
    {SIP_MLNAME_CAST(sipName_inputMethodQuery), meth_QWidget_inputMethodQuery, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_inputMethodQuery)},
    {SIP_MLNAME_CAST(sipName_insertAction), meth_QWidget_insertAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_insertAction)},
    {SIP_MLNAME_CAST(sipName_insertActions), meth_QWidget_insertActions, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_insertActions)},
    {SIP_MLNAME_CAST(sipName_isActiveWindow), meth_QWidget_isActiveWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isActiveWindow)},
    {SIP_MLNAME_CAST(sipName_isAncestorOf), meth_QWidget_isAncestorOf, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isAncestorOf)},
    {SIP_MLNAME_CAST(sipName_isEnabled), meth_QWidget_isEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isEnabled)},
    {SIP_MLNAME_CAST(sipName_isEnabledTo), meth_QWidget_isEnabledTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isEnabledTo)},
    {SIP_MLNAME_CAST(sipName_isFullScreen), meth_QWidget_isFullScreen, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isFullScreen)},
    {SIP_MLNAME_CAST(sipName_isHidden), meth_QWidget_isHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isHidden)},
    {SIP_MLNAME_CAST(sipName_isLeftToRight), meth_QWidget_isLeftToRight, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isLeftToRight)},
    {SIP_MLNAME_CAST(sipName_isMaximized), meth_QWidget_isMaximized, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isMaximized)},
    {SIP_MLNAME_CAST(sipName_isMinimized), meth_QWidget_isMinimized, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isMinimized)},
    {SIP_MLNAME_CAST(sipName_isModal), meth_QWidget_isModal, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isModal)},
    {SIP_MLNAME_CAST(sipName_isRightToLeft), meth_QWidget_isRightToLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isRightToLeft)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QWidget_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_isVisible), meth_QWidget_isVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isVisible)},
    {SIP_MLNAME_CAST(sipName_isVisibleTo), meth_QWidget_isVisibleTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isVisibleTo)},
    {SIP_MLNAME_CAST(sipName_isWindow), meth_QWidget_isWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isWindow)},
    {SIP_MLNAME_CAST(sipName_isWindowModified), meth_QWidget_isWindowModified, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_isWindowModified)},
    {SIP_MLNAME_CAST(sipName_keyPressEvent), (PyCFunction)meth_QWidget_keyPressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_keyPressEvent)},
    {SIP_MLNAME_CAST(sipName_keyReleaseEvent), (PyCFunction)meth_QWidget_keyReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_keyReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_keyboardGrabber), meth_QWidget_keyboardGrabber, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_keyboardGrabber)},
    {SIP_MLNAME_CAST(sipName_layout), meth_QWidget_layout, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_layout)},
    {SIP_MLNAME_CAST(sipName_layoutDirection), meth_QWidget_layoutDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_layoutDirection)},
    {SIP_MLNAME_CAST(sipName_leaveEvent), (PyCFunction)meth_QWidget_leaveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_leaveEvent)},
    {SIP_MLNAME_CAST(sipName_locale), meth_QWidget_locale, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_locale)},
    {SIP_MLNAME_CAST(sipName_lower), meth_QWidget_lower, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_lower)},
    {SIP_MLNAME_CAST(sipName_mapFrom), meth_QWidget_mapFrom, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_mapFrom)},
    {SIP_MLNAME_CAST(sipName_mapFromGlobal), meth_QWidget_mapFromGlobal, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_mapFromGlobal)},
    {SIP_MLNAME_CAST(sipName_mapFromParent), meth_QWidget_mapFromParent, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_mapFromParent)},
    {SIP_MLNAME_CAST(sipName_mapTo), meth_QWidget_mapTo, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_mapTo)},
    {SIP_MLNAME_CAST(sipName_mapToGlobal), meth_QWidget_mapToGlobal, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_mapToGlobal)},
    {SIP_MLNAME_CAST(sipName_mapToParent), meth_QWidget_mapToParent, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_mapToParent)},
    {SIP_MLNAME_CAST(sipName_mask), meth_QWidget_mask, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_mask)},
    {SIP_MLNAME_CAST(sipName_maximumHeight), meth_QWidget_maximumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_maximumHeight)},
    {SIP_MLNAME_CAST(sipName_maximumSize), meth_QWidget_maximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_maximumSize)},
    {SIP_MLNAME_CAST(sipName_maximumWidth), meth_QWidget_maximumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_maximumWidth)},
    {SIP_MLNAME_CAST(sipName_metric), (PyCFunction)meth_QWidget_metric, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_metric)},
    {SIP_MLNAME_CAST(sipName_minimumHeight), meth_QWidget_minimumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_minimumHeight)},
    {SIP_MLNAME_CAST(sipName_minimumSize), meth_QWidget_minimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_minimumSize)},
    {SIP_MLNAME_CAST(sipName_minimumSizeHint), meth_QWidget_minimumSizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_minimumSizeHint)},
    {SIP_MLNAME_CAST(sipName_minimumWidth), meth_QWidget_minimumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_minimumWidth)},
    {SIP_MLNAME_CAST(sipName_mouseDoubleClickEvent), (PyCFunction)meth_QWidget_mouseDoubleClickEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_mouseDoubleClickEvent)},
    {SIP_MLNAME_CAST(sipName_mouseGrabber), meth_QWidget_mouseGrabber, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_mouseGrabber)},
    {SIP_MLNAME_CAST(sipName_mouseMoveEvent), (PyCFunction)meth_QWidget_mouseMoveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_mouseMoveEvent)},
    {SIP_MLNAME_CAST(sipName_mousePressEvent), (PyCFunction)meth_QWidget_mousePressEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_mousePressEvent)},
    {SIP_MLNAME_CAST(sipName_mouseReleaseEvent), (PyCFunction)meth_QWidget_mouseReleaseEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_mouseReleaseEvent)},
    {SIP_MLNAME_CAST(sipName_move), meth_QWidget_move, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_move)},
    {SIP_MLNAME_CAST(sipName_moveEvent), (PyCFunction)meth_QWidget_moveEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_moveEvent)},
    {SIP_MLNAME_CAST(sipName_nativeEvent), (PyCFunction)meth_QWidget_nativeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_nativeEvent)},
    {SIP_MLNAME_CAST(sipName_nativeParentWidget), meth_QWidget_nativeParentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_nativeParentWidget)},
    {SIP_MLNAME_CAST(sipName_nextInFocusChain), meth_QWidget_nextInFocusChain, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_nextInFocusChain)},
    {SIP_MLNAME_CAST(sipName_normalGeometry), meth_QWidget_normalGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_normalGeometry)},
    {SIP_MLNAME_CAST(sipName_overrideWindowFlags), meth_QWidget_overrideWindowFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_overrideWindowFlags)},
    {SIP_MLNAME_CAST(sipName_overrideWindowState), meth_QWidget_overrideWindowState, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_overrideWindowState)},
    {SIP_MLNAME_CAST(sipName_paintEngine), meth_QWidget_paintEngine, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_paintEngine)},
    {SIP_MLNAME_CAST(sipName_paintEvent), (PyCFunction)meth_QWidget_paintEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_paintEvent)},
    {SIP_MLNAME_CAST(sipName_palette), meth_QWidget_palette, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_palette)},
    {SIP_MLNAME_CAST(sipName_parentWidget), meth_QWidget_parentWidget, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_parentWidget)},
    {SIP_MLNAME_CAST(sipName_pos), meth_QWidget_pos, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_pos)},
    {SIP_MLNAME_CAST(sipName_previousInFocusChain), meth_QWidget_previousInFocusChain, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_previousInFocusChain)},
    {SIP_MLNAME_CAST(sipName_raise_), meth_QWidget_raise_, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_raise_)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QWidget_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_rect), meth_QWidget_rect, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_rect)},
    {SIP_MLNAME_CAST(sipName_releaseKeyboard), meth_QWidget_releaseKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_releaseKeyboard)},
    {SIP_MLNAME_CAST(sipName_releaseMouse), meth_QWidget_releaseMouse, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_releaseMouse)},
    {SIP_MLNAME_CAST(sipName_releaseShortcut), meth_QWidget_releaseShortcut, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_releaseShortcut)},
    {SIP_MLNAME_CAST(sipName_removeAction), meth_QWidget_removeAction, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_removeAction)},
    {SIP_MLNAME_CAST(sipName_render), (PyCFunction)meth_QWidget_render, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_render)},
    {SIP_MLNAME_CAST(sipName_repaint), meth_QWidget_repaint, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_repaint)},
    {SIP_MLNAME_CAST(sipName_resize), meth_QWidget_resize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_resize)},
    {SIP_MLNAME_CAST(sipName_resizeEvent), (PyCFunction)meth_QWidget_resizeEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_resizeEvent)},
    {SIP_MLNAME_CAST(sipName_restoreGeometry), meth_QWidget_restoreGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_restoreGeometry)},
    {SIP_MLNAME_CAST(sipName_saveGeometry), meth_QWidget_saveGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_saveGeometry)},
    {SIP_MLNAME_CAST(sipName_scroll), meth_QWidget_scroll, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_scroll)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QWidget_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QWidget_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setAcceptDrops), meth_QWidget_setAcceptDrops, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setAcceptDrops)},
    {SIP_MLNAME_CAST(sipName_setAccessibleDescription), meth_QWidget_setAccessibleDescription, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setAccessibleDescription)},
    {SIP_MLNAME_CAST(sipName_setAccessibleName), meth_QWidget_setAccessibleName, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setAccessibleName)},
    {SIP_MLNAME_CAST(sipName_setAttribute), (PyCFunction)meth_QWidget_setAttribute, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_setAttribute)},
    {SIP_MLNAME_CAST(sipName_setAutoFillBackground), meth_QWidget_setAutoFillBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setAutoFillBackground)},
    {SIP_MLNAME_CAST(sipName_setBackgroundRole), meth_QWidget_setBackgroundRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setBackgroundRole)},
    {SIP_MLNAME_CAST(sipName_setBaseSize), meth_QWidget_setBaseSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setBaseSize)},
    {SIP_MLNAME_CAST(sipName_setContentsMargins), meth_QWidget_setContentsMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setContentsMargins)},
    {SIP_MLNAME_CAST(sipName_setContextMenuPolicy), meth_QWidget_setContextMenuPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setContextMenuPolicy)},
    {SIP_MLNAME_CAST(sipName_setCursor), meth_QWidget_setCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setCursor)},
    {SIP_MLNAME_CAST(sipName_setDisabled), meth_QWidget_setDisabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setDisabled)},
    {SIP_MLNAME_CAST(sipName_setEnabled), meth_QWidget_setEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setEnabled)},
    {SIP_MLNAME_CAST(sipName_setFixedHeight), meth_QWidget_setFixedHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setFixedHeight)},
    {SIP_MLNAME_CAST(sipName_setFixedSize), meth_QWidget_setFixedSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setFixedSize)},
    {SIP_MLNAME_CAST(sipName_setFixedWidth), meth_QWidget_setFixedWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setFixedWidth)},
    {SIP_MLNAME_CAST(sipName_setFocus), meth_QWidget_setFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setFocus)},
    {SIP_MLNAME_CAST(sipName_setFocusPolicy), meth_QWidget_setFocusPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setFocusPolicy)},
    {SIP_MLNAME_CAST(sipName_setFocusProxy), meth_QWidget_setFocusProxy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setFocusProxy)},
    {SIP_MLNAME_CAST(sipName_setFont), meth_QWidget_setFont, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setFont)},
    {SIP_MLNAME_CAST(sipName_setForegroundRole), meth_QWidget_setForegroundRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setForegroundRole)},
    {SIP_MLNAME_CAST(sipName_setGeometry), meth_QWidget_setGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setGeometry)},
    {SIP_MLNAME_CAST(sipName_setGraphicsEffect), meth_QWidget_setGraphicsEffect, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setGraphicsEffect)},
    {SIP_MLNAME_CAST(sipName_setHidden), meth_QWidget_setHidden, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setHidden)},
    {SIP_MLNAME_CAST(sipName_setInputMethodHints), meth_QWidget_setInputMethodHints, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setInputMethodHints)},
    {SIP_MLNAME_CAST(sipName_setLayout), meth_QWidget_setLayout, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setLayout)},
    {SIP_MLNAME_CAST(sipName_setLayoutDirection), meth_QWidget_setLayoutDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setLayoutDirection)},
    {SIP_MLNAME_CAST(sipName_setLocale), meth_QWidget_setLocale, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setLocale)},
    {SIP_MLNAME_CAST(sipName_setMask), meth_QWidget_setMask, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setMask)},
    {SIP_MLNAME_CAST(sipName_setMaximumHeight), meth_QWidget_setMaximumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setMaximumHeight)},
    {SIP_MLNAME_CAST(sipName_setMaximumSize), meth_QWidget_setMaximumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setMaximumSize)},
    {SIP_MLNAME_CAST(sipName_setMaximumWidth), meth_QWidget_setMaximumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setMaximumWidth)},
    {SIP_MLNAME_CAST(sipName_setMinimumHeight), meth_QWidget_setMinimumHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setMinimumHeight)},
    {SIP_MLNAME_CAST(sipName_setMinimumSize), meth_QWidget_setMinimumSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setMinimumSize)},
    {SIP_MLNAME_CAST(sipName_setMinimumWidth), meth_QWidget_setMinimumWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setMinimumWidth)},
    {SIP_MLNAME_CAST(sipName_setMouseTracking), meth_QWidget_setMouseTracking, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setMouseTracking)},
    {SIP_MLNAME_CAST(sipName_setPalette), meth_QWidget_setPalette, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setPalette)},
    {SIP_MLNAME_CAST(sipName_setParent), meth_QWidget_setParent, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setParent)},
    {SIP_MLNAME_CAST(sipName_setShortcutAutoRepeat), (PyCFunction)meth_QWidget_setShortcutAutoRepeat, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_setShortcutAutoRepeat)},
    {SIP_MLNAME_CAST(sipName_setShortcutEnabled), (PyCFunction)meth_QWidget_setShortcutEnabled, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_setShortcutEnabled)},
    {SIP_MLNAME_CAST(sipName_setSizeIncrement), meth_QWidget_setSizeIncrement, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setSizeIncrement)},
    {SIP_MLNAME_CAST(sipName_setSizePolicy), meth_QWidget_setSizePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setSizePolicy)},
    {SIP_MLNAME_CAST(sipName_setStatusTip), meth_QWidget_setStatusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setStatusTip)},
    {SIP_MLNAME_CAST(sipName_setStyle), meth_QWidget_setStyle, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setStyle)},
    {SIP_MLNAME_CAST(sipName_setStyleSheet), meth_QWidget_setStyleSheet, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setStyleSheet)},
    {SIP_MLNAME_CAST(sipName_setTabOrder), meth_QWidget_setTabOrder, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setTabOrder)},
    {SIP_MLNAME_CAST(sipName_setToolTip), meth_QWidget_setToolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setToolTip)},
    {SIP_MLNAME_CAST(sipName_setToolTipDuration), meth_QWidget_setToolTipDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setToolTipDuration)},
    {SIP_MLNAME_CAST(sipName_setUpdatesEnabled), meth_QWidget_setUpdatesEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setUpdatesEnabled)},
    {SIP_MLNAME_CAST(sipName_setVisible), meth_QWidget_setVisible, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setVisible)},
    {SIP_MLNAME_CAST(sipName_setWhatsThis), meth_QWidget_setWhatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWhatsThis)},
    {SIP_MLNAME_CAST(sipName_setWindowFilePath), meth_QWidget_setWindowFilePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowFilePath)},
    {SIP_MLNAME_CAST(sipName_setWindowFlags), meth_QWidget_setWindowFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowFlags)},
    {SIP_MLNAME_CAST(sipName_setWindowIcon), meth_QWidget_setWindowIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowIcon)},
    {SIP_MLNAME_CAST(sipName_setWindowIconText), meth_QWidget_setWindowIconText, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowIconText)},
    {SIP_MLNAME_CAST(sipName_setWindowModality), meth_QWidget_setWindowModality, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowModality)},
    {SIP_MLNAME_CAST(sipName_setWindowModified), meth_QWidget_setWindowModified, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowModified)},
    {SIP_MLNAME_CAST(sipName_setWindowOpacity), meth_QWidget_setWindowOpacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowOpacity)},
    {SIP_MLNAME_CAST(sipName_setWindowRole), meth_QWidget_setWindowRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowRole)},
    {SIP_MLNAME_CAST(sipName_setWindowState), meth_QWidget_setWindowState, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowState)},
    {SIP_MLNAME_CAST(sipName_setWindowTitle), meth_QWidget_setWindowTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_setWindowTitle)},
    {SIP_MLNAME_CAST(sipName_sharedPainter), (PyCFunction)meth_QWidget_sharedPainter, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_sharedPainter)},
    {SIP_MLNAME_CAST(sipName_show), meth_QWidget_show, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_show)},
    {SIP_MLNAME_CAST(sipName_showEvent), (PyCFunction)meth_QWidget_showEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_showEvent)},
    {SIP_MLNAME_CAST(sipName_showFullScreen), meth_QWidget_showFullScreen, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_showFullScreen)},
    {SIP_MLNAME_CAST(sipName_showMaximized), meth_QWidget_showMaximized, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_showMaximized)},
    {SIP_MLNAME_CAST(sipName_showMinimized), meth_QWidget_showMinimized, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_showMinimized)},
    {SIP_MLNAME_CAST(sipName_showNormal), meth_QWidget_showNormal, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_showNormal)},
    {SIP_MLNAME_CAST(sipName_size), meth_QWidget_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_size)},
    {SIP_MLNAME_CAST(sipName_sizeHint), meth_QWidget_sizeHint, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_sizeHint)},
    {SIP_MLNAME_CAST(sipName_sizeIncrement), meth_QWidget_sizeIncrement, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_sizeIncrement)},
    {SIP_MLNAME_CAST(sipName_sizePolicy), meth_QWidget_sizePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_sizePolicy)},
    {SIP_MLNAME_CAST(sipName_stackUnder), meth_QWidget_stackUnder, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_stackUnder)},
    {SIP_MLNAME_CAST(sipName_statusTip), meth_QWidget_statusTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_statusTip)},
    {SIP_MLNAME_CAST(sipName_style), meth_QWidget_style, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_style)},
    {SIP_MLNAME_CAST(sipName_styleSheet), meth_QWidget_styleSheet, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_styleSheet)},
    {SIP_MLNAME_CAST(sipName_tabletEvent), (PyCFunction)meth_QWidget_tabletEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_tabletEvent)},
    {SIP_MLNAME_CAST(sipName_testAttribute), meth_QWidget_testAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_testAttribute)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QWidget_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_toolTip), meth_QWidget_toolTip, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_toolTip)},
    {SIP_MLNAME_CAST(sipName_toolTipDuration), meth_QWidget_toolTipDuration, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_toolTipDuration)},
    {SIP_MLNAME_CAST(sipName_underMouse), meth_QWidget_underMouse, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_underMouse)},
    {SIP_MLNAME_CAST(sipName_ungrabGesture), meth_QWidget_ungrabGesture, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_ungrabGesture)},
    {SIP_MLNAME_CAST(sipName_unsetCursor), meth_QWidget_unsetCursor, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_unsetCursor)},
    {SIP_MLNAME_CAST(sipName_unsetLayoutDirection), meth_QWidget_unsetLayoutDirection, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_unsetLayoutDirection)},
    {SIP_MLNAME_CAST(sipName_unsetLocale), meth_QWidget_unsetLocale, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_unsetLocale)},
    {SIP_MLNAME_CAST(sipName_update), meth_QWidget_update, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_update)},
    {SIP_MLNAME_CAST(sipName_updateGeometry), meth_QWidget_updateGeometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_updateGeometry)},
    {SIP_MLNAME_CAST(sipName_updateMicroFocus), (PyCFunction)meth_QWidget_updateMicroFocus, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_updateMicroFocus)},
    {SIP_MLNAME_CAST(sipName_updatesEnabled), meth_QWidget_updatesEnabled, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_updatesEnabled)},
    {SIP_MLNAME_CAST(sipName_visibleRegion), meth_QWidget_visibleRegion, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_visibleRegion)},
    {SIP_MLNAME_CAST(sipName_whatsThis), meth_QWidget_whatsThis, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_whatsThis)},
    {SIP_MLNAME_CAST(sipName_wheelEvent), (PyCFunction)meth_QWidget_wheelEvent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWidget_wheelEvent)},
    {SIP_MLNAME_CAST(sipName_width), meth_QWidget_width, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_width)},
    {SIP_MLNAME_CAST(sipName_winId), meth_QWidget_winId, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_winId)},
    {SIP_MLNAME_CAST(sipName_window), meth_QWidget_window, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_window)},
    {SIP_MLNAME_CAST(sipName_windowFilePath), meth_QWidget_windowFilePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowFilePath)},
    {SIP_MLNAME_CAST(sipName_windowFlags), meth_QWidget_windowFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowFlags)},
    {SIP_MLNAME_CAST(sipName_windowHandle), meth_QWidget_windowHandle, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowHandle)},
    {SIP_MLNAME_CAST(sipName_windowIcon), meth_QWidget_windowIcon, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowIcon)},
    {SIP_MLNAME_CAST(sipName_windowIconText), meth_QWidget_windowIconText, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowIconText)},
    {SIP_MLNAME_CAST(sipName_windowModality), meth_QWidget_windowModality, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowModality)},
    {SIP_MLNAME_CAST(sipName_windowOpacity), meth_QWidget_windowOpacity, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowOpacity)},
    {SIP_MLNAME_CAST(sipName_windowRole), meth_QWidget_windowRole, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowRole)},
    {SIP_MLNAME_CAST(sipName_windowState), meth_QWidget_windowState, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowState)},
    {SIP_MLNAME_CAST(sipName_windowTitle), meth_QWidget_windowTitle, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowTitle)},
    {SIP_MLNAME_CAST(sipName_windowType), meth_QWidget_windowType, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_windowType)},
    {SIP_MLNAME_CAST(sipName_x), meth_QWidget_x, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_x)},
    {SIP_MLNAME_CAST(sipName_y), meth_QWidget_y, METH_VARARGS, SIP_MLDOC_CAST(doc_QWidget_y)}
};

static sipEnumMemberDef enummembers_QWidget[] = {
    {sipName_DrawChildren, static_cast<int>(QWidget::DrawChildren), 455},
    {sipName_DrawWindowBackground, static_cast<int>(QWidget::DrawWindowBackground), 455},
    {sipName_IgnoreMask, static_cast<int>(QWidget::IgnoreMask), 455},
};


/* Define this type's signals. */
static const pyqt5QtSignal signals_QWidget[] = {
    {"windowIconTextChanged(QString)", "\1QWidget.windowIconTextChanged[str]", 0, 0},
    {"windowIconChanged(QIcon)", "\1QWidget.windowIconChanged[QIcon]", 0, 0},
    {"windowTitleChanged(QString)", "\1QWidget.windowTitleChanged[str]", 0, 0},
    {"customContextMenuRequested(QPoint)", "\1QWidget.customContextMenuRequested[QPoint]", 0, 0},
    {0, 0, 0, 0}
};

PyDoc_STRVAR(doc_QWidget, "\1QWidget(QWidget parent=None, Qt.WindowFlags flags=0)");


pyqt5ClassTypeDef sipTypeDef_QtWidgets_QWidget = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_CLASS,
        sipNameNr_QWidget,
        {0}
    },
    {
        sipNameNr_QWidget,
        {0, 0, 1},
        260, methods_QWidget,
        3, enummembers_QWidget,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWidget,
    -1,
    -1,
    supers_QWidget,
    0,
    init_type_QWidget,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWidget,
    0,
    0,
    0,
    release_QWidget,
    cast_QWidget,
    0,
    0,
    0,
    0,
    0,
    0
},
    &QWidget::staticMetaObject,
    0,
    signals_QWidget,
    0
};
